Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544446 - net-wireless/bluez-5.29: app-office/libreoffice failed to emerge with USE=bluetooth
Summary: net-wireless/bluez-5.29: app-office/libreoffice failed to emerge with USE=blu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL: http://comments.gmane.org/gmane.linux...
Whiteboard:
Keywords:
: 544982 545434 545452 545538 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-25 11:03 UTC by Leonid Kopylov
Modified: 2015-04-07 18:42 UTC (History)
6 users (show)

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


Attachments
build.log.tar.bz2 (build.log.tar.bz2,332.59 KB, application/x-tar)
2015-03-25 11:03 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2015-03-25 11:03:18 UTC
# emerge -pqv '=app-office/libreoffice-4.4.1.2::gentoo'
[ebuild   R   ] app-office/libreoffice-4.4.1.2  USE="bluetooth* branding cups dbus eds gnome gstreamer gtk gtk3 java kde mysql postgres telepathy vlc (-aqua) -coinmp -collada -debug (-firebird) -gltf -jemalloc -odk {-test}" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4"

# emerge --info '=app-office/libreoffice-4.4.1.2::gentoo'
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.2, glibc-2.20-r2, 3.19.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.19.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     4051420 total,   3391508 free
KiB Swap:    4194300 total,   4174680 free
Timestamp of repository gentoo: Wed, 25 Mar 2015 02:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X accessibility acl alsa amd64 anacron autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cli client cracklib crypt cryptsetup cups cxx dbus declarative dri eds egl equalizer examples experimental fax fortran gcj gd gdbm geoip gles2 gmp gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gtk3 gudev iconv icu idn introspection ipv6 java jpeg kde kdepim libav libkms libsamplerate libsecret lirc math mdnsresponder-compat minizip mmx mmxext mng modules mongo mp3 mysql ncurses nls nptl ntp ogg opengl openmp openntpd pam pcap pcre perl playlist png policykit postgres pulseaudio python qt3support qt4 readline realtime samba sasl scanner script session smi source spell sql sqlite sse sse2 ssl svg symlink systemd tcpd telepathy theora tk tools tracker udev udisks unicode upnp-av utils vala vim-pager vim-syntax vlc vorbis webkit wininst xa xkb xmp zeroconf zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 mmx popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 mmxext" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="en he ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="vmware" 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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-4.4.1.2::gentoo was built with the following:
USE="branding cups dbus eds gnome gstreamer gtk gtk3 java kde mysql postgres telepathy vlc (-aqua) -bluetooth -coinmp -collada -debug (-firebird) -gltf -jemalloc -odk -test" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4"

!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-7  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-7.2.5.3"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
Comment 1 Leonid Kopylov 2015-03-25 11:03:52 UTC
Created attachment 399720 [details]
build.log.tar.bz2
Comment 2 Rafał Mużyło 2015-03-26 05:39:55 UTC
In file included from /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/sd/source/ui/remotecontrol/BluetoothServer.cxx:27:0:
/usr/include/bluetooth/bluetooth.h: In function ‘void bswap_128(const void*, void*)’:
/usr/include/bluetooth/bluetooth.h:348:21: error: invalid conversion from ‘const void*’ to ‘const uint8_t* {aka const unsigned char*}’ [-fpermissive]
  const uint8_t *s = src;
                     ^
/usr/include/bluetooth/bluetooth.h:349:15: error: invalid conversion from ‘void*’ to ‘uint8_t* {aka unsigned char*}’ [-fpermissive]
  uint8_t *d = dst;
               ^

For completeness sake, which version of net-wireless/bluez is installed ?
Comment 3 Leonid Kopylov 2015-03-26 05:42:29 UTC
# emerge net-wireless/bluez -pvq
[ebuild   R   ] net-wireless/bluez-5.29  USE="cups obex readline systemd udev -debug (-selinux) {-test}"
Comment 4 Billy DeVincentis 2015-03-26 18:10:03 UTC
Getting the same here

n file included from /var/tmp/portage/app-office/libreoffice-4.4.1.2/work/libreoffice-4.4.1.2/sd/source/ui/remotecontrol/BluetoothServer.cxx:27:0:
/usr/include/bluetooth/bluetooth.h: In function ‘void bswap_128(const void*, void*)’:
/usr/include/bluetooth/bluetooth.h:348:21: error: invalid conversion from ‘const void*’ to ‘const uint8_t* {aka const unsigned char*}’ [-fpermissive]
  const uint8_t *s = src;
                     ^
/usr/include/bluetooth/bluetooth.h:349:15: error: invalid conversion from ‘void*’ to ‘uint8_t* {aka unsigned char*}’ [-fpermissive]
  uint8_t *d = dst;
Comment 5 Rafał Mużyło 2015-03-26 23:03:14 UTC
OK, looking at git history, this is caused by a change in bluez-5.29.

This problem needs to be reported upstream...somehow (bluez doesn't seem seem to have its own bugzilla, maybe it's list only).
Comment 6 crabbed halo ablution 2015-04-01 06:53:06 UTC
Link to git commit (same as Pacho's but raw patch on page is wgettable):
https://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=3d9fc0e100ed5d2c9151da6bc55381aeafd2fce8
Comment 7 Pacho Ramos gentoo-dev 2015-04-04 11:19:55 UTC
+*bluez-5.30 (04 Apr 2015)
+
+  04 Apr 2015; Pacho Ramos <pacho@gentoo.org> +bluez-5.30.ebuild,
+  -bluez-5.29.ebuild, files/bluez-udevadm-path.patch:
+  Version bump (this will also fix bug #544446 by Leonid Kopylov and others),
+  fix udev rules (#544600 by Uros), drop old version with this problems.
+
Comment 8 Konstantin (elxa) 2015-04-04 15:22:33 UTC
I guess #545452 and #545514 can be closed, too.
Comment 9 Pacho Ramos gentoo-dev 2015-04-05 12:27:52 UTC
*** Bug 545452 has been marked as a duplicate of this bug. ***
Comment 10 Pacho Ramos gentoo-dev 2015-04-05 12:29:09 UTC
*** Bug 544982 has been marked as a duplicate of this bug. ***
Comment 11 Pacho Ramos gentoo-dev 2015-04-05 12:29:20 UTC
*** Bug 545538 has been marked as a duplicate of this bug. ***
Comment 12 Jason Zaman gentoo-dev 2015-04-07 18:42:43 UTC
*** Bug 545434 has been marked as a duplicate of this bug. ***