New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26030 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

pkg.m4 underquoting with autoconf-2.66+

Reported by: ram@… Owned by: ryandesign@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: Eric.J.Fielding@…, sewebster@…
Port: pkgconfig

Description

autoconf-2.66+ exposes an apparent underquoting bug in pkg.m4 that was causing some ports (such as xorg-libXp) to fail with errors of the form:

configure:12439: error: possibly undefined macro: AS_MESSAGE_LOG_FDdnl
     If this token and others are legitimate, please use m4_pattern_allow.
     See the Autoconf documentation.

The attached patches add the appropriate quoting that fixes these errors.

Attachments

Portfile.diff (670 bytes) - added by ram@… 3 years ago.
patch-underquoting.diff (286 bytes) - added by ram@… 3 years ago.

Change History

Changed 3 years ago by ram@…

Changed 3 years ago by ram@…

comment:1 Changed 3 years ago by Eric.J.Fielding@…

Can somebody describe where and how to apply these patches? I am new to MacPorts and dead in the water right now.

comment:2 Changed 3 years ago by Eric.J.Fielding@…

  • Cc Eric.J.Fielding@… added

Cc Me!

comment:3 follow-up: ↓ 6 Changed 3 years ago by sewebster@…

Briefly: Change the portfile in /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig as per the diff and then create a directory called files in that same directory and put the other .diff file in it. Then install pkgconfig again.

comment:4 Changed 3 years ago by sewebster@…

  • Cc sewebster@… added

Cc Me!

comment:5 Changed 3 years ago by sewebster@…

port name is actually pkgconfig

comment:6 in reply to: ↑ 3 Changed 3 years ago by Eric.J.Fielding@…

Replying to sewebster@…:

Briefly: Change the portfile in /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig as per the diff and then create a directory called files in that same directory and put the other .diff file in it. Then install pkgconfig again.

Thanks!! I am back under sail again.

comment:7 Changed 3 years ago by ram@…

  • Port changed from pkg-config to pkgconfig

comment:8 Changed 3 years ago by ryandesign@…

  • Status changed from new to assigned

comment:9 Changed 3 years ago by ryandesign@…

  • Priority changed from Normal to High

comment:10 Changed 3 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Thank you for the patch, which I've applied it r70479.

Note: See TracTickets for help on using tickets.