Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494890 - net-misc/networkmanager-0.9.8.8 with dev-libs/libnl-3.2.24_rc1 - nm-ip6-manager.c:1262:26: error: static declaration of 'link_policy' follows non-static declaration
Summary: net-misc/networkmanager-0.9.8.8 with dev-libs/libnl-3.2.24_rc1 - nm-ip6-manag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://github.com/thom311/libnl/issu...
Whiteboard:
Keywords:
: 494930 494986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-20 19:47 UTC by Alex Barker
Modified: 2014-01-03 06:36 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,247.63 KB, text/x-log)
2013-12-20 19:48 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Barker 2013-12-20 19:47:19 UTC
nm-ip6-manager.c:1262:26: error: static declaration of 'link_policy' follows non-static declaration
 static struct nla_policy link_policy[IFLA_MAX + 1] = {
                          ^
In file included from /usr/include/libnl3/netlink/route/addr.h:20:0,
                 from nm-ip6-manager.c:28:
/usr/include/libnl3/netlink/route/link.h:101:26: note: previous declaration of 'link_policy' was here
 extern struct nla_policy link_policy[];
                          ^
Makefile:526: recipe for target 'libip6_manager_la-nm-ip6-manager.lo' failed
make[4]: *** [libip6_manager_la-nm-ip6-manager.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8/src/ip6-manager'
Makefile:1721: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8/src'
Makefile:813: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8/src'
Makefile:650: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8'
Makefile:542: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: net-misc/networkmanager-0.9.8.8::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/networkmanager-0.9.8.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/networkmanager-0.9.8.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8'
 * S: '/var/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8'


Reproducible: Always
Comment 1 Alex Barker 2013-12-20 19:48:19 UTC
Created attachment 365772 [details]
build.log
Comment 2 Alex Barker 2013-12-20 19:48:34 UTC
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.17, 3.11.10-gentoo x86_64)
=================================================================
System uname: Linux-3.11.10-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.2
KiB Mem:    12303104 total,   5816128 free
KiB Swap:    2000088 total,   1983304 free
Timestamp of tree: Fri, 20 Dec 2013 16:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0::java
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo proaudio java science steam-overlay luman local_overlay
Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
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="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://kde.mirror.anlx.net/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
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="/var/lib/layman/pro-audio /var/lib/layman/java /var/lib/layman/science /var/lib/layman/steam /var/lib/layman/luman /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr berkdb branding bzip2 cairo cdda cddb cdr cifs cli consolekit cracklib crypt cups curl custom-cflags cxx dbus declarative dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac fortran ftp gdbm gif gles2 gnutls gpm gsm gstreamer gtk hal iconv icu ipv6 jpeg kde kipi lame lcms libnotify lm_sensors lto lzma mad mmx mmx2 mmxext mng modules mozilla mp3 mp4 mpeg mudflap multilib musepack mysql ncurses networkmanager nfs nls nptl nptlonl nsplugin offensive ogg openal opengl openmp opus pam pango pcre pdf phonon pic plasma png policykit ppds python3 qt3support qt4 rar rdesktop rdp readline samba sdl semantic-desktop session speex spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification steamgames_source_engine svg system-sqlite tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis vpx wavpack wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zip zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="access_compat actions alias auth_basic authn_core authz_core authz_host autoindex dir env filter log_config mime negotiation rewrite setenvif unique_id unixd" APACHE2_MPMS="prefork" 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" LINGUAS="en en_US" NETBEANS_MODULES="apisupport cnd dlight harness ide java nb php profiler websvccommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="artec_eplus48u" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-21 16:12:06 UTC

*** This bug has been marked as a duplicate of bug 494930 ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-21 16:12:53 UTC
*** Bug 494930 has been marked as a duplicate of this bug. ***
Comment 5 Pacho Ramos gentoo-dev 2013-12-21 17:22:06 UTC
Please report this to NM upstream too and post here the link to allow us to track it -> bugzilla.gnome.org

Thanks!
Comment 6 Seemant Kulleen 2013-12-21 19:40:23 UTC
cK3n in #gentoo also experienced this, and I've verified it happens on my system as well:

Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo x86_64)
=================================================================
System uname: Linux-3.12.6-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_B960_@_2.20GHz-with-gentoo-2.2
KiB Mem:     3863900 total,    169832 free
KiB Swap:    6291452 total,   6291372 free
Timestamp of tree: Sat, 21 Dec 2013 09:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x skype-4.0.0.7-copyright"
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 /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-march=native -O2 -pipe -fomit-frame-pointer"
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="ftp://gentoo.mirrors.pair.com/ ftp://mirror.mdfnet.se/gentoo ftp://gentoo.llarian.net/pub/gentoo ftp://mirrors.stuhome.net/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 amr avahi avx bash-completion beautifulsoup3 branding bzip2 cairo caps cdda cdio cdr city cleartype cli colord corefonts cracklib crypt cscope cups cxx dbus dconf declarative djvu dri dropbox dts dvd dvdr dvi dvi2tty dvipdfm ebook eds emboss encode evo exif facebook fam farsight farstream fbcondecor ffmpeg firefox flac fontconfig fortran frei0r gbm gconf gdbm gdm geoip gif glamor gnome gnome-keyring gnome-online-accounts gnutls google googledrive gphoto2 graphics gstreamer gtk gtk3 gtkstyle gudev highlight iconv icu idn infinality introspection iptc irc jabber jpeg jpeg29 jpeg2k json kde kipi laptop lastfm lcms libass libcaca libnotify libsecret libv4l luatex lzma mad minizip mmx mmxext mng modesetting modules mp3 mp4 mpeg mudflap multilib natspec nautilus ncurses network networkmanager nptl ntp ogg openal opengl openmp openntpd openvpn otr pam pango parse-clocks pch pcre pdf phonon pic plasma playlist png policykit ppds pstricks pyqt4 python qt3support qt4 readline realtime resolvconf schroedinger science sdl secure-delete semantic-desktop sendto session shapefile skype socialweb spell spoof-source sqlite sse sse2 sse4_1 ssl ssse3 startup-notification svg system-sqlite systemd tcpd theora thumbnail tiff truetype type1 udev udisks unicode upcall upower usb uxa v4l vala vim-syntax vorbis webkit wxwidgets x264 xcb xetex xinerama xml xmp xps xscreensaver xv xvfb xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" INPUT_DEVICES="evdev synaptics" 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="python2_7" PYTHON_TARGETS="python2_7 python3_3" USERLAND="GNU" VIDEO_CARDS="intel modesetting" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-22 17:35:34 UTC
*** Bug 494986 has been marked as a duplicate of this bug. ***
Comment 8 Pacho Ramos gentoo-dev 2013-12-23 18:09:28 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=720902#c3

Looks like NM upstream think it's a bug in libnl
Comment 9 Alex Barker 2013-12-23 18:13:47 UTC
Upstream bug closed, sent further upstream to libnl.

--- https://bugzilla.gnome.org/show_bug.cgi?id=720902
+++ https://github.com/thom311/libnl/issues/52
Comment 10 piruthiviraj natarajan 2013-12-23 23:55:00 UTC
I think gentoo should have waited for libnl-3.2.24 final rather than pushing the RC1 which breaks Networkmanager. Or at least it should have been masked rather than pushed to ~amd64.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-24 01:20:16 UTC
(In reply to piruthiviraj natarajan from comment #10)
> I think gentoo should have waited for libnl-3.2.24 final rather than pushing
> the RC1 which breaks Networkmanager. Or at least it should have been masked
> rather than pushed to ~amd64.

If you wanted stable software you shouldn't have set ~amd64.

If you cannot handle downgrading libnl (or indeed fixing nm) then you should not be commenting on this bug report. We have forums for that.
Comment 12 piruthiviraj natarajan 2013-12-24 02:46:16 UTC
@Roovers 
 I am not asking for a stable software in ~amd64.
But there is absolutely no need to push the rc1 into ~amd64.
You could have masked it and pushed it and people would have have been cautious.
A simple testing by the dev would have been sufficient to know if it breaks any other package. FYI its a bug in libnl and not nm.
I can very well downgrade libnl myself and I was the first one to test it though and report it at gnome-bugzilla.org.
 If you can't fix it, you don't have to be passive aggressive about it asking me to shut up and go to forums. The attitude is appalling from a dev.
Comment 13 Alex Barker 2014-01-02 21:32:42 UTC
This should be fixed upstream at this time.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-03 06:19:08 UTC
(In reply to Alex Barker from comment #13)
> This should be fixed upstream at this time.

Which?
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-03 06:36:12 UTC
Fixed in dev-libs/libnl-3.2.24_rc1-r1.