Skip to content

Commit

Permalink
mariadb-connector-c: Fix build issues (#23356) (#25919)
Browse files Browse the repository at this point in the history
The run stage for mariadb-connector-c-dev tries to copy files that have
already been copied via the split/dev pipline.

Fixes:

FTBFS: mariadb-connector-c
[#23356](#23356)


Output once built shows the bin contents in the dev package as expected.

```
tar tvf packages/aarch64/mariadb-connector-c-dev-3.3.8-r0.apk | grep bin
drwxr-xr-x  0 justin dialout     0 Aug  8 14:47 usr/bin
-rwxr-xr-x  0 justin dialout 71576 Aug  8 14:47 usr/bin/mariadb_config
lrwxr-xr-x  0 justin dialout     0 Aug  8 14:47 usr/bin/mysql_config -> mariadb_config
```

Co-authored-by: Justin Vreeland <[email protected]>
  • Loading branch information
justinvreeland and Justin Vreeland authored Aug 8, 2024
1 parent 38914b6 commit ba5317d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mariadb-connector-c.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: mariadb-connector-c
version: 3.3.8
epoch: 0
epoch: 1
description: The MariaDB Native Client library (C driver)
copyright:
- license: LGPL-2.1-or-later
Expand Down Expand Up @@ -61,9 +61,6 @@ subpackages:
- name: mariadb-connector-c-dev
pipeline:
- uses: split/dev
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/
mv "${{targets.destdir}}"/usr/bin "${{targets.subpkgdir}}"/usr/
dependencies:
replaces:
- mariadb-dev
Expand Down

0 comments on commit ba5317d

Please sign in to comment.