Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR when emerging net-misc/iputils-20121221
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
suprafluid
n00b
n00b


Joined: 07 Jan 2011
Posts: 24
Location: Deep in the Bavarian Forrest, Germany

PostPosted: Sun Feb 02, 2014 4:01 pm    Post subject: ERROR when emerging net-misc/iputils-20121221 Reply with quote

Hi all,

Not sure if someone already filed this problem when updating from an old net-misc/iputils.
Maybe someone has an idea?

That's what I am trying to update:
[ebuild U ] net-misc/iputils-20121221 [20100418] USE="ssl -SECURITY_HAZARD -caps% -doc -gnutls% -idn -ipv6 -static"

Emerge failed in rarpd.c because 'struct ifaddr' seems to be defined somewhere else... but I have no idea where? Any idea what to do? Kernel-headers/sources too old? (2.6.35)

Here is what emerge tells me finally when it ends up:

Code:
i686-pc-linux-gnu-gcc -march=native -O2 -fno-strict-aliasing -pipe -Wall -fno-strict-aliasing -Wstrict-prototypes -Wall -D_GNU_SOURCE  -c rarpd.c  -o rarpd.o
rarpd.c:61: error: redefinition of 'struct ifaddr'
rarpd.c: In function 'load_if':
rarpd.c:113: warning: assignment from incompatible pointer type
rarpd.c:114: warning: assignment from incompatible pointer type
rarpd.c:176: warning: assignment from incompatible pointer type
rarpd.c:190: warning: assignment from incompatible pointer type
rarpd.c:191: warning: assignment from incompatible pointer type
rarpd.c: In function 'select_ipaddr':
rarpd.c:262: warning: assignment from incompatible pointer type
rarpd.c:276: warning: return from incompatible pointer type
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  -march=native -O2 -fno-strict-aliasing -pipe -Wall -fno-strict-aliasing -Wstrict-prototypes -Wall tracepath.o    -o tracepath
rarpd.c: In function 'put_myipaddr':
rarpd.c:382: warning: assignment from incompatible pointer type
make: *** [rarpd.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-misc/iputils-20121221::gentoo failed (compile phase):
 *   emake failed




The enviroment:

Code:

Portage 2.2.7 (default/linux/x86/13.0, gcc-4.4.4, glibc-2.17, 2.6.35.3 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.35.3-i686-Pentium_III_-Katmai-with-gentoo-2.2
KiB Mem:     1030988 total,    878956 free
KiB Swap:    4008496 total,   4008496 free
Timestamp of tree: Sun, 02 Feb 2014 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.3-r1
sys-devel/autoconf:       2.13::<unknown repository>, 2.69
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.1-r1, 1.11.1, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            3.3.6-r1::<unknown repository>, 4.1.2::<unknown repository>, 4.2.2, 4.3.2, 4.4.4-r2, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 2.6.30-r1 (virtual/os-headers)
sys-libs/glibc:           2.17

Repositories: gentoo live-ebuilds
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -fno-strict-aliasing -pipe -Wall"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -fno-strict-aliasing -fpermissive -Wall"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_BZIP2_COMMAND="/bin/bzip2"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/live-ebuilds"
USE="acl apache2 berkdb bzip2 cli cracklib crypt ctype cxx devfs-compat dri gdbm hardened iconv innodb ldap mbox mmx modules mpm-worker mysql ncurses nls nptl old-hd-rules openmp pam pam-mysql pcre readline samba sasl server session slang sse ssl tcpd threads unicode vhosts x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


Build log:
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12361

PostPosted: Sun Feb 02, 2014 5:32 pm    Post subject: Reply with quote

Your build log is missing. However, from the provided emerge --info, we can see this system is badly outdated in places and weirdly modern in other places. This is not a good state to be in. Please set aside your iputils problem, update the rest of the system, and then retry.
Back to top
View user's profile Send private message
suprafluid
n00b
n00b


Joined: 07 Jan 2011
Posts: 24
Location: Deep in the Bavarian Forrest, Germany

PostPosted: Sun Feb 02, 2014 5:44 pm    Post subject: Reply with quote

Yes, I try updating as far as I can do. The thing is, that this system has been set up in 2005 and has not been updated for about 3 years now.
emerge -uD world is not working in such cases as it seems.
I'm currently updating the core and see how far I get. First thing now will be dating up the kernel incl. headers and sources from 2.6 to 3.10...
_________________
Running GENTOO on Xeon E3-1220Lv2 (2,2GHz) with 40W Idle powe consumption.
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