Opened 10 years ago

Closed 10 years ago

#44387 closed defect (worksforme)

gettext @ 0.19.2 fails at build / linking

Reported by: mail@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: gettext

Description

: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

Attachments (1)

main.log (931.0 KB) - added by mail@… 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by mail@…

Attachment: main.log added

comment:1 Changed 10 years ago by mail@…

Cc: mail@… added

Cc Me!

comment:2 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: mail@… removed
Owner: changed from macports-tickets@… to ryandesign@…

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.

comment:3 Changed 10 years ago 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.

comment:4 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

Glad you got it working :)

Note: See TracTickets for help on using tickets.