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/
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
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)
-r1 works fine here... What does your USE line in /etc/make.conf look like?
Works now, the ebuild must have been updated...