syslinux ftbfs in 18.04 LTS

Bug #1813598 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
syslinux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

according to
http://people.canonical.com/~doko/ftbfs-report/test-rebuild-20181222-bionic.html

syslinux ftbfs.

gcc -I/usr/include/efi -I/usr/include/efi/ia32 -DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding -Wall -I/<<BUILDDIR>>/syslinux-6.03+dfsg1/com32/include -I/<<BUILDDIR>>/syslinux-6.03+dfsg1/com32/include/sys -I/<<BUILDDIR>>/syslinux-6.03+dfsg1/core/include -I/<<BUILDDIR>>/syslinux-6.03+dfsg1/core/ -m32 -march=i386 -I/<<BUILDDIR>>/syslinux-6.03+dfsg1/com32/lib/ -I/<<BUILDDIR>>/syslinux-6.03+dfsg1/com32/libutil/include -std=gnu99 -DELF_DEBUG -DSYSLINUX_EFI -I/<<BUILDDIR>>/syslinux-6.03+dfsg1/efi32 -W -Wall -Wstrict-prototypes -D__COM32__ -D__FIRMWARE_EFI32__ -mno-red-zone -DLDLINUX=\"ldlinux.e32\" -fvisibility=hidden -Wno-unused-parameter -fno-stack-protector -Wno-strict-prototypes -DDATE_STR='"20171017"' -c -o adv.o /<<BUILDDIR>>/syslinux-6.03+dfsg1/efi/adv.c
In file included from /<<BUILDDIR>>/syslinux-6.03+dfsg1/efi/adv.h:5:0,
                 from /<<BUILDDIR>>/syslinux-6.03+dfsg1/efi/adv.c:29:
/<<BUILDDIR>>/syslinux-6.03+dfsg1/efi/fio.h:18:1: error: conflicting types for ‘VPrint’
 VPrint (
 ^~~~~~
In file included from /<<BUILDDIR>>/syslinux-6.03+dfsg1/efi/efi.h:24:0,
                 from /<<BUILDDIR>>/syslinux-6.03+dfsg1/efi/adv.h:4,
                 from /<<BUILDDIR>>/syslinux-6.03+dfsg1/efi/adv.c:29:
/usr/include/efi/efilib.h:509:1: note: previous declaration of ‘VPrint’ was here
 VPrint (
 ^~~~~~
/<<BUILDDIR>>/syslinux-6.03+dfsg1/mk/efi.mk:70: recipe for target 'adv.o' failed
make[5]: *** [adv.o] Error 1
make[5]: Leaving directory '/<<BUILDDIR>>/syslinux-6.03+dfsg1/efi32/efi'
/<<BUILDDIR>>/syslinux-6.03+dfsg1/Makefile:285: recipe for target 'efi' failed
make[4]: *** [efi] Error 2
make[4]: Leaving directory '/<<BUILDDIR>>/syslinux-6.03+dfsg1/efi32'
/<<BUILDDIR>>/syslinux-6.03+dfsg1/Makefile:261: recipe for target 'efi32' failed
make[3]: *** [efi32] Error 2
make[3]: Leaving directory '/<<BUILDDIR>>/syslinux-6.03+dfsg1'
Makefile:103: recipe for target 'all' failed
make[2]: *** [all] Error 2

Revision history for this message
yifengyou (yifengyou) wrote :

---
 efi/fio.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/efi/fio.h b/efi/fio.h
index 65fff8d..a1bfe68 100644
--- a/efi/fio.h
+++ b/efi/fio.h
@@ -11,15 +11,6 @@
 #define MAX_EFI_ARGS 64
 #define WS(c16) (c16 == L' ' || c16 == CHAR_TAB)

-/* VPrint is not in export declarations in gnu-efi lib yet
- * although it is a global function; declare it here
- */
-extern UINTN
-VPrint (
- IN CHAR16 *fmt,
- va_list args
- );
-

Revision history for this message
Julian Andres Klode (juliank) wrote :

This seems to be fixed.

Changed in syslinux (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.