Bug 670621 - apr doesn't build anymore with latest libtool
Summary: apr doesn't build anymore with latest libtool
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: apr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-18 20:28 UTC by Karsten Hopp
Modified: 2011-03-04 16:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-04 16:37:12 UTC
Type: ---


Attachments (Terms of Use)

Description Karsten Hopp 2011-01-18 20:28:41 UTC
Description of problem:
/usr/bin/libtoolize has changed and some sed commands in apr-1.4.2/buildconf won't work anymore. aclocal_dir and ltfiles variables will be empty, see p.e.
http://ppc.koji.fedoraproject.org/koji/getfile?taskID=120623&name=build.log
Please review these changes and apply, if they are ok with you.

--- apr-1.4.2/buildconf 2009-11-12 23:19:49.000000000 +0100
+++ apr-1.4.2_new/buildconf     2011-01-18 21:21:10.645322522 +0100
@@ -52,8 +52,8 @@
    ltfile=`pwd`/libtool.m4
 elif grep all_pkgmacro_files $libtoolize > /dev/null; then
     # libtool 2.x
-   aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}' < $libtoolize`
-   ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}' < $libtoolize`
+   aclocal_dir=`sed -n '/aclocaldir=/{s/.*=//;p;q;}' < $libtoolize`
+   ltfiles=`grep all_pkgmacro_files= $libtoolize| sed -n '/all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}'` 
    for f in $ltfiles; do
        test -f "$aclocal_dir/$f" && cp "$aclocal_dir/$f" build
    done


Version-Release number of selected component (if applicable):
apr-1.4.2

Comment 1 Joe Orton 2011-03-04 16:37:12 UTC
Thanks, fixed.


Note You need to log in before you can comment on or make changes to this bug.