Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516800 - =app-emulation/xen-pvgrub-4.2.4: build failure, stddef.h not found
Summary: =app-emulation/xen-pvgrub-4.2.4: build failure, stddef.h not found
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-09 19:49 UTC by Yixun Lan
Modified: 2021-07-26 04:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yixun Lan archtester gentoo-dev 2014-07-09 19:49:35 UTC
previous report, bug #514806, see original comments 2,3,4,5

i686-pc-linux-gnu-gcc -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/../extras/mini-os/include/posix -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/../tools/xenstore  -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/../extras/mini-os/include/x86 -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/../extras/mini-os/include/x86/x86_32 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/../extras/mini-os/include/posix -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/cross-root-i686/i686-xen-elf/include -isystem include -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/lwip-x86_32/src/include -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/lwip-x86_32/src/include/ipv4 -I/var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/include -I/var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/../xen/include   -fno-strict-overflow -O1 -fno-omit-frame-pointer  -m32 -march=i686 -m32 -march=i686 -g -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs   -fno-stack-protector -fno-exceptions -D_I386MACH_ALLOW_HW_INTERRUPTS -B/var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-x86_32/i686-xen-elf/newlib/ -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-x86_32/i686-xen-elf/newlib/targ-include -isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-1.16.0/newlib/libc/include -B/var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-x86_32/i686-xen-elf/libgloss/i386 -L/var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-x86_32/i686-xen-elf/libgloss/libnosys -L/var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-1.16.0/libgloss/i386 -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../newlib-1.16.0/newlib/libc/reent -O2 -DMISSING_SYSCALL_NAMES -fno-builtin      -O2 -g -fno-strict-overflow -O1 -fno-omit-frame-pointer  -m32 -march=i686 -m32 -march=i686 -g -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs     -c -o lib_a-impure.o `test -f 'impure.c' || echo '../../../../../newlib-1.16.0/newlib/libc/reent/'`impure.c
In file included from /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-1.16.0/newlib/libc/include/sys/reent.h:14:0,
                 from /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-1.16.0/newlib/libc/include/reent.h:48,
                 from ../../../../../newlib-1.16.0/newlib/libc/reent/impure.c:1:
/var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/newlib-1.16.0/newlib/libc/include/sys/_types.h:67:20: 致命错误:stddef.h:没有那个文件或目录
编译中断。


notice that, from your log, it has following output: "-isystem include",
while here in my build log, it like this "-isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include", although I'm on amd64 machine.. probably will try ARCH=x86 later.

-isystem /var/tmp/portage/app-emulation/xen-pvgrub-4.2.4/work/xen-4.2.4/stubdom/cross-root-i686/i686-xen-elf/include -isystem include


Reproducible: Always
Comment 1 Niels Dettenbach 2015-02-10 12:22:05 UTC
reproduced with app-emulation/xen-pvgrub-4.5.0 on hardened with

CFLAGS="-march=core-avx-i -O2 -pipe -mno-tls-direct-seg-refs"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"

MAKEOPTS="-j1"
ACCEPT_KEYWORDS="~amd64"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-26 04:48:15 UTC
Last-rited package was removed.