cvs commit: ports/www Makefile ports/www/apache22-itk-mpm Makefile pkg-descr

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Dec 8 18:15:35 UTC 2010


On Wed, Dec 08, 2010 at 05:39:45PM +0000, Philip M. Gollucci wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I don't think this one is the same bug.  The itk one I can cause 100% of
> the time; thus, have a change of fixing it.  The slave port is not
> applying the patches if I had to guess (its new as of yesterday).

I should be more precise:

Historically, building ports/www/apache22 with WITH_MPM=itk set, would
randomly bail out with the exact same error shown below.  It would fail
about 80% of the time.  The solution was to continually do "make clean ;
make install".  Do not let 5 or 6 repeated failures make you think that
it's 100% of the time -- there were times where I could repeat its
failure 15-20 times in a row, then suddenly it would work.

Now with the ports/www/apache22-itk-mpm stub port, the problem I
described above still happens (without the need for WITH_MPM=itk though,
obviously).

Proof that the "make clean ; make install" repetition methodology works:

$ pkg_info | grep apache
apache-itk-2.2.17_1 Version 2.2.x of Apache web server with itk MPM.

The PCRE problem really does seem like something similar, because it
only happens some of the time.

What have the autotools changed as of late (past 6-8 months) which could
be causing this?  CC'ing ade@ for answers/assistance.

I'm more than happy to provide full debugging details (they will be
long) of the problem, including what certain configure script variables
look like during failure and during success.

> On 12/08/10 17:06, Jeremy Chadwick wrote:
> > On Wed, Dec 08, 2010 at 07:42:15AM -0800, QAT at FreeBSD.org wrote:
> >> The Restless Daemon identified a configure error while trying to build:
> >>  apache-itk-2.2.17_1 maintained by apache at FreeBSD.org
> >>  Makefile ident: $FreeBSD: ports/www/apache22-itk-mpm/Makefile,v 1.1 2010/12/07 19:25:08 pgollucci Exp $
> >>
> >> Excerpt from http://QAT.TecNik93.com/logs/8-STABLE-NPD/apache-itk-2.2.17_1.log :
> >>
> >> checking whether to enable mod_ssl... shared
> >>   adding "-I$(top_srcdir)/modules/ssl" to INCLUDES
> >> checking whether to enable mod_optional_hook_export... no
> >> checking whether to enable mod_optional_hook_import... no
> >> checking whether to enable mod_optional_fn_import... no
> >> checking whether to enable mod_optional_fn_export... no
> >> checking for target platform... unix
> >> checking for rlim_t... yes
> >> checking sys/time.h usability... yes
> >> checking sys/time.h presence... yes
> >> checking for sys/time.h... yes
> >> checking sys/resource.h usability... yes
> >> checking sys/resource.h presence... yes
> >> checking for sys/resource.h... yes
> >> checking for sys/sem.h... (cached) yes
> >> checking sys/ipc.h usability... yes
> >> checking sys/ipc.h presence... yes
> >> checking for sys/ipc.h... yes
> >> checking for setsid... yes
> >> checking for killpg... yes
> >> checking bstring.h usability... no
> >> checking bstring.h presence... no
> >> checking for bstring.h... no
> >> checking for unistd.h... (cached) yes
> >> checking for syslog... yes
> >> checking for sys/times.h... (cached) yes
> >> checking for times... (cached) yes
> >> checking which MPM to use... itk
> >> configure: error: the selected mpm -- itk -- is not supported
> >> ===>  Script "configure" failed unexpectedly.
> >> Please report the problem to apache at FreeBSD.org [maintainer] and attach the
> >> "/work/a/ports/www/apache22-itk-mpm/work/httpd-2.2.17/config.log" including
> >> the output of the failure of your make command. Also, it might be a good idea
> >> to provide an overview of all packages installed on your system (e.g. an `ls
> >> /var/db/pkg`).
> >> *** Error code 1
> >>
> >> Stop in /a/ports/www/apache22-itk-mpm.
> >> ================================================================
> >> build of /usr/ports/www/apache22-itk-mpm ended at Wed Dec  8 15:42:14 UTC 2010
> >>
> >> The tarballed WRKDIR can be found here:
> >> http://QAT.TecNik93.com/wrkdirs/8-STABLE-NPD/apache-itk-2.2.17_1.tbz
> >>
> >> PortsMon page for the port:
> >> http://portsmon.freebsd.org/portoverview.py?category=www&portname=apache22-itk-mpm
> >>
> >> The build which triggered this BotMail was done under
> >> tinderbox-3.3_3; dsversion: 3.2.1 on RELENG_8 on amd64, kern.smp.cpus: 8
> >> with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with the
> >> "official" up-to-date Ports Tree, with the following vars set:
> >> NOPORTDOCS=yes,  NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes.
> >>
> >> A description of the testing process can be found here:
> >> http://T32.TecNik93.com/FreeBSD/QA-Tindy/
> > 
> > I can confirm this problem, by the way.  I spoke to pgollucci about it
> > many weeks ago.  I spent literally days trying to track down the source
> > of the problem (including reviewing all the shell code in the configure
> > script, etc.), and it really looks to be an autoconf bug.
> > 
> > The workaround?  Simply run "make clean ; make" over and over
> > until the configure phase works.  Yes, really that is the solution at
> > this point in time.
> > 
> > Whatever this problem is, is almost certainly the same issue plaguing
> > the PCRE inclusion bits too.  It really needs to get hammered out; the
> > Apache port is too important to be in a state of disarray like this.
> > 
> 
> 
> - -- 
> - ------------------------------------------------------------------------
> 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
> Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
> VP Apache Infrastructure; Member, Apache Software Foundation
> Committer,                        FreeBSD Foundation
> Consultant,                       P6M7G8 Inc.
> Sr. System Admin,                 Ridecharge Inc.
> 
> Work like you don't need the money,
> love like you'll never get hurt,
> and dance like nobody's watching.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.16 (FreeBSD)
> 
> iD8DBQFM/8LhdbiP+9ubjBwRAu3FAJ9R1h2mC/PgBrVzDMeyzEZZud3s9ACfe6Gw
> NlvmRkeuahVlalH78KnwHDo=
> =lQby
> -----END PGP SIGNATURE-----

-- 
| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the cvs-all mailing list