Updating dhcpcd to 6.7.1 on fails to compile on ppc with the following message: powerpc-unknown-linux-gnu-gcc -O2 -mcpu=7450 -DEMBEDDED_CONFIG=\"/lib/dhcpcd/dhcpcd-definitions.conf\" -std=c99 -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -DINET -DINET6 -DPLUGIN_DEV -I./crypt -c if.c -o if.o if.c: In function 'if_discover': if.c:304:14: error: 'struct interface' has no member named 'alias' strlcpy(ifp->alias, p, sizeof(ifp->alias)); ^ if.c:304:36: error: 'struct interface' has no member named 'alias' strlcpy(ifp->alias, p, sizeof(ifp->alias)); ^ In file included from /usr/include/string.h:634:0, from if.c:59: if.c: In function 'if_findindexname': if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ if.c:541:27: error: 'struct interface' has no member named 'alias' (name && strcmp(ifp->alias, name) == 0) || ^ Reproducible: Always Steps to Reproduce: 1.emerge =net-misc/dhcpcd-6.7.1
Created attachment 395752 [details] build.log
Please post your `emerge --info' output in a comment.
emerge --info Portage 2.2.15 (python 3.3.5-final-0, default/linux/powerpc/ppc32/13.0, gcc-4.9.2, glibc-2.20-r1, 3.18.5-gentoo ppc) ================================================================= System uname: Linux-3.18.5-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.2 KiB Mem: 1026184 total, 794136 free KiB Swap: 3145724 total, 3145724 free Timestamp of tree: Sat, 07 Feb 2015 04:00:01 +0000 sh bash 4.3_p33-r1 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r1 dev-lang/perl: 5.20.1-r4 dev-lang/python: 2.7.9-r1, 3.3.5-r1 dev-util/cmake: 3.1.0 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.9 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.6-r1, 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.9.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.5 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.18 (virtual/os-headers) sys-libs/glibc: 2.20-r1 Repositories: gentoo ACCEPT_KEYWORDS="ppc ~ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7450" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /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" CXXFLAGS="-O2 -mcpu=7450" 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.cs.uni.edu/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="X acl alsa altivec avahi berkdb bluetooth bzip2 cli cracklib crypt css curl cxx dbus dri dvb dvd dvdr ffmpeg fftw fontconfig fortran ftp gdbm git gnuplot gnutls gps iconv ieee1394 ipv6 libav lightdm modules mp3 mp4 mpi ncurses newnet nptl openmp pam pch pcmcia pcre pdf perl png posix ppc python readline sdl session sound ssl static-libs subversion tcpd threads udev unicode usb vnc wifi xcb zeroconf zlib" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" 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="ieee1275" INPUT_DEVICES="evdev synaptics" 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 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Can you test the patch here please? http://roy.marples.name/projects/dhcpcd/ci/2cabc3efee4c18ca6d4f1a6c8f3f58dd77b26278?sbs=0
The patch fixed the issue, I was able to successfully compile and install 6.7.1. Thank you.
(In reply to Patrick from comment #5) > The patch fixed the issue, I was able to successfully compile and install > 6.7.1. Thank you. Fixed in 6.8.1, now in portage