Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77400 - [unrar] FTBFS
Attached to Project:
Arch Linux
Opened by Sebastien Duthil (duthils) - Monday, 06 February 2023, 03:18 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 07 February 2023, 03:06 GMT
Opened by Sebastien Duthil (duthils) - Monday, 06 February 2023, 03:18 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 07 February 2023, 03:06 GMT
|
DetailsDescription: unrar 1:6.2.5-1 fails to build from source
Full build log: https://reproducible.archlinux.org/api/v0/builds/396724/log Steps to reproduce: * Use a multi-CPU machine and a rather slow storage device * Create a clean chroot as indicated at https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot * mkarchroot $CHROOT/root base-devel * makechrootpkg -c -r $CHROOT Attached is a patch that fixes the build error. Technical details: * When using make -j4 for parallelizing jobs, makepkg runs: make -C libunrar lib which runs in parallel: make clean make rar.o make strlist.o make strfn.o make clean eventually runs: @rm -f $(OBJECTS) $(UNRAR_OBJ) $(LIB_OBJ) If one of the objects was already built before running this rm command, then the object that was just built will be removed. After that, the linker fails to find this object and errors out. |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 07 February 2023, 03:06 GMT
Reason for closing: Upstream
Additional comments about closing: Reporter says "Will be fixed upstream."
Tuesday, 07 February 2023, 03:06 GMT
Reason for closing: Upstream
Additional comments about closing: Reporter says "Will be fixed upstream."
unrar.patch
Not quite accurate. It's only in some rare circumstances. You should really be fixing the makefiles and sending a patch upstream.