View previous topic :: View next topic |
Author |
Message |
pente n00b
Joined: 21 Mar 2013 Posts: 31
|
Posted: Thu Oct 03, 2024 5:05 am Post subject: sys-boot/syslinux compile failure |
|
|
Compiling syslinux 6.04_pre1-r5 (which I need for unetbootin) fails. I would try installing an older version to see if this is a new problem but there are no older ebuilds in portage. I could find no hint of others with this problem on google. The relevant part is:
Code: |
x86_64-pc-linux-gnu-gcc -MT sys/cfarcall.o -MD -MF sys/.cfarcall.o.d -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-labels=0 -ffast-math -fomit-frame-pointer -std=gnu99 -m32 -mpreferred-stack-boundary=2 -fno-stack-protector -fwrapv -freg-struct-return -fPIC -fno-exceptions -fno-asynchronous-unwind-tables -fno-strict-aliasing -falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0 -g -D__COM32__ -D__FIRMWARE_BIOS__ -nostdinc -iwithprefix include -I. -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/sys -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/../include -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/include/sys -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/core/include -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/ -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/sys/module -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/bios/com32/lib//../.. -fcommon -W -Wall -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -DDYNAMIC_CRC_TABLE -DPNG_NO_CONSOLE_IO -DPNG_NO_WRITE_SUPPORTED -DPNG_NO_MNG_FEATURES -DPNG_NO_READ_tIME -DPNG_NO_WRITE_tIME -mregparm=3 -DREGPARM=3 -c -o sys/cfarcall.o /var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/sys/cfarcall.c
/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c: In function ‘syslinux_debu’:
/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: error: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
91 | printf("Dynamic debug unavailable\n");
| ^~~~~~
/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:4:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
3 | #include <stdbool.h>
+++ |+#include <stdio.h>
4 |
/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
91 | printf("Dynamic debug unavailable\n");
| ^~~~~~
/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/syslinux/debug.c:91:5: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
x86_64-pc-linux-gnu-gcc -MT sys/zeroregs.o -MD -MF sys/.zeroregs.o.d -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-labels=0 -ffast-math -fomit-frame-pointer -std=gnu99 -m32 -mpreferred-stack-boundary=2 -fno-stack-protector -fwrapv -freg-struct-return -fPIC -fno-exceptions -fno-asynchronous-unwind-tables -fno-strict-aliasing -falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0 -g -D__COM32__ -D__FIRMWARE_BIOS__ -nostdinc -iwithprefix include -I. -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/sys -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/../include -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/include/sys -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/core/include -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/ -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/sys/module -I/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/bios/com32/lib//../.. -fcommon -W -Wall -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -DDYNAMIC_CRC_TABLE -DPNG_NO_CONSOLE_IO -DPNG_NO_WRITE_SUPPORTED -DPNG_NO_MNG_FEATURES -DPNG_NO_READ_tIME -DPNG_NO_WRITE_tIME -mregparm=3 -DREGPARM=3 -c -o sys/zeroregs.o /var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/lib/sys/zeroregs.c
make[4]: *** [/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/mk/lib.mk:217: syslinux/debug.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/bios/com32/lib'
make[3]: *** [/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/com32/Makefile:7: lib] Error 2
make[3]: Leaving directory '/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/bios/com32'
make[2]: *** [/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/Makefile:287: com32] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/bios'
make[1]: *** [/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1/Makefile:257: bios] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-boot/syslinux-6.04_pre1-r5/work/syslinux-6.04-pre1'
make: *** [Makefile:102: bios] Error 2
* ERROR: sys-boot/syslinux-6.04_pre1-r5::gentoo failed (compile phase):
* emake failed
|
emerge --info https://bpa.st/RWP3W
Any idea what I can do? Thanks |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31275 Location: here
|
Posted: Thu Oct 03, 2024 5:27 am Post subject: |
|
|
Look at bug #882121. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
pente n00b
Joined: 21 Mar 2013 Posts: 31
|
Posted: Thu Oct 03, 2024 12:23 pm Post subject: |
|
|
Applying the patch found linked there worked for me, thanks. |
|
Back to top |
|
|
|