Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38322

Summary: bluez-* ebuilds work okay on PPC
Product: Gentoo Linux Reporter: Jake Hamby <jhamby>
Component: New packagesAssignee: PPC Porters <ppc>
Status: VERIFIED TEST-REQUEST    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jake Hamby 2004-01-15 12:47:39 UTC
The bluez-* ebuilds are masked on PPC.  I've successfully built bluez-bluefw, bluez-hciemu, bluez-libs, bluez-pan, bluez-sdp, bluez-utils, openobex, and obexfp on Linux/ppc and everything seems to work properly (2.6.1-benh1 kernel, Belkin USB adapter, tested with Nokia 3650 phone). You could safely add ~ppc to KEYWORDS. However, building bluez-hcidump failed with this error:

gcc -Wall -g -O2 -o hcidump hcidump.o  parser/.libs/libparser.al -L/usr/lib /usr/lib/libbluetooth.so
parser/.libs/libparser.al(sdp.lo)(.text+0x448): In function `sdp_dump':
/var/tmp/portage/bluez-hcidump-1.5/work/bluez-hcidump-1.5/parser/parser.h:119: undefined reference to `get_unaligned'
parser/.libs/libparser.al(sdp.lo)(.text+0x6c4):/var/tmp/portage/bluez-hcidump-1.5/work/bluez-hcidump-1.5/parser/parser.h:119: undefined reference to `get_unaligned'
parser/.libs/libparser.al(sdp.lo)(.text+0x758):/var/tmp/portage/bluez-hcidump-1.5/work/bluez-hcidump-1.5/parser/parser.h:119: undefined reference to `get_unaligned'
parser/.libs/libparser.al(sdp.lo)(.text+0x780):/var/tmp/portage/bluez-hcidump-1.5/work/bluez-hcidump-1.5/parser/parser.h:119: undefined reference to `get_unaligned'
parser/.libs/libparser.al(sdp.lo)(.text+0x848):/var/tmp/portage/bluez-hcidump-1.5/work/bluez-hcidump-1.5/parser/parser.h:127: undefined reference to `get_unaligned'
parser/.libs/libparser.al(sdp.lo)(.text+0x940):/var/tmp/portage/bluez-hcidump-1.5/work/bluez-hcidump-1.5/parser/parser.h:127: more undefined references to `get_unaligned' follow
collect2: ld returned 1 exit status
make[1]: *** [hcidump] Error 1
make[1]: Leaving directory `/mnt/media/tmp/portage/bluez-hcidump-1.5/work/bluez-hcidump-1.5'
make: *** [all-recursive] Error 1

!!! ERROR: net-wireless/bluez-hcidump-1.5 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.50_pre16 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-benh1) 
================================================================= 
System uname: 2.6.1-benh1 ppc 7450, altivec supported 
Gentoo Base System version 1.4.3.12 
Autoconf: sys-devel/autoconf-2.59 
Automake: sys-devel/automake-1.7.8 
ACCEPT_KEYWORDS="ppc ~ppc" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" 
CHOST="powerpc-unknown-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /
usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/
config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /
var/bind /var/lib/pbbuttonsd /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache" 
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.oregonstate.edu/pub/
gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
USE="X Xaw3d aalib alsa altivec apache2 arts berkdb bidi crypt cups curl dga doc dvd dvdr emacs 
encode esd evo foomaticdb gb gd gdbm gif gnome gnome-libs gphoto2 gpm gtk gtk2 guile imap imlib 
innodb java jikes joystick jpeg junit kde ldap libwww mad mbox mcal memlimit mikmod mitshm motif 
mpeg mysql ncurses nls nocd oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppc ppds python 
qt quicktime readline samba sdl slang spell ssl tcltk tcpd tetex tiff truetype unicode usb videos xml 
xml2 xmms xv zlib video_cards_radeon"
Comment 1 David Holm (RETIRED) gentoo-dev 2004-02-15 05:02:25 UTC
Thanks for testing these. They have been added to ~ppc.
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2004-04-03 16:09:49 UTC
I can't test the bluez-stuff.  May anybody else do it?  Especially with the failed bluez-hcidump.
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-10-31 13:13:09 UTC
hcidump compiles.  Guess it needs some stable lovin'...
Comment 4 Lars Weiler (RETIRED) gentoo-dev 2005-01-09 02:23:20 UTC
Just closing.