This bug is for tracking all known issues with the portage-2.1.0_alpha20050718 pre-alpha release. Every other bug filed against that version will be marked as a dupe of this.
Known issues so far: - confcache and recent sandbox version can cause debug garbage (ACCESS_ALLOWED messages) - minor bugs in elog/mod_mail (missing import, type error in exception handler) - first cache update can cause weird QA messages (workaround: wipe your depcache before updating it)
Oh well better make a start ;) emerged to check it out and add some "bugs" I started with an "emerge --depclean -p" I recently tidied out my WORLD file and did some emerge --depclean and revdep-rebuild and all were fine (after a few unmerges and re-emerges) Decided to try "emerge --depclean -p" with the alpha and I get QUOTE Fluid portage # emerge --depclean -p *** WARNING *** : DEPCLEAN CAN SERIOUSLY IMPAIR YOUR SYSTEM. USE CAUTION. *** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE *** WARNING *** : CANDIDATE LIST FOR SANITY BEFORE ALLOWING DEPCLEAN TO *** WARNING *** : UNMERGE ANY PACKAGES. *** WARNING *** : *** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT. *** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT *** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS. *** WARNING *** : emerge --update --deep --newuse world TO VERIFY *** WARNING *** : SANITY IN THIS REGARD. *** WARNING *** : *** WARNING *** : Packages in the list that are desired may be added *** WARNING *** : directly to the world file to cause them to be ignored *** WARNING *** : by depclean and maintained in the future. BREAKAGES DUE *** WARNING *** : TO UNMERGING AN ==IN-USE LIBRARY== MAY BE REPAIRED BY *** WARNING *** : MERGING *** THE PACKAGE THAT COMPLAINS *** ABOUT THE *** WARNING *** : MISSING LIBRARY. Calculating depclean dependencies \auxdb exception: (/usr/portage::www-client/lynx-2.8.4.1d): global name 'cpv' is not defined auxdb exception: (/usr/portage::www-client/lynx-2.8.4.1d-r1): global name 'cpv' is not defined /auxdb exception: (/usr/local/portage::sys-kernel/love-sources-2.6.12-r1): global name 'cpv' is not defined auxdb exception: (/usr/local/portage::sys-kernel/love-sources-2.6.12_rc2-r1): global name 'cpv' is not defined \auxdb exception: (/usr/portage::sys-apps/eject-2.0.13-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-apps/eject-2.0.13-r2): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-apps/eject-2.0.13): global name 'cpv' is not defined -auxdb exception: (/usr/portage::sys-process/vixie-cron-3.0.1-r5): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-process/vixie-cron-3.0.1-r4): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-process/vixie-cron-4.1-r7): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-process/vixie-cron-4.1-r8): global name 'cpv' is not defined \auxdb exception: (/usr/portage::mail-mta/ssmtp-2.60.7-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::mail-mta/ssmtp-2.61): global name 'cpv' is not defined auxdb exception: (/usr/portage::mail-mta/ssmtp-2.60.9): global name 'cpv' is not defined \auxdb exception: (/usr/portage::sys-apps/module-init-tools-3.2_pre7): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-apps/module-init-tools-3.2_pre7-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-apps/module-init-tools-3.1-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-apps/module-init-tools-3.0-r2): global name 'cpv' is not defined \auxdb exception: (/usr/portage::app-text/ghostview-1.5): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-text/ghostview-1.5-r1): global name 'cpv' is not defined -auxdb exception: (/usr/portage::app-text/ghostscript-7.05.6-r2): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-text/ghostscript-7.07.1-r7): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-text/ghostscript-7.07.1-r9): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-text/ghostscript-7.07.1-r8): global name 'cpv' is not defined |auxdb exception: (/usr/portage::net-print/cups-1.1.23-r4): global name 'cpv' is not defined auxdb exception: (/usr/portage::net-print/cups-1.1.23-r2): global name 'cpv' is not defined auxdb exception: (/usr/portage::net-print/cups-1.1.23-r3): global name 'cpv' is not defined auxdb exception: (/usr/portage::net-print/cups-1.1.23-r1): global name 'cpv' is not defined -auxdb exception: (/usr/portage::media-libs/glut-3.7-r2): global name 'cpv' is not defined auxdb exception: (/usr/portage::media-libs/glut-3.7.1): global name 'cpv' is not defined |auxdb exception: (/usr/portage::app-editors/vim-6.3.084): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-editors/vim-6.3.075): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-editors/vim-6.3.074): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-editors/vim-6.3.068): global name 'cpv' is not defined | !!! All ebuilds that could satisfy "app-admin/eselect" have been masked. !!! One of the following masked packages is required to complete your request: - app-admin/eselect-0.9.6 (masked by: ~x86 keyword) - app-admin/eselect-0.9.5 (masked by: ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "app-editors/vim-core-6.3.084" [ebuild]) !!! Problem with ebuild app-editors/vim-6.3.084 !!! Possibly a DEPEND/*DEPEND problem. !!! Failed to create deptree. and just for info QUOTE Fluid portage # emerge --info Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-love1 i686) ================================================================= System uname: 2.6.12-love1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.13 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 5 2005, 10:44:10)] distcc: No such file or directory [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.5, 1.5, 1.8.5-r3, 1.4_p6 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" CFLAGS="-O3 -march=pentium4 -fforce-addr -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fforce-addr -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccashe distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/sites/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://www.mirror.ac.uk/mirror/www.ibiblio.org/" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi aim alsa apm avi berkdb bitmap-fonts bluetooth bonobo bzip2 cdr crypt cups directfb dvd dvdread eds emboss encode esd extensions fam fbcon flac foomaticdb fortran gd gdbm geoip gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib inkjar ipv6 joystick jpeg jpg kqemu ldap libg++ libwww mad mikmod mme mme2 mmx mmx2 mono motif mozilla mp3 mpeg msn ncurses nls nntp nomotif nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl plugin png ppds python quicktime readline real sdl softmmu spell sqlite sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x vorbis win32codecs xinerama xml xml2 xprint xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS Config files: /etc/make.conf, /etc/portage/package.mask, /etc/portage/package.unmask, /etc/portage/package.keywords
Eqaully in deciding to downgrade (by removing the unmask) I get QUOTE Fluid portage # emerge world -vp These are the packages that I would merge, in order: Calculating world dependencies \auxdb exception: (/usr/portage::sys-kernel/gento o-sources-2.4.31-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-kernel/gentoo-sources-2.6.12-r7): global nam e 'cpv' is not defined auxdb exception: (/usr/portage::sys-kernel/gentoo-sources-2.6.12-r6): global nam e 'cpv' is not defined auxdb exception: (/usr/portage::sys-kernel/gentoo-sources-2.6.12-r4): global nam e 'cpv' is not defined auxdb exception: (/usr/portage::sys-kernel/gentoo-sources-2.6.12-r8): global nam e 'cpv' is not defined auxdb exception: (/usr/portage::sys-kernel/gentoo-sources-2.6.9-r9): global name 'cpv' is not defined auxdb exception: (/usr/portage::sys-kernel/gentoo-sources-2.4.28-r9): global nam e 'cpv' is not defined |auxdb exception: (/usr/portage::app-editors/gvim-6.3.084): global name 'cpv' i s not defined auxdb exception: (/usr/portage::app-editors/gvim-6.3.075): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-editors/gvim-6.3.074): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-editors/gvim-6.3.068): global name 'cpv' is not defined -auxdb exception: (/usr/portage::net-misc/openssh-3.9_p1-r3): global name 'cpv' is not defined auxdb exception: (/usr/portage::net-misc/openssh-3.9_p1-r2): global name 'cpv' i s not defined auxdb exception: (/usr/portage::net-misc/openssh-3.8.1_p1-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::net-misc/openssh-4.0_p1-r2): global name 'cpv' i s not defined auxdb exception: (/usr/portage::net-misc/openssh-4.0_p1-r1): global name 'cpv' i s not defined auxdb exception: (/usr/portage::net-misc/openssh-4.1_p1-r1): global name 'cpv' i s not defined auxdb exception: (/usr/portage::net-misc/openssh-4.1_p1): global name 'cpv' is n ot defined /auxdb exception: (/usr/portage::app-arch/gzip-1.3.5-r8): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-arch/gzip-1.3.5-r7): global name 'cpv' is no t defined /auxdb exception: (/usr/portage::app-text/acroread-7.0.0.2-r2): global name 'cp v' is not defined -auxdb exception: (/usr/portage::sys-apps/xinetd-2.3.13): global name 'cpv' is not defined \auxdb exception: (/usr/portage::net-misc/dhcpcd-2.0.0): global name 'cpv' is n ot defined auxdb exception: (/usr/portage::net-misc/dhcpcd-1.3.22_p4-r12): global name 'cpv ' is not defined auxdb exception: (/usr/portage::net-misc/dhcpcd-1.3.22_p4-r5): global name 'cpv' is not defined auxdb exception: (/usr/portage::net-misc/dhcpcd-1.3.22_p4-r11): global name 'cpv ' is not defined \auxdb exception: (/usr/portage::app-editors/nano-1.3.6): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-editors/nano-1.3.7): global name 'cpv' is no t defined auxdb exception: (/usr/portage::app-editors/nano-1.3.4): global name 'cpv' is no t defined auxdb exception: (/usr/portage::app-editors/nano-1.3.8): global name 'cpv' is no t defined auxdb exception: (/usr/portage::app-editors/nano-1.2.5): global name 'cpv' is no t defined -auxdb exception: (/usr/portage::app-admin/metalog-0.8_rc1-r1): global name 'cp v' is not defined auxdb exception: (/usr/portage::app-admin/metalog-0.8_pre20031130): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-admin/metalog-0.7-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::app-admin/metalog-0.8_rc1): global name 'cpv' is not defined |auxdb exception: (/usr/portage::dev-java/sun-jdk-1.3.1.13): global name 'cpv' is not defined auxdb exception: (/usr/portage::dev-java/sun-jdk-1.5.0.04): global name 'cpv' is not defined auxdb exception: (/usr/portage::dev-java/sun-jdk-1.4.2.08-r1): global name 'cpv' is not defined auxdb exception: (/usr/portage::dev-java/sun-jdk-1.2.2.017): global name 'cpv' i s not defined auxdb exception: (/usr/portage::dev-java/sun-jdk-1.4.2.08): global name 'cpv' is not defined auxdb exception: (/usr/portage::dev-java/sun-jdk-1.4.2.09): global name 'cpv' is not defined ...done! [ebuild UD] sys-apps/portage-2.0.51.22-r2 [2.1.0_alpha20050718] (-multilib) - toolchain-funcs 251 kB Total size of downloads: 251 kB
In an effort to try and keep this bug useful, can you please not quote so much stuff. If you have output to offer, make it an attachment. In both of the above two comments, the entire output was not necessary anyway. All that's needed to some up both comments is: "auxdb exception: (/usr/portage::www-client/lynx-2.8.4.1d-r1): global name 'cpv' is not defined" when using --pretend for the first time - first cache update can cause weird QA messages (workaround: wipe your depcache before updating it) This is slightly wrong - updating an existing <2.1 cache gives auxdb exceptions of "global name 'cpv is not defined'" - using a cache that has been updated will cause invalid QA messages while merging and eclasses to appear in IUSE.
*** Bug 85057 has been marked as a duplicate of this bug. ***
*** Bug 85085 has been marked as a duplicate of this bug. ***
ahh sorry,
*** Bug 85005 has been marked as a duplicate of this bug. ***
Alec, i don't quite understand how can bugs be duplicates of this one. Does it mean they are fixed in this snapshot (in which case marking them resolved or InCVS or something like that would be more clear) or at the contrary that they are still valid (in which case living them open but with a bug dep from here would probably be better for later resolution)?
(In reply to comment #9) > Alec, i don't quite understand how can bugs be duplicates of this one. Does it > mean they are fixed in this snapshot (in which case marking them resolved or > InCVS or something like that would be more clear) or at the contrary that they > are still valid (in which case living them open but with a bug dep from here > would probably be better for later resolution)? "This bug is for tracking all known issues with the portage-2.1.0_alpha20050718 pre-alpha release. Every other bug filed against that version will be marked as a dupe of this." -> opening bug comment. All of those were old CVS bugs, and will be fixed when this bug is closed ( or that was my thought process anyhow ).
Created attachment 65903 [details] ebuild that intentionally produces a sandbox violation I am unable to produce a sandbox violation (sandbox-1.2.12). If I emerge stable portage-2.0.51.22-r2 then FEATURES="sandbox" works normally.
Hmm, with userpriv+usersandbox it works, without it doesn't.
/usr/lib/portage/pym/portage.py:5325:if not "sandbox" in features or not "usersandbox" in features: s/or/and/
It's good that you found that bug. In addition, I discovered a bug in sandbox that manifests when cwd is / (see bug 102569). The bug was not noticeable with older versions of portage that changed cwd to PORTAGE_TMPDIR automatically.
I changed the logic in sandbox-1.2.12 to have the current directory the working directory. The theory was that if EBUILD and PORTAGE_TMPDIR is in the environment, we should be inside portage environment ... Is this wrong for portage HEAD ?
portage head loads ebuild.sh up sandboxed, and flips vars on/off as needed depending on the ebuild it's requested to process... so... greenlighting cwd probably isn't a good thing for it. It ought to wipe the setting itself during ebuild-daemon.sh actually, although a checkup wouldn't hurt.
# emerge sync Traceback (most recent call last): File "/usr/bin/emerge", line 10, in ? import portage File "/usr/lib/portage/pym/portage.py", line 4997, in ? portdb=portdbapi(settings["PORTDIR"]) File "/usr/lib/portage/pym/portage.py", line 2729, in __init__ gid=portage_gid) TypeError: __init__() got an unexpected keyword argument 'basepath' The same errors get on each package and sync, info, --metadata and others. I have installed portage-2.1.0_alpha20050718. Cheers.
(In reply to comment #17) > The same errors get on each package and sync, info, --metadata and others. I think you are trying to use an old depcache module that is incompatible with the new version of portage. Do you have /etc/portage/modules? If so, make sure your portdbapi.auxdbmodule supports the version of portage that you are using.
doing an emerge -u media-sound/alsa-utils I've encountered the following error: >>> Completed installing alsa-utils-1.0.9a-r1 into /var/tmp/portage/alsa-utils-1.0.9a-r1/image/ processing merge * checking 47 files for package collisions * spent 0.72 seconds checking for file collisions * grabbing media-sound/alsa-utils-1.0.9a-r1's binaries/libs * checking media-sound/alsa-utils-1.0.9a-r1 RDEPEND Traceback (most recent call last): File "/usr/bin/emerge", line 3505, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1857, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug) File "/usr/lib/portage/pym/portage.py", line 1355, in doebuild use_info_env=use_info_env,verbosity=verbosity) File "/usr/lib/portage/pym/ebuild.py", line 1220, in process_phase mysettings,myebuild=mysettings["EBUILD"]) File "/usr/lib/portage/pym/portage.py", line 1366, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/usr/lib/portage/pym/portage.py", line 4770, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup) File "/usr/lib/portage/pym/portage.py", line 4197, in treewalk for rd,msg in [(r,"%s/%s's RDEPEND" % (self.cat,self.pkg)), \ File "/usr/lib/portage/pym/portage.py", line 2472, in match mydep=dep_expand(origdep,mydb=self,use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 1782, in dep_expand return prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File "/usr/lib/portage/pym/portage.py", line 1725, in cpv_expand raise ValueError, matches ValueError: ['sys-devel/gcc', 'cross-avr/gcc'] It seems there some problem with installed cross compilers while checking RDEPENDS. My emerge --info: Gentoo Base System version 1.12.0_pre5 Portage 1.589-cvs (default-linux/x86/2005.1, gcc-3.4.4-vanilla, glibc-2.3.5-r1, 2.6.12-gentoo-r7 i686) ================================================================= System uname: 2.6.12-gentoo-r7 i686 Celeron (Coppermine) Python: dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun 18 2005, 20:18:12)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache: No such file or directory [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.59-r7, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS=" -march=pentium3 -O2 -pipe -fforce-addr -fomit-frame-pointer -ffast-math -ftracer -fprefetch-loop-arrays -mfpmath=sse " 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS=" -march=pentium3 -O2 -pipe -fforce-addr -fomit-frame-pointer -ffast-math -ftracer -fprefetch-loop-arrays -mfpmath=sse -O2 -fvisibility-inlines-hidden " DISTDIR="/home/ftp/distfiles" FEATURES="autoconfig buildsyspkg collision-protect confcache distlocks elog maketest parallel-fetching sandbox sfperms strict test userpriv usersandbox verify-rdepend" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.osuosl.org/ ftp://ftp.solnet.ch/mirror/Gentoo" LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LDFLAGS=" -Wl,-O3 " LINGUAS="it" MAKEOPTS="-j1" PKGDIR="/home/ftp/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acl acpi acpi4linux alsa apache2 arts audiofile avi berkdb bitmap-fonts bzlib caps cdparanoia chroot clamav crypt cups curl dba dio directfb divx4linux eds emboss encode erandom esd faac faad fam fbcon ffmpeg flac foomaticdb gcc-libffi gd gdbm ggi gif gimpprint glibc-omitfp gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 iconv imagemagick imlib imlib2 innodb ipv6 irda ithreads java javascript jbig jikes jpeg jpeg2k justify jython kde kdeenablefinal lcms libclamav libg++ libwww linuxthreads-tls lzo mad mailwrapper mbox md5sum mdb mikmod mime mjpeg mmap mmx mmx2 mmxext mng motif mozcalendar mozdevelop moznoirc mozsvg mp3 mpeg mysql ncurses nls no-old-linux no-suexec no_wxgtk1 nomac nptl nptlonly oav objc odbc offensive ogg oggvorbis opengl pam pcmcia pdflib perl php png pnp posix ppds pwdb python qt quicktime readline rhino rtc samba scanner sdl shared sharedmem slang sms snmp softquota speex spell spl sse ssl svg svga tcltk tcpd tetex theora threads tidy tiff timidity truetype truetype-fonts trusted type1-fonts unicode usb userlocales vcd vda vorbis win32codecs wmf wsconvert xine xml xml2 xmms xpm xprint xsl xv xvid yahoo zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET Config files: /etc/make.conf, /etc/portage/package.mask, /etc/portage/package.unmask, /etc/portage/package.keywords, /etc/portage/profile/profile.bashrc
(In reply to comment #18) > I think you are trying to use an old depcache module that is incompatible with > the new version of portage. Do you have /etc/portage/modules? If so, make > sure your portdbapi.auxdbmodule supports the version of portage that you are using. Yeah, that is the problem. Thanks so much. Maybe add info about that to ebuild?
A small amount of ebuilds has issues with the new alpha: anything using font.eclass, like ttf-bitstream-vera-1.10-r3, breaks because sandbox is now enabled in pkg_setup. Adding 'addwrite "/usr/share/fonts/${PN}/fonts.cache-1"' to font.eclass fixes this. This seems an intentional change of behaviour on portage's side. bazaar doesn't work, renaming the var "DIR" in the ebuild to "MY_DIR" or moving all uses of this var into src_unpack fixes it. This might be a bug in portage, unless the fact that "DIR" is used by it is documented somewhere. x11-themes/polymer doesn't build. I'll attach a patch that fixes that, but I'm not sure how much sense it makes. emacs-cvs breaks as described in bug 93946.
Created attachment 66654 [details, diff] patch to polymer-0.3.1.ebuild to avoid QTDIR and sandbox issues
(In reply to comment #21) > x11-themes/polymer doesn't build. I'll attach a patch that fixes that, but I'm > not sure how much sense it makes. polymer was not using qt3.eclass yet. I just ported it and committed, maybe it just works now?
(In reply to comment #23) > polymer was not using qt3.eclass yet. I just ported it and committed, maybe it > just works now? Doesn't seem to help (and I'd be surprised if it did help, since it already inherited kde-functions, which in turn inherited qt3).
This looks like a portage bug, but it could just be a badly written ebuild: after installing freenet, I couldn't config it until I manually set PORT_ENV_FILE to the name of the ebuild. It appears that for some reason portage was not setting PORT_ENV_FILE for this particular ebuild..? This worked: PORT_ENV_FILE=/usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild ebuild /usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild config This didn't: ebuild /usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild config ("failed to load env" ... "ebuild.sh: line 473: pkg_config: command not found") This is while using 2.1.0_alpha20050718 - I can't really test it in the stabler portage, because of some reversion difficulties (mentioned above, I believe), but I am assuming it usually works..
I'd rather know the error it's throwing, then that you're using PORT_ENV to slide by... So.. error?
around line 500 of ebuild-default-functions.sh portage checks for files owned by user or group portage and uses chown/chgrp to make them root:root. It does not check for symlinks before doing that though, which causes a sandbox violation if it's a portage-owned symlink pointing to a file outside of ${D} when chown/chgrp tries to touch the target. Upgrading to coreutils-5.3.0-r1 from 5.3.0 triggered this for me. A patch like the one in bug 99616 will probably fix this.
(In reply to comment #26) > So.. error? foo ~ # ebuild /usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild config cleansing builddir/var/tmp/portage/freenet-0.5.2.1-r8 creating temp dir ebuild=/usr/portage/net-p2p/freenet/freenet-0.5.2.1-r8.ebuild, phase config * * failed to load env * this installed pkg may not behave correctly * /usr/lib/portage/bin/ebuild.sh: line 473: pkg_config: command not found -------------------- The same kind of thing happens (but with a different variable) installing ndiswrapper: foo ~ # emerge ndiswrapper Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/ndiswrapper-1.2 to / cleansing builddir/var/tmp/portage/ndiswrapper-1.2 creating temp dir * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.12-gentoo-r10 * Checking for suitable kernel configuration options >>> Unpacking source... >>> Unpacking ndiswrapper-1.2.tar.gz to /var/tmp/portage/ndiswrapper-1.2/work * Applying ndiswrapper-1.2-suspend2.patch ... [ ok ] * The only kernels that will work are gentoo-sources, vanilla-sources, and suspend2-sources. * No other kernels are supported. Kernels like the mm kernels will NOT [ ok ] >>> Source unpacked.apper-1.2/driver/Makefile to use M= instead of SUBDIRS=... >>> Compiling source ... cc -Wall -g -DNDISWRAPPER_VERSION=\"1.2\" -c -o loadndisdriver.o loadndisdriver.c gcc -o loadndisdriver loadndisdriver.o * Preparing ndiswrapper module Can't find kernel sources in /; give the path to kernel sources with KSRC=<path> argument to make make: *** [prereq_check] Error 1 !!! ERROR: net-wireless/ndiswrapper-1.2 failed. !!! Function linux-mod_src_compile, Line 2483, Exitcode 2 !!! Unable to make KSRC=/ KVERS= all. !!! If you need support, post the topmost build error, NOT this status message. phases failed ------------------------- But if I set KV_DIR to "usr/src/linux" before emerging it, it works fine. This is on ~amd64, if that makes any difference.
I ran into this when trying to emerge courier-imap-4.0.4: cp: cannot stat `/usr/portage/net-mail/courier-imap/files/courier-imap--gentoo-imapd.rc': No such file or directory install: cannot stat `/var/tmp/portage/courier-imap-4.0.4/temp/gentoo-imapd.rc': No such file or directory I then resync'd thinking the missing file would reappear, but it was already there. if you look closely at the first error line, you'll see "courier-imap--gentoo-imapd.rc" which has a double dash in it. A version number should be in there. The ebuild defines RC_VER="4.0.1-r1" and uses it here: newexe ${FILESDIR}/${PN}-${RC_VER}-gentoo-imapd.rc gentoo-imapd.rc || die "newexe failed" When I went back to portage-2.0.51.22-r2, the emerge went perfectly.
(In reply to comment #29) [snip] emerge info: Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-hardened-r15 i686) ============================================================ ===== System uname: 2.6.11-hardened-r15 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.12.0_pre6 dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config / var/bind /var/qmail/control /var/www/localhost/htdocs" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i386 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aavm apache2 berkdb crypt curl dlloader exiscan-acl gdbm gpm hardened imap libwww logrotate maildir mcal ncurses nls nptl pam pdflib perl pic png postgres python readline sasl slang ssl tcpd tiff userlocales x86 xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
This is what I get with this version of portage and not with 2.0.x when I do emerge -puD world: !!! All ebuilds that could satisfy "x11-libs/libX11" have been masked. !!! One of the following masked packages is required to complete your request: - x11-libs/libX11-0.99.1_pre20050905 (masked by: package.mask) # Donnie Berkholz <spyderous@gentoo.org> (07 Aug 2005) # Modularized X, upstream release candidates # xdriinfo was added by Joshua Baergen <joshuabaergen@gentoo.org> (08 Sept # 2005) - x11-libs/libX11-0.99.0-r1 (masked by: package.mask) - x11-libs/libX11-0.99.0 (masked by: package.mask) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. !!! (dependency required by "x11-terms/xterm-204" [ebuild]) !!! Problem with ebuild sys-apps/man-pages-2.07 !!! Possibly a DEPEND/*DEPEND problem. Apparently it doesn't notice that of two possible dependencies (modular and regular X) only one is package masked.
xorg-X11-6.8.2-r3 fails to build with this portage fails really early seems to be permissions problem tried with and without "usersandbox userpriv" other FEATURES flags are "cvs sandbox" as root and as sudoer all fail similarly using portage-2.0.52-r1 emerge appears to proceed normally emerge xorg-x11 Calculating dependencies ...done! >>> emerge (1 of 1) x11-base/xorg-x11-6.8.2-r3 to / cleansing builddir/mnt/bigdisk1/tmp/portage/xorg-x11-6.8.2-r3 creating temp dir x11-base/xorg-x11-6.8.2-r2 * Previous xorg-x11 installation detected. * Enabling PAM features in xorg-x11. swapping processors for ['unpack', 'compile', 'test'] install: failed to return to initial working directory: Permission denied >>> Unpacking source... [ ok ] * Excluding patches...sors...patches... [ ok ] QA Notice: USE Flag 'elibc_FreeBSD' not in IUSE for x11-base/xorg-x11-6.8.2-r3 QA Notice: USE Flag 'elibc_OpenBSD' not in IUSE for x11-base/xorg-x11-6.8.2-r3 * Done excluding patches. <Snip> * Building xorg-x11... Building Release 6.8.2. I hope you checked the configuration parameters in ./config/cf to see if you need to pass BOOTSTRAPCFLAGS. Mon Sep 12 17:35:03 EDT 2005 cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean make[1]: Entering directory `/mnt/bigdisk1/tmp/portage/xorg-x11-6.8.2-r3/work/xc/config/imake' rm -f ccimake imake.o imake rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#* rm -f -r Makefile.proto Makefile Makefile.dep bootstrap rm -f imakemdep_cpp.h make[1]: Leaving directory `/mnt/bigdisk1/tmp/portage/xorg-x11-6.8.2-r3/work/xc/config/imake' make Makefile.boot make[1]: Entering directory `/mnt/bigdisk1/tmp/portage/xorg-x11-6.8.2-r3/work/xc' cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" make[2]: Entering directory `/mnt/bigdisk1/tmp/portage/xorg-x11-6.8.2-r3/work/xc/config/imake' making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake cc -o ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include -I../../imports/x11/include/X11 ccimake.c if [ -n "" ] ; then \ /cc -E `./ccimake` \ -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \ else touch imakemdep_cpp.h; fi cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c cc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o make[2]: Leaving directory `/mnt/bigdisk1/tmp/portage/xorg-x11-6.8.2-r3/work/xc/config/imake' rm -f ./config/makedepend/Makefile.proto ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend sh: /tmp/imake6kQKHv: Permission denied make[1]: *** [config/makedepend/Makefile.proto] Aborted make[1]: *** Deleting file `config/makedepend/Makefile.proto' make[1]: Leaving directory `/mnt/bigdisk1/tmp/portage/xorg-x11-6.8.2-r3/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.2-r3 failed. etc.. emerge info Portage 1.589-cvs (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.12.0_pre8 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5,dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun 17 2005, 10:22:50)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache: No such file or directory [disabled] dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.9.6, 1.4_p6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mtune=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-mtune=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig cvs distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/bigdisk1/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib accessibility acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dvd dvdr dvdread eds emboss encode esd f77 fam flac foomaticdb fortran gd gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde koffice-plugin libg++ libwww mad mikmod motif mozilla mp3 mpeg nas ncurses nls ofx ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang snmp speex spell ssl svga sysfs tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Config files: /etc/make.conf, /etc/portage/package.mask, /etc/portage/package.unmask, /etc/portage/package.keywords, /etc/portage/profile/virtuals * Applying various patches (bugfixes/updates) ..
*** Bug 106091 has been marked as a duplicate of this bug. ***
This version definitely doesn't play well with games.eclass I'm still poking and prodding at it, but wouldn't mind some tips on determining what's going wrong.
I'm getting this traceback when running emerge -f world or emerge pv world. The traceback just started for me in the last day or two. I presume some ebuild I recently merged is causing it, now that that ebuild is in world. But it is the lack of writemsg that causes the traceback. I do not have an /etc/portage/modules. Nor do I know from which python module writemsg needs to be imported. Calculating world dependencies -Traceback (most recent call last): File "/usr/bin/emerge", line 3407, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1331, in xcreate if not self.create(myk,myuse=binpkguseflags): File "/usr/bin/emerge", line 988, in create if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse): File "/usr/bin/emerge", line 1116, in select_dep mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,myuse=myuse,use_binaries=("--usepkg" in myopts)) File "/usr/lib/portage/pym/portage.py", line 1843, in dep_check mysplit2=dep_wordreduce(mysplit2,mysettings,mydbapi,mode,use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 1879, in dep_wordreduce if mysettings and mysettings.pprovideddict.has_key(mykey) and \ File "/usr/lib/portage/pym/portage_dep.py", line 643, in match_from_list writemsg("\nInvalid package name: %s\n" % x) NameError: global name 'writemsg' is not defined
Perhaps I am not understanding configcache but my compillation never seems to cache the config. It outputs: ------ >>> Compiling source ... confcache file listing doesn't exist confcache is invalid >>> Confcache is empty, starting anew ------ every time I try to do a : "emerge sys-process/time" Is confcache only supposed to work for multiple configure's during a single emerge? I've set up everything (FEATURES, directories)... but perhaps there is some permissions issue? My emerge --info: root@shell ~ # emerge --info Portage 1.589-cvs (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12.3 -bs11 i686) ================================================================= System uname: 2.6.12.3-bs11 i686 UML Gentoo Base System version 1.6.13 Python: dev-lang/python-2.3.5-r2 [2.3.5 (#1, Sep 25 2005, 12:55:24) ] distcc: No such file or directory [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.4_p6, 1.6.3, 1.8.5-r3, 1.9.6 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 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm arts avi berkdb bitmap-fonts cgi crypt cups eds emboss encode foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg k de libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis openg l oss pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcpd t ruetype truetype-fonts type1-fonts vorbis xml2 xmms zlib userland_GNU kernel_lin ux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS Config files: /etc/make.conf, /etc/portage/package.unmask
The confcache option does not seem to cache the config. I do an emerge time and then do it again, and both times it says it's creating the conf anew since the cache is invalid. Or am I missing something and it only uses the cace if it does a configure twice in a single emerge?
*** Bug 105124 has been marked as a duplicate of this bug. ***
In pym/ebuild.py, instead of a relative symlink, it does an absolute symlink when a binpkg is created (I noticed this when cleaning out my old binpkgs). os.symlink("%s/All/%s.tbz2" % (mysettings["PKGDIR"],mysettings["PF"]),"%s/%s/%s.tbz2" % (mysettings["PKGDIR"],mysettings["CATEGORY"],mysettings["PF"]))
it seems that portage-2.1 has broken blockers interpretation <root@CogES>/tmp: emerge -Ba openoffice These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] app-office/openoffice-ximian (app-office/openoffice-2.0.0) [ebuild N ] app-office/openoffice-2.0.0 !!! Error: The above package list contains packages which cannot be installed !!! on the same system. OO-ximian in fact blocks OO, but it shouldn't be a problem if i want to build a package only, without installing it. (i do not know if it works in 2.0.*, but it surely worked in past)
Back to regular releases...
*** Bug 102569 has been marked as a duplicate of this bug. ***