[MacPorts] #41142: libproxy: universal variant vails
#41142: libproxy: universal variant vails --------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: libproxy --------------------------+---------------------- See log. -- Ticket URL: <https://trac.macports.org/ticket/41142> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: libproxy: universal variant fails ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libproxy | ---------------------------+---------------------- Changes (by devans@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: libproxy: universal variant fails ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libproxy | ---------------------------+---------------------- Changes (by ryandesign@…): * cc: jeremyhu@… (added) Comment: Possibly, today's changes to the cmake portgroup broke this; I'm seeing the same failure with another cmake-using port too. -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: libproxy: universal variant fails ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libproxy | ---------------------------+---------------------- Comment (by devans@…): Same here. In my case lib2geom, podofo so far. Looks like they're failing during the preliminary compiler sanity check due to improper arch flags (not any) in the compile command (generates x86_64 only binary) {{{ /usr/bin/clang -I/opt/local/include -o CMakeFiles/cmTryCompileExec692823937.dir/testCCompiler.c.o -c /opt/local/var/macports/build/_opt_macports_trunk_dports_graphics_podofo/podofo/work/podofo-0.9.2/CMakeFiles/CMakeTmp/testCCompiler.c }}} Link command does use universal arch flags which causes the error (no i386 symbols) {{{ /usr/bin/clang -I/opt/local/include -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 CMakeFiles/cmTryCompileExec692823937.dir/testCCompiler.c.o -o cmTryCompileExec692823937 ld: warning: ignoring file CMakeFiles/cmTryCompileExec692823937.dir/testCCompiler.c.o, file was built for unsupported file format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00 0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the architecture being linked (i386): CMakeFiles/cmTryCompileExec692823937.dir/testCCompiler.c.o Undefined symbols for architecture i386: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture i386 }}} -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: libproxy: universal variant fails ---------------------------+---------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libproxy | ---------------------------+---------------------- Comment (by jeremyhu@…): Torsten emailed a patch that might fix the PortGroup. Please give it a try. -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: cmake portgroup changes cause build failures ---------------------------+-------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------- Changes (by ryandesign@…): * owner: devans@… => ryandesign@… * cc: Torsten.Maehne@…, justin@…, devans@… (added) * status: assigned => new * port: libproxy => Comment: I've attached his patch here and will commit it shortly, assuming things work. Has duplicate #41168. -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: cmake portgroup changes cause build failures ---------------------------+-------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Looks good. Committed in r112944 with some minor changes (typos in comments, default value of optflags is -Os in MacPorts 2.2 not -O2, change string comparisons to ne instead of !=) -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: cmake portgroup changes cause build failures ---------------------------+-------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------- Comment (by ryandesign@…): Has duplicate #41204. -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: cmake portgroup changes cause build failures ---------------------------+-------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------- Comment (by florian@…): CMake's debug flags do not include optimization at all. With the cmake portgroup we get -Os. But debug symbols with optimization are not helpful (see comment:4:ticket:41203). Btw, CMake's default release flags are `-O3 -DNDEBUG` and not `-Os -DNDEBUG`. AFAIK, `-Os` equals `-O2` plus extra code size reduction. -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: cmake portgroup changes cause build failures ---------------------------+-------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------- Comment (by ryandesign@…): This ticket was about the recent changes to the cmake portgroup causing build failures. Those build failures have been resolved and therefore this ticket is closed. If you're proposing additional changes to the portgroup please file a new ticket. -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#41142: cmake portgroup changes cause build failures ---------------------------+-------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: | ---------------------------+-------------------------- Comment (by florian@…): Thanks. Created #41256 as suggested. -- Ticket URL: <https://trac.macports.org/ticket/41142#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts