Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132054 - STLport 5.x marked as ~ppc but it's unsupported realy
Summary: STLport 5.x marked as ~ppc but it's unsupported realy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 13:26 UTC by Marcin Kurek
Modified: 2007-01-08 22:31 UTC (History)
2 users (show)

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


Attachments
endianese detect fix (STLport-5.0.2-endianese.diff,1.10 KB, patch)
2006-06-26 16:33 UTC, Marcin Kurek
Details | Diff
ns fix (STLport-5.0.2-ns.patch,464 bytes, patch)
2006-06-26 16:36 UTC, Marcin Kurek
Details | Diff
ebuild with both patches (STLport-5.0.2.ebuild,1.68 KB, text/plain)
2006-06-26 16:37 UTC, Marcin Kurek
Details
openoffice build fails without the patch, not sure of the connection. (largefile-support.diff,740 bytes, patch)
2006-10-02 11:16 UTC, David Gurvich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kurek 2006-05-02 13:26:25 UTC
I see STLport 5.x is marked as ~ppc, but this version is completly not compatible without some patchings.

First broken thing is endianese detection in STLport/stlport/stl/_config.h it can be fixed by a simple patch, but there is also many other compilation failures later on. I try to fix that but I simply give up :(
Comment 1 Marcin Kurek 2006-05-13 05:58:24 UTC
Ping ?
Comment 2 David Gurvich 2006-06-16 08:15:21 UTC
The only version of STLport that I can install is 4.6.2 on ~ppc system.  I get the same can't determine endianness error.  
Comment 3 Marcin Kurek 2006-06-26 16:30:36 UTC
Ech ... this bug was enough time here now. I did a small investigation of this problem using STLport 5.0.2 and I was able to compile it on my machine.
Comment 4 Marcin Kurek 2006-06-26 16:33:21 UTC
Created attachment 90222 [details, diff]
endianese detect fix

This one solved endianese detection problems for me. I am not completly sure is endian.h header is present on all systems, but I belive it is for all archs supported by Gentoo ATM.
Comment 5 Marcin Kurek 2006-06-26 16:36:09 UTC
Created attachment 90223 [details, diff]
ns fix

This one fix

g++ -I. -I../stlport -DLIBCIO= -D_POSIX_SOURCE -D_SVID_SOURCE -D__null=0L -O2 -fPIC dll_main.cpp -c -o ../lib/obj/LINUX/ReleaseD/dll_main.o
../stlport/cstdlib:89: error:
Comment 6 Marcin Kurek 2006-06-26 16:36:09 UTC
Created attachment 90223 [details, diff]
ns fix

This one fix

g++ -I. -I../stlport -DLIBCIO= -D_POSIX_SOURCE -D_SVID_SOURCE -D__null=0L -O2 -fPIC dll_main.cpp -c -o ../lib/obj/LINUX/ReleaseD/dll_main.o
../stlport/cstdlib:89: error: ?__std_alias::llabs? has not been declared
../stlport/cstdlib:90: error: ?__std_alias::lldiv_t? has not been declared
../stlport/cstdlib:91: error: ?__std_alias::lldiv? has not been declared
../stlport/cstdlib: In function ?long long int abs(long long int)?:
../stlport/cstdlib:133: error: ?llabs? is not a member of ?__std_alias?
../stlport/cstdlib: In function ?lldiv_t div(long long int, long long int)?:
../stlport/cstdlib:134: error: ?lldiv? is not a member of ?__std_alias?

It seems llabs/lldiv aren't exported to std namespace at last not on my system (Glibc 2.4-r3 && GCC 4.1.1) Looking at cstdlib from my system gives me this solution. Not perfect, but working.
Comment 7 Marcin Kurek 2006-06-26 16:37:37 UTC
Created attachment 90224 [details]
ebuild with both patches
Comment 8 Tobias Scherbaum (RETIRED) gentoo-dev 2006-07-22 12:23:15 UTC
Adding maintainers.
Comment 9 David Gurvich 2006-10-02 11:16:39 UTC
Created attachment 98615 [details, diff]
openoffice build fails without the patch, not sure of the connection.

The sal portion of openoffice-2.0.4 fails with xml2cmp errors without patch.  From https://bugs.gentoo.org/146242 .
Comment 10 Hanno Zysik (geki) 2006-12-23 15:37:06 UTC
Just wondering if STLport-5.1.0 solves this issue?
See bug #158981 for ebuild.
Comment 11 Tiziano Müller (RETIRED) gentoo-dev 2006-12-23 17:11:52 UTC
Reassigning this bug to coordinate the keywording.
Ok, I've committed a version bump to 5.1.0 a couple of minutes ago and I dropped ~ppc and ~ppc64 for that reason.
Dear arch-team members: Please test this package on your platform and re-add your keywords when the unittests succeed. Thanks in advance!
Comment 12 Markus Rothe (RETIRED) gentoo-dev 2006-12-31 12:10:08 UTC
thanks! ~ppc64 added.
Comment 13 Joe Jezak (RETIRED) gentoo-dev 2007-01-08 22:31:41 UTC
Marked ~ppc and closing since we're the last arch team CC'd.

Thanks!