Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151847 - repoman requires PORTDIR be fully up-to-date
Summary: repoman requires PORTDIR be fully up-to-date
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-18 09:51 UTC by SpanKY
Modified: 2022-07-12 03:18 UTC (History)
1 user (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 SpanKY gentoo-dev 2006-10-18 09:51:59 UTC
i have an old PORTDIR that doesnt include sparc-fbsd ... so when i tried committing in an up-to-date cvs tree, i got errors about sparc-fbsd not having valid profiles.desc entries:

Invalid dev profile (default-bsd/fbsd/6.2/sparc) for arch sparc-fbsd
"sparc-fbsd" doesn't have a valid profile listed in profiles.desc.
You need to either "cvs update" your profiles dir or follow this
up with the sparc-fbsd team.

as soon as i copied ../../profiles/* to /usr/portage/profiles/, repoman stop bitching




Portage 2.1.2_pre3-r4 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-grsec x86_64)
=================================================================
System uname: 2.6.18-grsec x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.5
Last Sync: Sat, 14 Oct 2006 09:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.15.92.0.2-r10, 2.16-r1, 2.16.1, 2.16.1-r3, 2.16.90.0.3, 2.16.91.0.1, 2.16.91.0.2, 2.16.91.0.3, 2.16.91.0.4, 2.16.91.0.5, 2.16.91.0.6, 2.16.91.0.7, 2.16.92, 2.16.93, 2.16.94, 2.17, 2.17.50.0.2, 2.17.50.0.3, 2.17.50.0.4, 2.17.50.0.5
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.18
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests autoconfig buildpkg ccache cvs distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms sign splitdebug"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
INSTALL_MASK="/usr/share/applications /usr/kde/*/share/applications /lib/udev/devices"
LANG="en"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1 -Wl,-z,relro"
LINGUAS="en en_GB de es cs"
MAKEOPTS="-j6"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-x86"
SYNC="rsync://gentoo/gentoo-portage"
USE="amd64 X a52 aac aalib acl adns aio alsa asf audiofile berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups curl dba directfb divx4linux dlloader dri dts dvd dvdr dvdread elibc_glibc emboss encode exif fbcon ffmpeg firefox flac flash ftp gd gif glitz glut gphoto2 gpm gtk gtk2 imap imlib input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_void ipv6 isdnlog jbig joystick jpeg jpeg2k kernel_linux libcaca libedit libg++ linguas_cs linguas_de linguas_en linguas_en_GB linguas_es lzo mad maildir matroska mikmod mime mng modplug mp3 mpeg mplayer multislot musepack ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session sndfile spell spl ssl subtitles svg tcl tcpd tga theora threads tiff tk truetype truetype-fonts type1-fonts udev userland_GNU vcd video_cards_ati video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon video_cards_sisusb video_cards_vga vorbis wma wmf xanim xine xinerama xml xml2 xmms xorg xrandr xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-10-27 19:08:32 UTC
Repoman probably shouldn't be using PORTDIR at all if you cvs repo has all the required metadata.

A check may be beneficial to determine if a given overlay is "man enough" to serve as PORTDIR.  While repoman will overlay the packages and their deps I'm unsure as to how much profile overlaying will occur.

Zac, do you have any idea?
Comment 2 Zac Medico gentoo-dev 2006-10-27 19:28:43 UTC
It's just wrong to have PORTDIR_OVERLAY="/usr/local/gentoo-x86" like that.  For your specific use case, you want PORTDIR to be ignored completely (like multi repo support, without any overlay).
Comment 3 SpanKY gentoo-dev 2006-10-27 19:48:15 UTC
not really ... the use case is perfectly valid:
 - normal overlay in /usr/local/portage
 - cvs tree in /usr/local/gentoo-x86
 - create new version of package in cvs tree
 - temp set overlay to /usr/local/gentoo-x86
 - emerge new version of package
 - commit new version

things would be easier if you guys didnt gayify `emerge <ebuild>`
Comment 4 Zac Medico gentoo-dev 2006-10-27 19:58:16 UTC
(In reply to comment #3)
> things would be easier if you guys didnt gayify `emerge <ebuild>`

They'd also be easier if you didn't need to have 2 different trees that are almost the same.  Personally, I use the cvs tree for PORTDIR.
Comment 5 SpanKY gentoo-dev 2006-10-27 20:14:40 UTC
i believe in keeping trees sep so you dont have crap leak into them ... i hack the crap out of /usr/portage and i dont worry about these things making their way into cvs
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-10-27 20:38:16 UTC
this is queer, if you are in a cvs repo (anything with a profiles/ dir really) repoman will set PORTDIR and reload portage.

so somewhere repoman is using a config obj from the old portage import?
Comment 7 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-10-27 20:39:55 UTC
erm just checked and thats not the case either :x
Comment 8 Zac Medico gentoo-dev 2006-10-28 00:33:21 UTC
How about if we make repoman recognize a REPOMAN_PORTDIR variable, and when it finds that variable in make.conf, it can just use that to override PORTDIR.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:34 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.