Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284414 - media-gfx/gnome-scan-0.6.2: fails to compile with babl-0.1.0
Summary: media-gfx/gnome-scan-0.6.2: fails to compile with babl-0.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2009-09-10 07:40 UTC by Torsten Kurbad
Modified: 2015-01-05 23:34 UTC (History)
1 user (show)

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


Attachments
complete build.log (build.log,131.27 KB, text/plain)
2009-09-10 07:42 UTC, Torsten Kurbad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kurbad 2009-09-10 07:40:22 UTC
Trying to emerge media-gfx/gnome-scan leads to the following error message:

/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -Wall -g -march=core2 -mtune=generic -O3 -mfpmath=sse -msse3 -fomit-frame-pointer -pipe -Wl,--export-dynamic -pthread -lgthread-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgegl-0.0 -lgio-2.0 -lbabl-0.0 -lm -lgobject-2.0 -lgmodule-2.0 -lgconf-2 -lglib-2.0   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -L../lib -lgnomescan -Wl,-O1 -o flegita flegita-types.o  flegita.o flegita-sink.o flegita-pspec.o flegita-output-filename-widget.o flegita-action-selector.o  
flegita-gimp-sink.c:49: error: expected specifier-qualifier-list before 'BablFormat'
flegita-gimp-sink.c: In function 'fgs_create_image':
flegita-gimp-sink.c:139: error: 'BablFormat' undeclared (first use in this function)
flegita-gimp-sink.c:139: error: (Each undeclared identifier is reported only once
flegita-gimp-sink.c:139: error: for each function it appears in.)
flegita-gimp-sink.c:139: error: 'format' undeclared (first use in this function)
flegita-gimp-sink.c:143: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:161: error: 'FlegitaGimpSinkPrivate' has no member named 'image_type'
flegita-gimp-sink.c: At top level:
flegita-gimp-sink.c:167: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
flegita-gimp-sink.c: In function 'fgs_get_child_nodes':
flegita-gimp-sink.c:220: error: 'FlegitaGimpSinkPrivate' has no member named 'save'
flegita-gimp-sink.c:222: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:224: error: 'FlegitaGimpSinkPrivate' has no member named 'save'
flegita-gimp-sink.c: In function 'fgs_start_frame':
flegita-gimp-sink.c:237: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:237: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:242: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:249: error: 'FlegitaGimpSinkPrivate' has no member named 'format'
flegita-gimp-sink.c:254: error: 'FlegitaGimpSinkPrivate' has no member named 'image_type'
flegita-gimp-sink.c:259: error: 'FlegitaGimpSinkPrivate' has no member named 'rgn'
flegita-gimp-sink.c:271: error: 'FlegitaGimpSinkPrivate' has no member named 'iter'
flegita-gimp-sink.c:271: error: 'FlegitaGimpSinkPrivate' has no member named 'rgn'
flegita-gimp-sink.c:272: error: 'FlegitaGimpSinkPrivate' has no member named 'iter'
flegita-gimp-sink.c: In function 'fgs_work':
flegita-gimp-sink.c:279: error: 'FlegitaGimpSinkPrivate' has no member named 'rgn'
flegita-gimp-sink.c:281: error: 'FlegitaGimpSinkPrivate' has no member named 'format'
flegita-gimp-sink.c:290: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:292: error: 'FlegitaGimpSinkPrivate' has no member named 'format'
flegita-gimp-sink.c:300: error: 'FlegitaGimpSinkPrivate' has no member named 'iter'
flegita-gimp-sink.c:300: error: 'FlegitaGimpSinkPrivate' has no member named 'iter'
flegita-gimp-sink.c:301: error: 'FlegitaGimpSinkPrivate' has no member named 'iter'
flegita-gimp-sink.c: In function 'fgs_end_frame':
flegita-gimp-sink.c:326: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:326: error: 'FlegitaGimpSinkPrivate' has no member named 'buffer'
flegita-gimp-sink.c:327: error: 'FlegitaGimpSinkPrivate' has no member named 'save'
flegita-gimp-sink.c:327: error: 'FlegitaGimpSinkPrivate' has no member named 'save'
make[2]: *** [flegita_gimp-flegita-gimp-sink.o] Error 1

# emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30-tuxonice-r5 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r5-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 07 Sep 2009 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O3 -mfpmath=sse -msse3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=generic -O3 -mfpmath=sse -msse3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE"
LC_ALL="de_DE"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
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/layman/dev-zero /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac accessibility acl acpi additions adplug ads alsa amr apache2 artworkextra asf asm aspell async audacious autoipd avahi bash-completion beagle berkdb bluetooth browserplugin bs2b bzip2 cairo caps capslib cdda cddb cdio cdparanoia cdr chardet cli colordiff consolekit cracklib crypt cups curl daap dbus device-mapper dirac djvu dns dri dts dvb dvd dvdr dvi encode esd evdev exif expat faac faad fam fbcon fbcondecor ffmpeg fftw flac fluidsynth fortran freetts fuse gd gdbm gif gimp gimpprint git glitz gmp gnome gnome-keyring gnutls gphoto2 gpm gs gsm gstreamer gtk gtkhtml gzip h323 hal hddtemp hvm ical icecast iconv icotools id3tag imagemagick imlib ipv6 isdnlog jack jack-tmpfs java java6 jbig jit jpeg jpeg2k kerberos keyring kpathsea ladspa lame lash latex lcms ldap libgcrypt libnl libnotify libsamplerate lm_sensors logrotate lua lzo mad matroska mdnsresponder-compat mjpeg mmap mmx mmxext mng mono mp2 mp3 mp4 mpeg mplayer mtp mudflap musepack musicbrainz mysql nautilus ncurses netplug network nls nptl nptlonly nsplugin ntp nvidia offensive ogg opencore-amr opengl openmp overlays pae pam pcre pcsc-lite pdf perl pidgin pipechan png pnm portaudio postgres postproc ppds pppd projectm pygrub python qmail qt qt3support qt4 quicktime quota quotas rar readline reflection rle rrdcgi rtsp samba sasl scanner schroedinger screen scrobbler sdl seamonkey sensord session shout sip slang smp sms smt sndfile sound soundtouch speex spell spl sqlite sse sse2 ssl ssse3 stream subtitles subversion suid svg swat sylpheed sysfs t1lib taglib tagwriting tcl tcltk tcpd tetex tga theora threads tidy tiff tk truetype tta unicode urandom usb v4l v4l2 vamp vcd vditool vidix vlm vorbis wav wavpack webdav win32codecs winetools wma wmf wrapper wxwindows x264 x86 xattr xcb xcomposite xine xml xml2 xorg xosd xpm xprint xscreensaver xulrunner xv xvid xvmc xxmc zlib" ALSA_CARDS="hda-intel" 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 proxy proxy_connect proxy_ftp proxy_http rewrite setenvif 		speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" SANE_BACKENDS="net snapscan" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Torsten Kurbad 2009-09-10 07:42:05 UTC
Created attachment 203663 [details]
complete build.log
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-11 07:12:07 UTC
gnome-scan-0.7.1 is available from upstream. Try this?
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-09-11 07:27:49 UTC
(In reply to comment #2)
> gnome-scan-0.7.1 is available from upstream. Try this?
> 

Yeah but it's a development release on upstream, the minor code version is odd.
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-09-11 12:03:13 UTC
Apparently the problem is cauded by babl-0.1.0 which contains a lot of change, BablFormat type object has been renamed to Babl (apparently) and there is a problem at flegita-gimp-sink.c:145 because "format" is unreferenced without knowing the object implementation (masked implementation into the module problably), there are nothing on upstream, and there are any commits on the git repository.

Awesome ^^
Comment 5 Pacho Ramos gentoo-dev 2011-07-19 17:44:30 UTC
Fixed in 0.7.2