Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425770 - net-firewall/ipsec-tools-0.8.0-r3 - In file included from /usr/include/sys/sysctl.h:63:0, from setkey.c:43: /usr/include/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel"
Summary: net-firewall/ipsec-tools-0.8.0-r3 - In file included from /usr/include/sys/sy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2012-07-11 05:24 UTC by devsk
Modified: 2012-09-25 01:12 UTC (History)
0 users

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 devsk 2012-07-11 05:24:20 UTC
make[4]: Entering directory `/var/tmp/portage/net-firewall/ipsec-tools-0.8.0-r3/work/ipsec-tools-0.8.0/src/setkey'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc  -I../../src/racoon/missing -I../../src/libipsec -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -O2 -march=native -fforce-addr -fomit-frame-pointer -pipe -ftracer  -Wall  -Wno-unused -MT setkey.o -MD -MP -MF .deps/setkey.Tpo -c -o setkey.o setkey.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc  -I../../src/racoon/missing -I../../src/libipsec -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -O2 -march=native -fforce-addr -fomit-frame-pointer -pipe -ftracer  -Wall  -Wno-unused -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc  -I../../src/racoon/missing -I../../src/libipsec -include ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -I../../src/include-glibc -O2 -march=native -fforce-addr -fomit-frame-pointer -pipe -ftracer  -Wall  -Wno-unused -MT token.o -MD -MP -MF .deps/token.Tpo -c -o token.o token.c
mv -f .deps/token.Tpo .deps/token.Po
mv -f .deps/parse.Tpo .deps/parse.Po
In file included from /usr/include/sys/sysctl.h:63:0,
                 from setkey.c:43:
/usr/include/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel"
make[4]: *** [setkey.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-tools-0.8.0-r3/work/ipsec-tools-0.8.0/src/setkey'

Reproducible: Always




# emerge --info
Portage 2.2.0_alpha116 (default/linux/amd64/10.0/x32, gcc-4.7.1, glibc-2.16.0, 3.4.4 x86_64)
=================================================================
System uname: Linux-3.4.4-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Wed, 11 Jul 2012 02:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mylocal vmware mozilla lcd-filtering
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-4.0.0.7-copyright Broadcom PUEL dlj-1.1 skype-eula AdobeFlash-10 AdobeFlash-10.1 google-talkplugin Oracle-BCLA-JavaSE google-chrome AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fforce-addr -fomit-frame-pointer -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/hibernate /etc/udev/rules.d /etc/vmware /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/hddtemp /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -fforce-addr -fomit-frame-pointer -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --keep-going --jobs=12 --load-average=12 --accept-properties=-interactive --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks fixlafiles multilib-strict news nodoc parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j12 -l12"
PKGDIR="/mnt/portage/bin-packages/x64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/private/portage/overlay /var/lib/layman/vmware /var/lib/layman/mozilla /var/lib/layman/lcd-filtering"
SYNC="rsync://gentoo.llarian.net/gentoo-portage"
USE="X a52 aac acl acpi aim aio alsa amd64 audiofile avahi bash-completion binary-drivers bittorrent bluray bzip2 cairo cdda cdparanoia cdr chm cli composite cracklib crypt cscope css cups curl cvs cxx dar64 dbus device-mapper dga dhclient directfb divx djbfft djvu dlna dmraid dri dts dv dvd dvdnav dvdr dvdread ebook emerald encode erandom evo exif expat faac faad fam fame fbcon fbsplash ffmpeg flac freetype fuse gb gd gif gimp gimpprint glitz glut gmail gmplayer gnome gnutls gphoto2gtk gpm graphite gtk+ gtk2 gtk3 hddtemp history hpn iconv id3tag ieee1394 imagemagick imap imlib inotify ipod ipv6 jack javascript jikes jingle jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kqemu kvm lame lcdfilter lcms ldap libcaca libmms libnotify libsamplerate lightning lirc live lm_sensors logitech-mouse logrotate lto lvm lzma lzo lzw lzw-tiff mad matroska md md5sum mdnsresponder-compat mikmod mjpeg mmap mmx mmx2 mmxext mng mod modules moznopango mozsvg mp2 mp3 mp4 mpeg mplayer msn mudflap multilib musicbrainz nautilus ncurses nepomuk nfs nocd nodot nodrm nomalloccheck nptl nptlonly nsplugin ntfs nut nvidia ogg ogm openexr opengl openmp oss pam parted pcre pda pdf phyp pic plotutils png policykit pop ppds pppd pulseaudio pvr pwdb python3 qt qt4 quicktime radeon radio rar rdesktop readline realmedia rplay rtc samba sasl sdl semantic-desktop sensord server session slp smp sna sndfile sqlite srt sse sse2 sse3 ssl startup-notification stencil-buffer strokesvg svg swat sysfs syslog tcl tcpd theora threads tiff tk truetype twolame udev urandom usb userlocales v41 v4l v4l2 vde vdpau vim vnc vorbis vpx wma wmf wmp x264 xanim xattr xcb xcomposite xft xine xml2 xmms xorg xpm xprint xrandr xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m ens1371 emu10k1x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon panasonic kodak minolta konica" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs crypt dmraid gensplash mdraid dmsquash-live" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" LIRC_DEVICES="hauppauge" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nvidia nv fbdev vesa vga nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 SpanKY gentoo-dev 2012-09-10 05:48:25 UTC
btw, this is first failing with x32, but newer ports will hit the same problem as glibc has stopped exporting sysctl to all new targets
Comment 2 SpanKY gentoo-dev 2012-09-25 01:12:44 UTC
should be all set now in the tree; thanks for the report!

Commit message: Drop useless sysctl.h includes
http://sources.gentoo.org/net-firewall/ipsec-tools/files/ipsec-tools-0.8.0-sysctl.patch?rev=1.1
http://sources.gentoo.org/net-firewall/ipsec-tools/ipsec-tools-0.8.0-r4.ebuild?r1=1.1&r2=1.2