Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478318 - euses and ufed PORTDIR not found with >=sys-apps/portage-2.1.13
Summary: euses and ufed PORTDIR not found with >=sys-apps/portage-2.1.13
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 478098 480638 (view as bug list)
Depends on: 485088
Blocks: 546210
  Show dependency tree
 
Reported: 2013-07-27 05:42 UTC by Zhu Sha Zang
Modified: 2016-10-24 21:52 UTC (History)
14 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhu Sha Zang 2013-07-27 05:42:03 UTC
Hello there, after an world upgrade appear an alert about update inside /etc/portage/repos.conf/gentoo.conf that i made using etc-update.

After that euses and ufed stopped to work with erros below:

ufed                                                                                                                                                               Unable to determine PORTDIR!
Something is seriously broken here!
INIT failed--call queue aborted.

euses vtk                                                    
PORTDIR not found

There are these lines inside the updated archive:


[root@asgard ~]$ cat /etc/portage/repos.conf/gentoo.conf          

[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage

Any help here are welcome, and sorry if this is not the best place this kind of error.

Best Regards
Comment 1 Zhu Sha Zang 2013-07-27 05:43:02 UTC
My emerge --info:



[root@asgard ~]$ emerge --info                                                                                                                                                                                                2:42
Portage 2.1.13.1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.9.10-gentoo-asgard x86_64)
=================================================================
System uname: Linux-3.9.10-gentoo-asgard-x86_64-Intel-R-_Core-TM-_i5_CPU_M_460_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3847604 total,    764900 free
KiB Swap:    3036248 total,   3022024 free
Timestamp of tree: Sat, 27 Jul 2013 04:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.1.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /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=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going=y --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pt_BR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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="256-color 3dmouse R X Xaw3d a52 aac aacplus aalib acl acpi action_modeswitch addbookmarks additions adiummessagestyle adplug airplay alac alisp all_sfx alsa amd64 animation-rtl annotations ao apache2 apbs apng applet asf aspell ass assistant astrality athena atmo auto-hinter autoipd avahi avcodec avconv avformat avx background backgrounds bash-completion bashlogger battery bazaar berkdb bidi bineditor bittorrent bl blender blender-game bmp bookmarks branding bs2b bsf bzip2 c++0x cairo caps captcha captchaforms cb cdr cdrdao cdrom cg chemistry chm cli clientinfo cmake collab color colorpicker compress compressed-lumas connectivity console consolekit contacts context contrast contrib corefonts cpuload cracklib creds cron crypt cryptsetup cscope css csv ctype cue curl cvs cxx daap dap darcs dbus dcc_video dds declarative designer designer-plugin desktopglobe detex development devhelp device-mapper dia dirac djvu dmx dnd docbook dot dri dts dv dvb dvbplayer dvbsetup dvd dvdnav dvdr dvi dvi2tty dvipdfm ebook ecap edd editor elbeem emf emotion emovix emulation enca enchant encode eolconv epydoc equalizer escreen espeak ethumb eve excel expat extensions extra extra-algorithms extras faac faad facedetect fakevim fam farsight fastscroll fbcon fbcondecor ffmpeg filelog firefox firefox-bookmarks flac flash flickr fontconfig fontforge fonts foomaticdb fortran fortran2003 fpx freemail freenode freerdp freetds freetype ftp fuse g15 g3dvl gallium game-engine games gbm gcj gd gdbm geoip geonames gflags ggi gif git gkrellm glade glamor gles gles1 gles2 glew gmail gme gmp gnumeric gnuplot go google googledrive gpg gphoto2 gpl gpm gps gpsd gpssync gpu grammar graphics graphite graphviz gs gsf gsl gsm gsmloc gstreamer gtalk gtk gtk3 gtkhtml gtkspell gtkstyle gts gudev gui gzip gzip-el hbci hddtemp hdf5 hdri help hesiod highlight hipe hires-icons histman history holidays hostip hpcups hpijs hscolour html htmlreport http httpd httppower humanities hwdb ices iconv icoutils icq icu id3 id3tag ide idn image imaging imap imlib inkjar iostats iplsrc iproute2 iptables iptc ipv6 ipython irc isag jabber jack jadetex java javascript jbig jemalloc jingle jit joystick jpeg justify kate kdrive kerberos keymap kig-scripting kipi konqueror kpoll ladspa lame lapack laptop lastfm lastfmfingerprint lastfmradio latex lcms lensfun libass libffi libkms libnl libsamplerate libssh2 libtiger libv4l libv4l2 live lm_sensors lock logrotate lqr lua lua-cairo lua-imlib luajit luatex lxde lyx lzma lzo m17n-lib mac mad madde mail manual marble math mathml matplotlib matroska matrox mbox md5 md5sum mdnsresponder-compat meanwhile melt mempool-buddy mempool-chained mempool-fixed-bitmap mempool-pass-through mercurial messages metacontacts metis minizip mlib-update mms mmx mmxext mng moc modules mount mouse mozdom mozilla mozsha1 mp3 mp3tunes mp4 mpd mpeg mplayer mrim ms-bad-proposal mtp mudflap mule multilib multimedia multiprocess multislot multitarget multiuser musepack music musicbrainz mysql nano-syntax nas nat nat-pmp ncat ncurses ndiff neXt netbeans netlink netpbm network networkmonitor newmousefocus newnet nlpsolver nls nmap nmap-update nntp nominatim notebook nova nping npp nptl nsplugin nss numpy nut nvcontrol nvidia objc objc++ objc-gc ocr odk ofa offensive offlinehelp ofono ofx ogg ogg123 okteta okular omega oniguruma openal openct opencv opendbx openexr openft opengl openid openinventor openipmi openmedia openmp openntpd openpgp openrc opensc opensm openssl opensslcrypt openstreetmap opensync openxml opera optimisememory optimization optimized-qmake origin oscar osd osdmenu osmesa oss otr ots ovftool pam pango passwordsave patented pcntl pda pdf pdfannotextractor pep8 perforce perl pgf phonehome php physfs plasma playdar player playlist playtools plazes plotutils plugins png pnm pogooglue policykit pop portmon posix postgres postproc postscript powersave ppds ppp prediction privacy privacylists private-headers privatestorage profiler profiling projectm pronounce ps psf pstoedit pstricks publishers publishsubscribe pvr pyflakes pygments pylint pyqt4 pyside python python3 pyx qalculate qdbm qimageblitz qmake qml qqwry qt-faststart qt3support qt4 quicklaunch quicktime quotes qwt radio raptor rar rcs rdesktop readline real realtime recode redeyes registration remotecontrol remoteosd replaygain resolver reviewboard rfc3779 romio rope rosprite rostersearch rpc rplay rss rtc rtf rtmp rtsp rubrica samba sasl sbsms scale0tilt scanfolder scanner schroedinger science scipy screensaver script scripts scripttools scrobbler sctp sdk sdl sdl-image sdl-sound sdlaudio sdlgfx seamless-hbars security semantic-desktop sensors session shared-dricore shine shorten shout sidebar sip skype slang slit smbclient smbsharemodes smbtav2 smi smime smp sms smtp sna sndfile sockets socks5 sound sourceview sox sparse speex spell sphinx sql sqlite sqlite3 sse sse2 sse3 sse4_1 ssh ssl ssse3 stars startup-notification stats stream stroke strong-optimization subversion svg svgtiny t1lib taglib talkfilters tcl tcpd tcpreplay tdb tellico templates tex tex4ht texmacs themes theora thesaurus thin-splines threads thunderbird tidy tiff timezone tint2conf tk toolame toolbar toolkit-scroll-bars tools tor tordns tproxy trace traits transparent-proxy truetype tslib tta tweak-mode twitgin twitter twolame udev udisks udisks2 ukit unicode unique unlock-notify upcall upnp upower urandom urlpicpreview urwid usb utilities utils uxa v4l v8 vaapi valgrind vamp vcd vcdx vdpau verse video view-captcha vim vim-pager vim-syntax visual vix vkontakte vlc vlm vmd vmware-tools vmware_guest_freebsd vmware_guest_linux vmware_guest_netware vmware_guest_solaris vmware_guest_winPre2k vmware_guest_windows vnc vocoder voice volpack vorbis vpx vtk wallpapers wav waveout wavpack weather weather-metar weather-xoap web webcam webgl webkit webm webp whiteboarding width wifi winbind wineappdb winpopup wireshark wma wma-fixed wmf word-perfect wordperfect wpd wpg wps wxwidgets wyfv x264 xanim xattr xbase xcap xchatdccserver xcomposite xdg xdmcp xetex xface xfs xft xgetdefault xhtml xim xindy xine xinerama xls xml xmldoclet xmlpatterns xmlreader xmlrpc xmlsec xmlwriter xmp xmpp xmppuriqueries xnest xorgmodule xosd xpm xps xrandr xrender xscreensaver xterm xv xvfb xvid yahoo yahoo-geo yandexnarod yaz youtube yuv4mpeg zephyr zero-penalty-hit ziffy zip zlib zsh-completion zvbi" 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="ricoh samsung spca50x" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="dibusb-usb1 dibusb-usb2 usb-dib0700" ELIBC="glibc" ENLIGHTENMENT_MODULES="access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch" 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 ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="pt_BR en en_GB de ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy java mobility profiler websvccommon javacard javafx" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa vga v4l fbdev intel nvidia" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit tee checksum dnetmap echo gradm ipset4"
USE_PYTHON="2.7 3.1"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 2 Zac Medico gentoo-dev 2013-07-27 06:02:23 UTC
As a workaround, set PORTDIR="/usr/portage" in make.conf.
Comment 3 Zac Medico gentoo-dev 2013-07-27 06:03:09 UTC
*** Bug 478098 has been marked as a duplicate of this bug. ***
Comment 4 Robert Cabrera 2013-07-31 00:37:02 UTC
Same exact problem(s) here. Was scratching my head for a couple of days trying to figure out what happened since portage was working as expected.

The workaround in make.conf did the trick. Thanks
Comment 5 Zac Medico gentoo-dev 2013-07-31 01:41:36 UTC
(In reply to Robert Cabrera from comment #4)
> The workaround in make.conf did the trick. Thanks

Great! I've updated the portage ebuilds to automatically generate a make.conf PORTDIR="/usr/portage" backward compatibility setting. It shows like a normal CONFIG_PROTECT update that the user will be able to apply via etc-update or dispatch-conf:

--- /etc/portage/make.conf      2013-07-27 20:55:57.867145183 -0700
+++ /etc/portage/._cfg0000_make.conf    2013-07-30 18:39:35.067729899 -0700
@@ -271,3 +271,9 @@

+# Set PORTDIR for backward compatibility with various tools:
+#   gentoo-bashcomp - bug #478444
+#   euse - bug #474574
+#   euses and ufed - bug #478318
+PORTDIR="/usr/portage"
Comment 6 Sergey Popov gentoo-dev 2013-08-04 14:18:16 UTC
(In reply to Zac Medico from comment #5)
> (In reply to Robert Cabrera from comment #4)
> > The workaround in make.conf did the trick. Thanks
> 
> Great! I've updated the portage ebuilds to automatically generate a
> make.conf PORTDIR="/usr/portage" backward compatibility setting. It shows
> like a normal CONFIG_PROTECT update that the user will be able to apply via
> etc-update or dispatch-conf:

I did not see such proposal from etc-update/dispatch-conf in 2.2.0_alpha192, which i have just updated
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-04 14:21:50 UTC
(In reply to Sergey Popov from comment #6)
> (In reply to Zac Medico from comment #5)
> > (In reply to Robert Cabrera from comment #4)
> > > The workaround in make.conf did the trick. Thanks
> > 
> > Great! I've updated the portage ebuilds to automatically generate a
> > make.conf PORTDIR="/usr/portage" backward compatibility setting. It shows
> > like a normal CONFIG_PROTECT update that the user will be able to apply via
> > etc-update or dispatch-conf:
> 
> I did not see such proposal from etc-update/dispatch-conf in 2.2.0_alpha192,
> which i have just updated

Try _alpha193 ...
Comment 8 Sergey Popov gentoo-dev 2013-08-04 14:42:49 UTC
(In reply to Jeroen Roovers from comment #7)
> > I did not see such proposal from etc-update/dispatch-conf in 2.2.0_alpha192,
> > which i have just updated
> 
> Try _alpha193 ...

Yeah, it works. Thanks and sorry for the noise
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-11 16:11:38 UTC
*** Bug 480638 has been marked as a duplicate of this bug. ***
Comment 10 Paul Varner (RETIRED) gentoo-dev 2013-09-10 23:15:56 UTC
We really need 3 separate bugs here. euses, ufed, and euse all have different maintainers.

With that said, I have committed the fix for euse (in gentoolkit) to the gentoolkit repository.  That fix can be tested with gentoolkit-9999
Comment 11 Sven Eden 2013-09-11 06:32:15 UTC
I have fixed this in ufed-9999 and will create a backport patch that can be used on ufed-0.90 -- once the release is made.
Comment 12 Sven Eden 2015-04-17 06:55:58 UTC
(In reply to Sven Eden from comment #11)
> I have fixed this in ufed-9999 and will create a backport patch that can be
> used on ufed-0.90 -- once the release is made.

This bug is definitely fixed in ufed-0.91 and above.
Comment 13 Thomas Bettler 2016-10-24 21:35:48 UTC
should be closed, WFM
Comment 14 Zac Medico gentoo-dev 2016-10-24 21:52:08 UTC
It looks like this commit fixed it:

https://gitweb.gentoo.org/proj/ufed.git/commit/?id=046e0b873ec163012780176597e6510ce026a16e