Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555978 - app-emulation/virtualbox-5.0.0 - src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c:71: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include-fixed/syslimits.h:7:25: error: no include path in which to search for limits.h
Summary: app-emulation/virtualbox-5.0.0 - src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-26 20:35 UTC by edes
Modified: 2015-12-16 13:46 UTC (History)
2 users (show)

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


Attachments
virtualbox-5.0.0 build.log (build.log.gz,290.37 KB, application/gzip)
2015-07-26 20:39 UTC, edes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description edes 2015-07-26 20:35:47 UTC
app-emulation/virtualbox-5.0.0 fails to build thus:


  C VBoxDTraceCmd - {C}/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c
x86_64-pc-linux-gnu-gcc -c -O2 -g -pipe -pedantic -Wshadow -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter -Wlogical-op -Wno-long-long -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration   -Wno-variadic-macros -march=native -O2 -pipe -fomit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -fPIC -Wno-format -Wno-overlength-strings -Wno-sign-compare -Wno-strict-prototypes -Wno-missing-prototypes -Wno-missing-declarations -Wno-shadow -m64 -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/include -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libctf/common -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/out/linux.amd64/release/obj/VBoxDTraceCmd/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/out/linux.amd64/release/obj/VBoxDTraceCmd/dtrace -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/include -I/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib64/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib64/virtualbox\" -DRTPATH_APP_DOCS=\"\" -D_LARGEFILE64_SOURCE -DIN_RING3 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DVBOX_WITH_DTRACE -DVBOX_WITH_DTRACE_R3 -DPIC -DVBOX_IN_EXTPACK -DVBOX_IN_EXTPACK_R3 -DVBOX_IN_DTRACE_EXTPACK -DRTMEM_WRAP_TO_EF_APIS -DUSING_FLEX -D_XOPEN_SOURCE=700 -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/out/linux.amd64/release/obj/VBoxDTraceCmd/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/out/linux.amd64/release/obj/VBoxDTraceCmd/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/out/linux.amd64/release/obj/VBoxDTraceCmd/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.o /var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c
In file included from /var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceLibCWrappers.h:33:0,
                 from /var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c:71:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include-fixed/syslimits.h:7:25: error: no include path in which to search for limits.h
 #include_next <limits.h>
                         ^
/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c: In function ‘VBoxDTraceMain’:
/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c:1273:10: warning: assignment discards ‘const’ qualifier from pointer target type
  g_pname = RTProcShortName();
          ^
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-5.0.0/work/VirtualBox-5.0.0/out/linux.amd64/release/obj/VBoxDTraceCmd/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.o] Error 1
 * ERROR: app-emulation/virtualbox-5.0.0::gentoo failed (compile phase):
 *   emake failed


*****************************************************************

emerge --info =virtualbox-5.0.0
Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.1.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-5820K_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16336344 total,   3429672 free
KiB Swap:    8191996 total,   8191996 free
Timestamp of repository gentoo: Sun, 26 Jul 2015 13:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.0::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ca.gentoo.org/gentoo-portage
    priority: -1000

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 0

luman
    location: /var/lib/layman/luman
    masters: gentoo
    priority: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 2

funtoo-deadbeef
    location: /var/lib/layman/funtoo-deadbeef
    masters: gentoo
    priority: 50

pd-overlay
    location: /var/lib/layman/pd-overlay
    masters: gentoo
    priority: 50

Installed sets: @alsa, @virtualbox, @xdrivers
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.lug.udel.edu/pub/gentoo/ http://mirrors.rit.edu/gentoo/"
LANG="es_UY.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1 -l10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 bytestring cleartype consolekit corefonts cxx dbus gif introspection jpeg kmod mmx mmxext ncurses nls nptl pam png policykit python readline sse sse2 sse3 threads tiff truetype type3 udev unicode" ABI_X86="64" APACHE2_MODULES="access_compat socache_shmcb authz_core authn_core authz_host dir mime unixd actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_file authz_dbm authz_groupfile authz_owner authz_user autoindex cache cache_disk cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dumpio env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_config log_forensic logio mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_http proxy_scgi ratelimit remoteip reqtimeout rewrite setenvif slotmem_shm speling status substitute unique_id userdir usertrack version vhost_alias" CAMERAS="canon" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="ismindex pktdumper qt-faststart" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="pdfimport" LINGUAS="es" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19" SANE_BACKENDS="xerox_mfp net" USERLAND="GNU" VIDEO_CARDS="nouveau virtualbox" XFCE_PLUGINS="menu"
USE_PYTHON="2.7 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 edes 2015-07-26 20:39:09 UTC
Created attachment 407678 [details]
virtualbox-5.0.0 build.log
Comment 2 edes 2015-08-20 21:34:36 UTC
anyone? i'm having the same problem with virtualbox-5.0.2:

In file included from /var/tmp/portage/app-emulation/virtualbox-5.0.2/work/VirtualBox-5.0.2/src/VBox/ExtPacks/VBoxDTrace/include/VBoxDTraceLibCWrappers.h:33:0,
                 from /var/tmp/portage/app-emulation/virtualbox-5.0.2/work/VirtualBox-5.0.2/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c:71:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include-fixed/syslimits.h:7:25: error: no include path in which to search for limits.h
 #include_next <limits.h>
                         ^

am i the only one with this problem?
Comment 3 Thomas 2015-08-23 20:41:24 UTC
Maybe gcc 4.9.3 is broken?  (It is not stable yet and i always have a stable gcc (e. g. 4.8.5) available.)

These are the (relevant) limits.h i have:
/usr/include/limits.h
/usr/include/linux/limits.h
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.5/include-fixed/limits.h

You might want to try gcc-4.8.x.
Comment 4 edes 2015-08-24 01:28:01 UTC
thanks for the pointer, but i downgraded all the way back to gcc-4.8.4 (via 4.9.2 and 4.8.5), and in all cases virtualbox-5.0.2 fails to build with the same error: no include path in which to search for limits.h 

the latest i can build is 4.3.30 (no problems whatsoever with gcc-4.9.3)
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-11-04 12:46:33 UTC
Is this still an issue with virtualbox-5.0.8?
Comment 6 edes 2015-11-12 14:21:52 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #5)
> Is this still an issue with virtualbox-5.0.8?

hi, i returned yesterday from a long trip.

i tried virtualbox 5.0.8, it compiled without problems and it's running fine.

however, i had rebuilt my whole gentoo system from scratch before leaving, so i don't know where the problem was.

anyway, it's solved now.

best,

ee
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-12-16 13:46:20 UTC
Hi,

thanks for the reply. I gonna close this bug as WORKSFORME.

Kind regards