Opened 13 years ago

Closed 13 years ago

#29937 closed defect (fixed)

t1lib: unable to infer tagged configuration

Reported by: McDutchie (Martijn Dekker) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: jiri@…, dave@…
Port: t1lib

Description

The t1lib 5.1.2_2 port fails to build if configureccache is enabled in /opt/local/etc/macports.conf. (It builds fine with the compiler cache disabled.) The seemingly relevant bit from the log is:

:info:build glibtool: compile: unable to infer tagged configuration
:info:build glibtool: compile: specify a tag with `--tag'

System: Tiger (10.4.11)

Complete log attached.

Attachments (1)

t1lib.log (14.6 KB) - added by McDutchie (Martijn Dekker) 13 years ago.
t1lib build failure with ccache

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by McDutchie (Martijn Dekker)

Attachment: t1lib.log added

t1lib build failure with ccache

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

Milestone: MacPorts 2.0.0

As per the ticket guidelines, please don't set the Milestone field.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

t1lib builds fine for me on Snow Leopard with ccache on.

"unable to infer tagged configuration" means there is a mismatch between the compiler used to build libtool and the compiler being used right now to build this port using libtool. In this case it could mean that you installed libtool while ccache was off, then turned ccache on, then tried to build something that uses libtool.

Now that libtool is on, rebuild libtool so that it knows that.

sudo port -n upgrade --force libtool

comment:3 in reply to:  2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

Now that libtool is on,

Of course that should read "Now that ccache is on,"

comment:4 Changed 13 years ago by McDutchie (Martijn Dekker)

Thanks, force-rebuilding libtool as instructed fixed my problem.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

comment:6 Changed 13 years ago by jiri@…

Cc: jiri@… added

Cc Me!

comment:7 Changed 13 years ago by dave@…

Resolution: invalid
Status: closedreopened

Seems to me that this should be handled automatically somehow by macports, or *at least* mentioned prominently in macports.conf next to the configureccache setting. I just wasted a half hour on it before I found this ticket

comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Keywords: ccache removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: reopenednew
Summary: t1lib 5.1.2_2 fails to build if compiler cache is enabledt1lib: unable to infer tagged configuration

Sorry about that. Now that we know how to fix the error "unable to infer tagged configuration" we should fix t1lib properly (like we fixed apache2 in r86196).

comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dave@… added

comment:10 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed t1lib in r87177. If you find other ports exhibiting the "unable to infer tagged configuration" error please let us know so we can fix them too.

Note: See TracTickets for help on using tickets.