FS#35494 - [openobex] missing files in staging version

Attached to Project: Arch Linux
Opened by Sergej Pupykin (sergej) - Monday, 27 May 2013, 10:35 GMT
Last edited by Eric Belanger (Snowman) - Monday, 27 May 2013, 18:00 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I think to do openobex-1.7 rebuild you need to add into package

apps/lib/libopenobex-apps-common.a
apps/lib/*.h

to avoid patching each packages that depends on openobex and uses these functions.
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 27 May 2013, 18:00 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Monday, 27 May 2013, 15:39 GMT
What packages require these files?
Comment by Sergej Pupykin (sergej) - Monday, 27 May 2013, 15:41 GMT
At least my ussp-push
Comment by Eric Belanger (Snowman) - Monday, 27 May 2013, 16:57 GMT
It looks like it's not compatible with this version of openobex. There is no mention of missing files in the error message:

gcc -I/usr/include/libusb-1.0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o ussp-push obex_main.o obex_sdp.o obex_socket.o -lopenobex -lbluetooth
obex_main.o: In function `obex_push':
obex_main.c:(.text+0x955): undefined reference to `OBEX_CharToUnicode'
collect2: error: ld returned 1 exit status

It will probably need to be patched. You could make a openobex packages with these files and see if it works.
Comment by Sergej Pupykin (sergej) - Monday, 27 May 2013, 17:21 GMT
openobex 1.7 moves OBEX_CharToUnicode to .a file

I can copy-paste this function from openobex-1.7/apps/lib/... but I think probably other packages will need the same.

Loading...