Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39471 - netpbm-10.19 fails to build pngtopnm, jpegtopnm, ...
Summary: netpbm-10.19 fails to build pngtopnm, jpegtopnm, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 10:09 UTC by Michael O. Distler
Modified: 2005-08-16 03:19 UTC (History)
3 users (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 Michael O. Distler 2004-01-26 10:09:25 UTC
netpbm-10.19 does not build 'other converters' like pngtopnm or jpegtopnm any longer. netpbm-10.11.14 used to build these binaries but apparently the ebuild has been changed since my last emerge. I suspect that a line like in netpbm-9.12-r4.ebuild has been removed from the newer ebuilds:
sed -e "s:-O3:${CFLAGS}:" ${FILESDIR}/${PV}/Makefile.config >Makefile.config
The newer ebuilds just copy Makefile.config.in to Makefile.config but the library variables are not set. If one adds the following lines to src_unpack the problem is fixed:
cat >>Makefile.config <<EOF
TIFFLIB = libtiff.so
JPEGLIB = libjpeg.so
PNGLIB = libpng.so
ZLIB = libz.so
EOF


Reproducible: Always
Steps to Reproduce:
1. emerge netpbm
2.
3.




Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-mm2)
=================================================================
System uname: 2.6.1-mm2 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -mfpmath=sse -mmmx -msse -msse2 -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -mfpmath=sse -mmmx -msse -msse2 -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://gentoo.oregonstate.edu http://gentoo.inode.at"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://a1igentoo.kph.uni-mainz.de/gentoo-portage"
USE="3dnow X Xaw3d acpi acpi4linux apache2 arts autofs avi berkdb bindist
bluetooth crypt cups dga doc dv dvd emacs emacs-w3 encode evo fbcon foomaticdb
gb gd gdbm gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml i8x0 idea imap imlib
irda irmc java javascript jpeg kde ladcca lcd lcms leim libg++ libgda libwww
lirc mad mbox mikmod mmx motif mpeg mule ncurses nls nocd nvidia odbc oggvorbis
opengl oss pam pcmcia pda pdflib plotutil png pnp python qt quicktime readline
samba sdk sdl skey slang smp snmp socks5 sox spell sse ssl svga tcpd tiff
transcode truetype unicode usb v4l videos voodoo3 wmf wxwin wxwindows x86 xine
xinerama xml xml2 xmms xv xvid zlib"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-01-27 13:42:26 UTC
please try
10.11.14 or 10.11.15 is this is what you want
Comment 2 Michael O. Distler 2004-01-27 14:28:57 UTC
Neither netpbm-10.11.14 nor netpbm-10.11.15 nor netpbm-10.19 works for me.
I studied the Makefile.config after unpack and the library variables (e.g. PNGLIB) are set to NONE and therefore the Makefile in converter/other
will not make targets like pngtopnm.

For now I will stick to my patched netpbm-10.19.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-01-27 15:45:05 UTC
i've updated 10.11.14 & 15
please sync and try again
Comment 4 Michael O. Distler 2004-01-28 03:12:59 UTC
Perfect. 10.11.14 and 15 compile the png and jpeg converters, now. You also made use of the USE flags - I was about to suggest that. Thanks for the quick response.

Now, may I suggest that you also change 10.19? I would also appriciate if you made use of revision numbers. Changing ebuilds on the fly makes it really hard to track down bugs. And without revision numbers the update feature of emerge will not work.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-02-02 10:56:28 UTC
please try 10.20
i'll remove 10.19 if 10.20 is ok
Comment 6 Michael O. Distler 2004-02-02 15:25:16 UTC
I just emerged netpbm-10.20. The png, jpeg, and tiff converters are build and seem to work. I vote for changing the bug status to fixed.
Comment 7 Andre Hinrichs 2004-03-12 02:25:28 UTC
ACK!
Are there any problems remaining with netpbm-10.*?
I wonder why all 10.* versions are masked.
If there are no problems left I vote for unmasking 10.20
Comment 8 bugs 2004-10-17 18:17:43 UTC
welll, how about bug 66281 ?
That is really annoying me.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-07-14 23:47:18 UTC
Mass reassign, seems apparently unmaintained now.
Comment 10 Luca Barbato gentoo-dev 2005-08-15 18:43:23 UTC
hasn't the 10.28 made stable lately?
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-08-16 03:19:03 UTC
(In reply to comment #10)
> hasn't the 10.28 made stable lately?

Yup, 10.28 stable on all arches, closing this bug. Thanks.