Opened 8 weeks ago

Closed 7 weeks ago

#69481 closed defect (fixed)

leptonica @1.84.1: libtool version mismatch error

Reported by: jmarshallidau Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: haspatch Cc:
Port: leptonica

Description

Mac Mini M2 2023 macOS 14.4

Build fails with multiple instances of the following in the log file. The version of libtool installed is @2.4.7_1. Full log file is attached.

:info:build libtool: Version mismatch error.  This is libtool 2.4.6 Debian-2.4.6-14, but the
:info:build libtool: definition of this LT_INIT comes from libtool 2.4.7.
:info:build libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 Debian-2.4.6-14
:info:build libtool: and run autoconf again.

Thank you for maintaining this port!

Attachments (1)

main.log (27.1 KB) - added by jmarshallidau 8 weeks ago.
leptonica build log file

Download all attachments as: .zip

Change History (5)

Changed 8 weeks ago by jmarshallidau

Attachment: main.log added

leptonica build log file

comment:1 Changed 8 weeks ago by ryandesign (Ryan Carsten Schmidt)

We have received other reports of this in other ports. There appears to be a bug with the 15.3 version of the Xcode command line tools. See comment:ticket:69467:6. So workarounds are to downgrade to the 15.2 version or follow the instructions in comment:ticket:69467:2.

comment:2 in reply to:  1 ; Changed 8 weeks ago by jmarshallidau

Replying to ryandesign:

So workarounds are to downgrade to the 15.2 version or…

Couldn't find version 15.2 of the Command Line Tools on the Apple Developer site, so downgraded to 15.1. All built fine after the downgrade. Thank you!

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

Keywords: haspatch added

Replying to ryandesign:

or follow the instructions in comment:ticket:69467:2.

This should be fixed by https://github.com/macports/macports-ports/pull/22984

Replying to jmarshallidau:

Couldn't find version 15.2 of the Command Line Tools on the Apple Developer site, so downgraded to 15.1. All built fine after the downgrade.

Oh, you're right, I don't see a 15.2 either. Glad that worked.

comment:4 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 48589c81916ab6bd8fa2d696a8b7a49d8c751dd6/macports-ports (master):

libtool: Use MacPorts m4

Fixes build of many ports that use libtool when using Xcode 15.3 in
which m4 is not included.

Closes: #69467
Closes: #69481
Closes: #69493
See: #69471

Reverses a previous decision not to use MacPorts m4 except on Tiger:

See: #47545

as it was already reversed in autoconf:

See: #62411

Note: See TracTickets for help on using tickets.