When making "/usr/sbin/python-updater" as specified in ebuild's warning at the end of python-3.4.1-r1 I get an error from libcap re-install : * Failed merging sys-libs/libcap-1.10-r5 (1/1)! * ************************************************************ * * Packages that still need to be manually emerged : * * ************************************************************ * Failed Packaged: * ---------------- * These packages have failed and need to be re-emerged again. * Alternatively, try re-running this script again to see if it * can be fixed. * emerge -p \=sys-libs/libcap-1.10-r5 Then trying to emerge libcap manually but it fails ... Reproducible: Always Steps to Reproduce: 1./usr/sbin/python-updater or emerge \=sys-libs/libcap-1.10-r5 Actual Results: Got a lot of errors : libcap_wrap.c:1299: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1300: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1301: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1302: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1303: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1304: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1305: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1306: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1307: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1308: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1309: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1310: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1311: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1312: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1313: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1314: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1315: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1316: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1317: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1318: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1319: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1320: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1321: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1322: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1323: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1324: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1325: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1326: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1327: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1328: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1329: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1330: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1340: attention : no previous prototype for `init_libcap' libcap_wrap.c: Dans la fonction
When making "/usr/sbin/python-updater" as specified in ebuild's warning at the end of python-3.4.1-r1 I get an error from libcap re-install : * Failed merging sys-libs/libcap-1.10-r5 (1/1)! * ************************************************************ * * Packages that still need to be manually emerged : * * ************************************************************ * Failed Packaged: * ---------------- * These packages have failed and need to be re-emerged again. * Alternatively, try re-running this script again to see if it * can be fixed. * emerge -p \=sys-libs/libcap-1.10-r5 Then trying to emerge libcap manually but it fails ... Reproducible: Always Steps to Reproduce: 1./usr/sbin/python-updater or emerge \=sys-libs/libcap-1.10-r5 Actual Results: Got a lot of errors : libcap_wrap.c:1299: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1300: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1301: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1302: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1303: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1304: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1305: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1306: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1307: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1308: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1309: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1310: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1311: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1312: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1313: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1314: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1315: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1316: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1317: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1318: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1319: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1320: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1321: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1322: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1323: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1324: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1325: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1326: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1327: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1328: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1329: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1330: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1340: attention : no previous prototype for `init_libcap' libcap_wrap.c: Dans la fonction « init_libcap »: libcap_wrap.c:1340: attention : traditional C rejects ISO C style function definitions libcap_wrap.c:1341: attention : le C ISO interdit les fonctions imbriquées libcap_wrap.c:1341: error: erreur de syntaxe before '*' token libcap_wrap.c:1343: error: `PyObject' undeclared (first use in this function) libcap_wrap.c:1343: error: `m' undeclared (first use in this function) libcap_wrap.c:1343: error: `d' undeclared (first use in this function) libcap_wrap.c:1343: attention : left-hand operand of comma expression has no effect libcap_wrap.c:1344: attention : le C89 ISO interdit les déclarations mélangés au code libcap_wrap.c:1345: error: `SWIG_globals' undeclared (first use in this function) libcap_wrap.c:1346: attention : implicit declaration of function `Py_InitModule' libcap_wrap.c:1346: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1347: attention : implicit declaration of function `PyModule_GetDict' libcap_wrap.c:1343: attention : statement with no effect libcap_wrap.c: Hors de toute fonction : libcap_wrap.c:187: attention : `SWIG_Python_TypeDynamicCast' defined but not used libcap_wrap.c:199: attention : `SWIG_Python_TypeName' defined but not used libcap_wrap.c:205: attention : `SWIG_Python_TypeQuery' defined but not used libcap_wrap.c:375: attention : `swig_varlink_print' defined but not used libcap_wrap.c:401: attention : `swig_varlink_setattr' defined but not used libcap_wrap.c:444: attention : `SWIG_Python_addvarlink' declared `static' but never defined libcap_wrap.c:551: attention : `SWIG_Python_MustGetPtr' defined but not used libcap_wrap.c:559: attention : `SWIG_Python_ConvertPacked' defined but not used and emerge stop here. Expected Results: Emerging libcap (or using python-updater) works emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-cj2 i686) ================================================================= System uname: 2.6.13-cj2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -Os -pipe -mfpmath=sse,387 -msse -msse2 -mmmx -fomit-frame-pointer -fforce-addr -momit-leaf-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -Os -pipe -mfpmath=sse,387 -msse -msse2 -mmmx -fomit-frame-pointer -fforce-addr -momit-leaf-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-gentoofr" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d acpi alsa artswrappersuid avi bash-completion berkdb bigger-fonts bitmap-fonts calendar cdparanoia cdr cups curl dga directfb dmx dnd emacs emboss encode esd fbcon flac font-server foomaticdb fortran fpx gd gif gimpprint ginac gmp gpm graphviz gstreamer gtk gtk2 hbci imagemagick imlib imlib2 java javascript jpeg jpeg2k justify kde kdeenablefinal lcms leim libg++ libwww mad mcal mikmod mmx mng motif mozcalendar moznoirc mozsvg mp3 mpeg mpi mule nas ncurses network nls nocardbus nodrm nptl nptlonly nsplugin nvidia objc ofx ogg oggvorbis openal opengl oss pam pdflib perl pic plotutils png posix ppds python qhull qt qtmt quicktime readline real rplay samba sdk sdl slang slp sndfile spell sse sse2 ssl stroke svg svga sysfs tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x vorbis win32codecs wmf wxwindows xine xml xml2 xmms xpm xprint xscreensaver xv xvid zlib video_cards_nvidia linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS I think this bug is quite similar with Bug 31092.
Searching along forums.gentoo.org give me this thread : http://forums.gentoo.org/viewtopic-t-238102.html pointing to : http://gentoo-portage.com/sys-libs/libcap and giving a solution which is : needed to add python symlinks to install libcap: ln -s /usr/include/python2.3/* /usr/include/ This gives me a lot of errors like : libcap_wrap.c:1314: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1315: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1316: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1317: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1318: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1319: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1320: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1321: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1322: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1323: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1324: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1325: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1326: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1327: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1328: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1329: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1330: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1340: attention : no previous prototype for `init_libcap' libcap_wrap.c: Dans la fonction
Searching along forums.gentoo.org give me this thread : http://forums.gentoo.org/viewtopic-t-238102.html pointing to : http://gentoo-portage.com/sys-libs/libcap and giving a solution which is : needed to add python symlinks to install libcap: ln -s /usr/include/python2.3/* /usr/include/ This gives me a lot of errors like : libcap_wrap.c:1314: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1315: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1316: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1317: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1318: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1319: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1320: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1321: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1322: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1323: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1324: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1325: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1326: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1327: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1328: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1329: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1330: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1340: attention : no previous prototype for `init_libcap' libcap_wrap.c: Dans la fonction « init_libcap »: libcap_wrap.c:1340: attention : traditional C rejects ISO C style function definitions libcap_wrap.c:1346: attention : cast discards qualifiers from pointer target type libcap_wrap.c: Hors de toute fonction : libcap_wrap.c:187: attention : `SWIG_Python_TypeDynamicCast' defined but not used libcap_wrap.c:199: attention : `SWIG_Python_TypeName' defined but not used libcap_wrap.c:205: attention : `SWIG_Python_TypeQuery' defined but not used libcap_wrap.c:444: attention : `SWIG_Python_addvarlink' defined but not used libcap_wrap.c:551: attention : `SWIG_Python_MustGetPtr' defined but not used libcap_wrap.c:559: attention : `SWIG_Python_ConvertPacked' defined but not used but emerge libcap ends fine. To be continued ...
remove those symlinks and re-emerge swig then see if libcap re-emerges properly
Deleting all symlinks created today then re-emerging swig => it works Re-emerging libcap fails with the same errors than first try : libcap_wrap.c:1305: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1306: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1307: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1308: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1309: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1310: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1311: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1312: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1313: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1314: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1315: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1316: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1317: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1318: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1319: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1320: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1321: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1322: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1323: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1324: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1325: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1326: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1327: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1328: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1329: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1330: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1340: attention : no previous prototype for `init_libcap' libcap_wrap.c: Dans la fonction
Deleting all symlinks created today then re-emerging swig => it works Re-emerging libcap fails with the same errors than first try : libcap_wrap.c:1305: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1306: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1307: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1308: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1309: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1310: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1311: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1312: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1313: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1314: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1315: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1316: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1317: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1318: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1319: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1320: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1321: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1322: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1323: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1324: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1325: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1326: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1327: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1328: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1329: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1330: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1340: attention : no previous prototype for `init_libcap' libcap_wrap.c: Dans la fonction « init_libcap »: libcap_wrap.c:1340: attention : traditional C rejects ISO C style function definitions libcap_wrap.c:1341: attention : le C ISO interdit les fonctions imbriquées libcap_wrap.c:1341: error: erreur de syntaxe before '*' token libcap_wrap.c:1343: error: `PyObject' undeclared (first use in this function) libcap_wrap.c:1343: error: `m' undeclared (first use in this function) libcap_wrap.c:1343: error: `d' undeclared (first use in this function) libcap_wrap.c:1343: attention : left-hand operand of comma expression has no effect libcap_wrap.c:1344: attention : le C89 ISO interdit les déclarations mélangés au code libcap_wrap.c:1345: error: `SWIG_globals' undeclared (first use in this function) libcap_wrap.c:1346: attention : implicit declaration of function `Py_InitModule' libcap_wrap.c:1346: attention : cast discards qualifiers from pointer target type libcap_wrap.c:1347: attention : implicit declaration of function `PyModule_GetDict' libcap_wrap.c:1343: attention : statement with no effect libcap_wrap.c: Hors de toute fonction : libcap_wrap.c:187: attention : `SWIG_Python_TypeDynamicCast' defined but not used libcap_wrap.c:199: attention : `SWIG_Python_TypeName' defined but not used libcap_wrap.c:205: attention : `SWIG_Python_TypeQuery' defined but not used libcap_wrap.c:375: attention : `swig_varlink_print' defined but not used libcap_wrap.c:401: attention : `swig_varlink_setattr' defined but not used libcap_wrap.c:444: attention : `SWIG_Python_addvarlink' declared `static' but never defined libcap_wrap.c:551: attention : `SWIG_Python_MustGetPtr' defined but not used libcap_wrap.c:559: attention : `SWIG_Python_ConvertPacked' defined but not used but "python-updater" doesn't want to re-emerge it anymore ("Python update completed successfully."). :-s
Trying to re-emerge libcap today after a reboot and a sync. Lot of warnings but emerge ends fine. Don't know if ebuild is different (I don't re-fetch files and patches) but the problem seems solved. Anyone can confirm if the ebuild changed or something else please (wanna know where this problem comes from). Thanks.
no, it shouldnt have changed
Really strange ... But it seems I was alone with this problem. Leave it as NEW or change it in STABLE ??
Not STABLE, SOLVED ... Really tired ... :-S
k