Opened 14 years ago

Closed 14 years ago

#26699 closed defect (invalid)

expat @2.0.1 configure fails: "C compiler cannot create executables"

Reported by: stephane.plaisance@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: expat

Description

I try to upgrade my ports after selfupdate and expat install breaks the first step of this process. I could install expat from the source downloaded by port so I tak ethat my system can do it but port does not do it. Latest Xtools re-installed did not change this

I tried all combinations of port clean / port uninstall / -f but nothing did it (log file attached)

Thanks for your help Stephane

Attachments (3)

port_log.txt (4.1 KB) - added by stephane.plaisance@… 14 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/main.log
config.log (5.6 KB) - added by stephane.plaisance@… 14 years ago.
added "config.log"
ccache_main.log (2.7 KB) - added by stephane.plaisance@… 14 years ago.

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by stephane.plaisance@…

Attachment: port_log.txt added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/main.log

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Keywords: expat install removed
Owner: changed from macports-tickets@… to ryandesign@…
Summary: sudo port upgrade outdated fails (expat wont install)expat @2.0.1 configure fails: "C compiler cannot create executables"

Please remember to cc the maintainer. Attach the config.log; it will have more information about how the compiler is failing.

Changed 14 years ago by stephane.plaisance@…

Attachment: config.log added

added "config.log"

comment:2 in reply to:  1 Changed 14 years ago by stephane.plaisance@…

Replying to jmr@…:

Please remember to cc the maintainer. Attach the config.log; it will have more information about how the compiler is failing.

Thanks jmr, did not know about the forwarding stuff, I hope you did it for me as I do not see a field to add a forwarding now. The config log is now attached and a 'ccache' seems to do bad but I do not have enough knowledge to understand what it is nor means. Hope it will help find the break and fix it.

Stephane

Changed 14 years ago by stephane.plaisance@…

Attachment: ccache_main.log added

comment:3 Changed 14 years ago by stephane.plaisance@…

PS: as it seems that my compiler cannor write (ccache main.log attached) I did a repair disk permissions which did not help. this seems more and more to be a stupid problem about file access or some missing vital component.

HELP!!!

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

It looks as though you have requested things to build with ccache, but that you do not have ccache installed.

Check your /opt/local/etc/macports/macports.conf. Does it include the line "configureccache yes"? If so change it to "configureccache no". Save and close macports.conf, then clean the affected ports ("sudo port clean expat ccache") and try again.

comment:5 Changed 14 years ago by stephane.plaisance@…

bull eye!

I remember having accepted recently to add ccache during port upgrade to 1.9.1 (should not have said yes to something I did not know (=lesson)) My port is now upgrading outdated without problem so far and already passed expat and several others.

I guess you can close this pseudo-bug report (one more)

Thanks you very much for your very quick and perfect feedback Your community is really a great think nowadays

Stephane

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Glad you got it working!

Note: See TracTickets for help on using tickets.