Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436236 - net-wireless/gnome-bluetooth-3.4.2-r1 compilation fails: bluetooth-client-glue.c:4397:10: error: field 'lock' has incomplete type
Summary: net-wireless/gnome-bluetooth-3.4.2-r1 compilation fails: bluetooth-client-glu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 18:29 UTC by Sasha Medvedev
Modified: 2015-11-14 09:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sasha Medvedev 2012-09-25 18:29:14 UTC
The compilation of net-wireless/gnome-bluetooth-3.4.2-r1
fails with the following messages:

bluetooth-client-glue.c: At top level:
bluetooth-client-glue.c:4397:10: error: field 'lock' has incomplete type
bluetooth-client-glue.c: In function '_device_on_signal_property_changed':
bluetooth-client-glue.c:4597:15: warning: assignment makes pointer from integer without a cast [enabled by default]
bluetooth-client-glue.c: In function 'device_skeleton_init':
bluetooth-client-glue.c:4634:27: warning: assignment makes pointer from integer without a cast [enabled by default]
make[4]: *** [bluetooth-client-glue.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/tmp/portage/net-wireless/gnome-bluetooth-3.4.2-r1/work/gnome-bluetooth-3.4.2/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/portage/net-wireless/gnome-bluetooth-3.4.2-r1/work/gnome-bluetooth-3.4.2/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/portage/net-wireless/gnome-bluetooth-3.4.2-r1/work/gnome-bluetooth-3.4.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/net-wireless/gnome-bluetooth-3.4.2-r1/work/gnome-bluetooth-3.4.2'
make: *** [all] Error 2


Reproducible: Always




Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.5.4-gentoo-V1 x86_64)
=================================================================
System uname: Linux-3.5.4-gentoo-V1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Tue, 25 Sep 2012 16:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sage-on-gentoo sunrise elementary LocalPortage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe --param l2-cache-size=3072 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/chromium-browser/chromium-launcher.sh /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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 /usr/share/X11/xkb"
CXXFLAGS="-O2 -march=core2 -pipe --param l2-cache-size=3072 -fomit-frame-pointer"
DISTDIR="/home/sasha/tmp/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/home/sasha/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata/cache/*"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sage-on-gentoo /var/lib/layman/sunrise /var/lib/layman/elementary /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cli consolekit cracklib crypt cuda cups cxx dbus djvu dri dts dvd dvdr dvi encode exif fam fbcon ffmpeg fftw flac fontconfig fortran g3dvl gallium gdbm gif gpm gtk iconv idn imap ipv6 jbig jpeg jpeg2k kpathsea latex lcms libnotify mac mad mmx mmxext modules mp3 mp4 mudflap multilib ncurses nls nptl ogg opengl openmp openvg pam pango pdf png policykit pppd profile qt3support readline sbcl scanner session smp spell sse sse2 sse3 ssl startup-notificaion svg system-sqlite t1lib tcpd theora threads thunar tiff truetype udev unicode usb vdpau vorbis wavpack x264 xa xcb xcomposite xinerama xmp xv xvid zlib zsh-completion" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby19" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-25 19:31:44 UTC
What versions of dev-libs/glib and dev-util/gdbus-codegen are you using?
Comment 2 Sasha Medvedev 2012-09-27 08:39:24 UTC
I used stable 2.30 version of dev-libs/glib and dev-util/gdbus-codegen.
After switching to 2.32 version of these libraries everything is OK.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-27 20:20:35 UTC
Thanks, I've fixed the problem in cvs by forcing bluetooth-client-glue.c to be regenerated with the currently installed version of gdbus-codegen.

>  27 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  gnome-bluetooth-2.32.0.ebuild, gnome-bluetooth-2.32.0-r1.ebuild,
>  gnome-bluetooth-3.2.2.ebuild, gnome-bluetooth-3.4.2.ebuild,
>  gnome-bluetooth-3.4.2-r1.ebuild:
>  Fix building with older glib (bug #436236, thanks to Sasha Medvedev). Update
>  license. Inherit user.eclass.