tags 573062 patch thanks -=| Damyan Ivanov, Wed, May 19, 2010 at 07:53:33AM +0300 |=- > It seems to me that it is all a matter of setting an > environment/configuration variable to the right value during build. > I'll delve more in the following days.
I finally have a working patch. Standalone patch and debdiff attached. Steinar, I really think this issue is RC. Loading a Perl module outside a running apache is quite normal operation. I won't play ping-pong with the bug severity, but would very much apprecate if you release a package with this patch applied. Thanks to all who helped!
Description: fix Apache2::Request linkage with libapreq2 Test: perl -MApache2::Request -e1 Without the patch the above fails with: Can't load '/usr/lib/perl5/auto/APR/Request/Request.so' for module APR::Request: /usr/lib/perl5/auto/APR/Request/Request.so: undefined symbol: apreq_hook_disable_uploads at /usr/lib/perl/5.10/DynaLoader.pm line 193. The patch reverts changes to glue/Makefile.am (and propagates them to Makefile.in, which is not re-generated during package build) of upstream revision 733406 (http://svn.apache.org/viewvc?view=revision&revision=733406) Author: Damyan Ivanov <d...@debian.org> Bug-Debian: http://bugs.debian.org/573062 Forwarded: no Last-Update: 2010-05-20 X-Thanks-To: Lubomir Rintel <lkund...@v3.sk> Sebastian Podjasek <sebastian.podja...@morenet.pl> --- a/glue/Makefile.am +++ b/glue/Makefile.am @@ -15,7 +15,6 @@ perl_test: perl/Makefile cd perl; $(MAKE) test perl_install: - cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ cd perl; $(MAKE) install perl_clean: --- a/glue/Makefile.in +++ b/glue/Makefile.in @@ -265,7 +265,6 @@ perl_test: perl/Makefile cd perl; $(MAKE) test perl_install: - cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ cd perl; $(MAKE) install perl_clean:
DEBIAN DIFF --- libapreq2-2.12/debian/changelog 2010-03-06 01:01:40.000000000 +0200 +++ libapreq2-2.12/debian/changelog 2010-05-20 09:59:42.000000000 +0300 @@ -1,3 +1,11 @@ +libapreq2 (2.12-1.1) unstable; urgency=high + + * non-maintainer upload + * add a patch fixing Apache2::Request linkage with libapreq2 + (Closes: #573062) + + -- Damyan Ivanov <d...@debian.org> Thu, 20 May 2010 09:59:40 +0300 + libapreq2 (2.12-1) unstable; urgency=low * New upstream release. --- libapreq2-2.12/debian/patches/03-fix-Apache2::Request-libapreq2-linkage.patch 1970-01-01 02:00:00.000000000 +0200 +++ libapreq2-2.12/debian/patches/03-fix-Apache2::Request-libapreq2-linkage.patch 2010-05-20 09:42:29.000000000 +0300 @@ -0,0 +1,40 @@ +Description: fix Apache2::Request linkage with libapreq2 + Test: + perl -MApache2::Request -e1 + Without the patch the above fails with: + Can't load '/usr/lib/perl5/auto/APR/Request/Request.so' for + module APR::Request: + /usr/lib/perl5/auto/APR/Request/Request.so: undefined + symbol: apreq_hook_disable_uploads at + /usr/lib/perl/5.10/DynaLoader.pm line 193. + The patch reverts changes to glue/Makefile.am (and propagates + them to Makefile.in, which is not re-generated during package + build) of upstream revision 733406 + (http://svn.apache.org/viewvc?view=revision&revision=733406) +Author: Damyan Ivanov <d...@debian.org> +Bug-Debian: http://bugs.debian.org/573062 +Forwarded: no +Last-Update: 2010-05-20 +X-Thanks-To: Lubomir Rintel <lkund...@v3.sk> + Sebastian Podjasek <sebastian.podja...@morenet.pl> + +--- a/glue/Makefile.am ++++ b/glue/Makefile.am +@@ -15,7 +15,6 @@ perl_test: perl/Makefile + cd perl; $(MAKE) test + + perl_install: +- cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ + cd perl; $(MAKE) install + + perl_clean: +--- a/glue/Makefile.in ++++ b/glue/Makefile.in +@@ -265,7 +265,6 @@ perl_test: perl/Makefile + cd perl; $(MAKE) test + + perl_install: +- cd perl; INSTALL=1 @PERL@ @PERL_OPTS@ Makefile.PL -apxs @APACHE2_APXS@ @MM_OPTS@ + cd perl; $(MAKE) install + + perl_clean: --- libapreq2-2.12/debian/patches/series 2010-02-28 17:27:28.000000000 +0200 +++ libapreq2-2.12/debian/patches/series 2010-05-20 09:55:09.000000000 +0300 @@ -1,3 +1,3 @@ 01-fake-installed-apache.patch 02-hardcode-usr-prefix.patch - +03-fix-Apache2::Request-libapreq2-linkage.patch
signature.asc
Description: Digital signature