Opened 2 years ago

Closed 4 weeks ago

Last modified 2 days ago

#68637 closed defect (fixed)

Trace mode considers dependencies case-sensitively

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.12.0
Component: base Version: 2.8.1
Keywords: Cc:
Port:

Description

For example, pulseaudio declares a dependency on path:lib/libspeexdsp.dylib:speexDSP and fails to configure in trace mode because speexdsp has been hidden:

checking for  speexdsp >= 1.2 ... no
configure: error: *** speex support not found
Warning: The following existing files were hidden from the build system by trace mode:
  /opt/local/lib/pkgconfig/speexdsp.pc

Correcting the capitalization of the dependency (from speexDSP to speexdsp), which I'll commit in a moment, fixes it. While ports should use the correct case for dependencies, trace mode should consider dependencies case-insensitively.

What happened in this case was that speexDSP used to be a subport of the speex port but it was removed and replaced with a separate port capitalized speexdsp.

Change History (4)

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

In 846e43679eedec6814fd47bfc935eb6744506dcb/macports-ports (master):

Fix capitalization of speexdsp

See: #68637

speexDSP-devel was deleted years ago so there is no longer any reason to
depend on speexDSP via a path:-style dependency.

comment:2 Changed 4 weeks ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:3 Changed 4 weeks ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 6ff075f67830d04e52deff1d53d30ae61b335036/macports-base (master):

trace mode: treat port names case-insensitively

Also avoid linear searches while collecting deps, and allow passing an
empty list to tracelib setdeps.

Closes: #68637

comment:4 Changed 2 days ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.12.0
Note: See TracTickets for help on using tickets.