Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147411

Summary: media-gfx/pngrewrite-1.2.1 libpng.so: undefined reference to 'pow'
Product: Gentoo Linux Reporter: reisio <gentoo>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description reisio 2006-09-12 22:31:18 UTC
# emerge pngrewrite
Calculating dependencies... done!

>>> Emerging (1 of 1) media-gfx/pngrewrite-1.2.1 to /
 * pngrewrite-1.2.1.zip MD5 ;-) ...                                       [ ok ]
 * pngrewrite-1.2.1.zip size ;-) ...                                      [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking pngrewrite-1.2.1.zip ;-) ...                                  [ ok ]
>>> Unpacking source...
>>> Unpacking pngrewrite-1.2.1.zip to /var/tmp/portage/pngrewrite-1.2.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/pngrewrite-1.2.1/work ...
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libpng.so: undefined reference to `pow'
collect2: ld returned 1 exit status

!!! ERROR: media-gfx/pngrewrite-1.2.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  pngrewrite-1.2.1.ebuild, line 25:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if rel evant.

$ emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo- r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Celeron (Coppermine)
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 10:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu tdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms / /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict u serpriv usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.osuosl. org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran gdb m gpm input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg+ + mmx ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflecti on session spl sse ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU  video_cards_fbdev video_cards_i810 video_cards_vesa video_cards_vga xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC _EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 00:55:39 UTC
Tried to recompile libpng?
Comment 2 reisio 2006-09-13 10:11:38 UTC
That did it.  I figured the rebuild from 'emerge -eav world' would've been enough, but I guess not. :p

Thankee.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 11:53:11 UTC
OK, closing. ;)