Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128718 - x-modular eclass not setting SRC_URI of x11-proto package in overlay
Summary: x-modular eclass not setting SRC_URI of x11-proto package in overlay
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-03 17:37 UTC by Chris Fairles
Modified: 2006-04-04 00:43 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 Chris Fairles 2006-04-03 17:37:16 UTC
First off, I have PORTDIR_OVERLAY="/usr/local/xgl-coffee/trunk" and PORTDIR_OVERLAY="/usr/local/xgl-coffee/testing"

I have a package /usr/local/xgl-coffee/trunk/x11-proto/scrnsaverproto/scrnsaverproto-1.1.0.ebuild

First when I digest in either I get
Appending /usr/local/xgl-coffee/trunk to PORTDIR_OVERLAY... 
and it looks in http://xorg.freedesktop.org/releases/X11R7.0/src/everything/ when infact x-modular eclass should be setting SRC_URI to http://xorg.freedesktop.org/releases/individual/proto because the ${CATEGORY} = x11-proto . Fails to do this and why the heck is it appending to PORTDIT_O? It already is! If I try setting SRC_URI manually within the ebuild I get

Appending /usr/local/xgl-coffee/trunk to PORTDIR_OVERLAY...
>>> Generating the digest file...
<<< 
Traceback (most recent call last):
  File "/usr/sbin/ebuild", line 86, in ?
    a = portage.doebuild(ebuild, arg, portage.root, tmpsettings, debug=debug, cleanup=("noauto" not in portage.features), tree=mytree)
  File "/usr/lib/portage/pym/portage.py", line 2847, in doebuild
    return (not digestgen(aalist,mysettings,overwrite=1))
  File "/usr/lib/portage/pym/portage.py", line 2141, in digestgen
    mydigests=digestCreate(myarchives, basedir, oldDigest=myolddigest)
  File "/usr/lib/portage/pym/portage.py", line 2067, in digestCreate
    mydigests[x] = portage_checksum.perform_multiple_checksums(myfile, hashes=portage_const.MANIFEST1_HASH_FUNCTIONS)
  File "/usr/lib/portage/pym/portage_checksum.py", line 158, in perform_multiple_checksums
    rVal[x] = perform_checksum(filename, hashfunc_map[x], calc_prelink)[0]
  File "/usr/lib/portage/pym/portage_checksum.py", line 140, in perform_checksum
    raise e
IOError: [Errno 21] Is a directory: '/usr/portage/distfiles'

The ebuild is no more than:

inherit x-modular

DESCRIPTION="X.Org ScrnSaver protocol headers"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
RDEPEND=""
DEPEND="${RDEPEND}"

emerge --info

Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-beyond1 i686)
=================================================================
System uname: 2.6.16-beyond1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,-enable-new-dtags -Wl,-sort-common -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/fluidportage/trunk /usr/local/nxstyoverlay /usr/local/nitro /usr/local/xgl-coffee/trunk /usr/local/xgl-coffee/testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdparanoia cdr cli crypt cscope ctype cups dba dbus dri dvd dvdr dvdread eds emacs encode esd expat fastbuild fbcon ffmpeg flac foomaticdb force-cgi-redirect ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib isdnlog java javascript jpeg kde libg++ libwww lm_sensors mad memlimit mikmod mmx motif mp3 mpeg ncurses nptl nsplugin nvidia ogg opengl pam pcmcia pcre pdf pdflib perl png posix ppds pppd python qt quicktime readline samba sdl session simplexml sndfile soap sockets spell spl sse sse2 ssl svg tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis wifi win32codecs xine xml xml2 xmms xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_v4l"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS
Comment 1 Chris Fairles 2006-04-03 17:45:18 UTC
BAH. Typo in my SRC_URI...

the fix is to manually add the SRC_URI to point to individual/proto
Comment 2 Chris Fairles 2006-04-03 19:01:27 UTC
and no theres no rouge x-modular.eclass in any of those overlays.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-04 00:43:14 UTC
Not interested in XGL overlay bugs.