Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 200039
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Parpart <trapni@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Leverton <levertond@googlemail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
capseo.patch ebuild patch patch David Leverton 2007-11-22 23:32 0000 508 bytes Details | Diff
capseo.patch better patch patch David Leverton 2007-11-24 12:01 0000 533 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 200039 depends on: Show dependency tree
Bug 200039 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-22 23:31 0000
When built on amd64 with the theora USE-flag, capseo needs a 32-bit copy of
libtheora.so:

/bin/sh ../libtool --mode=link g++ -ansi -pedantic -Wall -Wno-long-long
-Wno-unknown-pragmas  -DVERSION="\"0.2.0-dev\"" -DTHEORA=1 -march=athlon64
-msse3 -pipe -fomit-frame-pointer -O2 -DNDEBUG=1   -o cpsplay
../src/libcapseo.la  -lGL cpsplay.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libtheora.so when searching for
-ltheora
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libtheora.a when searching for
-ltheora
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libtheora.so when searching for -ltheora
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
skipping incompatible /usr/lib/libtheora.a when searching for -ltheora
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ltheora
collect2: ld returned 1 exit status
make[2]: *** [cpsrecode] Error 1

However, the library is not needed at runtime: libtheora is only used by the
cpsrecode tool, which is built for both 32-bit and 64-bit, but only the 64-bit
version is installed.  The best solution would be to prevent the tools from
being built for 32-bit in the first place, but that would require messing with
autotools, so it suffices not to build the 32-bit version with theora support.

------- Comment #1 From David Leverton 2007-11-22 23:32:22 0000 -------
Created an attachment (id=136724) [details]
ebuild patch

------- Comment #2 From David Leverton 2007-11-24 12:01:57 0000 -------
Created an attachment (id=136878) [details]
better patch

Better patch - use multilib.eclass functionality, and disable theora explicitly
instead of relying on that being the default.

------- Comment #3 From Christian Parpart 2008-05-05 09:40:12 0000 -------
thank you very much.

i've added your advice to capseo-0.3.0_pre200712251-r2 :)

Regards,
Christian Parpart.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug