Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5591 - emerge jpilot fails with Access Denied messages.
Summary: emerge jpilot fails with Access Denied messages.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Bruce A. Locke (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 18:45 UTC by Matthew Daubenspeck
Modified: 2003-02-04 19:42 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 Matthew Daubenspeck 2002-07-25 18:45:30 UTC
make[1]: Leaving directory `/var/tmp/portage/jpilot-0.99.2-r1/work/jpilot-0.99.2/po'
/bin/install -c -d -m 755 /usr/share/man/man1/
ACCESS DENIED  chmod:     /usr/share/man/man1/
/bin/install: cannot change permissions of `/usr/share/man/man1/': Permission denied
make: *** [install] Error 1
strip:
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/bin/jpilot
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/bin/jpilot-sync
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/bin/jpilot-dump
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/bin/jpilot-upgrade-99
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/lib/jpilot/plugins/libsynctime.so
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/lib/jpilot/plugins/libexpense.so
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/lib/jpilot/plugins/libkeyring.so
/var/tmp/portage/jpilot-0.99.2-r1/image/usr/lib/jpilot/plugins/libsyncmal.so
>>> Completed installing into /var/tmp/portage/jpilot-0.99.2-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-jpilot-0.99.2-r1-24207.log"

chmod:     /usr/share/man/man1/
--------------------------------------------------------------------------------
!!! emerge aborting on  /usr/portage/app-misc/jpilot/jpilot-0.99.2-r1.ebuild .

The log file shows: 

chmod:     /usr/share/man/man1/
Comment 1 Matthew Turk (RETIRED) gentoo-dev 2002-07-28 13:00:24 UTC
I fixed this in my own tree - basically the makefile needs some work.  make prefix=${D}/usr install  should be changed to:  make mandir=${D}/share/man prefix=${D}/usr install  
Comment 2 Matthew Daubenspeck 2002-07-28 13:19:32 UTC
I tried it, and this time the ebuild finished. However, I still cannot run jpilot:

mellofone$ jpilot
bash: jpilot: command not found

mellofone$ whereis jpilot
jpilot: /usr/lib/jpilot /usr/man/man1/jpilot.1.gz /usr/share/man/man1/jpilot.1.gz

mellofone$ which jpilot
which: no jpilot in
(/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.3.1/bin:/opt/blackdown-jdk-1.3.1/jre/bin:/usr/qt/3/bin:/usr/kde/3/bin:/usr/kde/3/bin)
Comment 3 Bruce A. Locke (RETIRED) gentoo-dev 2002-08-17 22:46:03 UTC
-r1 works fine here...

What does your USE line in /etc/make.conf look like?
Comment 4 Matthew Daubenspeck 2002-08-18 08:57:40 UTC
Works now, the ebuild must have been updated...