Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73384 - net-wireless/kdebluetooth-0.0.20041107 compiles and runs on amd64
Summary: net-wireless/kdebluetooth-0.0.20041107 compiles and runs on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 62016 77913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-04 13:44 UTC by tmw
Modified: 2005-04-14 06:53 UTC (History)
2 users (show)

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


Attachments
kdebluetooth-0.0.20041107.ebuild (kdebluetooth-0.0.20041107.ebuild,1.21 KB, text/plain)
2005-02-01 16:21 UTC, Carlos Silva (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tmw 2004-12-04 13:44:35 UTC
net-wireless/kdebluetooth-0.0.20041107 compiles on amd64 and works with my sony ericsson t68i.
Maybe add "~amd64" to the KEYWORDS.

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

Actual Results:  
 


Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, 
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1tmw x86_64) 
================================================================= 
System uname: 2.6.9-gentoo-r1tmw x86_64 AMD Athlon(tm) 64 Processor 3500+ 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-march=opteron -O3 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=opteron -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" 
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ 
http://ftp.heanet.ie/pub/gentoo/ 
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 
http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acl acpi aim alsa amd64 apache2 apm arts atlas audiofile avi 
berkdb bitmap-fonts bonobo bzlib calendars canna cdb cdr cjk crypt ctype cups 
curl dedicated dga dio directfb divx4linux dvd dvdr encode esd ethereal evo 
f77fam fastcgi fbcon fftw flac flash foomaticdb fortran freewnn ftp gb gdbm 
gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap 
imlib ipv6 jabber jack java jikes jp2 jpeg kde kerberos ladcca lcms lesstif 
libedit libwww lzw lzw-tiff mad maildir mbox mcal mikmod ming motif mozilla 
mpeg msn multilib nas ncurses netcdf nls nocd offensive oggvorbis opengl oscar 
oss pam pcre pdflib perl php pic pie plotutils png pnp ppds python qt 
quicktime readline samba sdl shared simplexml slang slp snmp soap sockets 
speex spell spl ssl sysvipc tcltk tcpd tetex tgnutls theora tiff truetype 
unicode usb userlocales v4l videos wmf wxwindows xface xinerama xml xml2 xmms 
xosd xpm xrandr xv xvid yahoo zlib"
Comment 1 Brian O'Reilly 2004-12-08 18:52:46 UTC
I manually unmasked this package on amd64, and it failed to compile when ld 
threw a 'bad symbol' error:

/bin/sh ../../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o kbtobexclient -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib64 -L/usr/kde/3.3/lib -L/usr/qt/3/lib -L/usr/X11R6/lib64 main.o sender.o fileiconview.o diroperator.o fileview.o dndfileview.o mainwindow.o ../../kdebluetooth/kbluetoothd/libkbluetoothd/libkbluetoothd.la ../../kdebluetooth/libkbluetooth/libkbluetooth.la ../../kdebluetooth/libkobex/libkobex.la -lkio -lkdeui -L/usr/lib -lbluetooth -lsdp
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../../kdebluetooth/libkobex/.libs/libkobex.a(obex_main.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
../../kdebluetooth/libkobex/.libs/libkobex.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [kbtobexclient] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20041107/work/kdebluetooth-0.0.20041107/kdebluetooth/kbtobexclient'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20041107/work/kdebluetooth-0.0.20041107/kdebluetooth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20041107/work/kdebluetooth-0.0.20041107'
make: *** [all] Error 2

!!! ERROR: net-wireless/kdebluetooth-0.0.20041107 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

------------------------

Portage 2.0.51-r8 (gcc34-amd64-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  7 2004, 15:10:38)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups dvd encode f77 foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jabber jack jpeg kde ldap libg++ libwww maildir mikmod motif mozilla mpeg multilib ncurses nls oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype xine xml2 xmms xv zlib"

Comment 2 tmw 2004-12-12 02:06:53 UTC
It seemed to work for me.  I have "dev-libs/openobex  ~amd64" in my /etc/portage/package.keywords, but apart from a few other things (that shouldnt matter), I am running amd64 not ~amd64.  This is the only thing I can think of.
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2005-01-04 13:56:19 UTC
*** Bug 62016 has been marked as a duplicate of this bug. ***
Comment 4 Simone Gotti (RETIRED) gentoo-dev 2005-01-14 00:20:13 UTC
*** Bug 77913 has been marked as a duplicate of this bug. ***
Comment 5 Carlos Silva (RETIRED) gentoo-dev 2005-02-01 16:11:33 UTC
i can confirm this. but it just compiles fine if openobex is version 1.0.0. with version 1.0.1 it breaks the compilation.
(see bug #80400)
Comment 6 Carlos Silva (RETIRED) gentoo-dev 2005-02-01 16:21:30 UTC
Created attachment 50183 [details]
kdebluetooth-0.0.20041107.ebuild

i added the ~amd64 keyword and updated the info in post_install to show the
correct location of kbluepin (it changed)
Comment 7 Carlos Silva (RETIRED) gentoo-dev 2005-04-14 06:53:43 UTC
In CVS now, thanks for reporting/posting.