Opened 8 years ago

Closed 7 years ago

#37262 closed defect (fixed)

liblrdf: configure phase fails, "file 'm4/lt~obsolete.m4' does not exist"

Reported by: lpsinger (Leo Singer) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: pixilla (Bradley Giesbrecht), jamesdouglassusa@…
Port: liblrdf

Description

I attempted to install liblrdf as a dependency for ardour2. The configure phase failed with the following error message (lifted from the log, which is attached):

:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_Users_lady3jane_ports-local_textproc_liblrdf/liblrdf/work/LRDF-0.5.0" && autoreconf --install 
:info:configure aclocal: error: aclocal: file 'm4/lt~obsolete.m4' does not exist
:info:configure autoreconf: aclocal failed with exit status: 1

As can be seen in the project's GitHub browser, the file m4/lt~obsolete.m4 and all of the other m4/*.m4 files are symlinks to paths that do not exist in the MacPorts autotools installations.

The attached patch fixes the port by deleting all of the m4/*.m4 files. See also #34212, #27533, and r74523.

Attachments (2)

main.log (32.6 KB) - added by lpsinger (Leo Singer) 8 years ago.
patch-Portfile.diff (536 bytes) - added by lpsinger (Leo Singer) 8 years ago.
updated Portfile with ryandesign's suggestion applied

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by lpsinger (Leo Singer)

Attachment: main.log added

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

Actually "delete" should be simpler than "file delete".

comment:2 Changed 8 years ago by lpsinger (Leo Singer)

Do you mean

delete [glob ${worksrcpath}/m4/*.m4]

or

eval delete [glob ${worksrcpath}/m4/*.m4]

? How do delete and file delete differ?

Changed 8 years ago by lpsinger (Leo Singer)

Attachment: patch-Portfile.diff added

updated Portfile with ryandesign's suggestion applied

comment:3 Changed 8 years ago by lpsinger (Leo Singer)

May I commit this? This port is openmaintainer, but I don't know if this patch constitutes a minor change.

Last edited 8 years ago by lpsinger (Leo Singer) (previous) (diff)

comment:4 Changed 8 years ago by jamesdouglassusa@…

Cc: jamesdouglassusa@… added

Cc Me!

comment:5 Changed 7 years ago by lpsinger (Leo Singer)

Resolution: fixed
Status: newclosed

Looks like this was fixed in r102286.

Note: See TracTickets for help on using tickets.