Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187786 - app-pda/libsyncml-0.4.4 with USE="bluetooth obex" compile error
Summary: app-pda/libsyncml-0.4.4 with USE="bluetooth obex" compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-05 08:15 UTC by Leonard Penzer
Modified: 2007-09-22 12:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Penzer 2007-08-05 08:15:08 UTC
When I try to emerge libsyncml with bluetooth and obex, I get the following compile error. Without obex and bluetooth, it will emergre successfully. 

I also tried with 0.4.3 and 0.4.2. Perhaps there is a further dependency not resolved yet.


Reproducible: Always

Steps to Reproduce:
1.Set USE to have bluetooth and obex
2.ACCEPT_KEYWORDS="~x86" emerge libsyncml


Actual Results:  
Compile errror

Expected Results:  
Clean compile

bigblue ~ # ACCEPT_KEYWORDS="~x86" emerge libsyncml -va

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-pda/libsyncml-0.4.4  USE="bluetooth* http obex* -debug -doc" 362 kB

[...]
Making all in transports
make[3]: Entering directory `/mnt/media/var-tmp-portage/portage/app-pda/libsyncml-0.4.4/work/libsyncml-0.4.4/libsyncml/transports'
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..    -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../.. -Wall -Werror -march=pentium3 -O2 -pipe -MT libobex_client_la-obex_client.lo -MD -MP -MF ".deps/libobex_client_la-obex_client.Tpo" -c -o libobex_client_la-obex_client.lo `test -f 'obex_client.c' || echo './'`obex_client.c; \
        then mv -f ".deps/libobex_client_la-obex_client.Tpo" ".deps/libobex_client_la-obex_client.Plo"; else rm -f ".deps/libobex_client_la-obex_client.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../.. -Wall -Werror -march=pentium3 -O2 -pipe -MT libobex_client_la-obex_client.lo -MD -MP -MF .deps/libobex_client_la-obex_client.Tpo -c obex_client.c  -fPIC -DPIC -o .libs/libobex_client_la-obex_client.o
obex_client.c: In function 'smlTransportObexClientInit':
obex_client.c:236: error: 'OBEX_TRANS_USB' undeclared (first use in this function)
obex_client.c:236: error: (Each undeclared identifier is reported only once
obex_client.c:236: error: for each function it appears in.)
obex_client.c: In function 'smlTransportObexClientConnect':
obex_client.c:294: error: 'obex_interface_t' undeclared (first use in this function)
obex_client.c:294: error: 'obex_intf' undeclared (first use in this function)
cc1: warnings being treated as errors
obex_client.c:329: warning: implicit declaration of function 'OBEX_FindInterfaces'
obex_client.c:339: warning: implicit declaration of function 'OBEX_InterfaceConnect'
distcc[1680] ERROR: compile obex_client.c on localhost failed
make[3]: *** [libobex_client_la-obex_client.lo] Error 1
make[3]: Leaving directory `/mnt/media/var-tmp-portage/portage/app-pda/libsyncml-0.4.4/work/libsyncml-0.4.4/libsyncml/transports'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/media/var-tmp-portage/portage/app-pda/libsyncml-0.4.4/work/libsyncml-0.4.4/libsyncml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/media/var-tmp-portage/portage/app-pda/libsyncml-0.4.4/work/libsyncml-0.4.4'
make: *** [all] Error 2

!!! ERROR: app-pda/libsyncml-0.4.4 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  libsyncml-0.4.4.ebuild, line 64:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/mnt/media/var-tmp-portage/portage/app-pda/libsyncml-0.4.4/temp/build.log'.

bigblue ~ #
Comment 1 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-08-05 14:12:23 UTC
Looks like missing obex.h, but you have openobex installed, right? Try w/o distcc.
Comment 2 Leonard Penzer 2007-09-12 21:30:34 UTC
Also without distcc, I get the same error. obex_const.h has the needed macros, which is included by obex.h. It seems that obex.h is not included.
Comment 3 Leonard Penzer 2007-09-22 12:38:42 UTC
A old version of openobex was installed in /usr/local/ - so this error was never related to gentoo/portage. Sorry.