[cricket-1.0.5] re '50_cricket.conf is not allowed anymore in SuSE Linux' and 'directories not owned by a package'
Hello, I get this interesting error message in the build log of cricket-1.0.5 What can be done to fix it
... running 01-check-debuginfo ... testing for empty debuginfo packages ... running 02-check-gcc-output ... testing for serious compiler warnings (using /usr/lib/build/checks-data/check_gcc_output) (using //.build.log) ... running 03-check-binary-kernel-log ... running 04-check-filelist ... checking filelist cricket: "/etc/httpd/conf.d/50_cricket.conf" is not allowed anymore in SuSE Linux. cricket-1.0.5-13.1.x86_64.rpm: directories not owned by a package: - /etc/httpd - /etc/httpd/conf.d System halted.
Log Reference: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cr...
Thanks Glenn
On 2009-07-23 15:47:56 +1000, doiggl@velocitynet.com.au wrote:
[cricket-1.0.5] re '50_cricket.conf is not allowed anymore in SuSE Linux' and 'directories not owned by a package'
Hello, I get this interesting error message in the build log of cricket-1.0.5 What can be done to fix it
... running 01-check-debuginfo ... testing for empty debuginfo packages ... running 02-check-gcc-output ... testing for serious compiler warnings (using /usr/lib/build/checks-data/check_gcc_output) (using //.build.log) ... running 03-check-binary-kernel-log ... running 04-check-filelist ... checking filelist cricket: "/etc/httpd/conf.d/50_cricket.conf" is not allowed anymore in SuSE Linux. cricket-1.0.5-13.1.x86_64.rpm: directories not owned by a package:
- /etc/httpd
- /etc/httpd/conf.d
System halted.
Log Reference: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cr...
we use /etc/apache2.d/
this can help you to find the correct config directory: %define apxs /usr/sbin/apxs2 %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
darix
Hello, I need some additional help with the cricket.spec file I added in the following two lines (at 32 and 33) but no luck with the build
%define apxs /usr/sbin/apxs2 %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
cricket.spec location: https://build.opensuse.org/package/view_file?file=cricket.spec&package=c... Log: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cr...
Could I ask for some more help on the lines I need to add/delete/change please.
Thanks Glenn
Marcus wrote: we use /etc/apache2.d/
this can help you to find the correct config directory: %define apxs /usr/sbin/apxs2 %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
darix
doiggl@velocitynet.com.au schrieb:
Hello, I need some additional help with the cricket.spec file I added in the following two lines (at 32 and 33) but no luck with the build
BuildRequires: apache2-devel
%define apxs /usr/sbin/apxs2 %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
cricket.spec location: https://build.opensuse.org/package/view_file?file=cricket.spec&package=c... Log: https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cr...
Could I ask for some more help on the lines I need to add/delete/change please.
Thanks Glenn
Chris
Hello Thanks Christian for your help.
I added at line 9 BuildRequires: apache2-devel and on line 34,35
%define apxs /usr/sbin/apxs2 %define apache_sysconfdir %(%{apxs} -q SYSCONFDIR)
I then resubmitted the job.
The error I get now is:
(using //.build.log) ... running 03-check-binary-kernel-log ... running 04-check-filelist ... checking filelist cricket: "/etc/httpd/conf.d/50_cricket.conf" is not allowed anymore in SuSE Linux. cricket-1.0.5-18.1.x86_64.rpm: directories not owned by a package: - /etc/httpd - /etc/httpd/conf.d System halted.
What lines do I need to add/change/delete in the cricket.spec https://build.opensuse.org/package/edit_file?file=cricket.spec&package=c...
Full Log -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=cr...
Thanks for your help Glenn
Hello,
Am Freitag, 31. Juli 2009 schrieb doiggl@velocitynet.com.au:
... checking filelist cricket: "/etc/httpd/conf.d/50_cricket.conf" is not allowed anymore in SuSE Linux.
This looks like a config file for apache.
Apache uses /etc/apache2/ as config directory since ages (probably since the update to apache 2.x).
Move your apache config file to /etc/apache2/conf.d/
Gruß
Christian Boltz
Hello, Thanks for the hint Christian, I think I found the line that needs changing I remarked out the old line added in the new , triggered rebuild , see how it goes. %define httpd_dir %{_sysconfdir}/apache2/conf.d/ # %define httpd_dir %{_sysconfdir}/httpd/conf.d/
Reference: https://build.opensuse.org/package/view_file?file=cricket.spec&package=c...
Cheers Glenn
On Mon, 10 Aug 2009 00:03:56 +0200, Christian Boltz opensuse@cboltz.de wrote:
Hello,
Am Freitag, 31. Juli 2009 schrieb doiggl@velocitynet.com.au:
... checking filelist cricket: "/etc/httpd/conf.d/50_cricket.conf" is not allowed anymore in SuSE Linux.
This looks like a config file for apache.
Apache uses /etc/apache2/ as config directory since ages (probably since the update to apache 2.x).
Move your apache config file to /etc/apache2/conf.d/
Gruß
Christian Boltz
buildservice@lists.opensuse.org