[MacPorts] #47482: Xcode 6.3 breakage of storage 0.7.8 build
#47482: Xcode 6.3 breakage of storage 0.7.8 build -----------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: strigi -----------------------------------+-------------------------------- I have tested this directly on MacPorts yet, but suspect you will see the same issue with the Apple clang 6.1 compiler as we do on fink. The storage 0.7.8 build fails under Xcode 6.3 (but not Xcode 6.2 or earlier) with the error... {{{ [ 92%] Building CXX object strigidaemon/bin/daemon/xesam/CMakeFiles/xesam.dir/xesamsession.cpp.o cd /sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/build/strigidaemon/bin/daemon/xesam && /sw/var/lib/fink/path-prefix-clang/c++ -MD -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10 -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/libstreams/include -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/build/libstreams/include -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/libstreamanalyzer/include -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/build/libstreamanalyzer/include -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/include -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xsd -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/build/strigidaemon -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/build/strigidaemon/bin/daemon/dbus -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include -I/sw/include/libxml2 -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/combinedindex -I/sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon -fPIC -o CMakeFiles/xesam.dir/xesamsession.cpp.o -c /sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.cpp In file included from /sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.cpp:22: In file included from /sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.h:24: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/list:2060:18: error: invalid operands to binary expression ('const value_type' (aka 'const XesamSearch') and 'const value_type' (aka 'const XesamSearch')) if (*__i == __x) ~~~~ ^ ~~~ /sw/src/fink.build/strigi-0.7.8-2/strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.cpp:200:17: note: in instantiation of member function 'std::__1::list<XesamSearch, std::__1::allocator<XesamSearch> >::remove' requested here p->searches.remove(search); ^ 1 error generated. strigidaemon/bin/daemon/xesam/CMakeFiles/xesam.dir/build.make:100: }}} -- Ticket URL: <https://trac.macports.org/ticket/47482> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of storage 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): Of cours that should be strigi and not storage. -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): I have verified on fink that this breakage in compiling strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.cpp is present in the llvm.org clang 3.5.2 compilers. -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): On fink, I am able to comment out the offending line... p->searches.remove(search); in strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsession.cpp without any additional regressions showing up in the test suite. This allows Apple Clang 6.1 to build the package. The current declaration for this in strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsearch.h bool operator==(const XesamSearch& xs) { return p == xs.p; } does match the usage of that call according to llvm.org clang 3.5 or later. -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): Opened https://llvm.org/bugs/show_bug.cgi?id=23274 in case the clang developers have any suggestions of a proper fix. -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+-------------------------------- Comment (by howarth.at.macports@…): Proper fix already exist at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196603 {{{ --- strigi-0.7.8.orig/strigidaemon/bin/daemon/xesam/xesamsearch.h 2013-01-25 12:49:35.000000000 -0500 +++ strigi-0.7.8/strigidaemon/bin/daemon/xesam/xesamsearch.h 2015-04-17 19:57:05.000000000 -0400 @@ -43,7 +43,7 @@ XesamSearch(Private* p); ~XesamSearch(); void operator=(const XesamSearch& xs); - bool operator==(const XesamSearch& xs) { return p == xs.p; } + bool operator==(const XesamSearch& xs) const { return p == xs.p; } void startSearch(); void getHitCount(void* msg); void getHits(void* msg, uint32_t num); }}} -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+--------------------------- Reporter: howarth.at.macports@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+--------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => clubjuggler@… -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: strigi | ------------------------------------+-------------------------------- Changes (by mf2k@…): * owner: clubjuggler@… => macports-tickets@… Comment: This port no longer has a maintainer. See #47483. -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47482: Xcode 6.3 breakage of strigi 0.7.8 build ------------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: strigi | ------------------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: fixed in other ticket strigi: add patch to allow building XCode >= 6.3 #48673 -- Ticket URL: <https://trac.macports.org/ticket/47482#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts