<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>120264</bug_id>
          
          <creation_ts>2006-01-25 00:24 0000</creation_ts>
          <short_desc>media-libs/pdflib-6.0.3 needs porting to gen2</short_desc>
          <delta_ts>2007-03-03 18:09:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>2005.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>168119</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>anfini@free.fr</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          <cc>php-bugs@gentoo.org</cc>
    
    <cc>znmeb@cesmail.net</cc>

      

      
          <long_desc isprivate="0">
            <who>anfini@free.fr</who>
            <bug_when>2006-01-25 00:24:09 0000</bug_when>
            <thetext>I tried to emerge pdflib-6.01, but it seems some paths are wrong in the ebuild regarding the installation process :

make[2]: Rien </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>anfini@free.fr</who>
            <bug_when>2006-01-25 00:24:09 0000</bug_when>
            <thetext>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&apos;
make[1]: Leaving directory `/var/tmp/portage/pdflib-6.0.1/work/PDFlib-Lite-6.0.1/progs&apos;
./config/install-sh -c pdflib-config /var/tmp/portage/pdflib-6.0.1/image//usr/bin
install: omission du répertoire `doc/pdflib&apos;
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&apos;: 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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer -fforce-addr -mmmx -msse -msse2&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer -fforce-addr -mmmx -msse -msse2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://mirror.ovh.net/gentoo-distfiles http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LANG=&quot;fr_FR.UTF-8&quot;
LC_ALL=&quot;fr_FR.UTF-8&quot;
LDFLAGS=&quot;-Wl,-O1&quot;
LINGUAS=&quot;fr_FR fr en en_US&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chtekk@gentoo.org</who>
            <bug_when>2006-06-28 16:38:27 0000</bug_when>
            <thetext>Reassigning to maintainer...
Best regards, CHTEKK.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>znmeb@cesmail.net</who>
            <bug_when>2006-08-16 07:44:08 0000</bug_when>
            <thetext>same thing happens on 6.0.3:

install: omitting directory `doc/pdflib&apos;
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&apos;: 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 &apos;bind/pdflib/java/pdflib.jar&apos;
  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 ~ # </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armiductor@gmail.com</who>
            <bug_when>2006-10-12 09:16:34 0000</bug_when>
            <thetext>I&apos;m getting the exact same error. What is the progress on fixing this bug?

Greetings,
Wouter</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sebastian@gentoo.org</who>
            <bug_when>2006-10-12 09:21:19 0000</bug_when>
            <thetext>This is a Java issue, AFAIR. USE=-java emerge pdflib worked fine for me the last time I checked.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ali_bush@gentoo.org</who>
            <bug_when>2007-01-30 05:21:05 0000</bug_when>
            <thetext>Created an attachment (id=108590)
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ali_bush@gentoo.org</who>
            <bug_when>2007-01-30 05:23:30 0000</bug_when>
            <thetext>Created an attachment (id=108591)
patch to fix make file so package produces the correct java class version

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ali_bush@gentoo.org</who>
            <bug_when>2007-01-30 05:26:55 0000</bug_when>
            <thetext>Adding java@gentoo.org to cc because this bug needs to be closed for generation 2 migration to be completed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-03-03 17:54:16 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; Created an attachment (id=108590) [edit]
&gt; Patch to fix install of jar and migrate pdf-6.0.3
&gt; 

This patch does not export JAVACFLAGS so it&apos;s not available in make. I am working on committing this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2007-03-03 18:09:14 0000</bug_when>
            <thetext>Thanks Alistair. Committed with an added doc use flag.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>108590</attachid>
            <date>2007-01-30 05:21 0000</date>
            <desc>Patch to fix install of jar and migrate pdf-6.0.3</desc>
            <filename>pdflib-6.0.3-r1.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHBkZmxpYi02LjAuMy5lYnVpbGQJMjAwNy0wMS0zMCAxNzo1NTozMy4wMDAwMDAwMDAgKzEz
MDAKKysrIHBkZmxpYi02LjAuMy1yMS5lYnVpbGQJMjAwNy0wMS0zMCAxNzo1Mzo1Mi4wMDAwMDAw
MDAgKzEzMDAKQEAgLTQsNyArNCw3IEBACiAKICMgZXV0aWxzIG11c3QgYmUgaW5oZXJpdGVkIHNp
bmNlIGdldF9saWJkaXIoKSBpcyBvbmx5CiAjIGdsb2JhbGx5IGF2YWlsYWJsZSBvbiBiYXNlbGF5
b3V0LTEuMTEgKHN0aWxsIG9uIH5hcmNoKQotaW5oZXJpdCBldXRpbHMgamF2YS1wa2cgZmxhZy1v
LW1hdGljCitpbmhlcml0IGJhc2UgZXV0aWxzIGphdmEtcGtnLW9wdC0yIGZsYWctby1tYXRpYwog
CiBNWV9QTj0iJHtQTi9wZGYvUERGfS1MaXRlIgogTVlfUD0iJHtNWV9QTn0tJHtQVn0iCkBAIC0y
Miw5ICsyMiwxNCBAQAogCXRjbD8gKCA+PWRldi1sYW5nL3RjbC04LjIgKQogCXBlcmw/ICggPj1k
ZXYtbGFuZy9wZXJsLTUuMSApCiAJcHl0aG9uPyAoID49ZGV2LWxhbmcvcHl0aG9uLTIuMiApCi0J
amF2YT8gKCA+PXZpcnR1YWwvamRrLTEuMyApIgorCWphdmE/ICggPj12aXJ0dWFsL2pkay0xLjQg
KSIKKworUEFUQ0hFUz0iJHtGSUxFU0RJUn0vZml4LWphdmEtY29tcGlsZS5wYXRjaCIKIAogc3Jj
X2NvbXBpbGUoKSB7CisKKwlKQVZBQ0ZMQUdTPSQoamF2YS1wa2dfamF2YWMtYXJncykKKwogCWxv
Y2FsIG15Y29uZj0KIAogCSMgQnVnICM4NzAwNApAQCAtNTAsNiArNTUsNyBAQAogCWVjb25mIFwK
IAkJLS1lbmFibGUtY3h4IFwKIAkJJHtteWNvbmZ9IHx8IGRpZQorCiAJZW1ha2UgfHwgZGllICJl
bWFrZSBmYWlsZWQiCiB9CiAK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>108591</attachid>
            <date>2007-01-30 05:23 0000</date>
            <desc>patch to fix make file so package produces the correct java class version</desc>
            <filename>fix-java-compile.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGJpbmQvcGRmbGliL2phdmEvTWFrZWZpbGUub3JpZwkyMDA3LTAxLTMwIDE3OjMwOjQ2LjAw
MDAwMDAwMCArMTMwMAorKysgYmluZC9wZGZsaWIvamF2YS9NYWtlZmlsZQkyMDA3LTAxLTMwIDE3
OjMyOjA0LjAwMDAwMDAwMCArMTMwMApAQCAtMzgsNyArMzgsNyBAQAogcGRmbGliLmphcjo6IHBk
ZmxpYi5qYXZhIFBERmxpYkV4Y2VwdGlvbi5qYXZhCiAJJChSTSkgY29tCiAJbWtkaXIgLXAgY29t
L3BkZmxpYgotCWphdmFjIFBERmxpYkV4Y2VwdGlvbi5qYXZhIHBkZmxpYi5qYXZhICYmIG12IHBk
ZmxpYi5jbGFzcyBjb20vcGRmbGliXAorCWphdmFjICR7SkFWQUNGTEFHU30gUERGbGliRXhjZXB0
aW9uLmphdmEgcGRmbGliLmphdmEgJiYgbXYgcGRmbGliLmNsYXNzIGNvbS9wZGZsaWJcCiAJICAg
ICYmIG12IFBERmxpYkV4Y2VwdGlvbi5jbGFzcyBjb20vcGRmbGliL1BERmxpYkV4Y2VwdGlvbi5j
bGFzcwogCWphciBjdmYgcGRmbGliLmphciBjb20vcGRmbGliL3BkZmxpYi5jbGFzcyBcCiAJICAg
IGNvbS9wZGZsaWIvUERGbGliRXhjZXB0aW9uLmNsYXNzCg==
</data>        

          </attachment>
    </bug>

</bugzilla>