Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39199 - pdflib ebuild fails
Summary: pdflib ebuild fails
Status: RESOLVED DUPLICATE of bug 38500
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 14:05 UTC by Hal Eisen
Modified: 2005-07-17 13:06 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 Hal Eisen 2004-01-23 14:05:55 UTC
I am trying to "emerge pdflib", but I get an ACCESS VIOLATION.  This was initially caused by an attempted upgrade to php so that I could install phpgroupware.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-pdflib-5.0.2-24675.log"
 
open_wr:   /usr/lib/perl5/site_perl/5.8.0/i686-linux/#inst.24960#
mkdir:     /usr/lib/tcl8.3/pdflib
--------------------------------------------------------------------------------g

Reproducible: Always
Steps to Reproduce:
1. emerge pdflib
2. wait for the 5 beeps
3. inspect emerge output

Actual Results:  
make[3]: Entering directory
`/var/tmp/portage/pdflib-5.0.2/work/PDFlib-Lite-5.0.2-Unix-src/bind/pdflib/perl'
../../../libtool --silent --mode=install \
        ../../../config/install-sh -c -m 644 pdflib_pl.la
/usr/lib/perl5/site_perl/5.8.0/i686-linux
ACCESS DENIED  open_wr:  
/usr/lib/perl5/site_perl/5.8.0/i686-linux/#inst.24960#cp: cannot create regular
file `/usr/lib/perl5/site_perl/5.8.0/i686-linux/#inst.24960#': Permission denied
make[3]: *** [install] Error 1

make[3]: Entering directory
`/var/tmp/portage/pdflib-5.0.2/work/PDFlib-Lite-5.0.2-Unix-src/bind/pdflib/tcl'
if test ! -d /usr/lib/tcl8.3/pdflib ; then      \
    mkdir -p /usr/lib/tcl8.3/pdflib;            \
    chmod 755 /usr/lib/tcl8.3/pdflib;           \
fi
ACCESS DENIED  mkdir:     /usr/lib/tcl8.3/pdflib
mkdir: cannot create directory `/usr/lib/tcl8.3/pdflib': Permission denied
chmod: failed to get attributes of `/usr/lib/tcl8.3/pdflib': No such file or
directory



etcat -v pdflib
[ Results for search key : pdflib ]
[ Applications found : 1 ]
 
*  media-libs/pdflib :
        [   ] media-libs/pdflib-4.0.1-r3 (4)
        [   ] media-libs/pdflib-4.0.3-r1 (4)
        [   ] media-libs/pdflib-5.0.2 (5)
Comment 1 Andre Hinrichs 2004-01-23 15:10:14 UTC
Nearly same here. Also get these 'Permission denied' errors but this does not prevent the ebuild script to continue compiling in my case.
The compile stops with the following error:

gzip: /var/tmp/portage/pdflib-5.0.2/image/usr/share/doc/pdflib-5.0.2/pdflib: No such file or directory
install: Aufruf von stat f
Comment 2 Andre Hinrichs 2004-01-23 15:10:14 UTC
Nearly same here. Also get these 'Permission denied' errors but this does not prevent the ebuild script to continue compiling in my case.
The compile stops with the following error:

gzip: /var/tmp/portage/pdflib-5.0.2/image/usr/share/doc/pdflib-5.0.2/pdflib: No such file or directory
install: Aufruf von stat für ,,/var/tmp/portage/pdflib-5.0.2/work/PDFlib-Lite-5.0.2-Unix-src/bind/java/pdflib.java" nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für ,,/var/tmp/portage/pdflib-5.0.2/work/PDFlib-Lite-5.0.2-Unix-src/bind/java/pdflib.java" nicht möglich: Datei oder Verzeichnis nicht gefunden
error: cannot read: com/pdflib/pdflib.java
1 error
com/pdflib/*.class : Datei oder Verzeichnis existiert nicht.
Comment 3 Andre Hinrichs 2004-01-23 15:15:10 UTC
Huu, sorry, here is the translation for the error messages:

Datei oder Verzeichnis nicht gefunden : Cannot find file or directory
Datei oder Verzeichnis existiert nicht : No such file or directory
Aufruf von stat f
Comment 4 Andre Hinrichs 2004-01-23 15:15:10 UTC
Huu, sorry, here is the translation for the error messages:

Datei oder Verzeichnis nicht gefunden : Cannot find file or directory
Datei oder Verzeichnis existiert nicht : No such file or directory
Aufruf von stat für xxx nicht möglich : Cannot stat xxx
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-01-23 15:34:29 UTC
Resync and try it again.
Comment 6 Hal Eisen 2004-01-23 16:10:26 UTC
"emerge sync; emerge pdflib" and all is well - thanks! -HJE
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-23 16:13:16 UTC
not quite, with "java" in USE, there is some broken behaviour, so I'll mark this fix when I manage to sort that out
Comment 8 hodak 2004-01-23 19:53:47 UTC
I had the same problem, syncing solved it. The pdflib package install, but during the install I get this message about java:

make[3]: Entering directory `/var/tmp/portage/pdflib-5.0.2/work/PDFlib-Lite-5.0.2-Unix-src/bind/pdflib/java'
../../../libtool --silent --mode=compile gcc -c  -DHAVE_DLFCN_H=1  -O2 -march=athlon-xp -pipe  -D__NO_CTYPE  -DPDF_PLATFORM=\""Linux"\" -I../../../libs/pdflib    pdflib_java.c
rm -rf com
mkdir -p com/pdflib
javac PDFlibException.java pdflib.java && mv pdflib.class com/pdflib\
    && mv PDFlibException.class com/pdflib/PDFlibException.class
/bin/sh: line 1: javac: command not found
make[3]: *** [pdflib.jar] Error 127
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/pdflib-5.0.2/work/PDFlib-Lite-5.0.2-Unix-src/bind/pdflib/java'

 Is this the java problem mentioned above?
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-23 20:04:56 UTC

*** This bug has been marked as a duplicate of 38500 ***