Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205631 - portage-2.1.3.19 traceback when DISTDIR is set in make.conf
Summary: portage-2.1.3.19 traceback when DISTDIR is set in make.conf
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-13 15:05 UTC by Bob's Your Uncle
Modified: 2008-01-13 15:25 UTC (History)
0 users

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 Bob's Your Uncle 2008-01-13 15:05:50 UTC
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

AUTOCLEAN="yes"
CLEAN_DELAY="0"
EMERGE_WARNING_DELAY="0"
FEATURES="buildpkg -buildsyspkg -ccache -collision-protect -distcc distlocks -installsources metadata-transfer -nodoc noinfo -noman -nostrip -notitles parallel-fetch -sandbox sfperms strict -stricter -suidctl -test userfetch -userpriv -usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
INSTALL_MASK="/etc/conf.d/net /etc/crontab /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.weekly /etc/cron.monthly /etc/locale.gen /etc/skel /etc/profile /var/www /var/lib/mysql"
LINGUAS="en en_US"
MAKEOPTS="-j3 --silent"
PORTAGE_NICENESS="5"
PORTDIR="/var/osss/portage"
DISTDIR="/var/osss/portage/distfiles"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="-* acl berkdb bzip2 gdbm ipv6 mmx nptl nptlonly pcre pic postgres sse sse2 ssl threads unicode vhosts zlib"
source /etc/local/make.conf


root@buri.osss.net:/root
# emerge tmpreaper
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-admin/tmpreaper-1.6.5 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 6518, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6512, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 5971, in action_build
    retval = mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 3812, in merge
    tree="porttree")
  File "/usr/lib/portage/pym/portage.py", line 4206, in doebuild
    if need_distfiles and not fetch(
  File "/usr/lib/portage/pym/portage.py", line 2866, in fetch
    if portage_util.ensure_dirs(mydir, gid=portage_gid, mode=dirmode, mask=modemask):
  File "/usr/lib/portage/pym/portage_util.py", line 865, in ensure_dirs
    perms_modified = apply_permissions(dir_path, *args, **kwargs)
  File "/usr/lib/portage/pym/portage_util.py", line 582, in apply_permissions
    os.chown(filename, uid, gid)
OSError: [Errno 22] Invalid argument: '/var/osss/portage/distfiles/'

If I take out the DISTDIR line things work, but then the files go where I don't want...


More infos:

root@buri.osss.net:/root
# emerge --info
Portage 2.1.3.19 (default-linux/x86, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-53.1.4.el5xen i686)
=================================================================
System uname: 2.6.18-53.1.4.el5xen i686 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
Timestamp of tree: Sun, 13 Jan 2008 08:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/var/osss/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer noinfo parallel-fetch sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
INSTALL_MASK="/etc/conf.d/net /etc/crontab /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.weekly /etc/cron.monthly /etc/locale.gen /etc/skel /etc/profile /var/www /var/lib/mysql"
LINGUAS="en en_US"
MAKEOPTS="-j3 --silent"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/osss/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 gdbm ipv6 mmx nptl nptlonly pcre pic postgres sse sse2 ssl threads unicode vhosts x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1   emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m     maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta dav dav_fs dav_lock dbd deflate dir env expires filter headers ident info log_config mem_cache mime mime_magic negotiation rewrite setenvif speling status thunderbird unique_id usertrack" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt         mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-13 15:25:50 UTC
Post the output of mount command.