Opened 14 years ago

Closed 14 years ago

#2746 closed task (fixed)

pkg-config-0.25 needs to be patched to allow autoconf to work.

Reported by: ken@… Owned by: bdubbs@…
Priority: high Milestone: 6.7
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by bdubbs@…)

The pkg.m4 macro in pkg-config-0.25 causes autoconf-2.66 and newer to die.with error: possibly undefined macro: AS_MESSAGE_LOG_FDdnl

I've put the upstream fix for pkg-config in patches/ Marking as 'high' priority because we are near to release and this package is part of the base LFS.

Change History (7)

comment:1 by ken@…, 14 years ago

Description: modified (diff)

whoops, double-pasted the error, my mouse is becoming hyperactive today.

comment:2 by bdubbs@…, 14 years ago

Description: modified (diff)

For small changes, I prefer a sed. Here we only need to add [] in two places.

How about:

{{{ sed -i -e 's/XT])dnl/XT])[]dnl/' \

-e 's/\.])dnl/.])[]dnl/' pkg.m4

}}}

I tried to combine the expression into one, but that makes it even more complicated.

in reply to:  2 ; comment:3 by bdubbs@…, 14 years ago

sed -i -e 's/XT])dnl/XT])[]dnl/' \
       -e 's/\.])dnl/.])[]dnl/' pkg.m4

Let's make that look right.

in reply to:  3 comment:4 by bdubbs@…, 14 years ago

sed -i -e 's/XT])dnl/XT])[]dnl/' \
       -e 's/\.])dnl/\.])[]dnl/' pkg.m4

A minor tweak to make things line up.

comment:5 by bdubbs@…, 14 years ago

Owner: changed from lfs-book@… to bdubbs@…
Status: newassigned

I've fixed this in svn revision 9370, but will leave the ticket open until we release either 6.7-rc2 or 6.7 stable.

comment:6 by ken@…, 14 years ago

Looks good, I've removed the patch

comment:7 by bdubbs@…, 14 years ago

Resolution: fixed
Status: assignedclosed

Fixed in revision 9370.

Note: See TracTickets for help on using tickets.