[MacPorts] #50402: nmap @7.01_0 build failure on Leopard/ppc
#50402: nmap @7.01_0 build failure on Leopard/ppc ------------------------------+-------------------------------- Reporter: khepler@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: powerpc haspatch | Port: nmap ------------------------------+-------------------------------- Build fails on Mac OS X 10.5.8/ppc with: {{{ /usr/bin/g++-4.2 -c -I./liblinear -I./liblua -I./libdnet-stripped/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"https://nmap.org\" -DNMAP_PLATFORM=\"powerpc-apple- darwin9.8.0\" -DNMAPDATADIR=\"/opt/local/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -pipe -Os -arch ppc -Wall -fno-strict-aliasing nmap_dns.cc -o nmap_dns.o nmap_dns.cc: In static member function ‘static bool DNS::Factory::ipToPtr(const sockaddr_storage&, std::string&)’: nmap_dns.cc:1320: error: no match for ‘operator!=’ in ‘c != std::basic_string<_CharT, _Traits, _Alloc>::rend() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]()’ nmap_dns.cc: In static member function ‘static bool DNS::Factory::ptrToIp(const std::string&, sockaddr_storage&)’: nmap_dns.cc:1385: error: no match for ‘operator!=’ in ‘it != std::basic_string<_CharT, _Traits, _Alloc>::rend() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]()’ make: *** [nmap_dns.o] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nmap/nmap/work/nmap-7.01' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nmap/nmap/work/nmap-7.01" && /usr/bin/make -w all Exit code: 2 Error: org.macports.build for port nmap returned: command execution failed }}} -- Ticket URL: <https://trac.macports.org/ticket/50402> MacPorts <https://www.macports.org/> Ports system for OS X
#50402: nmap @7.01_0 build failure on Leopard/ppc ------------------------+-------------------------------- Reporter: khepler@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: powerpc haspatch Port: nmap | ------------------------+-------------------------------- Comment (by khepler@…): Sorry, the haspatch keyword is not applicable to this ticket; was confusion from editing multiple tickets simultaneously. Please remove. -- Ticket URL: <https://trac.macports.org/ticket/50402#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50402: nmap @7.01_0 build failure on Leopard/ppc ------------------------+------------------------------ Reporter: khepler@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: powerpc Port: nmap | ------------------------+------------------------------ Changes (by mf2k@…): * cc: opendarwin.org@… (removed) * keywords: powerpc haspatch => powerpc * owner: macports-tickets@… => opendarwin.org@… -- Ticket URL: <https://trac.macports.org/ticket/50402#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50402: nmap @7.01_0 build failure on Leopard/ppc ------------------------+------------------------------ Reporter: khepler@… | Owner: opendarwin.org@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: wontfix | Keywords: powerpc Port: nmap | ------------------------+------------------------------ Changes (by dluke@…): * status: new => closed * resolution: => wontfix Comment: 10.5 isn't supported anymore - and I don't have access to a 10.5/ppc machine to try to fix this. I'm guessing it would build with a newer compiler (ie macports clang), but I can't be sure. If you (or someone with a 10.5/ppc machine) figures out a fix and uploads a patch, I'd be happy to include it. Otherwise, I'm going to close this ticket (feel free to re-open with a patch that fixes it). -- Ticket URL: <https://trac.macports.org/ticket/50402#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts