Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179449 - media-gfx/gimp-print-5.1.1 fails to compile
Summary: media-gfx/gimp-print-5.1.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 17:50 UTC by Neil Bothwick
Modified: 2007-05-22 21:54 UTC (History)
0 users

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


Attachments
emerge log (media-gfx:gimp-print-5.1.1:20070522-174829.log,62.07 KB, text/plain)
2007-05-22 17:52 UTC, Neil Bothwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2007-05-22 17:50:59 UTC
Attempting to upgrade gimp-print from 5.1.0 to 5.1.1 fails with

f /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I../../include  -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=1048576   -Disfinite=finite -march=nocona -O2 -pipe -fomit-frame-pointer -fno-inline-functions -fno-inline-functions -fno-inline-functions -O6 -MT print-version.lo -MD -MP -MF ".deps/print-version.Tpo" -c -o print-version.lo print-version.c; \
        then mv -f ".deps/print-version.Tpo" ".deps/print-version.Plo"; else rm -f ".deps/print-version.Tpo"; exit 1; fi
print-util.c: In function 'stp_init':
print-util.c:464: warning: statement with no effect
print-util.c: In function 'stp_set_output_codeset':
print-util.c:531: error: implicit declaration of function 'bind_textdomain_codeset'
print-util.c:531: warning: nested extern declaration of 'bind_textdomain_codeset'
print-util.c:531: warning: cast to pointer from integer of different size
make[3]: *** [print-util.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=1048576 -Disfinite=finite -march=nocona -O2 -pipe -fomit-frame-pointer -fno-inline-functions -fno-inline-functions -fno-inline-functions -O6 -MT print-vars.lo -MD -MP -MF .deps/print-vars.Tpo -c print-vars.c -o print-vars.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=1048576 -Disfinite=finite -march=nocona -O2 -pipe -fomit-frame-pointer -fno-inline-functions -fno-inline-functions -fno-inline-functions -O6 -MT print-version.lo -MD -MP -MF .deps/print-version.Tpo -c print-version.c  -fPIC -DPIC -o .libs/print-version.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=1048576 -Disfinite=finite -march=nocona -O2 -pipe -fomit-frame-pointer -fno-inline-functions -fno-inline-functions -fno-inline-functions -O6 -MT print-version.lo -MD -MP -MF .deps/print-version.Tpo -c print-version.c -o print-version.o >/dev/null 2>&1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-print-5.1.1/work/gutenprint-5.1.1/src/main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-print-5.1.1/work/gutenprint-5.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-print-5.1.1/work/gutenprint-5.1.1'
make: *** [all] Error 2

I get the same error on ~amd64 and ~ppc systems.
There are no settings for this package in /etc/portage

% emerge --info
Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 22 May 2007 14:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4, 2.5-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /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/env.d/java/ /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/mnt/portage/packages/zaphod"
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"
PORTDIR_OVERLAY="/mnt/portage/layman/sunrise /mnt/portage/local"
SYNC="rsync://desiato/gentoo"
USE="3dnow 3dnowext X aac aalib acpi alsa amd64 apache2 asf audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cddb cdr cli cracklib crypt cups curl dbus directfb dv dvb dvd dvdr dvdread encode exif fam ffmpeg flac foomaticdb gdbm gif gimp gimpprint glsa gphoto2 gpm gtk hal iconv ieee1394 imagemagick isdnlog jabber java jbig jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kipi lesstif libg++ libwww lm_sensors mad mailwrapper midi mmx mmxext mng mp3 mpeg mplayer mudflap musicbrainz mysql ncurses nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pcre pda pdf pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session slp spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis xcomposite xfs xinerama xml xorg xscreensaver xv xvid xvmc zlib zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CAMERAS="canon nikon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Neil Bothwick 2007-05-22 17:52:23 UTC
Created attachment 120012 [details]
emerge log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-22 18:16:11 UTC
Would be awesome if the makefile didn't append the loads of stupid flags...
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-22 19:25:59 UTC
USE=nls

and USE=-foomaticdb

can you please check if one of those causes it?
Comment 4 Neil Bothwick 2007-05-22 21:39:35 UTC
Good call, it compiled fine with USE="nls".
  
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-22 21:54:27 UTC
thanks, made the ebuild use nls always :)