[MacPorts] #29590: cppcheck does not respect build_arch or have universal variant
#29590: cppcheck does not respect build_arch or have universal variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: paj-macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: cppcheck -------------------------------------+-------------------------------------- cppcheck does not respect the user's build_arch setting in macports.conf; here the result of trying to build for i386 on a 64-bit Snow Leopard machine (where the default would be x86_64): {{{ ld: warning: in /i386-10.6-mp/lib/libpcre.dylib, file was built for i386 which is not the architecture being linked (x86_64) Undefined symbols: "_pcre_free", referenced from: CppCheck::checkFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)in cppcheck.o "_pcre_exec", referenced from: CppCheck::checkFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)in cppcheck.o "_pcre_compile", referenced from: CppCheck::checkFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)in cppcheck.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [cppcheck] Error 1 }}} At the same time that this is fixed, a universal variant should be added, if possible. -- Ticket URL: <https://trac.macports.org/ticket/29590> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29590: cppcheck does not respect build_arch or have universal variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: paj-macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: cppcheck -------------------------------------+-------------------------------------- Comment(by paj-macports@…): Shall fix. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/29590#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29590: cppcheck does not respect build_arch or have universal variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: paj-macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: cppcheck -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Have you come up with a fix for this yet? -- Ticket URL: <https://trac.macports.org/ticket/29590#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29590: cppcheck does not respect build_arch or have universal variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: paj-macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: cppcheck -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Pete Johns replied by email:
I haven't. Can you point me at some documentation on how to do these?
Not sure we have any documentation actually, but search through other portfiles for "get_canonical_archflags" for some examples. -- Ticket URL: <https://trac.macports.org/ticket/29590#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29590: cppcheck does not respect build_arch or have universal variant ---------------------------+---------------------------- Reporter: ryandesign@… | Owner: paj-macports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: cppcheck | ---------------------------+---------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r98922 (maintainer timeout) -- Ticket URL: <https://trac.macports.org/ticket/29590#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts