Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 449534 - FTBFS libapreq2-2.09-0.15.rc2.fc9
Summary: FTBFS libapreq2-2.09-0.15.rc2.fc9
Alias: None
Product: Fedora
Classification: Fedora
Component: libapreq2
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bojan Smojver
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: FTBFS
TreeView+ depends on / blocked
Reported: 2008-06-02 20:25 UTC by FTBFS
Modified: 2008-06-05 01:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-06-05 01:09:09 UTC
Type: ---

Attachments (Terms of Use)
root.log.bz2 (deleted)
2008-06-02 20:26 UTC, FTBFS
no flags Details
build.log.bz2 (deleted)
2008-06-02 20:26 UTC, FTBFS
no flags Details
root.log.bz2 (deleted)
2008-06-02 20:26 UTC, FTBFS
no flags Details
build.log.bz2 (deleted)
2008-06-02 20:26 UTC, FTBFS
no flags Details
config.status (deleted)
2008-06-03 14:27 UTC, Matt Domsch
no flags Details

Description FTBFS 2008-06-02 20:25:55 UTC
libapreq2-2.09-0.15.rc2.fc9.src.rpm Failed To Build From Source against the rawhide tree.  See for more information.

Comment 1 FTBFS 2008-06-02 20:26:20 UTC
Created attachment 307783 [details]

root.log for i386

Comment 2 FTBFS 2008-06-02 20:26:29 UTC
Created attachment 307784 [details]

build.log for i386

Comment 3 FTBFS 2008-06-02 20:26:39 UTC
Created attachment 307785 [details]

root.log for x86_64

Comment 4 FTBFS 2008-06-02 20:26:50 UTC
Created attachment 307786 [details]

build.log for x86_64

Comment 5 Bojan Smojver 2008-06-02 23:40:22 UTC
Looking at the build log:
/etc/profile: line 38: /bin/hostname: No such file or directory
sh: /usr/sbin/apxs: No such file or directory
: No such file or directory

Without apxs, this build has zero chance of succeeding. The package spec file
correctly includes:
BuildRequires:  httpd-devel >= 2.0.48

Which in turn delivers /usr/sbin/apxs.

So, I don't know what's going on here. Maybe we don't have permission to look
into /usr/sbin or something in the build system?

Comment 6 Matt Domsch 2008-06-03 04:08:12 UTC
I don't think that's the problem.  It's something to do with glue:

Making all in glue
make[1]: Entering directory `/builddir/build/BUILD/libapreq2-2.09/glue'
cd perl; perl  Makefile.PL -apxs /usr/sbin/apxs INSTALLDIRS=vendor
Can't find apache include directory at Makefile.PL line 66.
make[1]: *** [perl/Makefile] Error 9
make[1]: Leaving directory `/builddir/build/BUILD/libapreq2-2.09/glue'
make: *** [all-recursive] Error 1

Comment 7 Bojan Smojver 2008-06-03 04:40:51 UTC
The "Can't find apache include directory at Makefile.PL line 66." is the result
of APACHE2_INCLUDES not being present in config.status:
    slurp my $config => "$base_dir/config.status";
    $config =~ /^s,\@APACHE2_INCLUDES\@,([^,]+)/m or
        die "Can't find apache include directory";

And this line of config.status is supposed to be written out by configure, using
this in acinclude.m4:

I can see this in my config.status on my F9 machine. Can you attach the
config.status file from that run?

Comment 8 Matt Domsch 2008-06-03 14:27:07 UTC
Created attachment 308242 [details]

Comment 9 Bojan Smojver 2008-06-03 22:58:52 UTC
Thank Matt. Looks like the format of config.status changed:

new: S["APACHE2_INCLUDES"]="-I/usr/include/httpd"

old: s,@APACHE2_INCLUDES@,|#_!!_#|-I/home/groups/devel/run/apache/include,g

I'm guessing the version of autoconf delivered this change or something...

Comment 10 Bojan Smojver 2008-06-05 01:09:09 UTC
This has been fixed in 0.17.rc2. Fix for this has been committed upstream as well.

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