Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170903 - sci-electronics/geda-20070216 can't be compiled
Summary: sci-electronics/geda-20070216 can't be compiled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 173398
  Show dependency tree
 
Reported: 2007-03-14 16:57 UTC by szanker
Modified: 2007-04-04 20:58 UTC (History)
0 users

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 szanker 2007-03-14 16:57:37 UTC
Every time when I try to compile GEDA, an error at the same location occurs. I post it here:

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libgeda.so: undefined reference to `gdImagePng'
collect2: ld returned 1 exit status
make[2]: *** [gattrib] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-electronics/geda-20070216/work/geda-gattrib-20070216/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-electronics/geda-20070216/work/geda-gattrib-20070216'
make: *** [all] Error 2

!!! ERROR: sci-electronics/geda-20070216 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2960:   Called src_compile
  geda-20070216.ebuild, line 45:   Called die

!!! Compilation failed in geda-gattrib-20070216
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sci-electronics/geda-20070216/temp/build.log'. 

Reproducible: Always

Steps to Reproduce:
1. emerge geda
2.
3.



Expected Results:  
I weren't able to install the geda package corrrectly
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2007-03-14 19:50:19 UTC
What version of libgeda do you have ? Also, please post the result of 'emerge info'.

Denis.
Comment 2 szanker 2007-03-14 19:58:15 UTC
emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18.2 i686)
=================================================================
System uname: 2.6.18.2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 13 Mar 2007 11:20:01 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X berkdb bitmap-fonts cairo cli cracklib crypt cups dri fortran gdbm gpm gtk iconv ipv6 isdnlog libg++ madwifi midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa radeon fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY 
Comment 3 szanker 2007-03-14 20:03:21 UTC
Hi,

libgeda can be compiled without errors (before geda) and is at version 20070216, the last version I had is version 20060123.
Comment 4 Denis Dupeyron (RETIRED) gentoo-dev 2007-03-14 21:08:55 UTC
OK, thanks for the information, I think I have nailed the issue. Could you please give me the result of 'emerge -vp gd' to be sure ?

I need to make quite a few compilations, though, to be able to fix the ebuild in a clean way, so it will take some time (my machine is slow).

Until then, and as a workaround, you can add "jpeg png xpm" to your USE flags (or add a line for media-libs/gd in /etc/portage/package.use with those flags), then re-emerge gd, re-emerge libgeda, and finally you can emerge geda.

Sorry for the inconvenience.

Denis.
Comment 5 szanker 2007-03-14 21:37:39 UTC
Hi,

first: Thanks for your super speedy help!

Here's the result of emerge --vp gd:

# emerge -vp gd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/gd-2.0.34  USE="-fontconfig -jpeg -png -truetype -xpm" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Sebastian
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2007-03-14 21:54:35 UTC
OK, that confirms what I suspected: the support for those image formats isn't optional anymore. The workaround should work.

I'll fix that ASAP.

Denis.
Comment 7 szanker 2007-03-14 22:20:13 UTC
Now, it works great.

Thanks!
Sebastian
Comment 8 Denis Dupeyron (RETIRED) gentoo-dev 2007-03-15 21:52:52 UTC
I have checked all image formats, and only png isn't optional anymore. This is now fixed in CVS, so give it a few hours to reach a mirror near you.

Thanks for reporting this bug.
Denis.