Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120264 - media-libs/pdflib-6.0.3 needs porting to gen2
Summary: media-libs/pdflib-6.0.3 needs porting to gen2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 168119
  Show dependency tree
 
Reported: 2006-01-25 00:24 UTC by John Berry
Modified: 2007-03-03 18:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix install of jar and migrate pdf-6.0.3 (pdflib-6.0.3-r1.ebuild.patch,816 bytes, patch)
2007-01-30 05:21 UTC, Alistair Bush (RETIRED)
Details | Diff
patch to fix make file so package produces the correct java class version (fix-java-compile.patch,547 bytes, patch)
2007-01-30 05:23 UTC, Alistair Bush (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Berry 2006-01-25 00:24:09 UTC
I tried to emerge pdflib-6.01, but it seems some paths are wrong in the ebuild regarding the installation process :

make[2]: Rien 
Comment 1 John Berry 2006-01-25 00:24:09 UTC
I tried to emerge pdflib-6.01, but it seems some paths are wrong in the ebuild regarding the installation process :

make[2]: Rien à faire pour « install ».
make[2]: Leaving directory `/var/tmp/portage/pdflib-6.0.1/work/PDFlib-Lite-6.0.1/progs/pdflib'
make[1]: Leaving directory `/var/tmp/portage/pdflib-6.0.1/work/PDFlib-Lite-6.0.1/progs'
./config/install-sh -c pdflib-config /var/tmp/portage/pdflib-6.0.1/image//usr/bin
install: omission du répertoire `doc/pdflib'
gzip: /var/tmp/portage/pdflib-6.0.1/image/usr/share/doc/pdflib-6.0.1//pdflib: No such file or directory
install: ne peut évaluer `bind/pdflib/java/pdflib.jar': Aucun fichier ou répertoire de ce type

!!! ERROR: media-libs/pdflib-6.0.1 failed.
!!! Function java-pkg_dojar, Line 180, Exitcode 1
!!! bind/pdflib/java/pdflib.jar not found

My emerge info :

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer -fforce-addr -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer -fforce-addr -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr_FR fr en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 Xaw3d a52 aac aalib acl acpi activefilter afs aim alsa aotuv apache2 apm asf athena atlas audiofile avi bash-completion berkdb bitmap-fonts blender-game bluetooth bzip2 calendar cardbus cdda cdparanoia cdr chroot cjk clamav cli crypt css cups curl curlwrappers dba dbm dbx dhcp dio directfb dlloader dnd dnsdb doc dts dv dvd dvdr ecc effects emacs emacs-w3 emboss encode esd ethereal examples exif exiscan-acl expat fam fastcgi fat fbcon ffmpeg fftw firefox flac fmod font-server foomaticdb fortran ftp gd gdbm geoip gif gimp gimpprint ginac glut gmp gnokii gnuplot gnustep gnutls gpgme gphoto2 gpm gsnd gstreamer gtk gtk2 gtkhtml hal hardened hardenedphp icq idn ieee1394 imagemagick imap imlib innodb iodbc ipv6 ithreads jabber java javascript jce jfs jikes jpeg junit kde kerberos kqemu lcms ldap libclamav libg++ libwww lzo mad mcal memlimit mikmod mime mmx mmxext mng mod mono motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg msn mule mysql mysqli ncurses nis nls nntp nptl nptlonly ntlm oav objc odbc ogg oggvorbis openal opengl oscar oss pam pam_timestamp pcmcia pcntl pcre pda pdf pdflib perl pg-hier php pic plugin png pnp posix postgres povray prelude profile python qt quicktime quotas radius readline real reiser4 reiserfs ruby samba scanner sdl server session sguil sharedext simplexml skey slang slp smartcard smime soap sockets socks5 softmmu spell spl sqlite sse sse2 ssl stream subversion svg symlink sysfs szip tcltk tcpd tetex threads tiff tokenizer tools truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vlm vorbis wifi win32codecs wmf wxwindows xface xine xml xml2 xmlrpc xmms xpm xsl xv xvid yahoo zlib elibc_glibc kernel_linux linguas_fr_FR linguas_fr linguas_en linguas_en_US userland_GNU"
Unset:  ASFLAGS, CTARGET
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-06-28 16:38:27 UTC
Reassigning to maintainer...
Best regards, CHTEKK.
Comment 3 M. Edward Borasky 2006-08-16 07:44:08 UTC
same thing happens on 6.0.3:

install: omitting directory `doc/pdflib'
gzip: /var/tmp/portage/pdflib-6.0.3/image/usr/share/doc/pdflib-6.0.3//pdflib: No such file or directory
install: cannot stat `bind/pdflib/java/pdflib.jar': No such file or directory

!!! ERROR: media-libs/pdflib-6.0.3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_install
  ebuild.sh, line 1017:   Called src_install
  pdflib-6.0.3.ebuild, line 95:   Called java-pkg_dojar 'bind/pdflib/java/pdflib.jar'
  java-pkg.eclass, line 267:   Called die

!!! bind/pdflib/java/pdflib.jar not found
!!! If you need support, post the topmost build error, and the call stack if relevant.

DreamSong ~ # 
Comment 4 ArmiDuctor 2006-10-12 09:16:34 UTC
I'm getting the exact same error. What is the progress on fixing this bug?

Greetings,
Wouter
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2006-10-12 09:21:19 UTC
This is a Java issue, AFAIR. USE=-java emerge pdflib worked fine for me the last time I checked.
Comment 6 Alistair Bush (RETIRED) gentoo-dev 2007-01-30 05:21:05 UTC
Created attachment 108590 [details, diff]
Patch to fix install of jar and migrate pdf-6.0.3

pdflib-6.0.3 is a generation 1 jav package and therefore needs to be migrated to generation 2.  This patch does just that :)  It also fixes this bug.
Comment 7 Alistair Bush (RETIRED) gentoo-dev 2007-01-30 05:23:30 UTC
Created attachment 108591 [details, diff]
patch to fix make file so package produces the correct java class version
Comment 8 Alistair Bush (RETIRED) gentoo-dev 2007-01-30 05:26:55 UTC
Adding java@gentoo.org to cc because this bug needs to be closed for generation 2 migration to be completed.
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2007-03-03 17:54:16 UTC
(In reply to comment #6)
> Created an attachment (id=108590) [edit]
> Patch to fix install of jar and migrate pdf-6.0.3
> 

This patch does not export JAVACFLAGS so it's not available in make. I am working on committing this.
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2007-03-03 18:09:14 UTC
Thanks Alistair. Committed with an added doc use flag.