Date: Sun, 25 Feb 2018 14:10:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226198] devel/libpci: fails to build on -CURRENT in poudriere Message-ID: <bug-226198-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226198 Bug ID: 226198 Summary: devel/libpci: fails to build on -CURRENT in poudriere Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: novel@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org I have a strange build failure in devel/libpci: =3D=3D=3D> Building for libpci-3.5.6=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/libpci/work/pciutils-3.5.6'=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gmake -C lib all=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/libpci/work/pciutils-3.5.6/lib'=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 cc -O2 -pipe -fPIC -fstack-protector -fno-strict-aliasing -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I/usr/src/sys = -c -o init.o init.c=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 In file included from init.c:9:=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 /usr/include/stdio.h:72:9: error: unknown type name '__va_list'=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 typedef __va_list va_list;=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 In file included from init.c:10:=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 /usr/include/stdlib.h:95:7: error: expected function body after function declarator=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 __alloc_size2(1, 2);=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/include/stdlib.h:306:6: error: expected function body after function declarator=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 __alloc_size2(2, 3);=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 init.c:98:3: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 va_start(args, msg);=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/include/sys/_stdarg.h:46:49: note: expanded from macro 'va_start'=20= =20=20=20=20=20=20=20=20=20 #define va_start(ap, last) __builtin_va_start((ap), (last))=20= =20=20=20=20=20=20=20 ^~~~=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 init.c:110:3: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 va_start(args, msg);=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/include/sys/_stdarg.h:46:49: note: expanded from macro 'va_start'=20= =20=20=20=20=20=20=20=20=20 #define va_start(ap, last) __builtin_va_start((ap), (last))=20= =20=20=20=20=20=20=20 ^~~~=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 init.c:121:3: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 va_start(args, msg);=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/include/sys/_stdarg.h:46:49: note: expanded from macro 'va_start'=20= =20=20=20=20=20=20=20=20=20 #define va_start(ap, last) __builtin_va_start((ap), (last))=20= =20=20=20=20=20=20=20 ^~~~=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 init.c:123:10: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 va_end(args);=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/include/sys/_stdarg.h:52:40: note: expanded from macro 'va_end'=20=20= =20=20=20=20=20=20=20=20=20=20 #define va_end(ap) __builtin_va_end(ap)=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 4 warnings and 3 errors generated.=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 gmake[2]: *** [<builtin>: init.o] Error 1=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/libpci/work/pciutils-3.5.6/lib'=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gmake[1]: *** [Makefile:62: lib/libpci.a] Error 2=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/libpci/work/pciutils-3.5.6'=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 *** Error code 1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Stop.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 make: stopped in /usr/ports/devel/libpci=20=20 Ports tree and jail were updated yesterday. Ports tree: local portsnap 2018-02-24 19:27:45 /usr/local/poudriere/ports/local=20 current 12.0-CURRENT 1200058 amd64 src=3D/home/novel/freebsd 2018= -02-24 19:26:24 /usr/local/poudriere/jails/current=20=20=20 I get get it to build if I comment out "CFLAGS +=3D -I/usr/src/sys" in lib/Makefile (in $WRKSRC): ifdef PCI_HAVE_PM_FBSD_DEVICE OBJS +=3D fbsd-device #CFLAGS +=3D -I/usr/src/sys ifdef FREEBSD_SYS CFLAGS +=3D -I${FREEBSD_SYS} endif endif Now the interesting part. 1. I cannot reproduce that on a host box which uses the same /usr/src and /usr/ports as this poudriere jail that builds fails in. 2. I cannot reproduce that on a different host that has the same /usr/src (= and /usr/obj) and the same /usr/ports all mounted via NFS. 3. I cannot reproduce that on the second host with poudriere that uses its = own copy of the source and the ports tree (updated yesterday as well). So could that actually be a bug in poudriere? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226198-13>