Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71552 - app-admin/sud uses einstall instead of `make install DESTDIR=$D`
Summary: app-admin/sud uses einstall instead of `make install DESTDIR=$D`
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 08:51 UTC by SpanKY
Modified: 2004-11-18 09:04 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 2004-11-17 08:51:37 UTC
einstall is a kludge that is supposed to be used only when DESTDIR is not supported
Comment 1 Luca Barbato gentoo-dev 2004-11-17 17:52:43 UTC
DESTDIR isn't working properly in fact

make[3]: Entering directory `/var/tmp/portage/sud-1.3/work/sud-1.3/su'
chmod 555 /usr/bin/suz
ACCESS DENIED  chmod:     /usr/bin/suz
chmod: changing permissions of `/usr/bin/suz': Permission denied
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory `/var/tmp/portage/sud-1.3/work/sud-1.3/su'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/sud-1.3/work/sud-1.3/su'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/sud-1.3/work/sud-1.3/su'
make: *** [install-recursive] Error 1
Comment 2 SpanKY gentoo-dev 2004-11-17 18:05:09 UTC
it didnt say it would work perfectly ;)

the su/Makefile.am is incorrect:
install-data-hook:
    chmod 555 $(bindir)/suz

that should be:
install-data-hook:
    chmod 555 $(DESTDIR)$(bindir)/suz

i'd fix su/Makefile.in (so you dont have to run automake again) and send the fix upstream
Comment 3 Luca Barbato gentoo-dev 2004-11-18 09:04:34 UTC
fixed with a bit of sedwork