Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142786 - celestia-1.4.1 pollutes / when USE="gnome gtk nls threads -arts -debug -kde -lua"
Summary: celestia-1.4.1 pollutes / when USE="gnome gtk nls threads -arts -debug -kde -...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 164377 (view as bug list)
Depends on:
Blocks: 141404
  Show dependency tree
 
Reported: 2006-08-04 06:46 UTC by Ed Catmur
Modified: 2007-02-03 17:13 UTC (History)
3 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 Ed Catmur 2006-08-04 06:46:56 UTC
$ ls -l /
...
lrwxrwxrwx   1 root root     19 2006-08-03 18:18 celestia -> /usr/share/celestia/
...

The problem is that the Makefile.am patch has:

 install-data-hook:
+               mv -f -b $(DESTDIR)$(kde_datadir)/@PACKAGE@/* $(DESTDIR)$(datadir)/@PACKAGE@/ ; \
+               rmdir $(DESTDIR)$(kde_datadir)/@PACKAGE@ ; \
+               ln -s $(datadir)/@PACKAGE@ $(DESTDIR)$(kde_datadir) ;

This only makes sense when USE=kde, otherwise $(kde_datadir) is blank and DESTDIR gets the symlink.

The hook should be removed from the patch or protected with 
        if [ "$(kde_datadir)" ]
Comment 1 Preston Crow 2006-09-08 07:45:59 UTC
I just noticed this because the broken ebuild was marked stable.  It fails on an access violation trying to rmdir /celestia.

This ebuild should be masked until this is fixed.


mv -f -b /celestia/* /usr/portage/distfiles/tmp/portage/celestia-1.4.1/image//usr/share/celestia/ ; \
        rmdir /celestia ; \
        ln -s /usr/portage/distfiles/tmp/portage/celestia-1.4.1/image//usr/share/celestia  ;
mv: cannot stat `/celestia/*': No such file or directory
ACCESS DENIED  rmdir:     /celestia
rmdir: /celestia: Permission denied
ln: creating symbolic link `./celestia' to `/usr/portage/distfiles/tmp/portage/celestia-1.4.1/image//usr/share/celestia': File exists
make[3]: *** [install-data-hook] Error 1
Comment 2 Nils Larsson 2006-09-20 13:15:36 UTC
I'm still getting this when only using USE="gtk". Any ETA on a fix?
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2006-09-21 09:48:17 UTC
Could you test the celestia in the gentooscience.org overlay?
This should fix it and bug #128218 as well.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 21:25:45 UTC
Ping...
Comment 5 Ed Catmur 2007-01-17 23:25:06 UTC
(In reply to comment #3)
> Could you test the celestia in the gentooscience.org overlay?
> This should fix it and bug #128218 as well.

Server seems down. Instructions?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-29 10:45:19 UTC
*** Bug 164377 has been marked as a duplicate of this bug. ***
Comment 7 Sébastien Fabbro (RETIRED) gentoo-dev 2007-02-03 17:13:04 UTC
should be fixed in cvs. reopen if it persists.