Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265081 - portage-utils-0.2 fails to emerge
Summary: portage-utils-0.2 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 09:30 UTC by Sven Schwyn (svoop)
Modified: 2009-04-06 11:09 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 Sven Schwyn (svoop) 2009-04-06 09:30:28 UTC
portage-utils-0.2 fails to emerge with an error that has some similarities to other bugs, yet it's not quite the same. The actual problem seems to be this:

/Gentoo/usr/lib/portage/bin/misc-functions.sh: line 45: cd: /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image/Gentoo/: No such file or directory


Reproducible: Always

Steps to Reproduce:




>>> Emerging (1 of 1) app-portage/portage-utils-0.2
 * portage-utils-0.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking portage-utils-0.2.tar.bz2 to /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/work
 * Applying portage-utils-0.2-gnulib.patch ...                            [ ok ]
 * Applying portage-utils-0.1.29-darwin.patch ...                         [ ok ]
 * Applying portage-utils-0.1.29-aix.patch ...                            [ ok ]
 * Applying portage-utils-0.1.29-interix.patch ...                        [ ok ]
 * Applying portage-utils-0.2-prefix.patch ...                            [ ok ]
 * Applying portage-utils-0.2-hpux.patch ...                              [ ok ]
>>> Source unpacked in /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/work
>>> Compiling source in /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/work/portage-utils-0.2 ...
make EPREFIX=/Gentoo 
sed -n '/^DECLARE_APPLET/s:.*(\(.*\)).*:#include "\1.c":p' applets.h > include_applets.h
i686-apple-darwin9-gcc -DEPREFIX=\"/Gentoo\" -DVERSION=\"0.2\" -DAPPLET_q -DAPPLET_qatom -DAPPLET_qcache -DAPPLET_qcheck -DAPPLET_qdepends -DAPPLET_qfile -DAPPLET_qgrep -DAPPLET_qlist -DAPPLET_qlop -DAPPLET_qmerge -DAPPLET_qpkg -DAPPLET_qsearch -DAPPLET_qsize -DAPPLET_qtbz2 -DAPPLET_quse -DAPPLET_qxpak -O2 -pipe -march=nocona -std=gnu99 -MM main.c > .depend
: q : qatom : qcache : qcheck : qdepends : qfile : qgrep : qlist : qlop : qmerge : qpkg : qsearch : qsize : qtbz2 : quse : qxpak :
i686-apple-darwin9-gcc -O2 -pipe -march=nocona -std=gnu99 main.c -o q
main.c: In function 'initialize_portage_env':
main.c:478: warning: initialization discards qualifiers from pointer target type
main.c: In function 'initialize_flat':
main.c:689: warning: passing argument 3 of 'scandir' from incompatible pointer type
main.c:700: warning: passing argument 3 of 'scandir' from incompatible pointer type
main.c:721: warning: passing argument 3 of 'scandir' from incompatible pointer type
main.c: In function 'get_vdb_atoms':
main.c:996: warning: passing argument 3 of 'scandir' from incompatible pointer type
main.c:1004: warning: passing argument 3 of 'scandir' from incompatible pointer type
In file included from include_applets.h:5,
                 from main.c:1083:
qlist.c: In function 'qlist_main':
qlist.c:183: warning: passing argument 3 of 'scandir' from incompatible pointer type
qlist.c:195: warning: passing argument 3 of 'scandir' from incompatible pointer type
In file included from include_applets.h:6,
                 from main.c:1083:
qlop.c: In function 'show_current_emerge':
qlop.c:474: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int'
qlop.c:485: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int'
In file included from include_applets.h:11,
                 from main.c:1083:
qxpak.c: In function '_xpak_add_file':
qxpak.c:267: warning: format '%lu' expects type 'long unsigned int', but argument 9 has type 'off_t'
qxpak.c: In function 'xpak_create':
qxpak.c:313: warning: passing argument 3 of 'scandir' from incompatible pointer type
In file included from include_applets.h:12,
                 from main.c:1083:
qpkg.c: In function 'qpkg_clean_dir':
qpkg.c:67: warning: passing argument 3 of 'scandir' from incompatible pointer type
qpkg.c: In function 'qpkg_clean':
qpkg.c:122: warning: passing argument 3 of 'scandir' from incompatible pointer type
In file included from include_applets.h:13,
                 from main.c:1083:
qgrep.c: In function 'qgrep_print_line':
qgrep.c:159: warning: field precision should have type 'int', but argument 2 has type 'regoff_t'
qgrep.c:161: warning: field precision should have type 'int', but argument 3 has type 'regoff_t'
In file included from include_applets.h:16,
                 from main.c:1083:
qcache.c: In function 'qcache_traverse':
qcache.c:516: warning: passing argument 3 of 'scandir' from incompatible pointer type
qcache.c:528: warning: passing argument 3 of 'scandir' from incompatible pointer type
qcache.c:552: warning: passing argument 3 of 'scandir' from incompatible pointer type
qcache.c: In function 'qcache_stats':
qcache.c:775: warning: passing argument 3 of 'scandir' from incompatible pointer type
>>> Source compiled.
>>> Test phase [not enabled]: app-portage/portage-utils-0.2

>>> Install portage-utils-0.2 into /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image/Gentoo/ category app-portage
make install DESTDIR=/Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image/ 
mkdir -p /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image//usr/bin/
cp q /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image//usr/bin/
if [[ ! -d CVS ]] ; then \
		mkdir -p /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image//usr/share/man/man1/ ; \
		for mpage in man/q.1 man/qatom.1 man/qcache.1 man/qcheck.1 man/qdepends.1 man/qfile.1 man/qgrep.1 man/qlist.1 man/qlop.1 man/qmerge.1 man/qpkg.1 man/qsearch.1 man/qsize.1 man/qtbz2.1 man/quse.1 man/qxpak.1 ; do \
			[ -e $mpage ] \
				&& cp $mpage /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image//usr/share/man/man1/ || : ;\
		done ; \
		mkdir -p /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image//usr/share/doc/portage-utils-0.2 ; \
		for doc in TODO README qsync ; do \
			cp $doc /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image//usr/share/doc/portage-utils-0.2/ ; \
		done ; \
	fi
(cd /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image//usr/bin/ ; \
		for applet in q qatom qcache qcheck qdepends qfile qgrep qlist qlop qmerge qpkg qsearch qsize qtbz2 quse qxpak; do \
			[[ ! -e $applet ]] && ln -s q ${applet} ; \
		done \
	)
>>> Completed installing portage-utils-0.2 into /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image/Gentoo/

/Gentoo/usr/lib/portage/bin/misc-functions.sh: line 45: cd: /Gentoo/var/tmp/portage/app-portage/portage-utils-0.2/image/Gentoo/: No such file or directory
 * ERROR: app-portage/portage-utils-0.2 failed:
 *   cd failed
 * 
 * Call stack:
 *       misc-functions.sh:850: <call install_qa_check>
 *       misc-functions.sh: 45: 	cd "${ED}" || die "cd failed"
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
!!! post install failed; exiting.
Comment 1 Fabian Groffen gentoo-dev 2009-04-06 10:33:45 UTC
fixed in the ebuild, thanks
Comment 2 Sven Schwyn (svoop) 2009-04-06 11:09:16 UTC
Another glitch fixed very shortly after bug submission. Time to say: Thanks a bunch, Grobian!