Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423331 - net-wireless/bluez-4.101 - !!! newbin: apitest does not exist
Summary: net-wireless/bluez-4.101 - !!! newbin: apitest does not exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-06-24 15:49 UTC by Mike Callahan
Modified: 2012-06-30 11:10 UTC (History)
7 users (show)

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


Attachments
build log (net-wireless:bluez-4.101:20120624-153856.log,23.90 KB, text/plain)
2012-06-24 15:49 UTC, Mike Callahan
Details
emerge --info output (emerge.info,4.54 KB, text/plain)
2012-06-24 19:19 UTC, adr
Details
patch to remove abitest from bluez-4.101.ebuild (bluez-4.101.ebuild.patch,463 bytes, patch)
2012-06-29 15:52 UTC, Bruce Hill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Callahan 2012-06-24 15:49:38 UTC
Created attachment 316157 [details]
build log

emerge failes in install phase with:

 * ERROR: net-wireless/bluez-4.101 failed (install phase):
 *   !!! newbin: apitest does not exist
 *


# emerge --info =net-wireless/bluez-4.101
Portage 2.2.0_alpha112 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.4.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.4.3-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Sun, 24 Jun 2012 14:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sunrise local
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions admin alsa amd64 amr apache2 bash-completion berkdb blender-game bluetooth branding bzip2 cairo cdda cdinstall cdr cli clucene consolekit cracklib crypt cscope css cups cxx dbus declarative device-mapper dga dri dts dvd dvdr emboss encode exif extraengine extrafilters fam ffmpeg firefox flac fontconfig fortran fuse gcj gd gdbm geoip gif glib glibc-compat20 glitz gpm gtk highlight history iconv icu id3 imagemagick imlib inkjar innodb ipv6 ithreads java java6 javamail javascript jce jpeg jpeg2k kde kde4 kipi kvm lame lcms ldap libnotify lm_sensors lvm lzo mad mbox mjpeg mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib multiuser musepack musicbrainz mysql ncurses network nls nptl nsplugin ntfs nvidia obex offensive ogg openal openexr opengl openmp pam pango parted pcre pdf perl phonon php plasma png policykit postgres ppds pppd python qt3support qt4 quicktime rdesktop readline rtc ruby samba sdl session smp sms sndfile sound spell sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification statistics subversion svg swat syslog tcpd texteffect theora threads tiff tk truetype udev udisks unicode upower urandom usb userlocales vcd vdpau vim-pager vim-syntax vorbis webkit wma wmf wxwidgets x264 xanim xcb xcomposite xine xinerama xinetd xml xorg xosd xscreensaver xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="intel8x0" 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 auth_digest authn_dbd dbd ident imagemap proxy proxy_ajp proxy_balancer proxy_connect proxy_http" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="sony_dsct30 sony_dscf1 sony_dscf55" 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="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-4" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 adr 2012-06-24 19:19:11 UTC
Created attachment 316181 [details]
emerge --info output

--- /usr/portage/net-wireless/bluez/bluez-4.101.ebuild  2012-06-23 13:46:55.000000000 +0200
+++ /usr/local/portage/net-wireless/bluez/bluez-4.101.ebuild    2012-06-24 20:11:35.330868861 +0200
@@ -119,7 +119,7 @@
                dobin simple-agent simple-service monitor-bluetooth
                newbin list-devices list-bluetooth-devices
                rm test-textfile.{c,o} || die # bug #356529
-               for b in apitest hsmicro hsplay test-* ; do
+               for b in hsmicro hsplay test-* ; do
                        newbin "${b}" "bluez-${b}"
                done
                insinto /usr/share/doc/${PF}/test-services

Then it compiles.

For me this version doesn't work at all. Kernel modules are loaded, but the bluetooth dongle stays dead. No error logs either. I downgraded to the last working version 4.99.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-26 16:00:00 UTC
I don't think the patch is correct, since, apparently, the build system does create an `api-test' under certain circumstances.
Comment 3 adr 2012-06-26 19:31:29 UTC
(In reply to comment #2)
> I don't think the patch is correct, since, apparently, the build system does
> create an `api-test' under certain circumstances.

At least the "apitest" python script was removed from the "test" directory in the source package. There could be replacements in some way?
Comment 4 Robert Cabrera 2012-06-28 13:36:45 UTC
(In reply to comment #1)

> For me this version doesn't work at all. Kernel modules are loaded, but the
> bluetooth dongle stays dead. No error logs either. I downgraded to the last
> working version 4.99.

I've been having the same issue on my ~amd64 laptop. The issues was reported in bug 423513

The problem is that nothing is starting bluetoothd. 

I've struggled with this for days thinking this issue was related to the recent polkit upgrade and some sort of ownership / permission issue. But since the polkit issues now seem to have been resolved, I tried hunting down a solution.

The only way I seem to get bluetooth again running was to downgrade to 4.99

I hope the devs can get this sorted out soon.
Comment 5 Bruce Hill 2012-06-29 15:52:19 UTC
Created attachment 316621 [details, diff]
patch to remove abitest from bluez-4.101.ebuild
Comment 6 Bruce Hill 2012-06-29 15:59:52 UTC
Sorry I didn't properly get my comments attached with the patch. Here goes:

apitest was only compatible with bluez 3.x so it doesn't make sense to have it in any bluez 4.x release, so here's a patch

This does nothing to alleviate the error of upstream's decision to remove the udev activation of the bluetooth daemon here: http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;h=2ea98a6a043710ad4958355b62c682b4767f292e

We have bug 423513 addressing that; hopefully we can get systemd removed from udev for use in Gentoo because these types of issues will probably come up on many other pkgs.
Comment 7 Pacho Ramos gentoo-dev 2012-06-29 20:20:06 UTC
(In reply to comment #6)
> Sorry I didn't properly get my comments attached with the patch. Here goes:
> 
> apitest was only compatible with bluez 3.x so it doesn't make sense to have
> it in any bluez 4.x release, so here's a patch
> 

Where did you get that information about it being only compatible with bluez-3.x? Thanks for the info 

> This does nothing to alleviate the error of upstream's decision to remove
> the udev activation of the bluetooth daemon here:
> http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;
> h=2ea98a6a043710ad4958355b62c682b4767f292e
> 
> We have bug 423513 addressing that; hopefully we can get systemd removed
> from udev for use in Gentoo because these types of issues will probably come
> up on many other pkgs.
Comment 8 Bruce Hill 2012-06-29 20:34:32 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Sorry I didn't properly get my comments attached with the patch. Here goes:
> > 
> > apitest was only compatible with bluez 3.x so it doesn't make sense to have
> > it in any bluez 4.x release, so here's a patch
> > 
> 
> Where did you get that information about it being only compatible with
> bluez-3.x? Thanks for the info 
> 
> > This does nothing to alleviate the error of upstream's decision to remove
> > the udev activation of the bluetooth daemon here:
> > http://git.kernel.org/?p=bluetooth/bluez.git;a=commit;
> > h=2ea98a6a043710ad4958355b62c682b4767f292e
> > 
> > We have bug 423513 addressing that; hopefully we can get systemd removed
> > from udev for use in Gentoo because these types of issues will probably come
> > up on many other pkgs.

From Johan Hedberg. I think he's one of the bluez devs. I remembered him from the ml (I helped maintain bluez on my previous distro), and glad to see you just posted the question there. Johan told me about the udev issue, "if there's disagreement this should be taken to the linux-bluetooth mailing list." Told him I'm not a Gentoo dev or maintainer of bluez so I'd wait to discuss it with you. Now you've posted so we'll see what they say.
Comment 9 Pacho Ramos gentoo-dev 2012-06-30 11:10:28 UTC
+  30 Jun 2012; Pacho Ramos <pacho@gentoo.org> bluez-4.101.ebuild:
+  Apitest is no longer provided, bug #423331 by Mike Callahan and others.
+