Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604786 - sys-apps/net-tools-1.60_p20160215155418 fails to build with linux-headers-4.9
Summary: sys-apps/net-tools-1.60_p20160215155418 fails to build with linux-headers-4.9
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 616078 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-05 21:42 UTC by Jan Vesely
Modified: 2017-04-20 18:14 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,25.50 KB, text/plain)
2017-01-10 21:19 UTC, Gary E. Miller
Details
patch for the issue in this bug (ip.h.patch,1.25 KB, patch)
2017-01-11 02:11 UTC, Andy Johnson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vesely 2017-01-05 21:42:09 UTC
In file included from /usr/include/linux/if_tunnel.h:6:0,
                 from iptunnel.c:34:
/usr/include/linux/ip.h:85:8: error: redefinition of ‘struct iphdr’
 struct iphdr {
        ^
In file included from iptunnel.c:29:0:
/usr/include/netinet/ip.h:44:8: note: originally defined here
 struct iphdr
        ^
1.60_p20161110235919 builds OK, can you stabilize it?
Comment 1 Jan Vesely 2017-01-05 22:19:14 UTC
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r3, 4.9.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.3
KiB Mem:    12237744 total,   5085412 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 05 Jan 2017 17:22:51 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r2::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/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="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl aio amd64 apng aura avx berkdb bluetooth branding bzip2 cairo caps chroot clang cli cloudprint clutter colord colordiff connection-sharing cracklib crypt cryptsetup css ctype cups curl custom-optimization cxx d3d9 dbus dga dnssec dri dri3 drm dts dv dvi dvipdfm eds egl eglfs enca evdev exif expat faac faad fdt ffmpeg filter flac fontconfig fortran fpm fpx gbm gd gdbm gdm gif gimp git glamor gles gles1 glib gmp gnome gnome-keyring gnome-online-accounts gnutls google googledrive gpg gphoto2 gpm graphics graphite gstreamer gtk gtk3 gtkstyle gudev hardened hddtemp hdri highlight http2 hwdb hybrid iconv icu id3tag idle imagemagick introspection ipv6 irc ithreads jemalloc jit jpeg jpeg2k json justify keymap lcms ldns libinput libkms libnotify libsecret llvm lm_sensors logrotate lto mad mbox mikmod minizip mktemp mmx mmxext mng modern-top modules mozilla mp3 mp4 mpeg mtp multicall multilib multitarget musepack mysqli mysqlnd nat nautilus ncurses networkmanager nls nptl ogg oom openal opencl opengl openmp openrc optimization opus osmesa pam pcap pch pcmcia pcre pcre16 pdf pdfimport pkcs11 playlist png policykit postproc publishers pulseaudio pwquality quicktime raw readline reencrypt rtc s3tc samba science seccomp secure-delete security session sha512 smp sockets speex spell sqlite srv sse sse2 ssl staging strong-optimization svc svg syslog system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libevent system-libs system-libvpx system-sqlite systemd sysvipc t1lib tci telepathy templates terminal theora threads threadsafe thunar tiff timezone tokenizer tor-hardening tordns truetype udev unicode upower usb v4l vaapi vdpau vhosts vim-syntax virgl vorbis vulkan wavpack wayland wayland-compositor webgl webp widevine wmf x264 x265 xanim xattr xcb xcomposite xfs xkb xml xmp xmpp xpm xv xvid xvmc xwayland zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="alias auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd dir env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic negotiation proxy rewrite setenvif so status unique_id userdir vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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 ublox ubx" GRUB_PLATFORMS="pc efi-64 multiboot" INPUT_DEVICES="evdev synaptics libinput" KERNEL="linux" L10N="en-GB en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en_GB en_US en" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm ppc aarch64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965" 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"
USE_PYTHON="3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/net-tools-1.60_p20160215155418::gentoo was built with the following:
USE="arp hostname ipv6 nls -nis -plipconfig (-selinux) -slattach -static" ABI_X86="64"
Comment 2 Gary E. Miller 2017-01-10 21:19:14 UTC
Same for me on an up to date stable gentoo.
Comment 3 Gary E. Miller 2017-01-10 21:19:37 UTC
Created attachment 459526 [details]
build.log
Comment 4 Gary E. Miller 2017-01-10 21:27:53 UTC
(In reply to Gary E. Miller from comment #3)
> Created attachment 459526 [details]
> build.log

I filed a stabilization request.  #605312
Comment 5 Gary E. Miller 2017-01-10 21:28:32 UTC
https://bugs.gentoo.org/show_bug.cgi?id=605312
Comment 6 Andy Johnson 2017-01-11 02:11:44 UTC
Created attachment 459546 [details, diff]
patch for the issue in this bug
Comment 7 ernsteiswuerfel archtester 2017-01-13 00:21:07 UTC
Got hit by this bug too.

As Gary E. Miller pointed out =sys-apps/net-tools-1.60_p20161110235919 builds fine.
Comment 8 SpanKY gentoo-dev 2017-01-18 10:07:33 UTC
this build failure is your fault -- you're attempting to use unstable linux-headers-4.9 with an otherwise stable system.  this issue has already been fixed in unstable for net-tools.
Comment 9 Ben Kohler gentoo-dev 2017-04-20 18:14:01 UTC
*** Bug 616078 has been marked as a duplicate of this bug. ***