Opened 14 years ago
Closed 13 years ago
#27954 closed defect (fixed)
openslp: unable to infer tagged configuration
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | Cc: | nerdling (Jeremy Lavergne) | |
Port: | openslp libtool |
Description
I can't seem to build openslp @1.2.1_2 anymore:
if /bin/sh ../libtool --mode=compile ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -DNDEBUG -D_REENTRANT=1 -pipe -O2 -arch x86_64 -Wall -O3 -MT slp_compare.lo -MD -MP -MF ".deps/slp_compare.Tpo" -c -o slp_compare.lo slp_compare.c; \ then mv -f ".deps/slp_compare.Tpo" ".deps/slp_compare.Plo"; else rm -f ".deps/slp_compare.Tpo"; exit 1; fi libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make[2]: *** [slp_compare.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
openslp @1.2.1_2 is currently installed on this Mac, installed on October 26, 2010, so something must have changed since then. The changes made in #27022 seem to be the cause. Though r73793 was intended to make a universal build of openslp possible, for me it seems to have the effect of preventing both universal and non-universal builds.
Attachments (2)
Change History (11)
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
comment:2 Changed 14 years ago by jmroot (Joshua Root)
If you didn't have libtool installed, it would have created a broken link which could have done something funny.
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
libtool @2.4_0+universal is installed and active (built Sep 23, 2010).
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | libtool.diff added |
---|
difference between my old libtool 2.4 and the newly built one
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jmr@… added |
---|
I rebuilt libtool, and now openslp builds. I attached a diff of the changes made to the installed files between the old libtool and the new one. The difference is that the new one references ccache. I only recently enabled ccache in macports.conf, and it appears that the use or non-use of ccache needs to be indicated in libtool for libtool to work. This seems like something that we should do something about, or at least document somehow. I'm still worried about what happens when I try to build a port that uses libtool while ccache is enabled (and encoded into the libtool files) but that port disables ccache.
comment:5 Changed 13 years ago by nerdling (Jeremy Lavergne)
Cc: | snc@… added |
---|---|
Port: | libtool added |
Version: | 1.9.2 → 2.0.1 |
comment:6 Changed 13 years ago by nerdling (Jeremy Lavergne)
Similarly I rebuilt libtool from source (rather than using the archive from packages.macports.org) and all was well again. I don't have ccache enabled on this end: 10.6.8 xcode 4.0.2
comment:7 Changed 13 years ago by jmroot (Joshua Root)
Cc: | jmr@… removed |
---|
As the error message says: specify a tag with `--tag'.
comment:9 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Works for me.