Opened 10 years ago

Last modified 7 months ago

#42582 new defect

p5-libapreq2: fails to build for any perl version except the default one (Can't locate ModPerl/MM.pm)

Reported by: st.graef@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryan@…, ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager), mojca (Mojca Miklavec), roberto@…, murrayE
Port: p5-libapreq2 mod_perl2 p5-html-mason p5-http-server-simple-mason

Description (last modified by neverpanic (Clemens Lang))

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.14-libapreq2/work/libapreq2-2.13" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port p5.14-libapreq2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 17851 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for p5.14-libapreq2: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port p5.14-libapreq2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.14-libapreq2/main.log

Attachments (3)

mod_perl2-main.log (17.5 KB) - added by murrayeisenberg@… 10 years ago.
Failed forced build of mod_per2 with perl5.16
p5-mod_perl2.Portfile (1.7 KB) - added by mojca (Mojca Miklavec) 10 years ago.
A sample Portfile for p5-mod_perl2
main_murray_2021-02-02.log (70.3 KB) - added by murrayE 3 years ago.
main.log - added by murray 2021-02-02

Download all attachments as: .zip

Change History (41)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Description: modified (diff)
Priority: HighNormal

Please use WikiFormatting when posting in Trac and don't set priority to high, since that is reserved for MacPorts Developers as mentioned in the ticket guidelines prominently linked from the "new ticket" page.

You will have to attach /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.14-libapreq2/main.log before anybody will be able to help you.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryan@… ryandesign@… added
Port: mod_perl2 added

I also get this build failure; more specifically:

Can't locate ModPerl/MM.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.14.2 /opt/local/lib/perl5/vendor_perl/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.14.2 /opt/local/lib/perl5/5.14.2/darwin-thread-multi-2level /opt/local/lib/perl5/5.14.2 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at Makefile.PL line 2.

Indeed MM.pm is not in those locations; mod_perl2 installed it in the following location on my system:

/opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level/ModPerl/MM.pm

This is because mod_perl2 uses "perl", and my "perl" is from the perl5 port installed with the +perl5_12 variant, because that was the default at the time.

Ideally, the modules mod_perl2 provides should be split out into separate module subports for each supported version of perl, so that ports like p5-libapreq2 can depend on the correct perl version of the module.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

So, the problem is that mod_perl2 builds itself differently depending on what variant of the perl5 port is installed. It shouldn't do that.

The workaround for now is to reinstall perl5 with a variant matching your desired version of perl, for example:

sudo port install perl5 +perl5_14

Then rebuild mod_perl2:

sudo port -ns upgrade --force mod_perl2

Then you should be able to install that perl version of p5-libapreq2:

sudo port clean p5.14-libapreq2
sudo port install p5.14-libapreq2

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: murrayeisenberg@… added

Has duplicate #42738.

comment:5 Changed 10 years ago by murrayeisenberg@…

I'm currently using perl5.18 (sudo port install perl5 +Perl5_18) and tried the suggested work-around

sudo port -ns upgrade --force mod_perl2

but the build for that fails, too. So does:

sudo port uninstall mod_perl2
sudo port install mod_perl2

Thus I'm still stymied with getting p5-libapreq2 installed.

comment:6 Changed 10 years ago by murrayeisenberg@…

In desperation, I uninstalled apr apr-util, apache2 +preforkmpm, php55-apache2handler, and mod_perl2; then re-installed them -- just in case the perl version was involved: I'm using perl5.18 as the default (it's what perl -version shows).

But I'm still unable to install p5-libapreq2 and unable to use the suggested workaround of forcing the upgrade of mod_perl2.

What do do next?

comment:7 Changed 10 years ago by murrayeisenberg@…

Note that file mod_perl2.pm and directory ModPerlis installed in

 /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level 

rather than in the corresponding 5.18.2 directory -- even though the default perl version is 5.18 (according to perl -version). Could this explain why the suggested workaround

sudo port -ns upgrade --force mod_perl2

fails, and why my attempt to install p5-libapreq2 also fails?

If so, how get remedy tis?

Last edited 10 years ago by murrayeisenberg@… (previous) (diff)

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

"sudo port -ns upgrade --force mod_perl2" should rebuild mod_perl2 for whatever perl you've made default. For me, mod_perl2 fails to build when perl5.18 is default. Also, you cannot install p5-libapreq2 for perl5.18 because no p5.18-libapreq2 subport exists yet.

comment:9 Changed 10 years ago by murrayeisenberg@…

Re: " you cannot install p5-libapreq2 for perl5.18 because no p5.18-libapreq2 subport exists yet."

So does that mean I should uninstall all the other perl modules I installed with 5.18 and re-install them with 5.16?

(All, or nearly all, of these modules are prerequisites for a non-MacPorts installation of WeBWorK that I'm trying to do.)

comment:10 in reply to:  8 Changed 10 years ago by murrayeisenberg@…

Replying to ryandesign@…:

"sudo port -ns upgrade --force mod_perl2" should rebuild mod_perl2 for whatever perl you've made default. For me, mod_perl2 fails to build when perl5.18 is default. Also, you cannot install p5-libapreq2 for perl5.18 because no p5.18-libapreq2 subport exists yet.

On 08/03/2014 01:03, Murray Eisenberg wrote: Apparently at present, libapreq2 will not work with perl 5.18. Is that correct?

(I'm using the MacPorts port of perl 5.18 under Mac OS X and install perl modules, including those for apache2 support, using MacPorts. And I'm told that the libapreq2 port available there has no perl 5.18-compatible sub-port because libapreq2 itself is not yet compatible with perl 5.18.)

If so, this is to request a perl 5.18-compatible version of libapreq2.

[What's involved in creating that? (I'm not a Perl programmer but just need libapreq2 -- actually, a MacPorts port of it -- for use with an Apache server application.)

I received the following response when on the apreq-dev-help@… list I requested a perl 5.18-compatible version of libapreq2, so that a MacPorts port could then be possible:

I didn't see any problems with perl-5.18 and libapreq2.

However, a trivial attempt to install mod_perl with Perl 5.18 (httpd-2.2.10) crashed. If you want to use the perl-glue for libapreq2 and mod_perl, that can be a problem. I have no idea if it's a compatibility issue, or due to my not having compiled mod_perl in several years now, and having borked something in my rusty toolchain.

Have you asked about this on the mod_perl users list at all?

I'm unsure what question to ask of the mod_perl users list or, more generally, how to resolve the issue.

comment:11 Changed 10 years ago by murrayeisenberg@…

I asked about this on mailing list apreq-dev@…. Got response from Steve Hay:

On 08/03/2014 01:03, Murray Eisenberg wrote:

(I'm using the MacPorts port of perl 5.18 under Mac OS X and install perl modules, including those for apache2 support, using MacPorts. And I'm told that the libapreq2 port available there has no perl 5.18- compatible sub-port because libapreq2 itself is not yet compatible with perl 5.18.)

No, that's not true.

I uploaded a binary Windows build of mod_perl-2.0.8 and libapreq2-2.13 components, built against perl-5.18.0, in October last year:

http://people.apache.org/~stevehay/

And I've just tried a build of the following right now:

httpd-2.2.27 perl-5.18.2 libwww-perl-6.05 mod_perl-2.0.8 libapreq2-2.13

and everything passes all tests except for libapreq2's glue\perl\t\apreq\cgi.t failing on line 197 with "Odd number of elements in hash assignment".

But I do note that MacPorts uses mod_perl2 @2.0.7_1, not 2.0.8.

comment:12 Changed 10 years ago by murrayeisenberg@…

After reverting perl5 to 5.16 ...

sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16

... I tried to force reinstallation of mod_perl2 so that I could then (at long last) install p5-libapreq2:

sudo port -ns upgrade --force mod_perl2

But the build of mod_perl2 failed. See attached log.

Changed 10 years ago by murrayeisenberg@…

Attachment: mod_perl2-main.log added

Failed forced build of mod_per2 with perl5.16

comment:13 Changed 10 years ago by murrayeisenberg@…

Problem building p5-libapreq2 and mod_perl2 with perl5.16 solved with

sudo port upgrade --enforce-variants perl5 -perl5_18 +perl5_16
sudo port -ns upgrade --force mod_perl2

after I included the step I forget, namely, to clean mod_perl2.

(It would still be preferable to be able to use p5-libapreq2 with perl5.18.)

comment:14 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

The log you attached is incomplete. Always clean and try again before attaching a log.

I did not say libapreq2 was not compatible with perl5.18; I only said it had no p5.18 subport. This is because the last time the p5-libapreq2 port was touched was 16 months before the perl5.18 port existed in MacPorts. I do not know if libapreq2 would work with perl5.18. It cannot be tested because p5-libapreq2 depends on mod_perl2 and as was already discussed above mod_perl2 does not build with perl5.18. Also, p5-libapreq2 has dependencies on p5-extutils-xsbuilder, p5-parse-recdescent, and p5-tie-ixhash, which do not have p5.18 subports either. I expect this is again because nobody has tried, rather than because of an actual incompatibility. Remember that we have 1000 perl ports, 70% of which do not have a maintainer. I have added p5.18 subports to these perl modules now in r118327, r118328, r118329; they built fine, but I did not test whether they work correctly, because I don't know how.

comment:15 in reply to:  14 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

mod_perl2 does not build with perl5.18.

In r118330 I have updated mod_perl2 to version 2.0.8 which does build with perl5.18.

comment:16 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

In r118331 I added a p5.18 subport to p5-libapreq2.

comment:17 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:18 Changed 10 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:19 Changed 10 years ago by mojca (Mojca Miklavec)

We need to "rename" the ticket. This line in mod_perl2 is problematic in any case:

depends_lib         path:bin/perl:perl5 port:apache2

and mod_perl2 has a dependency on a particular version of perl. I got the following error for example (r123510):

Could not open /opt/local/lib/perl5/5.16.1/darwin-thread-multi-2level/CORE/libperl.dylib: Error opening or reading file (referenced from /opt/local/apache2/libexec/mod_perl.so)

We need at least variants, but probably a more clever solution is needed anyway.

comment:20 Changed 10 years ago by mojca (Mojca Miklavec)

Port: p5-libapreq2 added; p5.14-libapreq2 removed
Version: 2.2.1

comment:21 Changed 10 years ago by mojca (Mojca Miklavec)

Summary: Building p5.14-libapreq2 fails (upgrade)p5-libapreq2: fails to build for any perl version except the default one (Can't locate ModPerl/MM.pm)

There are some other tickets open. For example #28610 which is exactly the same issue. One of these tickets should be marked as duplicate.

Other tickets include #30935 and #42927, but I'm not 100% sure if these are also related.

comment:22 Changed 10 years ago by mf2k (Frank Schima)

Cc: roberto@… added
Port: p5-libapreq2, mod_perl2p5-libapreq2 mod_perl2

Let's keep the newer one. Cc reporter of duplicate #28610.

comment:23 Changed 10 years ago by murrayeisenberg@…

Currently I have active mod_perl2 @2.0.8_1 as well as p5.18-libapreq2 @2.130.0_3. But build of p5.18-libapreq2 @ 2.130.0_4 fails. How fix? Log follows.

version:1
:msg:main --->  Computing dependencies for p5.18-libapreq2:info:main .:debug:main p5.18-libapreq2 has no conflicts
:debug:main Searching for dependency: perl5.18
:debug:main Found Dependency: receipt exists for perl5.18
:debug:main Searching for dependency: apache2
:debug:main Found Dependency: receipt exists for apache2
:debug:main Searching for dependency: mod_perl2
:debug:main Found Dependency: receipt exists for mod_perl2
:debug:main Searching for dependency: p5.18-extutils-xsbuilder
:debug:main Found Dependency: receipt exists for p5.18-extutils-xsbuilder
:msg:main 
:debug:main Executing org.macports.main (p5.18-libapreq2)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 504
:debug:archivefetch archivefetch phase started at Sat Aug 23 16:36:51 EDT 2014
:msg:archivefetch --->  Fetching archive for p5.18-libapreq2
:debug:archivefetch Executing org.macports.archivefetch (p5.18-libapreq2)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 504/501
:info:archivefetch --->  p5.18-libapreq2-2.130.0_4.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch p5.18-libapreq2-2.130.0_4.darwin_13.x86_64.tbz2 from http://packages.macports.org/p5.18-libapreq2
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch p5.18-libapreq2-2.130.0_4.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.18-libapreq2
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch p5.18-libapreq2-2.130.0_4.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/p5.18-libapreq2
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sat Aug 23 16:36:51 EDT 2014
:notice:fetch --->  Fetching distfiles for p5.18-libapreq2
:debug:fetch Executing org.macports.fetch (p5.18-libapreq2)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat Aug 23 16:36:51 EDT 2014
:notice:checksum --->  Verifying checksums for p5.18-libapreq2
:debug:checksum Executing org.macports.checksum (p5.18-libapreq2)
:info:checksum --->  Checksumming libapreq2-2.13.tar.gz
:debug:checksum Calculated (rmd160) is 8d7d2573624193b6dfbbe354b3771012257c1578
:debug:checksum Correct (rmd160) checksum for libapreq2-2.13.tar.gz
:debug:checksum Calculated (sha256) is 5731e6833b32d88e4a5c690e45ddf20fcf969ce3da666c5627d775e92da0cf6e
:debug:checksum Correct (sha256) checksum for libapreq2-2.13.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Sat Aug 23 16:36:51 EDT 2014
:notice:extract --->  Extracting p5.18-libapreq2
:debug:extract Executing org.macports.extract (p5.18-libapreq2)
:info:extract --->  Extracting libapreq2-2.13.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/perl5/libapreq2-2.13.tar.gz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/perl5/libapreq2-2.13.tar.gz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/perl5/libapreq2-2.13.tar.gz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work to macports
:debug:extract euid/egid changed to: 504/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Sat Aug 23 16:36:52 EDT 2014
:debug:patch Executing org.macports.patch (p5.18-libapreq2)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sat Aug 23 16:36:52 EDT 2014
:notice:configure --->  Configuring p5.18-libapreq2
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (p5.18-libapreq2)
:debug:configure Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -arch x86_64'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
F77FLAGS='-m64'
F90FLAGS='-pipe -Os -m64'
FCFLAGS='-pipe -Os -m64'
FFLAGS='-pipe -Os'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
OBJC='/usr/bin/clang'
OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXX='/usr/bin/clang++'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
PERL_AUTOINSTALL='--skipdeps'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13" && /opt/local/bin/perl5.18 Makefile.PL --with-apache2-apxs=/opt/local/apache2/bin/apxs --with-mm-opts="INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang""'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13" && /opt/local/bin/perl5.18 Makefile.PL --with-apache2-apxs=/opt/local/apache2/bin/apxs --with-mm-opts="INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"" 
:info:configure perl: 18 ok
:info:configure build/version_check.pl failed: no version_string found in '' for 'mod_perl2'.
:info:configure Please upgrade mod_perl2 first.
:info:configure Can't locate Apache/Test.pm in @INC (you may need to install the Apache::Test module) (@INC contains: /opt/local/lib/perl5/site_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.18 /opt/local/lib/perl5/vendor_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.18 /opt/local/lib/perl5/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/5.18 .) at build/version_check.pl line 27.
:info:configure Please upgrade Apache::Test first.
:info:configure ExtUtils::MakeMaker: 6.66 ok
:info:configure ExtUtils::XSBuilder: 0.28 ok
:info:configure Test::More: 0.98 ok
:info:configure ./configure --enable-perl-glue --with-perl="/opt/local/bin/perl5.18" --with-apache2-apxs="/opt/local/apache2/bin/apxs" --with-mm-opts="INSTALLDIRS=vendor CC=/usr/bin/clang LD=/usr/bin/clang"
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether make sets $(MAKE)... (cached) yes
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking for C compiler default output file name... a.out
:info:configure checking whether the C compiler works... yes
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of executables... 
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
:info:configure checking for style of include used by make... GNU
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking build system type... i386-apple-darwin13.3.0
:info:configure checking host system type... i386-apple-darwin13.3.0
:info:configure checking for a sed that does not truncate output... /opt/local/bin/gsed
:info:configure checking for grep that handles long lines and -e... /opt/local/bin/grep
:info:configure checking for egrep... /opt/local/bin/grep -E
:info:configure checking for ld used by /usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
:info:configure checking for BSD-compatible nm... /opt/local/bin/nm
:info:configure checking whether ln -s works... yes
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking dlfcn.h usability... yes
:info:configure checking dlfcn.h presence... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/clang++ accepts -g... yes
:info:configure checking dependency style of /usr/bin/clang++... gcc3
:info:configure checking how to run the C++ preprocessor... /usr/bin/clang++ -E
:info:configure checking for g77... no
:info:configure checking for xlf... no
:info:configure checking for f77... no
:info:configure checking for frt... no
:info:configure checking for pgf77... no
:info:configure checking for cf77... no
:info:configure checking for fort77... no
:info:configure checking for fl32... no
:info:configure checking for af77... no
:info:configure checking for xlf90... no
:info:configure checking for f90... no
:info:configure checking for pgf90... no
:info:configure checking for pghpf... no
:info:configure checking for epcf90... no
:info:configure checking for gfortran... no
:info:configure checking for g95... no
:info:configure checking for xlf95... no
:info:configure checking for f95... no
:info:configure checking for fort... no
:info:configure checking for ifort... no
:info:configure checking for ifc... no
:info:configure checking for efc... no
:info:configure checking for pgf95... no
:info:configure checking for lf95... no
:info:configure checking for ftn... no
:info:configure checking whether we are using the GNU Fortran 77 compiler... no
:info:configure checking whether  accepts -g... no
:info:configure checking the maximum length of command line arguments... 196608
:info:configure checking command to parse /opt/local/bin/nm output from /usr/bin/clang object... ok
:info:configure checking for objdir... .libs
:info:configure checking for ar... ar
:info:configure checking for ranlib... ranlib
:info:configure checking for strip... strip
:info:configure checking for dsymutil... dsymutil
:info:configure checking for nmedit... nmedit
:info:configure checking for -single_module linker flag... yes
:info:configure checking for -exported_symbols_list linker flag... yes
:info:configure checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
:info:configure checking for /usr/bin/clang option to produce PIC... -fno-common
:info:configure checking if /usr/bin/clang PIC flag -fno-common works... yes
:info:configure checking if /usr/bin/clang static flag -static works... no
:info:configure checking if /usr/bin/clang supports -c -o file.o... yes
:info:configure checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin13.3.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure configure: creating libtool
:info:configure appending configuration tag "CXX" to libtool
:info:configure checking for ld used by /usr/bin/clang++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
:info:configure checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
:info:configure checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking for /usr/bin/clang++ option to produce PIC... -fno-common
:info:configure checking if /usr/bin/clang++ PIC flag -fno-common works... yes
:info:configure checking if /usr/bin/clang++ static flag -static works... no
:info:configure checking if /usr/bin/clang++ supports -c -o file.o... yes
:info:configure checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin13.3.0 dyld
:info:configure (cached) (cached) checking how to hardcode library paths into programs... immediate
:info:configure appending configuration tag "F77" to libtool
:info:configure checking for ranlib... (cached) ranlib
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether ln -s works... yes
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking for /opt/local/bin/apr-1-config... yes
:info:configure checking for /opt/local/bin/apu-1-config... yes
:info:configure checking for perl... /opt/local/bin/perl5.18
:info:configure checking for ExtUtils::XSBuilder... yes
:info:configure checking for mod_perl2... build/version_check.pl failed: no version_string found in '' for 'mod_perl2'.
:info:configure configure: WARNING: Bad mod_perl2 version
:info:configure yes
:info:configure checking for Apache::Test... Can't locate Apache/Test.pm in @INC (you may need to install the Apache::Test module) (@INC contains: /opt/local/lib/perl5/site_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.18 /opt/local/lib/perl5/vendor_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.18 /opt/local/lib/perl5/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/5.18 .) at build/version_check.pl line 27.
:info:configure configure: WARNING: Bad Apache::Test version
:info:configure yes
:info:configure checking for ExtUtils::MakeMaker... yes
:info:configure Can't locate Apache/Test.pm in @INC (you may need to install the Apache::Test module) (@INC contains: /opt/local/lib/perl5/site_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.18 /opt/local/lib/perl5/vendor_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.18 /opt/local/lib/perl5/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/5.18 .) at build/version_check.pl line 27.
:info:configure   setting APR_INCLUDES to " -I/opt/local/include/apr-1 "
:info:configure   adding "-I/opt/local/include" to APR_INCLUDES
:info:configure   setting APR_LTFLAGS to " -L/opt/local/lib -R/opt/local/lib -lapr-1"
:info:configure   adding "-laprutil-1" to APR_LTFLAGS
:info:configure   setting APR_LIBS to " -lpthread"
:info:configure   adding "-lexpat" to APR_LIBS
:info:configure   adding "-liconv" to APR_LIBS
:info:configure   setting APR_LDFLAGS to " -L/opt/local/lib -laprutil-1 -L/opt/local/lib/db46 -L/opt/local/lib"
:info:configure   adding "-lapr-1" to APR_LDFLAGS
:info:configure   adding "-DDARWIN" to CPPFLAGS
:info:configure   adding "-DSIGPROCMASK_SETS_THREAD_MASK" to CPPFLAGS
:info:configure   adding "-DDARWIN_10" to CPPFLAGS
:info:configure libapreq2 Version: 2.8.0
:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure config.status: creating include/Makefile
:info:configure config.status: creating library/Makefile
:info:configure config.status: creating library/t/Makefile
:info:configure config.status: creating module/Makefile
:info:configure config.status: creating module/apache2/Makefile
:info:configure config.status: creating glue/Makefile
:info:configure config.status: creating build/doxygen.conf
:info:configure config.status: creating include/groups.dox
:info:configure config.status: creating apreq2-config
:info:configure config.status: creating include/apreq_config.h
:info:configure config.status: executing depfiles commands
:debug:configure Executing proc-post-org.macports.configure-configure-0
:info:configure Fixing flags in Makefile
:info:configure --->  Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^CCFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure --->  Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^OTHERLDFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure Fixing flags in glue/Makefile
:info:configure --->  Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^CCFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure --->  Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^OTHERLDFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure Fixing flags in include/Makefile
:info:configure --->  Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^CCFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure --->  Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^OTHERLDFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure Fixing flags in library/Makefile
:info:configure --->  Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^CCFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure --->  Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^OTHERLDFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure Fixing flags in library/t/Makefile
:info:configure --->  Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^CCFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/t/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/t/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/t/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure --->  Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^OTHERLDFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/t/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/t/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/t/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure Fixing flags in module/Makefile
:info:configure --->  Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^CCFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure --->  Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^OTHERLDFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure Fixing flags in module/apache2/Makefile
:info:configure --->  Patching Makefile: /^CCFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^CCFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2/Makefile
:debug:configure euid/egid changed to: 504/501
:info:configure --->  Patching Makefile: /^OTHERLDFLAGS *=/s/$/ -arch x86_64/
:debug:configure Executing reinplace: /usr/bin/sed {/^OTHERLDFLAGS *=/s/$/ -arch x86_64/} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2/Makefile >@ file11 2>@stderr
:debug:configure euid/egid changed to: 0/0
:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2/Makefile to macports
:debug:configure euid/egid changed to: 504/501
:debug:configure euid/egid changed to: 0/0
:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2/Makefile
:debug:configure euid/egid changed to: 504/501
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Aug 23 16:37:01 EDT 2014
:notice:build --->  Building p5.18-libapreq2
:debug:build Executing org.macports.build (p5.18-libapreq2)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13" && /usr/bin/make -j8 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13'
:info:build Making all in .
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13'
:info:build make[1]: Nothing to be done for `all-am'.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13'
:info:build Making all in include
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include'
:info:build make[2]: Nothing to be done for `all-am'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/include'
:info:build Making all in library
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library'
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo version.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT cookie.lo -MD -MP -MF .deps/cookie.Tpo -c -o cookie.lo cookie.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT param.lo -MD -MP -MF .deps/param.Tpo -c -o param.lo param.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c -o parser.lo parser.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT parser_urlencoded.lo -MD -MP -MF .deps/parser_urlencoded.Tpo -c -o parser_urlencoded.lo parser_urlencoded.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT parser_header.lo -MD -MP -MF .deps/parser_header.Tpo -c -o parser_header.lo parser_header.c
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT parser_multipart.lo -MD -MP -MF .deps/parser_multipart.Tpo -c -o parser_multipart.lo parser_multipart.c
:info:build mkdir .libs
:info:build mkdir .libs
:info:build mkdir: .libs: File exists
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT cookie.lo -MD -MP -MF .deps/cookie.Tpo -c cookie.c  -fno-common -DPIC -o .libs/cookie.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT param.lo -MD -MP -MF .deps/param.Tpo -c param.c  -fno-common -DPIC -o .libs/param.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser_multipart.lo -MD -MP -MF .deps/parser_multipart.Tpo -c parser_multipart.c  -fno-common -DPIC -o .libs/parser_multipart.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser_header.lo -MD -MP -MF .deps/parser_header.Tpo -c parser_header.c  -fno-common -DPIC -o .libs/parser_header.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c  -fno-common -DPIC -o .libs/version.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c  -fno-common -DPIC -o .libs/parser.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser_urlencoded.lo -MD -MP -MF .deps/parser_urlencoded.Tpo -c parser_urlencoded.c  -fno-common -DPIC -o .libs/parser_urlencoded.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fno-common -DPIC -o .libs/util.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -o version.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT param.lo -MD -MP -MF .deps/param.Tpo -c param.c -o param.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser_urlencoded.lo -MD -MP -MF .deps/parser_urlencoded.Tpo -c parser_urlencoded.c -o parser_urlencoded.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c -o parser.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser_header.lo -MD -MP -MF .deps/parser_header.Tpo -c parser_header.c -o parser_header.o >/dev/null 2>&1
:info:build mv -f .deps/version.Tpo .deps/version.Plo
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT module.lo -MD -MP -MF .deps/module.Tpo -c -o module.lo module.c
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT cookie.lo -MD -MP -MF .deps/cookie.Tpo -c cookie.c -o cookie.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT parser_multipart.lo -MD -MP -MF .deps/parser_multipart.Tpo -c parser_multipart.c -o parser_multipart.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
:info:build mv -f .deps/param.Tpo .deps/param.Plo
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT module_custom.lo -MD -MP -MF .deps/module_custom.Tpo -c -o module_custom.lo module_custom.c
:info:build mv -f .deps/parser_urlencoded.Tpo .deps/parser_urlencoded.Plo
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT module_cgi.lo -MD -MP -MF .deps/module_cgi.Tpo -c -o module_cgi.lo module_cgi.c
:info:build mv -f .deps/parser.Tpo .deps/parser.Plo
:info:build /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
:info:build mv -f .deps/parser_header.Tpo .deps/parser_header.Plo
:info:build mv -f .deps/cookie.Tpo .deps/cookie.Plo
:info:build mv -f .deps/parser_multipart.Tpo .deps/parser_multipart.Plo
:info:build mv -f .deps/util.Tpo .deps/util.Plo
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT module.lo -MD -MP -MF .deps/module.Tpo -c module.c  -fno-common -DPIC -o .libs/module.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT module_custom.lo -MD -MP -MF .deps/module_custom.Tpo -c module_custom.c  -fno-common -DPIC -o .libs/module_custom.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT module.lo -MD -MP -MF .deps/module.Tpo -c module.c -o module.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT module_cgi.lo -MD -MP -MF .deps/module_cgi.Tpo -c module_cgi.c  -fno-common -DPIC -o .libs/module_cgi.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c  -fno-common -DPIC -o .libs/error.o
:info:build module_cgi.c:104:16: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
:info:build     while (--p >= 0) {
:info:build            ~~~ ^  ~
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
:info:build mv -f .deps/module.Tpo .deps/module.Plo
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT module_custom.lo -MD -MP -MF .deps/module_custom.Tpo -c module_custom.c -o module_custom.o >/dev/null 2>&1
:info:build mv -f .deps/error.Tpo .deps/error.Plo
:info:build 1 warning generated.
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT module_cgi.lo -MD -MP -MF .deps/module_cgi.Tpo -c module_cgi.c -o module_cgi.o >/dev/null 2>&1
:info:build mv -f .deps/module_custom.Tpo .deps/module_custom.Plo
:info:build mv -f .deps/module_cgi.Tpo .deps/module_cgi.Plo
:info:build /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -arch x86_64 -version-info 11:0:8  -L/opt/local/lib -R/opt/local/lib -lapr-1 -laprutil-1  -lpthread -lexpat -liconv -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o libapreq2.la -rpath /opt/local/lib util.lo version.lo cookie.lo param.lo parser.lo parser_urlencoded.lo parser_header.lo parser_multipart.lo module.lo module_custom.lo module_cgi.lo error.lo  
:info:build /usr/bin/clang -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/libapreq2.3.8.0.dylib  .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o .libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o .libs/parser_multipart.o .libs/module.o .libs/module_custom.o .libs/module_cgi.o .libs/error.o  -L/opt/local/lib -lapr-1 -laprutil-1 -lpthread -lexpat -liconv  -arch x86_64 -Wl,-headerpad_max_install_names -arch x86_64 -install_name  /opt/local/lib/libapreq2.3.dylib -compatibility_version 12 -current_version 12.0 -Wl,-single_module
:info:build dsymutil .libs/libapreq2.3.8.0.dylib || :
:info:build warning: no debug symbols in executable (-arch x86_64)
:info:build (cd .libs && rm -f libapreq2.3.dylib && ln -s libapreq2.3.8.0.dylib libapreq2.3.dylib)
:info:build (cd .libs && rm -f libapreq2.dylib && ln -s libapreq2.3.8.0.dylib libapreq2.dylib)
:info:build ar cru .libs/libapreq2.a  util.o version.o cookie.o param.o parser.o parser_urlencoded.o parser_header.o parser_multipart.o module.o module_custom.o module_cgi.o error.o
:info:build ranlib .libs/libapreq2.a
:info:build creating libapreq2.la
:info:build (cd .libs && rm -f libapreq2.la && ln -s ../libapreq2.la libapreq2.la)
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library'
:info:build Making all in module
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module'
:info:build Making all in apache2
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2'
:info:build /bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include  -I/opt/local/apache2/include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c -o handle.lo handle.c
:info:build /bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include  -I/opt/local/apache2/include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT filter.lo -MD -MP -MF .deps/filter.Tpo -c -o filter.lo filter.c
:info:build mkdir .libs
:info:build mkdir .libs
:info:build mkdir: .libs: File exists
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT filter.lo -MD -MP -MF .deps/filter.Tpo -c filter.c  -fno-common -DPIC -o .libs/filter.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c handle.c  -fno-common -DPIC -o .libs/handle.o
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c handle.c -o handle.o >/dev/null 2>&1
:info:build  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -pipe -Os -arch x86_64 -MT filter.lo -MD -MP -MF .deps/filter.Tpo -c filter.c -o filter.o >/dev/null 2>&1
:info:build mv -f .deps/handle.Tpo .deps/handle.Plo
:info:build mv -f .deps/filter.Tpo .deps/filter.Plo
:info:build /bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -arch x86_64 -export-dynamic -module -avoid-version `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/apreq2-config --link-libtool --libs`  -L/opt/local/lib -R/opt/local/lib -lapr-1 -laprutil-1 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o mod_apreq2.la -rpath `/opt/local/apache2/bin/apxs -q LIBEXECDIR` handle.lo filter.lo  
:info:build /usr/bin/clang ${wl}-undefined ${wl}dynamic_lookup -o .libs/mod_apreq2.so -bundle  .libs/handle.o .libs/filter.o  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/.libs/libapreq2.dylib -L/opt/local/lib -lpthread -lexpat -liconv -lapr-1 -laprutil-1  -arch x86_64 -Wl,-headerpad_max_install_names -arch x86_64
:info:build dsymutil .libs/mod_apreq2.so || :
:info:build warning: no debug symbols in executable (-arch x86_64)
:info:build ar cru .libs/mod_apreq2.a  handle.o filter.o
:info:build ranlib .libs/mod_apreq2.a
:info:build creating mod_apreq2.la
:info:build (cd .libs && rm -f mod_apreq2.la && ln -s ../mod_apreq2.la mod_apreq2.la)
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module/apache2'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module'
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../include  -I/opt/local/include/apr-1  -I/opt/local/include -I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT test_cgi.o -MD -MP -MF .deps/test_cgi.Tpo -c -o test_cgi.o test_cgi.c
:info:build mv -f .deps/test_cgi.Tpo .deps/test_cgi.Po
:info:build /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -arch x86_64 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/apreq2-config --link-libtool`  -L/opt/local/lib -laprutil-1 -L/opt/local/lib/db46 -L/opt/local/lib -lapr-1 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o test_cgi test_cgi.o  
:info:build mkdir .libs
:info:build /usr/bin/clang -pipe -Os -arch x86_64 -Wl,-headerpad_max_install_names -arch x86_64 -o .libs/test_cgi test_cgi.o  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/library/.libs/libapreq2.dylib -L/opt/local/lib -lpthread -lexpat -liconv -laprutil-1 -L/opt/local/lib/db46 -lapr-1 
:info:build creating test_cgi
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/module'
:info:build Making all in glue
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue'
:info:build cd perl; /opt/local/bin/perl5.18  Makefile.PL -apxs /opt/local/apache2/bin/apxs INSTALLDIRS=vendor CC=/usr/bin/clang LD=/usr/bin/clang
:info:build Can't locate ModPerl/MM.pm in @INC (you may need to install the ModPerl::MM module) (@INC contains: /opt/local/lib/perl5/site_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.18 /opt/local/lib/perl5/vendor_perl/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.18 /opt/local/lib/perl5/5.18/darwin-thread-multi-2level /opt/local/lib/perl5/5.18 .) at Makefile.PL line 2.
:info:build BEGIN failed--compilation aborted at Makefile.PL line 2.
:info:build make[1]: *** [perl/Makefile] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13/glue'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/work/libapreq2-2.13" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port p5.18-libapreq2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 98355 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for p5.18-libapreq2: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port p5.18-libapreq2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-libapreq2/p5.18-libapreq2/main.log

Version 1, edited 10 years ago by murrayeisenberg@… (previous) (next) (diff)

comment:24 Changed 10 years ago by murrayeisenberg@…

Cc: murrayeisenberg@… removed

Cc Me!

comment:25 Changed 10 years ago by mojca (Mojca Miklavec)

The only reasonable answer I can give is to instal p5.16-libapreq2 instead of p5.18-libapreq2. Or help us fix the ports.

I tried to create a port p5-mod_perl2. The port could easily split into "generic" part with

/opt/local/apache2/include/*

and Perl version-specific part including

/opt/local/bin/mp2bug-5.20
/opt/local/libexec/perl5.20/mp2bug
/opt/local/lib/perl5/vendor_perl/5.20/darwin-thread-multi-2level/*
/opt/local/share/perl5.20/man/man3/*

But there is one single dirty detail, namely the file mod_perl.so:

> otool -L /opt/local/apache2/modules/mod_perl.so
/opt/local/apache2/modules/mod_perl.so:
	/opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE/libperl.dylib (compatibility version 5.16.0, current version 5.16.3)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
	/usr/lib/libutil.dylib (compatibility version 1.0.0, current version 1.0.0)

I have no clue what to do with that particular file. And I don't know how apache uses that file, to be honest.

I need to ask both Ryans for help.

Changed 10 years ago by mojca (Mojca Miklavec)

Attachment: p5-mod_perl2.Portfile added

A sample Portfile for p5-mod_perl2

comment:26 Changed 10 years ago by mojca (Mojca Miklavec)

Can you please take a look at my preliminary test for p5-mod_perl2? I attached a Portfile.

(murrayeisenberg: can you please remove the long log from your entry? I would ask you to upload it as a separate file, but it's "exactly the same log/problem" as initially reported, so it doesn't bring any new information. It just makes navigating this page in the browser less comfortable.)

comment:27 Changed 10 years ago by mojca (Mojca Miklavec)

And the next question. What exactly is the benefit of having support for multiple versions of p5-libapreq2? It installs

/opt/local/apache2/modules/mod_apreq2.a
/opt/local/apache2/modules/mod_apreq2.la
/opt/local/apache2/modules/mod_apreq2.so

(among other files) but I fail to see how we could even theoretically support multiple versions of Perl in this scenario. At least not for the part that deals with Apache. If it's usable as a standalone module (independent of mod_apreq2.so) outside of Apache, we could surely split it into multiple packages.

comment:28 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #44915.

comment:29 Changed 9 years ago by mojca (Mojca Miklavec)

Port: p5-html-mason p5-http-server-simple-mason added

(At least) two other ports are affected by this problem: p5-html-mason and p5-http-server-simple-mason.

comment:30 Changed 9 years ago by mojca (Mojca Miklavec)

See also #46450.

comment:31 in reply to:  26 Changed 9 years ago by dbevans (David B. Evans)

Replying to mojca@…:

Can you please take a look at my preliminary test for p5-mod_perl2? I attached a Portfile.

(murrayeisenberg: can you please remove the long log from your entry? I would ask you to upload it as a separate file, but it's "exactly the same log/problem" as initially reported, so it doesn't bring any new information. It just makes navigating this page in the browser less comfortable.)

I don't think this approach (multiple versions of mod_perl2 based on perl version) will work because, being a plugin for apache2, only one version can be used at a time and apache2 expects it to be in its module directory.

comment:32 Changed 9 years ago by dbevans (David B. Evans)

Currently mod_perl2 only supports perl5.16 and, to support any other, it has to be recompiled with the appropriate perl library. See ticket #46749, concerning adding variants to allow the users to decide which version of perl they might like to use.

No matter which perl version is used for mod_perl2, libapreq2 and its dependents must use the same version of perl to build since they want ModPerl/MM.pm which is only installed for the current mod_perl2 perl version. To my mind, this means that these dependent ports must incorporate a way to make sure that for any given perl version they have the corresponding version of mod_perl2 installed. PortGroup active_variants would be one way to do this (assuming mod_perl2 had distinct variants).

In the interim, I have removed all but the p5.16 branch of libapreq2 in r132515 to match the current state of mod_perl2. I believe all dependents of libapreq2 also only support p5.16 at this time (p5-html-mason and its dependents).

I suggest that this closes the immediate issue of this ticket although the additional issue of providing support for multiple versions of perl in mod_perl2 and its dependents remains.

comment:33 Changed 9 years ago by mojca (Mojca Miklavec)

I would suggest to fix the issue at least to the extent that will allow users to install mod_perl2 +perl5_20 and p5.20-libapreq2 even if Perl 5.16 is still considered to be the default version for general public.

comment:34 Changed 8 years ago by mojca (Mojca Miklavec)

I added the variants that allow installing p5.22-libapreq2 in r142038. At least that lets the brave users install the port against a more recent version of Perl. I added some active_variants constraints, but some more conflicts should be added for the moment.

Honestly I'm not even sure if we are able to fix the problem in a way that will allow installing multiple versions simultaneously.

Here are some failed tests though (I didn't investigate them further):

:info:test t/apreq/cookie2.t .... ok
:info:test # Failed test 1 in t/apreq/inherit.t at line 15
:info:test # Failed test 2 in t/apreq/inherit.t at line 16
:info:test # Failed test 3 in t/apreq/inherit.t at line 17
:info:test # Failed test 4 in t/apreq/inherit.t at line 19
:info:test t/apreq/inherit.t ....
:info:test Failed 4/4 subtests
:info:test t/apreq/request.t .... ok
:info:test t/apreq/upload.t ..... ok
:info:test
:info:test Test Summary Report
:info:test -------------------
:info:test t/apreq/inherit.t  (Wstat: 0 Tests: 4 Failed: 4)
:info:test   Failed tests:  1-4
:info:test Files=11, Tests=288, 22 wallclock secs ( 0.96 usr  0.10 sys +  7.07 cusr  1.18 csys =  9.31 CPU)
:info:test Result: FAIL
:info:test Failed 1/11 test programs. 4/288 subtests failed.

I did a few further modifications of mod_perl2 in r142037 and r142039 (necessary to make p5.22 work).

comment:35 Changed 3 years ago by murrayE

Using MacPorts 2.6.99 under macOS Big Sur 11.1 with Xcode CLT 12.4, I installed mod_perl2 @2.0.11_0+perl5_28. Now I am trying to install p5.28-libapreq2 and get a build error.

Not sure what the error is, so whole main.log is attached.

It's been 5 years since last comment to this ticket. What is the current status?

(Needless to say, p5-libapreq2 is crucial for using with apache2.)

Changed 3 years ago by murrayE

Attachment: main_murray_2021-02-02.log added

main.log - added by murray 2021-02-02

comment:36 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: murrayE added

Murray, the problem in your log is unrelated to this ticket. I see undefined symbols and I see the use of libtool, so you are probably experiencing the well-known macOS 11+ libtool-related bug, although I thought I had fixed it in #60794. Please file a new ticket.

comment:37 Changed 3 years ago by murrayE

New ticket created: #62213

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:38 Changed 7 months ago by murrayE

After selfupdate and upgrading outdated, p5.34-libapreq2 @2.130.0_6 installed OK for arm6

Note: See TracTickets for help on using tickets.