Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298534 - net-wireless/gnome-bluetooth-2.28.6 fail to build
Summary: net-wireless/gnome-bluetooth-2.28.6 fail to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-27 13:55 UTC by Michele Schiavo
Modified: 2009-12-29 09:54 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,14.43 KB, text/plain)
2009-12-27 14:37 UTC, Michele Schiavo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Schiavo 2009-12-27 13:55:53 UTC
Making all in sendto
make[2]: Entering directory `/var/tmp/portage/net-wireless/gnome-bluetooth-2.28.6/work/gnome-bluetooth-2.28.6/sendto'
  CC     main.o
main.c: In function 'set_response_visible':
main.c:198: warning: implicit declaration of function 'gtk_widget_set_visible'
main.c:198: warning: nested extern declaration of 'gtk_widget_set_visible'
  CCLD   bluetooth-sendto
main.o: In function `set_response_visible':
main.c:(.text+0x89): undefined reference to `gtk_widget_set_visible'
collect2: ld returned 1 exit status
make[2]: *** [bluetooth-sendto] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-wireless/gnome-bluetooth-2.28.6/work/gnome-bluetooth-2.28.6/sendto'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/gnome-bluetooth-2.28.6/work/gnome-bluetooth-2.28.6'
make: *** [all] Error 2
 * 
 * ERROR: net-wireless/gnome-bluetooth-2.28.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 1476:  Called gnome2_src_compile
 *             environment, line 1237:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 * 
 * 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/net-wireless/gnome-bluetooth-2.28.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/gnome-bluetooth-2.28.6/temp/environment'.
 * 



Reproducible: Always
Comment 1 Michele Schiavo 2009-12-27 13:57:51 UTC
emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 27 Dec 2009 12:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -mtune=core2 -march=core2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg_ collision-protect distcc distlocks fixpackages maketest parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.iso885915@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it it_IT en en_US en_GB es es_ES"
MAKEOPTS="-j6"
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/uzz /usr/local/portage/layman/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 64bit X X509 a52 aac aalib acl acpi aiglx aim alsa amd64 amr amrnb amrwb apache2 apm applet audiofile avi bash-completion beagle berkdb bidi bitmap-fonts bittorrent bluetooth bonobo branding browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgi chroot cli config-file consolekit cracklib crypt css ctype cups curl cxx dbus dc1394 deskbar divx djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi dynamic eds em emboss emovix empathy enca encode esd ethereal evo evolution exif expat extras faillog fame fbsplash ffmpeg firefox flac flash fontconfig foomaticdb fortran fping freetds freetype ftp fts3 gaim gcc4 gd gdbm gdm gedit gencertdaily geoip gif gimp gimpprint glitz glut gmail gmedia gmp gmplayer gno gnome gnome-keyring gnutls gpac gphoto2 gpm gsf gsm gstreamer gtk gtk2 gtkhtml guile h323 hal hash hddtemp hdri howl iconv id3tag idea idn ieee1394 imagemagick imap imlib inotify ipod isdnlog ithreads java jpeg jpeg2k kerberos lame lcms libcaca libclamav libedit libffi libnotify libwww live lm_sensors logrotate logwatch lzo lzw lzw-tiff mad maildir maildrop matroska md5sum mhash midi mikmod mime ming mjpeg mmx mmxext mng modules mono motif mozilla mozsvg mp2 mp3 mp4 mpeg mplayer mpm-prefork msn mudflap multilib musepack musicbrainz mysql nautilus ncurses nemesei network networking new-login nfs ng nls nntp nptl nptlonly nsplugin nvidia obex offensive ogg oggvorbis openal opengl openmp opensslcrypt optimisememory pam pcre pdf pdflib perl php pidgin pipechan png pnm policykit pop posix ppds pppd prediction pulseaudio python qmail qt3support quicktime quotas radio raw readline realmedia recode reflection regex remote rtc samba scanner sdl sensord server session simplexml sip skins slang smp sms sndfile sni sound sox spamassassin speex spell spl sqlite srt sse sse2 sse3 ssl ssse2 ssse3 startup-notification stream subtitles svg symlink sysfs syslog tcltk tcpd teletext templates tetex theora threads threadsafe thunar tiff tivo toolbar tools truetype truetype-fonts twolame type1-fonts udev unicode usb userlocales v4l v4l2 vcd vhosts vim-syntax vlm vorbis wav wavpack wifi wmf wmp wxgtk1 wxwindows x264 xanim xattr xcb xcomposite xml xml2 xmlreader xmlwriter xmp xorg xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0 usb-audio" 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 auth_digest authn_anon authn_dbd  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 dbd deflate dir disk_cache env  expires ext_filter file_cache filter headers ident imagemap  include info log_config logio mem_cache mime mime_magic  negotiation proxy proxy_ajp proxy_balancer proxy_connect  proxy_http rewrite setenvif so speling status unique_id userdir  usertrack vhost_alias" CAMERAS="spca50x" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="it it_IT en en_US en_GB es es_ES" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-12-27 14:26:56 UTC
Please attach full build.log.
Comment 3 Michele Schiavo 2009-12-27 14:37:54 UTC
Created attachment 214306 [details]
build.log
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-27 15:19:36 UTC
(In reply to comment #3)
> Created an attachment (id=214306) [details]
> build.log
> 

Thanks
Comment 5 morgan wahl 2009-12-27 17:36:47 UTC
according to http://library.gnome.org/devel/gtk/unstable/GtkWidget.html gtk_widget_set_visible didn't appear until gtk+ 2.18. Shouldn't gnome-bluetooth-2.28.6 depend on gtk+ >= 2.18 (i believe it's currently just 2.15)?
Comment 6 shinydoofy 2009-12-28 03:46:03 UTC
It seems Morgan is right. I had the same issue and updating gtk+ to 2.18.5 fixed it for me.
Comment 7 Romain Perier (RETIRED) gentoo-dev 2009-12-28 11:50:15 UTC
(In reply to comment #5)
> according to http://library.gnome.org/devel/gtk/unstable/GtkWidget.html
> gtk_widget_set_visible didn't appear until gtk+ 2.18. Shouldn't
> gnome-bluetooth-2.28.6 depend on gtk+ >= 2.18 (i believe it's currently just
> 2.15)?
> 

You're totally right, this function is available since gtk+-2.18, so we've two alternatives: 
- change the dependency to depend on at least gtk+-2.18
- write a patch using [1], in order to adapt the call dynamically

1. http://library.gnome.org/devel/gtk/unstable/gtk-Feature-Test-Macros.html
Comment 8 Romain Perier (RETIRED) gentoo-dev 2009-12-28 11:58:41 UTC
We could also use the "visible" property... or simulate the gtk_widget_set_visible() using gtk_widget_show()... in fact we've many possibilities
Comment 9 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-28 13:36:05 UTC
I'm in favour of just upping the dep in the ebuild. The master branch of gnome-bluetooth has the proper gtk+ deps, and there's no point getting it fixed for 2.28* when there won't be any more releases for 2.28
Comment 10 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-28 13:40:46 UTC
Another reason to not patch: There are no patches right now (the ebuild looks clean :p), and 2.18 is the corresponding gtk+ release to go with 2.28 gnome release.

Deps upped, comment added, thanks for reporting
Comment 11 Romain Perier (RETIRED) gentoo-dev 2009-12-28 16:35:21 UTC
(In reply to comment #10)
> Another reason to not patch: There are no patches right now (the ebuild looks
> clean :p), and 2.18 is the corresponding gtk+ release to go with 2.28 gnome
> release.

Yup, but why restrict a dependency just for that ? the patch is pretty simple to write, and probably there are no other problematic function (probably this is the only one...).

Sorry but I call that a quick and dirty fix ^^
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-12-28 20:18:13 UTC
(In reply to comment #11)
> Sorry but I call that a quick and dirty fix ^^

It's a better long-term fix. Adding #ifdefs for trivial things will just get forgotten over time and will just bit-rot.

And since gnome-bluetooth is bound to be closely tied to the rest of Gnome, the eventual inconvenience to users is quite small.

Cheers
Comment 13 Romain Perier (RETIRED) gentoo-dev 2009-12-29 09:54:31 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > Sorry but I call that a quick and dirty fix ^^
> 
> It's a better long-term fix. Adding #ifdefs for trivial things will just get
> forgotten over time and will just bit-rot.

gtk_widget_show() (or equivalent) is backward compatible, so theorically there are no problem :) (and we can apply this stuff unconditionnally)

> And since gnome-bluetooth is bound to be closely tied to the rest of Gnome, the
> eventual inconvenience to users is quite small.

you've a point :P