Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326441 - app-crypt/gpa-0.9.1_pre20100416 doesn't emerge
Summary: app-crypt/gpa-0.9.1_pre20100416 doesn't emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 12:34 UTC by pavel sanda
Modified: 2010-07-01 13:47 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,5.94 KB, text/plain)
2010-07-01 12:35 UTC, pavel sanda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pavel sanda 2010-07-01 12:34:18 UTC
it stops with:

checking for GTK+ - version >= 2.10.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Cannot find GTK+ 2.0

but i have it:
$ eix -I gtk+|grep Install
Installed versions:  2.18.9(2)(01:49:15 AM 06/16/2010)(cups jpeg jpeg2k tiff vim-syntax -aqua -debug -doc -test -xinerama)

Reproducible: Always

Steps to Reproduce:




Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.2, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 01 Jul 2010 10:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/sunrise /usr/local/portage/layman/enlightenment /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/overlay-watzke-cz"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal hdaps iconv ieee1394 ipv6 jbig jpeg jpeg2k laptop latex lcms lm_sensors mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vim-syntax vorbis wifi x264 x86 xcb xml xorg xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 pavel sanda 2010-07-01 12:35:44 UTC
Created attachment 237135 [details]
build.log
Comment 2 Dane Smith (RETIRED) gentoo-dev 2010-07-01 12:47:35 UTC
Unable to replicate. Could you please run:
ebuild /usr/portage/app-crypt/gpa/gpa-gpa-0.9.1_pre20100416.ebuild compile

When that fails (and it should as far as I can guess), upload:
/var/tmp/portage/app-crypt/gpa-0.9.1_pre20100416/work/gpa-0.9.1_pre20100416/config.log

so that I can take a look at it please.

Thanks!
Comment 3 pavel sanda 2010-07-01 13:09:49 UTC
thanks for the hint. i looked at that file which on the problematic configure check says:

configure:7559: checking for GTK+ - version >= 2.10.0
configure:7687: result: no
configure:7715: i686-pc-linux-gnu-gcc -o conftest -O2 -march=core2 -pipe -fomit-frame-pointer   -Wl,-O1 conftest.c -lm  -lz  >&5
conftest.c:40:21: error: gtk/gtk.h: No such file or directory
conftest.c: In function 'main':
conftest.c:46: error: 'gtk_major_version' undeclared (first use in this function)
conftest.c:46: error: (Each undeclared identifier is reported only once
conftest.c:46: error: for each function it appears in.)
conftest.c:46: error: 'gtk_minor_version' undeclared (first use in this function)
conftest.c:46: error: 'gtk_micro_version' undeclared (first use in this function)

the header <gtk/gtk.h> looks pretty normal, so out of curiosity i tryed to recompile another gtk based app on my system (aumix) and it failed too, with the following message:
checking for GTK - version >= 2.0.0... Package libpng12 was not found in the pkg                                                         
-config search path.

that rings the bell - emerge was updating another packages and the last one was libpng before it:
LOG: postinst

Run /usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)


WARN: postinst
Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

  # revdep-rebuild --library libpng12.so.0

Once you've finished running revdep-rebuild, it should be safe to
delete the old libraries.  Here is a copy & paste for the lazy:
  # rm '/usr/lib/libpng12.so.0'

so the problem seems not to be from gpa. emerging libpng simply put the system into unusable state for others packages in queue to proceed...
Comment 4 Dane Smith (RETIRED) gentoo-dev 2010-07-01 13:16:09 UTC
Glad to help. If everything does turn out ok, don't forget to switch the status to Resolved. =)
Comment 5 pavel sanda 2010-07-01 13:46:25 UTC
running revdep-rebuild --library libpng12.so.0 helped.

i guess there will be more 'unrelated' users reports with emerging problems which at the end would lead to libpng problem... running /usr/sbin/libpng-1.4.x-update.sh seems to be little bit dangerous tip...