venomlinux / ports

Contain all ports used by scratchpkg
https://venomlinux.org/
76 stars 48 forks source link

main/btrfs-progs-6.2-1 building fails with undefined macros #4047

Closed Ouaille-Aime-Scier closed 1 year ago

Ouaille-Aime-Scier commented 1 year ago

==> Building: btrfs-progs-6.2-1 ==> Source found: /var/cache/scratchpkg/sources/btrfs-progs-v6.2.tar.xz ==> Checking checksums... ==> Unpacking: /var/cache/scratchpkg/sources/btrfs-progs-v6.2.tar.xz ==> Build start: btrfs-progs-6.2-1

lumarogit commented 1 year ago

Hi, sync ports and try again. Updated build with autogen.sh, thanks !

Ouaille-Aime-Scier commented 1 year ago

thanks @lumarogit I will upgrade my system this evening.

Ouaille-Aime-Scier commented 1 year ago

I have new type of error with 6.2-2 version :

crypto/blake2b-round.h:34:5: error: type mismatch in conditional expression 34 | : (-(c) == 63) ? mm_xor_si128(_mm_srli_epi64((x), -(c)), _mm_add_epi64((x), (x)))

You can see same bug in Funtoo : https://bugs.funtoo.org/browse/FL-11059

lumarogit commented 1 year ago

Hi, edit the line

"cp config.h.in include/"

with

"./autogen.sh"

and test if it build fine. With "autogen.sh" it seems to build correctly in all cases. Crux use it too, share:

https://crux.nu/gitweb/?p=ports/opt.git;a=commitdiff;h=e90a66bca9b4ff76425d3c12c355938d618dea0f

Ouaille-Aime-Scier commented 1 year ago

Hi, edit the line

"cp config.h.in include/"

with

"./autogen.sh"

and test if it build fine. With "autogen.sh" it seems to build correctly in all cases. Crux use it too, share:

https://crux.nu/gitweb/?p=ports/opt.git;a=commitdiff;h=e90a66bca9b4ff76425d3c12c355938d618dea0f

Ok I will replace cp config.h.in include/ with ./autogen.sh and try to build the package later thanks @lumarogit

Ouaille-Aime-Scier commented 1 year ago

Hi, edit the line "cp config.h.in include/" with "./autogen.sh" and test if it build fine. With "autogen.sh" it seems to build correctly in all cases. Crux use it too, share: https://crux.nu/gitweb/?p=ports/opt.git;a=commitdiff;h=e90a66bca9b4ff76425d3c12c355938d618dea0f

Ok I will replace cp config.h.in include/ with ./autogen.sh and try to build the package later thanks @lumarogit

Same issue when using ./autogen.sh :-(

lumarogit commented 1 year ago

Hi, try install updated 6.2.1 version and feedback. Thanks.

Ouaille-Aime-Scier commented 1 year ago

Hi, try install updated 6.2.1 version and feedback. Thanks.

Hello Luis, no more success, same build error with crypto module.

Daniel Robbins from Funtoo thinks btrfs-progs is synchronised with the Linux kernel, so btrfs-progs-6.2 is made for 6.2 kernel.

lumarogit commented 1 year ago

Hi, added blake patch, try again and feedback. Thanks.

Ouaille-Aime-Scier commented 1 year ago

Hi, added blake patch, try again and feedback. Thanks.

Thanks Luis, this time all went fine when building btrf-progs !