#error [kirkstone] mariadb-native is unbuildable for 2 reasons
Hi,
I found 2 bugs in 'mariadb-native' package in 'kirkstone' branch.
1. Missing 'gnutls-native' in DEPENDS
2. Unable to successfuly perform 'do_compile' task:
The migration notes for 'kirkstone' states: https://docs.yoctoproject.org/4.0.5/migration-guides/migration-4.0.html#fetching-changes
" Network access from tasks is now disabled by default on kernels which support this feature (on most recent distros such as CentOS 8 and Debian 11 onwards). This means that tasks accessing the network need to be marked as such with the network flag. "
But during compilation there is a place in some CMakeLists.txt being downloaded libfmt-8.0.1 from the internet, so the possibility to download it must be unlocked in the recipe:
do_compile[network] = "1".
Finally my bbappend (mariadb-native_10.7.%.bbappend) looked like this:
DEPENDS:append = " gnutls-native"
do_compile[network] = "1"
Regards,
Wojciech
Quoted 8 lines · On 11/14/22 5:23 AM, [email protected] wrote:
Hi,
I found 2 bugs in 'mariadb-native' package in 'kirkstone' branch.
1. Missing 'gnutls-native' in DEPENDS
2. Unable to successfuly perform 'do_compile' task:
Have you seen this on Master?
Quoted 5 lines
The migration notes for 'kirkstone' states: https://docs.yoctoproject.org/4.0.5/migration-guides/migration-4.0.html#fetching-changes
"/Network access from tasks is now disabled by default on kernels which support this feature (on most recent distros such as CentOS 8 and Debian 11 onwards). This means that tasks accessing the network need to be marked as such with the |network| flag./"
Quoted 9 lines
But during compilation there is a place in some CMakeLists.txt being downloaded libfmt-8.0.1 from the internet, so the possibility to download it must be unlocked in the recipe:
do_compile[network] = "1".
Finally my bbappend (mariadb-native_10.7.%.bbappend) looked like this:
DEPENDS:append = " gnutls-native"
do_compile[network] = "1"
Can you send a patch?
-armin
Quoted 15 lines
Regards,
Wojciech-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99584): https://lists.openembedded.org/g/openembedded-devel/message/99584
Mute This Topic: https://lists.openembedded.org/mt/95016077/3616698
Mute #error:https://lists.openembedded.org/g/openembedded-devel/mutehashtag/error Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-