Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: sys-apps/iproute2-4.5.0::gentoo failed (compile phase
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Mar 16, 2016 6:52 am    Post subject: ERROR: sys-apps/iproute2-4.5.0::gentoo failed (compile phase Reply with quote

Code:
ASUS-G75VW temp # wgetpaste build.log
Your paste can be seen here: https://bpaste.net/show/51dcff9013a5
ASUS-G75VW temp # emerge --info
Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r2, 4.4.4-gentoo_03/09/2016 x86_64)
=================================================================
System uname: Linux-4.4.4-gentoo_03-09-2016-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:    16399452 total,  10179516 free
KiB Swap:          0 total,         0 free
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.5.0::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

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

Dangerous_Local_Overlay
    location: /usr/local/portage
    masters: gentoo

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 /var/lib/hsqldb"
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"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/sdb2/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://gentoo.inode.at/ http://ftp.first-world.info/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/  ftp://ftp.vectranet.pl/gentoo/ http://distfiles.gentoo.org/   ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo/  ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo"
LANG="en"
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="64bit 7zip S3TC X X509 a52 aac aacplus acpi aimodules aio alsa amd64 amr amrnb amrwb ao apm apng archive ares aspell assistant atmo audacious audiofile automount avx bash-completion battstat berkdb bidi binfilter bittorrent bl blender-game boo bzip2 cairo caja cdda cddax cddb cdio cdparanoia cdr cdrom chm cilk clang cli clucene clutter clvm consolekit context contrast coverage cpufreq_bench cpuload cracklib crypt cryptsetup ctypes-python cups curl custom-optimization cxx dbus declarative device-mapper devil dga dhcpcd dia dirac directfb djvu dmraid dns dos dri dts dv dvd dvdr edd emboss emf emovix enca encode epiphany equalizer evdev exif expat f2fs faac faad fam fat fbcon ffmpeg fftw firefox fits flac flickr floppy fluidsynth fontconfig fortran fpx ftp fts3 g3dvl gadu gcj gconf gcrypt gd gdbm gdk-pixbuf gdm ggi gif gimp git gjs glade glut gmp gmplayer gnutls gold gost gpg gpm graphite grilo groovy groupwise gs gtk gtk3 gucharmap guile gzip-el hddtemp hdri hfs hotpixels iconv icu id3 id3tag idn imagemagick imlib imlib2 inkjar inotify introspection ipp irrlicht jabber jack java javascript jbig jfs jit joystick jpeg jpeg2k justify krb4 ladspa lame lasi lcdfilter lcms lensfun libass libev libevent libffi libkms libnl libsamplerate libssh2 libsysfs libv4l libv4l2 libvisual llvm lqr lua lvm lvm2 lxde lximage lzma lzo mad magic mapimg matroska md5sum md5sum-external mdadm mdev meanwhile mercurial midi mikmod minimal minizip mjpeg mms mmx mmxext mng mod modplug modules mono moonlight motif mp3 mp4 mpd mpeg mpeg2 mpeg3 mpfi mplayer mtp multicore multilib multimedia musepack mxit mysql nas nautilus ncat ncurses networking newnet nntp nping nptl nsplugin ntfs ntfsdecrypt ntfsprogs numa nut nuv nvcontrol nvidia ogg ogre ois openal opencl opencore-amr openexr opengl openmp openrc openssl optimisememory optimized-qmake orbit osc osmesa oss pam pango pcre pdf pdfimport perl pipelight plotutils pm-utils png pnm policykit postproc postscript ppds pptx prediction pulseaudio pvr python qt-dbus qt3support qt4 quicktime radio rar raw rdoc realtime redland reiser4 reiserfs resolvconf rle rrdcgi rtmp rtsp sasl schroedinger script sdl sdl-image sdlgfx seccomp secure-delete sensors session sftp sha1 shine shout silc sip skype smi smp smpeg snappy sndfile sound soundex soundtouch sox speex spoof-source sql sse sse2 sse2_4way sse2check sse3 sse4 sse4_1 ssl ssse3 staging startup-notification stream subversion svg sync-plugin-portage sysstat system-jflex system-jsoncpp system-sqlite systemtap taglib tcpd templates theora threads tiff tinfo tonal toolkit-scroll-bars truetype twolame udev udisks unicode unlock-notify upcall upower usb uvm v4l v4l2 vaapi vamp vcd vcdinfo vcdx vdpau vhook vlc vlm vorbis vpx vte wacom wav wavpack weather-metar weather-xoap webp websockets wifi wikipedia winbind wireshark wma wma-fixed wmf x264 x265 xanim xattr xcb xcomposite xfs xft xinerama xml xmlpatterns xmp xosd xpm xps xpsmall xscreensaver xv xvfb xvid yuv4mpeg yv12 zephyr zlib zsh-completion zvbi" ABI_X86="32 64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="efi-64" INPUT_DEVICES="evdev synaptics keyboard mouse wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


FYI
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed Mar 16, 2016 9:17 am    Post subject: Reply with quote

tw04l124 ...

I have the same, its the result of developers using git rather than repoman for commits ... --exclude, wait, re-sync, wash, repeat ;)

best ... khay
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3649
Location: Germany

PostPosted: Wed Mar 16, 2016 11:36 am    Post subject: Reply with quote

tw04l124 wrote:
Code:
USE:        abi_x86_64 amd64 elibc_glibc kernel_linux minimal userland_GNU

Try it with USE=iptables it shold build
See Bug 577464
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed Mar 16, 2016 3:25 pm    Post subject: Reply with quote

Josef.95 wrote:
See Bug 577464

... oh, my issue is a digest verification failure

Code:
# emerge --oneshot --quiet=y iproute2
>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /var/pkg/gentoo/sys-apps/iproute2/iproute2-4.4.0.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 3770
!!! Expected: 3771

... I'd assumed toralf had the same.

best ... khay
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Mar 19, 2016 2:40 pm    Post subject: Reply with quote

trying this now

Code:
emerge -av iproute2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-firewall/iptables-1.6.0:0/11::gentoo  USE="-conntrack -ipv6 -netlink -nftables -pcap -static-libs" 595 KiB
[ebuild     U  ] sys-apps/iproute2-4.5.0::gentoo [4.4.0::gentoo] USE="iptables* minimal -atm -berkdb -ipv6 (-selinux)" 0 KiB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 595 KiB

Would you like to merge these packages? [Yes/No]


Worked, REally a bug that it now needs iptables2 now. the old tools did not have the requirement for iptables
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13970

PostPosted: Sat Mar 19, 2016 3:11 pm    Post subject: Reply with quote

Since at least =sys-apps/iproute2/iproute2-3.17.0, the ebuild has had a USE=iptables flag, which is enabled by default, and when enabled, the package has an RDEPEND on iptables. This USE flag was not present in =sys-apps/iproute2/iproute2-2.6.38, but even that ebuild references iptables dependencies. Generally, if you get a dependency you do not want, and there is a USE flag named after that dependency, there is a good chance that toggling the USE flag will remove the dependency.
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 814

PostPosted: Wed Mar 23, 2016 10:18 am    Post subject: Reply with quote

i do not need or want iptables and have deactivated the USEFLAG for good reason.
the patch described in bug https://bugs.gentoo.org/show_bug.cgi?id=577464 works for me but this seems like a build-time dep.
instead of all the patching it's almost easier to emerge and then unmerge iptables again which is not the way i ususally like doing things.
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
miroR
l33t
l33t


Joined: 05 Mar 2008
Posts: 826

PostPosted: Fri Mar 25, 2016 9:10 am    Post subject: Reply with quote

This, which I left here, wanting to post in the bottom of the topic, which was removed and put elsewhere, that part, was my fault.
(I got nervous, and made that mistake.)

Four lines below, I'll restore (from my backup) this post's content as it previously was here.

And btwn "-------------" is what I wanted to post in bottom, but is now, curently without links, not even textual only links, in that Dustbin topic.

-------------

The post that I posted here, has been moved, I just now learned, after searching, to:

Offtopic "answer" is a beg for help
https://forums.gentoo.org/viewtopic-t-1041598.html

However, it (currently) appears in wrong place in this topic. Not my fault.

-------------
DawgG wrote:
i do not need or want iptables and have deactivated the USEFLAG for good reason.
the patch described in bug https://bugs.gentoo.org/show_bug.cgi?id=577464 works for me but this seems like a build-time dep.
instead of all the patching it's almost easier to emerge and then unmerge iptables again which is not the way i ususally like doing things.

I hope it is just a build time dependency...
Here's my experience , with the previous version (showing probably that the problem has only evolved from before):
A Firewalled Internet Access to Internal Subnet
https://forums.gentoo.org/viewtopic-t-1041028.html#7897188

Do notice that I recompiled iproute2 without iptables, giving it: -iptables, and how equery still shows iproute2 depends on iptables. Pls. see there all the details.


Last edited by miroR on Wed Mar 30, 2016 12:29 pm; edited 5 times in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5854

PostPosted: Fri Mar 25, 2016 5:16 pm    Post subject: Reply with quote

Hu wrote:
Generally, if you get a dependency you do not want, and there is a USE flag named after that dependency, there is a good chance that toggling the USE flag will remove the dependency.

Generally, switching off a USE flag shouldn't cause a compilation error...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13970

PostPosted: Sat Mar 26, 2016 12:25 am    Post subject: Reply with quote

I agree. I assume you are referring to how that is currently not the case, as reported in sys-apps/iproute2-4.5.0[-iptables]: error: redeclaration of enumerator ‘IFF_*’. The Gentoo maintainers seem to agree as well, which is why they are working on getting this patch upstream instead of removing the USE flag and forcing everyone to install iptables. I believe I was responding specifically to tw04l124's statement that the old tools did not need it, primarily to point out that this is not a recent dependency. I had not read that bug report before, because none of the references in this thread indicated that it was specifically about how setting USE=-iptables breaks the build.
Back to top
View user's profile Send private message
P.Kosunen
Guru
Guru


Joined: 21 Nov 2005
Posts: 309
Location: Finland

PostPosted: Mon Apr 18, 2016 3:50 pm    Post subject: Reply with quote

Code:
echo "sys-apps/iproute2 minimal" >> /etc/portage/package.use


Minimal flag for iproute2 works as temporary workaround.

( https://bugs.gentoo.org/show_bug.cgi?id=577464#c2 )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum