Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63743 - emerge multisync fails
Summary: emerge multisync fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest normal
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-11 22:17 UTC by Aristotle Allen
Modified: 2004-10-02 00:54 UTC (History)
2 users (show)

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


Attachments
My make.conf (make.conf,1023 bytes, text/plain)
2004-09-13 17:19 UTC, Aristotle Allen
Details
possible patch (email-txt,5.89 KB, patch)
2004-09-14 07:16 UTC, Aristotle Allen
Details | Diff
bluez 2.10 and multisync 0.82 (multisync-0.82-bluetooth-sdp.patch,1.09 KB, patch)
2004-09-26 07:46 UTC, Qui Gon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aristotle Allen 2004-09-11 22:17:21 UTC
I am trying to re-emerge multisync with bluetooth support.  I have bluetooth setup correctly, and I have been able to transfer files from my phone to my laptop to verify this.  When I try to emerge multisync it fails, here is the tail end of the emerge

/bin/sh ../libtool --mode=link gcc -DPLUGINDIR=\"/usr/lib/multisync\" -O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse,387 -ffast-math   -o libirmc_bluetooth.la -rpath /usr/lib/multisync  irmc_bluetooth.lo -lbluetooth -lsdp -lpthread -lpthread -lopenobex  -lglib-2.0
../libtool: line 3972: test: : integer expression expected
../libtool: line 3972: test: : integer expression expected
creating reloadable object files...
creating a temporary reloadable object file: .libs/libirmc_bluetooth.la-1.o
/usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libirmc_bluetooth.la-1.o .libs/irmc_bluetooth.o
gcc -shared .libs/libirmc_bluetooth.la-1.o  /usr/lib/libbluetooth.so -lsdp -lpthread /usr/lib/libopenobex.so /usr/lib/libglib-2.0.so  -march=pentium4 -mmmx -msse -mfpmath=sse,387 -Wl,-soname -Wl,libirmc_bluetooth.so.0 -o .libs/libirmc_bluetooth.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsdp
collect2: ld returned 1 exit status
make[3]: *** [libirmc_bluetooth.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/multisync-0.82/work/multisync-0.82/plugins/irmc_sync/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/multisync-0.82/work/multisync-0.82/plugins/irmc_sync/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/multisync-0.82/work/multisync-0.82/plugins/irmc_sync'
make: *** [all] Error 2

!!! ERROR: app-pda/multisync-0.82 failed.
!!! Function src_compile, Line 73, Exitcode 2
!!! irmc_sync make failed!
Comment 1 Aristotle Allen 2004-09-13 17:19:24 UTC
Created attachment 39544 [details]
My make.conf
Comment 2 Aristotle Allen 2004-09-13 19:58:14 UTC
ok i think its because I dont have bluez/libsdp... but i cant emerge that now that blueooth is in the kernel(2.6.8.x) or it will break my bluetooth right?
Comment 3 Aristotle Allen 2004-09-14 07:16:34 UTC
Created attachment 39576 [details, diff]
possible patch

I'm not sure how to make this into a patch, but I beleive this attachement ahs
the fix in it.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-09-21 16:26:17 UTC
which version of multisync are you using?
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-09-21 16:26:46 UTC
actually, this is fixed in 0.82, bumping to stable x86.
Comment 6 Aristotle Allen 2004-09-21 16:45:06 UTC
Im already running ~x86, and trying to emerge 0.82, but it still get the problem
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2004-09-21 17:14:35 UTC
what version of bluez-libs and bluez-utils do you have?
Comment 8 Aristotle Allen 2004-09-22 05:28:39 UTC
monster ~ # emerge -p bluez-utils

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] net-wireless/bluez-utils-2.10-r1 [2.10]

monster ~ # emerge -p bluez-libs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-wireless/bluez-libs-2.10

monster ~ # uname -a
Linux monster 2.6.8.1 #2 SMP Fri Sep 10 23:20:31 EDT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
monster ~ # emerge -V
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1 i686)
monster ~ #
Comment 9 Qui Gon 2004-09-26 07:46:52 UTC
Created attachment 40451 [details, diff]
bluez 2.10 and multisync 0.82

I previously posted this patch in a bluez-bug, as this was a direct result of
updating to 2.10. In order to compile bluez 2.10 with multisync 0.82 the
sdp-replacement is mandatory.
Comment 10 Aristotle Allen 2004-09-28 06:10:53 UTC
ok that last comment was a bit above my head, I already have bluez-libs-2.10 and multisync still will not compile for me.

Comment 11 Aristotle Allen 2004-09-28 06:24:36 UTC
ok i got the patch applied... and it compiles... now to see if it works!!!

thanks
Comment 12 Aristotle Allen 2004-09-29 05:32:23 UTC
patch worked thanks
Comment 13 Henrik Brix Andersen 2004-10-01 16:05:27 UTC
Not fixed in CVS.
Comment 14 Henrik Brix Andersen 2004-10-01 16:07:49 UTC
Since net-wireless/bluez-libs-2.10 is marked ARCH this needs to be fixed ASAP.
Comment 15 Gustavo Felisberto (RETIRED) gentoo-dev 2004-10-01 16:16:41 UTC
emerge -pv bluez-libs
[ebuild   R   ] net-wireless/bluez-libs-2.10  0 kB [1]

emerge -pv multisync
[ebuild     U ] app-pda/multisync-0.82 [0.81-r1] +bluetooth* +evo +irmc -ldap -opie 0 kB [1]

emerge -v multisync
......
creating a temporary reloadable object file: .libs/libirmc_bluetooth.la-1.o
/usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libirmc_bluetooth.la-1.o .libs/irmc_bluetooth.o
gcc -shared .libs/libirmc_bluetooth.la-1.o  /usr/lib/libbluetooth.so -lsdp -lpthread /usr/lib/libopenobex.so /usr/lib/libglib-2.0.so  -march=pentium3 -Wl,-soname -Wl,libirmc_bluetooth.so.0 -o .libs/libirmc_bluetooth.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsdp

So sdp stuff is needed. I Do not know how bluetooth works. I was just doing a emerge -uv world and had added the bluetooth flag because i plan on using it soon.
Comment 16 Henrik Brix Andersen 2004-10-01 16:26:30 UTC
multisync-0.82/plugins/irmc_sync/src/Makefile.am contains a reference to -lsdp which the multisync-0.82-bluetooth-sdp.patch doesn't remove.
Comment 17 Gustavo Felisberto (RETIRED) gentoo-dev 2004-10-01 16:47:29 UTC
The patch in portage did not fix plugins/irmc_sync/src/Makefile.in . I added an extra patch for that (actually i used the patch here in this bug.)

This should be okay now.
Comment 18 Henrik Brix Andersen 2004-10-01 16:57:50 UTC
That's not the right fix. You need to patch Makefile.am since Makefile.in is generated from that.
Comment 19 Henrik Brix Andersen 2004-10-02 00:54:43 UTC
Ok. After talking to HumpBack on IRC he committed an updated patch. Closing as fixed.