Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219457 - dev-libs/STLport-5.1.3 fails with gcc-4.3.0; bump and patch
Summary: dev-libs/STLport-5.1.3 fails with gcc-4.3.0; bump and patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on: 208539
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-27 13:23 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-30 18:59 UTC (History)
0 users

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


Attachments
STLport-5.1.3--5.1.5.ebuild.patch (STLport-5.1.3--5.1.5.ebuild.patch,2.34 KB, patch)
2008-04-27 13:31 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport-5.1.5-alpha.patch (STLport-5.1.5-alpha.patch,840 bytes, patch)
2008-04-27 13:33 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport-5.1.5-bashism.patch (STLport-5.1.5-bashism.patch,2.16 KB, patch)
2008-04-27 13:34 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport-5.1.5-cxx_use_c99.patch (STLport-5.1.5-cxx_use_c99.patch,1.35 KB, patch)
2008-04-27 13:36 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport-5.1.5-fix-warnings.patch (STLport-5.1.5-fix-warnings.patch,4.09 KB, patch)
2008-04-27 13:37 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport-5.1.5-gcc-4.3.patch (STLport-5.1.5-gcc-4.3.patch,1.07 KB, patch)
2008-04-27 13:38 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport-5.1.5-hppa.patch (STLport-5.1.5-hppa.patch,1.19 KB, patch)
2008-04-27 13:38 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport-5.1.5-portability-hack.patch (STLport-5.1.5-portability-hack.patch,693 bytes, patch)
2008-04-27 13:40 UTC, Peter Alfredsen (RETIRED)
Details | Diff
STLport.tar.bz2 (STLport.tar.bz2,4.96 KB, application/octet-stream)
2008-04-27 13:44 UTC, Peter Alfredsen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:23:51 UTC
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo i686-pc-linux-gnu-g++ (Gentoo 4.3.0 p1.0) 4.3.0 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | awk 'BEGIN { FS = "."; } { print $1; }''
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo i686-pc-linux-gnu-g++ (Gentoo 4.3.0 p1.0) 4.3.0 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | awk 'BEGIN { FS = "."; } { print $2; }''
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo i686-pc-linux-gnu-g++ (Gentoo 4.3.0 p1.0) 4.3.0 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | awk 'BEGIN { FS = "."; } { print $3; }''
make: Entering directory `/var/tmp/portage/dev-libs/STLport-5.1.3/work/STLport-5.1.3/build/lib'
In file included from ../../stlport/limits.h:27,
                 from ../../src/c_locale.c:23:
/usr/include/../include/limits.h:125:26: error: no include path in which to search for limits.h
In file included from ../../stlport/limits.h:27,
                 from ../../src/c_locale.c:23:
/usr/include/../include/limits.h:125:26: error: no include path in which to search for limits.h
In file included from ../../stlport/limits.h:27,
                 from ../../src/c_locale.c:23:
/usr/include/../include/limits.h:125:26: error: no include path in which to search for limits.h
cat: obj/gcc/so/c_locale.d: No such file or directory
cat: obj/gcc/so_g/c_locale.d: No such file or directory
cat: obj/gcc/so_stlg/c_locale.d: No such file or directory
make: *** [depend] Error 1
make: Leaving directory `/var/tmp/portage/dev-libs/STLport-5.1.3/work/STLport-5.1.3/build/lib'
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:27:17 UTC
The ebuild I'm about to attach passes all tests:
make: Leaving directory `/var/tmp/portage/dev-libs/STLport-5.1.5/work/STLport-5.1.5/build/test/unit'
AccumTest::accum1
AccumTest::accum2
AdjTest::adjfind0
AdjTest::adjfind1
AdjTest::adjfind2
AdjTest::adjdiff0
AdjTest::adjdiff1
AdjTest::adjdiff2
AdvanceTest::adv
AlgTest::min_max
AlgTest::count_test
AlgTest::sort_test
AlgTest::search_n_test
AlgTest::find_first_of_test
AlgTest::find_first_of_nsc_test
AllocatorTest::zero_allocation
AllocatorTest::bad_alloc_test
BcomposTest::bcompos1
BcomposTest::bcompos2
BindTest::bind1st1
BindTest::bind2nd1
BindTest::bind2nd2
BindTest::bind2nd3
BindTest::bind_memfn
BinsertTest::binsert1
BinsertTest::binsert2
BitsetTest::bitset1
BitsetTest::iostream
BnegateTest::bnegate1
BnegateTest::bnegate2
BoundTest::lwrbnd1
BoundTest::lwrbnd2
BoundTest::uprbnd1
BoundTest::uprbnd2
BsearchTest::bsearch1
BsearchTest::bsearch2
BvectorTest::bvec1
CMathTest::test
CodecvtTest::variable_encoding
ConfigTest::placement_new_bug
ConfigTest::endianess
ConfigTest::template_function_partial_ordering
CopyTest::copy_array
CopyTest::copy_vector
CopyTest::copy_insert
CopyTest::copy_back
CopyTest::copy_back_array
CountTest::count0
CountTest::count1
CountTest::countif1
DequeTest::deque1
DequeTest::at
DequeTest::insert
DequeTest::erase
DequeTest::auto_ref
DequeTest::allocator_with_state
DequeTest::optimizations_check
DivideTest::div
EqualTest::equal_range0
EqualTest::equal_range1
EqualTest::equal_range2
EqualTest::equal0
EqualTest::equal1
EqualTest::equal2
EqualTest::equalto
ExceptionTest::unexpected_except
ExceptionTest::uncaught_except
ExceptionTest::exception_emission
FillTest::fill1
FillTest::filln1
FindTest::find0
FindTest::find1
FindTest::findif0
FindTest::findif1
FindTest::find_char
FinsertTest::finsert1
FinsertTest::finsert2
ForeachTest::foreach0
ForeachTest::foreach1
FstreamTest::output
FstreamTest::input
FstreamTest::input_char
FstreamTest::io
FstreamTest::err
FstreamTest::tellg
FstreamTest::buf
FstreamTest::rdbuf
FstreamTest::offset
FstreamTest::streambuf_output
FstreamTest::win32_file_format
FstreamTest::null_buf
FstreamTest::custom_facet
FuncTest::func1
FuncTest::func2
FuncTest::func3
GeneratorTest::gener1
GeneratorTest::gener2
GeneratorTest::genern1
GeneratorTest::genern2
GreaterTest::greatert
GreaterTest::greatereq
HashTest::hmap1
HashTest::hmmap1
HashTest::hmset1
HashTest::hset2
HashTest::insert_erase
HashTest::allocator_with_state
HeapTest::mkheap0
HeapTest::mkheap1
HeapTest::pheap1
HeapTest::pheap2
IncludesTest::incl0
IncludesTest::incl1
IncludesTest::incl2
InnerprodTest::inprod0
InnerprodTest::inprod1
InnerprodTest::inprod2
InplaceTest::inplmrg1
InplaceTest::inplmrg2
InsertTest::insert1
InsertTest::insert2
IoiterTest::ioiter_test
IoiterTest::assign_test
IoiterTest::assign2_test
IOStreamTest::manipulators
IotaTest::iota1
IStreamIteratorTest::istmit1
IStreamIteratorTest::copy_n_test
IterTest::iter1
IterTest::iter3
IterTest::iter4
IterTest::iterswp0
IterTest::iterswp1
IterTest::iterswp2
IterTest::iterswp3
LessTest::lesst
LessTest::lesseqt
LexcmpTest::lexcmp1
LexcmpTest::lexcmp2
LimitTest::test
LimitTest::qnan_test
ListTest::list1
ListTest::list2
ListTest::list3
ListTest::list4
ListTest::erase
ListTest::resize
ListTest::push_back
ListTest::push_front
ListTest::allocator_with_state
ListTest::swap
LocaleTest::locale_by_name
LocaleTest::loc_has_facet
LocaleTest::num_put_get
        en_US
        C
LocaleTest::money_put_get
        en_US
        C
LocaleTest::money_put_X_bug
        en_US
        C
LocaleTest::time_put_get
        en_US
        C
LocaleTest::collate_facet
        No french locale to check collate facet
LocaleTest::ctype_facet
        en_US
        C
LocaleTest::locale_init_problem
        en_US
        C
LocaleTest::default_locale
LocaleTest::facet_id
LocaleTest::combine
        combining 'C' money facets with 'en_US'
LogicTest::logicand
LogicTest::logicnot
LogicTest::logicor
MapTest::map1
MapTest::mmap1
MapTest::mmap2
MapTest::iterators
MapTest::equal_range
MapTest::allocator_with_state
MapTest::template_methods
MaxTest::max1
MaxTest::max2
MaxTest::maxelem1
MaxTest::maxelem2
MergeTest::merge0
MergeTest::merge1
MergeTest::merge2
MemFunPtrTest::mem_ptr_fun
MemFunPtrTest::find
MinTest::min1
MinTest::min2
MinTest::minelem1
MinTest::minelem2
MismatchTest::mismatch0
MismatchTest::mismatch1
MismatchTest::mismatch2
ModulusTest::modulus0
MultisetTest::mset1
MultisetTest::mset3
MultisetTest::mset5
MoveConstructorTest::move_construct_test
MoveConstructorTest::deque_test
MoveConstructorTest::vector_test
MoveConstructorTest::move_traits
MoveConstructorTest::movable_declaration
NeqTest::negate0
NeqTest::nequal0
NthElemTest::nthelem0
NthElemTest::nthelem1
NthElemTest::nthelem2
NumPutGetTest::num_put_float
NumPutGetTest::num_put_integer
NumPutGetTest::num_get_float
NumPutGetTest::num_get_integer
OstreamIteratorTest::ostmit0
PairTest::pair0
PartialTest::parsrt0
PartialTest::parsrt1
PartialTest::parsrt2
PartialTest::parsrtc0
PartialTest::parsrtc1
PartialTest::parsrtc2
PartialTest::partsum0
PartialTest::partsum1
PartialTest::partsum2
PartitionTest::ptition0
PartitionTest::ptition1
PartitionTest::stblptn0
PartitionTest::stblptn1
PermTest::nextprm0
PermTest::nextprm1
PermTest::nextprm2
PermTest::prevprm0
PermTest::prevprm1
PermTest::prevprm2
PlusMinusTest::plus0
PlusMinusTest::minus0
Ptr2Test::ptrbin1
Ptr2Test::ptrbin2
Ptr2Test::ptrun1
Ptr2Test::ptrun2
PtrSpecTest::ptr_specialization_test
QueueTest::pqueue1
QueueTest::queue1
RawriterTest::rawiter1
ReviterTest::reviter1
ReviterTest::reviter2
ReviterTest::revbit1
RmCpTest::remcopy1
RmCpTest::remcpif1
RmCpTest::remif1
RmCpTest::remove1
RmCpTest::repcpif1
RmCpTest::replace0
RmCpTest::replace1
RmCpTest::replcpy1
RmCpTest::replif1
RmCpTest::revcopy1
RmCpTest::reverse1
RndShuffleTest::rndshuf0
RndShuffleTest::rndshuf2
RopeTest::io
RopeTest::find1
RopeTest::find2
RopeTest::construct_from_char
RopeTest::bug_report
RopeTest::test_saved_rope_iterators
RotateTest::rotate0
RotateTest::rotate1
RotateTest::rotcopy0
RotateTest::rotcopy1
SearchTest::search0
SearchTest::search1
SearchTest::search2
SetTest::set1
SetTest::set2
SetTest::erase
SetTest::insert
SetTest::find
SetTest::bounds
SetTest::specialized_less
SetTest::implementation_check
SetTest::allocator_with_state
SetTest::reverse_iterator_test
SetTest::template_methods
SetDifferenceTest::setdiff0
SetDifferenceTest::setdiff1
SetDifferenceTest::setdiff2
SetDifferenceTest::setsymd0
SetDifferenceTest::setsymd1
SetDifferenceTest::setsymd2
SetIntersectionTest::setintr0
SetIntersectionTest::setintr1
SetIntersectionTest::setintr2
SetUnionTest::setunon0
SetUnionTest::setunon1
SetUnionTest::setunon2
SlistTest::slist1
SlistTest::erase
SlistTest::insert
SlistTest::splice
SlistTest::allocator_with_state
SortTest::sort1
SortTest::sort2
SortTest::sort3
SortTest::sort4
SortTest::stblsrt1
SortTest::stblsrt2
SstreamTest::output
SstreamTest::input
SstreamTest::input_char
SstreamTest::io
SstreamTest::err
SstreamTest::err_long
SstreamTest::maxint
SstreamTest::init_in
SstreamTest::init_out
SstreamTest::buf
SstreamTest::rdbuf
SstreamTest::streambuf_output
SstreamTest::seek
SstreamTest::negative
StackTest::stack1
StackTest::stack2
StringTest::constructor
StringTest::reserve
StringTest::assign
StringTest::erase
StringTest::data
StringTest::c_str
StringTest::null_char
StringTest::insert
StringTest::replace
StringTest::resize
StringTest::short_string
StringTest::find
StringTest::rfind
StringTest::find_last_of
StringTest::find_last_not_of
StringTest::copy
StringTest::mt
StringTest::short_string_optim_bug
StringTest::compare
StringTest::template_expression
StringTest::te_tmp
StringTest::template_wexpression
StringTest::io
StringTest::allocator_with_state
StringTest::capacity
StrstreamBufferReadTest::readFromBuffer
SwapTest::swap1
SwapTest::swprnge1
TimesTest::times
TransformTest::trnsfrm1
TransformTest::trnsfrm2
TransformTest::self_str
TypeTraitsTest::manips
TypeTraitsTest::integer
TypeTraitsTest::rational
TypeTraitsTest::pointer_type
TypeTraitsTest::reference_type
TypeTraitsTest::both_pointer_type
TypeTraitsTest::ok_to_use_memcpy
TypeTraitsTest::ok_to_use_memmove
TypeTraitsTest::trivial_destructor
TypeTraitsTest::is_POD
TypeTraitsTest::stlport_class
UnaryTest::ucompos1
UnaryTest::ucompos2
UnaryTest::unegate1
UnaryTest::unegate2
UnaryTest::unegate3
UninitializedTest::copy_test
UniqueTest::uniqcpy1
UniqueTest::uniqcpy2
UniqueTest::unique1
UniqueTest::unique2
UnorderedTest::uset
UnorderedTest::umultiset
UnorderedTest::umap
UnorderedTest::umultimap
UnorderedTest::user_case
UnorderedTest::hash_policy
UnorderedTest::buckets
UnorderedTest::equal_range
UnorderedTest::template_methods
ValarrayTest::transcendentals
VectorTest::vec_test_1
VectorTest::vec_test_2
VectorTest::vec_test_3
VectorTest::vec_test_4
VectorTest::vec_test_5
VectorTest::vec_test_6
VectorTest::vec_test_7
VectorTest::capacity
VectorTest::at
VectorTest::pointer
VectorTest::auto_ref
VectorTest::allocator_with_state
VectorTest::iterators
VectorTest::optimizations_check
VectorTest::ebo
ErrnoTest::check

OK 396 tests
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:31:40 UTC
Created attachment 151128 [details, diff]
STLport-5.1.3--5.1.5.ebuild.patch

Bump for STLport to 5.1.5. Added patches so this should be able to build on ~mips, ~arm, ~hppa, and ~alpha. Added sed line that gets rid of irritating errors:
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo i686-pc-linux-gnu-g++ (Gentoo 4.3.0 p1.0) 4.3.0 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | awk 'BEGIN { FS = "."; } { print $1; }''

All patches were snatched from latest Debian diffs. If I remember correctly, they're atomic in nature.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:33:35 UTC
Created attachment 151129 [details, diff]
STLport-5.1.5-alpha.patch

Fixes build on Alpha.
Debian 384247: http://bugs.debian.org/384247
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:34:30 UTC
Created attachment 151130 [details, diff]
STLport-5.1.5-bashism.patch

Fixes build where /bin/sh -> dash
Gentoo 183060: http://bugs.gentoo.org/183060
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:36:14 UTC
Created attachment 151131 [details, diff]
STLport-5.1.5-cxx_use_c99.patch

Fixes inconsistent definition of _GLIBCXX_USE_C99 across arches.
Debian 443234 http://bugs.debian.org/443234
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:37:07 UTC
Created attachment 151133 [details, diff]
STLport-5.1.5-fix-warnings.patch

Fixes warnings. We want to see only the real problems.
Debian 465395: http://bugs.debian.org/465395
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:38:04 UTC
Created attachment 151135 [details, diff]
STLport-5.1.5-gcc-4.3.patch

Fixes GCC 4.3.0 build issues.
Debian 468063: ttp://bugs.debian.org/468063
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:38:59 UTC
Created attachment 151137 [details, diff]
STLport-5.1.5-hppa.patch

Fixes build on hppa.
Debian 389316: http://bugs.debian.org/389316
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:40:18 UTC
Created attachment 151138 [details, diff]
STLport-5.1.5-portability-hack.patch

Fixes issues related to the lack of long double on some arches.
Debian 356570: http://bugs.debian.org/356570
Comment 10 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 13:44:15 UTC
Created attachment 151139 [details]
STLport.tar.bz2

Tarball of everything above. Untar, regenerate manifest to test.
Comment 11 Tiziano Müller (RETIRED) gentoo-dev 2008-04-30 18:59:35 UTC
Well, thanks a lot for the help!
Committed the ebuild with some minor changes.