Mailinglist Archive: opensuse-packaging (129 mails)

< Previous Next >
Re: [opensuse-packaging] directories not owned by a package.
  • From: Mathias Homann <Mathias.Homann@xxxxxxxxxxxx>
  • Date: Thu, 02 Apr 2015 09:20:09 +0200
  • Message-id: <1490280.EWX4cVFxTq@kumiko>
Am Donnerstag, 2. April 2015, 17:54:57 schrieb doiggl@xxxxxxxxxxxxxxxxxx:
Hello,

How are these errors fixed. ?
What is the syntax to own directories ?

Hi,

The proper way to fix this would be to check in an installed system which
packages do own those directories, and add the one that "makes the most sense"
as BuildRequires, for example for /etc/apache2/conf.d you'd add a line:
BuildRequires: apache2

Only for directories that are really not owned by anything you'd add a line to
your %files section:

%dir /path/to/folder

Keep in mind:

Your package seems to be a bit off regarding openSUSE folder layout, I see
/etc/httpd/conf.d but that folder is not used in OSS. We use
/etc/apache2/conf.d for that.

Cheers
MH

Thanks
--Glenn

Spec:
https://build.opensuse.org/package/view_file/home:doiggl/bugzilla/bugzilla.s
pec?expand=1

Log:
https://build.opensuse.org/package/live_build_log/home:doiggl/bugzilla/openS
USE_13.1/x86_64

[ 74s] Provides: bugzilla-contrib = 4.4.8-77.1 perl(Bugzilla)
[ 74s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
[ 74s] Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/perl
/usr/bin/python
[ 74s] Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/abuild/rpmbuild/BUILDROOT/bugzilla-4.4.8-77.1.x86_64
[ 74s] Wrote: /home/abuild/rpmbuild/SRPMS/bugzilla-4.4.8-77.1.src.rpm
[ 81s] Wrote:
/home/abuild/rpmbuild/RPMS/noarch/bugzilla-4.4.8-77.1.noarch.rpm
[ 81s] Wrote:
/home/abuild/rpmbuild/RPMS/noarch/bugzilla-debugsource-4.4.8-77.1.noarch.rpm
[ 83s] Wrote:
/home/abuild/rpmbuild/RPMS/noarch/bugzilla-doc-4.4.8-77.1.noarch.rpm
[ 84s] Wrote:
/home/abuild/rpmbuild/RPMS/noarch/bugzilla-doc-build-4.4.8-77.1.noarch.rpm
[ 84s] Wrote:
/home/abuild/rpmbuild/RPMS/noarch/bugzilla-contrib-4.4.8-77.1.noarch.rpm
[ 84s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EMerRX
[ 84s] + umask 022
[ 84s] + cd /home/abuild/rpmbuild/BUILD
[ 84s] + cd bugzilla-4.4.8
[ 84s] + /usr/bin/rm -rf
/home/abuild/rpmbuild/BUILDROOT/bugzilla-4.4.8-77.1.x86_64
[ 84s] + exit 0
[ 84s] ... checking for files with abuild user/group
[ 84s] ... running 00-check-install-rpms
[ 84s] ... installing all built rpms
[ 84s] Preparing packages...
[ 84s] bugzilla-doc-build-4.4.8-77.1.noarch
[ 84s] bugzilla-contrib-4.4.8-77.1.noarch
[ 84s] bugzilla-doc-4.4.8-77.1.noarch
[ 84s] bugzilla-4.4.8-77.1.noarch
[ 84s] warning: group apache does not exist - using root
[ 85s] CGI will be removed from the Perl core distribution in the next
major release. Please install it from CPAN. It is being used at (eval 10),
line 1.
[ 85s] CGI::Util will be removed from the Perl core distribution in the
next major release. Please install it from CPAN. It is being used at
/usr/lib/perl5/5.20.1/CGI.pm, line 29.
[ 85s] bugzilla-debugsource-4.4.8-77.1.noarch
[ 85s] ... running 01-check-debuginfo
[ 85s] ... testing for empty debuginfo packages
[ 85s] !
[ 85s] !
//.build.packages/RPMS/noarch/bugzilla-debugsource-4.4.8-77.1.noarch.rpm:
empty debuginfo/debugsource package, deleting
[ 85s] !
[ 85s] ... running 02-check-gcc-output
[ 85s] ... testing for serious compiler warnings
[ 85s] (using /usr/lib/build/checks-data/check_gcc_output)
[ 85s] (using //.build.log)
[ 85s] ... running 03-check-binary-kernel-log
[ 85s] ... running 04-check-filelist
[ 85s] ... checking filelist
[ 85s] bugzilla-4.4.8-77.1.noarch.rpm: directories not owned by a
package:
[ 85s] - /etc/httpd
[ 85s] - /etc/httpd/conf.d
[ 85s] - /usr/share/bugzilla/contrib
[ 85s] bugzilla-doc-4.4.8-77.1.noarch.rpm: directories not owned by a
package:
[ 85s] - /usr/share/bugzilla/docs
[ 85s] - /usr/share/bugzilla/docs/en
[ 85s] - /usr/share/bugzilla/docs/xsl
[ 85s] bugzilla-contrib-4.4.8-77.1.noarch.rpm: directories not owned by
a package:
[ 85s] - /usr/share/bugzilla/contrib
[ 85s] bugzilla-doc-build-4.4.8-77.1.noarch.rpm: directories not owned
by a package:
[ 85s] - /usr/share/bugzilla/docs
[ 85s] - /usr/share/bugzilla/docs/en
[ 86s] ### WATCHDOG MARKER START ###
[ 89s] [ 73.425153] SysRq : Power Off


--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References