| Summary: | app-mobilephone/obexftp-0.23-r1 fails to build ruby bindings | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter Volkov (RETIRED) <pva> |
| Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | f95.lupo, mobile+disabled |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | mkmf.log | ||
|
Description
Peter Volkov (RETIRED)
2009-07-08 15:08:02 UTC
Created attachment 197190 [details]
mkmf.log
I'm unsure what's going on here, but looks like Makefile.ruby is not generated because of "obex libs not found" error. Explanation of this error is in attachment and highlighted below:
find_library: checking for obexftp_open() in -lobexftp... -------------------- no
"i686-pc-linux-gnu-gcc -o conftest -I. -I/usr/lib/ruby/1.8/i686-linux -I. -I../.. -D_FILE_OFFSET_BITS=64 -O2 -mtune=pentium-m -march=pentium-m -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib -Wl,-R/usr/lib -L. -Wl,--as-needed,-O1,--hash-style=gnu,--sort-common -rdynamic -Wl,-export-dynamic -lmulticobex -lbfb -lopenobex -lruby18-static -lobexftp -lmulticobex -lbfb -lopenobex -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function 't':
conftest.c:3: error: 'obexftp_open' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))obexftp_open; return 0; }
/* end */
libbluetooth.so.2 does not exist and libobexftp.so needs it. See if revdep-rebuild fixes your problem. (In reply to comment #2) > libbluetooth.so.2 does not exist and libobexftp.so needs it. > > See if revdep-rebuild fixes your problem. Well, currently revdep-rebuild shows only [cut] * All prepared. Starting rebuild emerge --oneshot app-mobilephone/obexftp:0 .......... Calculating dependencies... done! [cut] and obextftp fails with the error. What compiler do you have? Is it possible that gcc-4.3.x triggers this problem? Ah, now I remember... Technically, this bug is a duplicate of #244881. At that moment I thought I've fixed it by applying ruby-libpath.patch, but flameeyes replaced it with fixruby.patch (see #273736). I'll let him deal with this mess. USE="-ruby" and it compiles w/o any problems. ping? I just verified if this bug is still present, but I had no problem compiling obexftp with the ruby bindings. If people still have problems please reopen the bug and provide information. |