[MacPorts] #44387: gettext @ 0.19.2 fails at build / linking
#44387: gettext @ 0.19.2 fails at build / linking --------------------+-------------------------------- Reporter: mail@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: gettext --------------------+-------------------------------- {{{ :info:build ar: hash.o: No such file or directory :info:build ar: error.o: No such file or directory :info:build make[5]: *** [libgettextlib.la] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/44387> MacPorts <http://www.macports.org/> Ports system for OS X
#44387: gettext @ 0.19.2 fails at build / linking ----------------------+-------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gettext | ----------------------+-------------------------- Changes (by cal@…): * owner: macports-tickets@… => ryandesign@… * cc: mail@… (removed) Comment: You don't have to Cc yourself if you're the reporter. When reporting bugs against ports, please Cc the maintainer (`port info --maintainer gettext`), if any. The problem in your case is: {{{ :info:build clang: error: couldn't create cache file '/var/folders/32/rj247m7j1_g88h4t874bvq2w0000gp/T/xcrun_db-bwjtFHFb' (errno=Permission denied) }}} We're not sure why this happens, but clang is correct in telling you that this is an error. It however misbehaves in not aborting the compilation, and then sometimes miscompiles (as you have just noticed). The solution is almost always to nuke the temporary directory, clean, and re-run the build. In your case: {{{ rm -rf /var/folders/32/rj247m7j1_g88h4t874bvq2w0000gp }}} The files in this directory will be re-created automatically. -- Ticket URL: <https://trac.macports.org/ticket/44387#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44387: gettext @ 0.19.2 fails at build / linking ----------------------+-------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gettext | ----------------------+-------------------------- Comment (by mail@…): Alright, the rm -rf fixed it. Should have seen that, sorry. It builds fine now (and much faster). Sorry for not CCing the correct maintainer. Will do the next time. -- Ticket URL: <https://trac.macports.org/ticket/44387#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44387: gettext @ 0.19.2 fails at build / linking -------------------------+-------------------------- Reporter: mail@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: worksforme | Keywords: Port: gettext | -------------------------+-------------------------- Changes (by cal@…): * status: new => closed * resolution: => worksforme Comment: Glad you got it working :) -- Ticket URL: <https://trac.macports.org/ticket/44387#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts