Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317617 - media-gfx/gimp-9999 fails do compile with <glib-2.24
Summary: media-gfx/gimp-9999 fails do compile with <glib-2.24
Status: RESOLVED LATER
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-04-28 13:04 UTC by Franz Glauber Vanderlinde
Modified: 2010-05-03 16:22 UTC (History)
2 users (show)

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


Attachments
Config log (config.log,66.42 KB, text/plain)
2010-05-03 02:50 UTC, Franz Glauber Vanderlinde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Glauber Vanderlinde 2010-04-28 13:04:00 UTC
The compile fails on testing for Glib version.

I have both  glib-1.2.10-r5 and glib-2.22.5


 * CPV:  media-gfx/gimp-9999
 * REPO: gentoo
 * USE:  alsa curl dbus elibc_glibc hal jpeg kernel_linux mmx mng pdf png python smp sse svg tiff userland_GNU webkit x86
>>> Unpacking source...
 * GIT NEW clone -->
 *    repository:               git://git.gnome.org/gimp
Initialized empty Git repository in /usr/portage/distfiles/git-src/gimp/
remote: Counting objects: 318719, done.
remote: Compressing objects: 100% (50732/50732), done.
remote: Total 318719 (delta 275574), reused 309333 (delta 267409)
Receiving objects: 100% (318719/318719), 168.35 MiB | 74 KiB/s, done.
Resolving deltas: 100% (275574/275574), done.
 *    at the commit:            9eac51989a49c0b03993bee8d46ef7763152902f
 *    branch:                   master
 *    storage directory:        "/usr/portage/distfiles/git-src/gimp"
Initialized empty Git repository in /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/.git/
>>> Unpacked to /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999
>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-9999/work
>>> Preparing source in /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999 ...

I am testing that you have the tools required to build the
GNU Image Manipulation Program from git. This test is not foolproof,
so if anything goes wrong, see the file HACKING for more information...

checking for libtool >= 1.5 ... Major version might be too new (2.2.6)
checking for gtkdocize ... yes
checking for autoconf >= 2.54 ... yes (version 2.63)
checking for automake >= 1.9.6 ... yes (version 1.9.6)
checking for intltool >= 0.40.1 ... yes (version 0.41.1)
checking for xsltproc ... yes

I am going to run ./configure with the following arguments:

  --enable-maintainer-mode  

If you wish to pass additional arguments, please specify them 
on the ./autogen.sh command line or set the AUTOGEN_CONFIGURE_ARGS 
environment variable.

libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4macros'.
libtoolize: linking file `m4macros/libtool.m4'
libtoolize: linking file `m4macros/ltoptions.m4'
libtoolize: linking file `m4macros/ltsugar.m4'
libtoolize: linking file `m4macros/ltversion.m4'
libtoolize: linking file `m4macros/lt~obsolete.m4'
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
app/Makefile.am: installing `./compile'
app/Makefile.am: installing `./depcomp'
plug-ins/pygimp/Makefile.am:118: installing `./py-compile'
configure.ac:155: installing `./config.guess'
configure.ac:155: installing `./config.sub'

Now type 'make' to compile the GNU Image Manipulation Program.
 * Fixing OMF Makefiles ...                                               [ ok ]
 * Running elibtoolize in: gimp-9999
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-default-binary --with-x --without-aa --with-alsa --disable-altivec --with-libcurl --with-dbus --with-hal --without-gvfs --without-gnomevfs --with-webkit --with-libjpeg --without-libexif --without-lcms --enable-mmx --with-libmng --with-poppler --with-libpng --enable-python --enable-mp --enable-sse --with-librsvg --with-libtiff --without-wmf --disable-gtk-doc
configure: WARNING: unrecognized options: --without-gnomevfs
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for target architecture... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether to turn on debugging... no
checking whether to turn on profiling... no
checking whether i686-pc-linux-gnu-gcc understands -Wdeclaration-after-statement... yes
checking whether i686-pc-linux-gnu-gcc understands -Wmissing-prototypes... yes
checking whether i686-pc-linux-gnu-gcc understands -Wstrict-prototypes... yes
checking whether i686-pc-linux-gnu-gcc understands -Wmissing-declarations... yes
checking whether i686-pc-linux-gnu-gcc understands -Winit-self... yes
checking whether i686-pc-linux-gnu-gcc understands -Wpointer-arith... yes
checking whether i686-pc-linux-gnu-gcc understands -Wold-style-definition... yes
checking whether i686-pc-linux-gnu-gcc understands -Wmissing-format-attribute... yes
checking whether i686-pc-linux-gnu-gcc understands -Wformat-security... yes
checking whether i686-pc-linux-gnu-gcc understands -Wformat-non-literal... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for fsync... yes
checking for difftime... yes
checking for mmap... yes
checking whether binary relocation support should be enabled... no
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.1... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.8.8
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for iso-codes... yes
checking for BABL... yes
checking for GEGL... yes
checking for i686-pc-linux-gnu-pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.24.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/config.log
 * ERROR: media-gfx/gimp-9999 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_configure
 *   environment, line 4911:  Called gnome2_src_configure
 *   environment, line 2894:  Called econf '--enable-default-binary' '--with-x' '--without-aa' '--with-alsa' '--disable-altivec' '--with-libcurl' '--with-dbus' '--with-hal' '--without-gvfs' '--without-gnomevfs' '--with-webkit' '--with-libjpeg' '--without-libexif' '--without-lcms' '--enable-mmx' '--with-libmng' '--with-poppler' '--with-libpng' '--enable-python' '--enable-mp' '--enable-sse' '--with-librsvg' '--with-libtiff' '--without-wmf' '--disable-gtk-doc'
 *     ebuild.sh, line  538:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =media-gfx/gimp-9999',
 * the complete build log and the output of 'emerge -pqv =media-gfx/gimp-9999'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/gimp-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/gimp-9999/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999'

Reproducible: Always

Steps to Reproduce:
1. Try to compile the package

Actual Results:  
Package fails on configure
Comment 1 Franz Glauber Vanderlinde 2010-04-28 13:05:26 UTC
This could be an upstream bug or a bug in pkgconfig, as it fails to compile with the vanilla source with the same error
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-05-02 19:47:16 UTC
(In reply to comment #0)
> configure: error: Test for GLIB failed. See the file 'INSTALL' for help.
> 
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/config.log

Please do.
Comment 3 Franz Glauber Vanderlinde 2010-05-03 02:50:26 UTC
Created attachment 230103 [details]
Config log
Comment 4 Franz Glauber Vanderlinde 2010-05-03 02:50:57 UTC
Sorry, missed that... attached
Comment 5 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-03 15:09:52 UTC
Yes, it fails cause it needs glib >=2.24 (http://ftp.acc.umu.se/pub/gnome/sources/glib/2.24/). You have to wait some days until there is an official version bump of glib. I resolve this bug as LATER. If you still think there is a bug, please reopen. Thank you for your report.
Comment 6 Franz Glauber Vanderlinde 2010-05-03 16:22:50 UTC
Yeah, doc fail then. INSTALL has the following requirement, but this is upstream bug:

4. You need to have installed GTK+ version 2.18.1 or newer.
     GIMP also need a recent versions of GLib (>= 2.22.0) and
     Pango (>= 1.20.1). Sources for these can be grabbed from
     ftp://ftp.gtk.org/.

Thanks for the info.