Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1800 - emerge of xscreensaver fails...
Summary: emerge of xscreensaver fails...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Jared H. Hudson
URL:
Whiteboard:
Keywords:
: 1801 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-15 07:40 UTC by Richard Torkar
Modified: 2003-02-04 19:42 UTC (History)
2 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 Richard Torkar 2002-04-15 07:40:34 UTC
I have installed gentoo 1.1a and Gnome.
I suddenly remembered that I wanted to install xscreensaver as well.

I did an "emerge -p xscreensaver" and it listed glx et.al.
So it installed the two dependencies and then tried to compile and merge
xscreensaver. This failed during the last phases.

The error will be attached to this bugreport a.s.a.p.

The strange thing is that when I do an "emerge -p xscreensaver" after this, it
says that it's installed and that I can rebuild it if I want to. The rebuild of
course also fails...


/Richard
Comment 1 Richard Torkar 2002-04-15 07:49:17 UTC
Well there is a bug in the bugzilla... I can't upload a text file.
It says no txt file found...

Well I'll try to paste it into this then when I've come back from work.
Comment 2 Richard Torkar 2002-04-15 08:00:53 UTC
/bin/install -c cubenetic
/var/tmp/portage/xscreensaver-4.02/image//usr/lib/xscreensaver/cubenetic
/bin/install -c extrusion
/var/tmp/portage/xscreensaver-4.02/image//usr/lib/xscreensaver/extrusion
/bin/install -c xscreensaver-gl-helper
/var/tmp/portage/xscreensaver-4.02/image//usr/bin/xscreensaver-gl-helper
/bin/install -c -m 644 ./gflux.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/gflux.1
/bin/install -c -m 644 ./lament.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/lament.1
/bin/install -c -m 644 ./starwars.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/starwars.1
/bin/install -c -m 644 ./gltext.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/gltext.1
/bin/install -c -m 644 ./molecule.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/molecule.1
/bin/install -c -m 644 ./xscreensaver-gl-helper.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/xscreensaver-gl-helper.1
/bin/install -c -m 644 ./glsnake.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/glsnake.1
/bin/install -c -m 644 ./glforestfire.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/glforestfire.1
/bin/install -c -m 644 ./sballs.man
/var/tmp/portage/xscreensaver-4.02/image//usr/share/man/man1/sballs.1
make[1]: Leaving directory
`/var/tmp/portage/xscreensaver-4.02/work/xscreensaver-4.02/hacks/glx'
strip:
find: /var/tmp/portage/xscreensaver-4.02/image/: No such file or directory
/usr/lib/portage/bin/prepall: cd: /var/tmp/portage/xscreensaver-4.02/image/: No
such file or directory
find: /var/tmp/portage/xscreensaver-4.02/image/: No such file or directory
/usr/sbin/ebuild.sh: cd: /var/tmp/portage/xscreensaver-4.02/image/: No such file
or directory
>>> Completed installing into /var/tmp/portage/xscreensaver-4.02/image/

 ...done!
>>> emerge app-misc/xscreensaver-4.02 to /
>>> md5 ;-) xscreensaver-4.02.tar.gz
>>> Merging app-misc/xscreensaver-4.02 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1314, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 590, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1007, in doebuild
    return
merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1262, in merge
    mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3000, in merge
    self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2765, in treewalk
    self.mergeme(srcroot,destroot,outfile,secondhand,"",mymtime)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2831, in mergeme
    mergelist=os.listdir(srcroot+stufftomerge)
OSError: [Errno 2] No such file or directory:
'/var/tmp/portage/xscreensaver-4.02/image/'
Comment 3 Dewald Rossouw 2002-04-15 08:17:17 UTC
*** Bug 1801 has been marked as a duplicate of this bug. ***
Comment 4 Ryan Shaw 2002-05-06 07:26:24 UTC
This problem will occur for anyone not using KDE,
due to the last line in the src_install routine 
of xscreensaver-4.02.ebuild:

[ -n "`use kde`" ] || rm -rf ${D}/${KDEDIR}

We are not using KDE, so the first test fails,
thus executing "rm -rf ${D}/${KDEDIR}". But
again, we are not using kde, so kde.eclass 
never sets $KDEDIR, so this line effectively 
removes the image just installed. :^(

If you comment out this line the install should
succeed.



Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-02 04:01:25 UTC
Fixed in 4.02-r3.