Bug 197841
Summary: | Trim test/build stuff from mod_perl | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <scop> | ||||
Component: | mod_perl | Assignee: | Joe Orton <jorton> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | bojan, chris.stone, kevin | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.0.3-7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-02-28 23:53:08 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 207846 | ||||||
Attachments: |
|
Description
Ville Skyttä
2006-07-06 18:35:00 UTC
*** Bug 208348 has been marked as a duplicate of this bug. *** Joe: This should be an easy fix, correct? It is just a matter of removing some files from the package? Can we get this bug closed so I can move on with the perl-finance-YahooQuote package? Let me know if you need any help on this one. I think I should be able to modify the spec file to just remove the unwanted files. Should take about 15 minutes. No reason for this bug to be open for a quarter of a year as far as I can tell. Thanks. PING. Hi it has been a month since I asked what the status is on this bug. 1) Another bug depends on this bug being fixed 2) This is a security related bug 3) There has been absolutely no response from Joe on this bug 4) This appears to be an extremely easy 15 minute fix as far as I can see <rant>I know Joe that you must be busy at RedHat or extremely sick or something because I don't see why you cannot spend twenty seconds to type some kind of response letting us know the status of this bug.</rant> Created attachment 142008 [details]
Remove apache test from mod_perl
Simple two minute fix for bug.
ding dong. Hello? Anybody home??? Gah, sorry Chris. I'd swear I added a comment to this a week or two ago, but I guess I never hit "submit" :( Excuses, excuses... The 2.0.3 package in CVS as of yesterday started work on this - the point of this bug was to get rid of the ModPerl::* modules not just Apache::Test; your patch is not even sufficient for that since it misses the man pages. 2.0.3-2 isn't in pushed to Raw Hide because it has dangling deps; still working on that (it builds). (the ModPerl::* stuff only dealing with the mod_perl build, that is) -2.0.3-3 is now in Raw Hide. How does this look? oops somehow I missed this message, I'll take a look at it tomorrow. Hi, I just retested the build of bug #207864 in devel and it now builds correctly! So this bug is fixed as far as bug #207864 is concerned. Will this be built for FC5 or FC6? oops I must be dyslexic, I meant to refer to bug #207846 in comment #10 :) I just tried building libapreq2-2.09-rc2 on Rawhide, but that failed, because MM.pm cannot be found: ------------------------------------- make[1]: Entering directory `/builddir/build/BUILD/libapreq2-2.09/glue' cd perl; perl Makefile.PL -apxs /usr/sbin/apxs INSTALLDIRS=vendor Can't locate ModPerl/MM.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. make[1]: *** [perl/Makefile] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/libapreq2-2.09/glue' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.81279 (%build) ------------------------------------- Can we have that back? PS. There could be other things in Perl realm that libapreq2 may need in order to build. I'm sure Ville will be familiar with that... Ping... Any chance of a comment regarding the libapreq2 situation? Oh sorry, forgot to update the bug - I built -2.0.3-4 to devel last week which restored :MM - does it the build still fail? Unfortunately yes. Here is the new error: ------------------------------------------ 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 locate Apache2/Build.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/MM.pm line 74. Compilation failed in require at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. make[1]: *** [perl/Makefile] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/libapreq2-2.09/glue' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.76118 (%build) ------------------------------------------ I'm getting a feeling that a good way to proceed would be to push all these newly removed modules to the -devel subpackage instead of dropping them, as there is obviously stuff needing them and the premise of "needed only for building mod_perl itself" doesn't seem to hold. BTW, my mod_perl and libapreq2 knowledge is already somewhat rusty, so don't expect too much insight from me, at least offhand. If the modules are restored in some package, their 'use lib ...'s should be reviewed for buildroot remains and other dubious paths, see initial comment. Whatever makes it build again is good with me. Now it's even worse: -------------------------------------------- This is an automated mail created by an experimental script. Your following packages in the repository contain broken dependencies: package: libapreq2 - 2.09-0.rc2.1.fc7.i386 from fedora-extras-development-x86_64 unresolved deps: libdb-4.3.so -------------------------------------------- Any further word on this? I was working on getting people to fix packages with broken deps today, and ran into this one. A current build of libapreq2 gives: make[1]: Entering directory `/builddir/build/BUILD/libapreq2-2.09/glue' cd perl; perl Makefile.PL -apxs /usr/sbin/apxs INSTALLDIRS=vendor Can't locate Apache2/Build.pm in @INC...(lots of stuff) Can we please get this fixed soon? I think a mod_perl-devel makes a lot of sense... The -7 package in CVS (and when Raw Hide pushes again, Raw Hide) implements Ville's suggestion to restore the modules to -devel and fixes the libapreq2 build. libapreq2 does even require Apache::Test, it seems; it could do with having some explicit BuildRequires for perl(Apache::Test) et al. Does anybody have time&inclination to package Apache::Test separately from the CPAN package? If not it can stay in mod_perl-devel. Different error this time, actually: ------------------------------------------------- [ info] generating script t/TEST writing...xs/APR/Request/Apache2/Apache2.xs writing...xs/APR/Request/Apache2/Apache2.pm mod_pod xsbuilder/APR/Request/Apache2/Apache2.pod xsbuilder/APR/Request/Apache2/Apache2.pod 1 writing...xs/APR/Request/Apache2/Apache2.pod writing...xs//Makefile.PL writing...xs/APR/Makefile.PL Writing Makefile for APR::Request::Apache2 Writing Makefile for APR::Request::CGI Writing Makefile for APR::Request::Cookie Writing Makefile for APR::Request::Error Writing Makefile for APR::Request::Hook Writing Makefile for APR::Request::Param Writing Makefile for APR::Request::Parser Writing Makefile for APR::Request Writing Makefile for APR Writing Makefile for WrapXS Writing Makefile for libapreq2 cd perl; make make[2]: Entering directory `/builddir/build/BUILD/libapreq2-2.09/glue/perl' make[2]: *** No rule to make target `/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/config.h', needed by `Makefile'. Stop. make[2]: Leaving directory `/builddir/build/BUILD/libapreq2-2.09/glue/perl' make[1]: *** [perl_glue] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/libapreq2-2.09/glue' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.4587 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4587 (%build) ------------------------------------------------- On FC6, this file (config.h) is part of perl package. OK, trying now with perl-devel as build dependency... OK, that was the final requirement - perl-devel. We should have libapreq2 packages now. Thanks for you help guys! The problem described in comment #21 could be the same as described in bug #230406. We're trying a new .spec file for perl, and it may be missing something. See bug #226276 for the perl package review. I suspect that perhaps this file got moved from 'perl' proper to perl-devel. Indeed it has. OK, marking this finally fixed, thanks for your patience. I'm not going to backport this to fc6 etc since it's clearly going to break stuff, but if it's necessary for libapreq2 there too I'm open to persuasion... FC6 builds libapreq2 just fine with mod_perl-2.0.2-6.1. I just checked. So, if things remain the way they are in FC6, it'll be all good. |