pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33024: audio/taglib fails to compile with SunStudio 11 compilers on OpenSolaris



>Number:         33024
>Category:       pkg
>Synopsis:       audio/taglib fails to compile with SunStudio 11 compilers on 
>OpenSolaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 07 13:50:00 +0000 2006
>Originator:     segv
>Release:        
>Organization:
>Environment:
SunOS e450-lan 5.11 snv_28 sun4u sparc SUNW,Ultra-4

>Description:
Compiling with SunStudio 11 results in the following error. I don't know C++ so 
have not idea what would be a proper fix, apart from building this package with 
GCC.

source='apetag.cpp' object='apetag.lo' libtool=yes  DEPDIR=.deps depmode=none 
/bin/ksh ../../admin/depcomp  /bin/ksh ../../libtool --silent --mode=compile 
--tag=CXX CC -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../taglib  
-I../../taglib/toolkit       -xO3 -xtarget=ultra -features=%all  -c -o 
apetag.lo apetag.cpp
"/opt/SUNWspro/prod/include/CC/Cstd/./map", line 251: Error: Multiple 
declaration for std::map<const TagLib::String, TagLib::APE::Item, 
std::less<const TagLib::String>, std::allocator<std::pair<const TagLib::String, 
TagLib::APE::Item>>>::insert(const std::pair<const TagLib::String, 
TagLib::APE::Item>&).
"../../taglib/toolkit/tmap.h", line 43:     Where: While specializing 
"std::map<const TagLib::String, TagLib::APE::Item, std::less<const 
TagLib::String>, std::allocator<std::pair<const TagLib::String, 
TagLib::APE::Item>>>".
"../../taglib/toolkit/tmap.h", line 43:     Where: Specialized in 
TagLib::Map<const TagLib::String, TagLib::APE::Item>.
"apetag.cpp", line 45:     Where: Specialized in non-template code.
1 Error(s) detected.
*** Error code 1

Stop.
bmake: stopped in /opt/pkg.obj/audio/taglib/work.e450-lan/taglib-1.4/taglib/ape
*** Error code 1

>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index