Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] rpmlint error /opt/.... is not allowed anymore in FHS 2.2
  • From: Richard Bos <ml@xxxxxxxxxx>
  • Date: Thu, 6 Nov 2008 23:32:03 +0100
  • Message-id: <>
Op Thursday 06 November 2008 23:24:21 schreef Andrea Florio:
Richard Bos ha scritto:

I get the following error message:
Wrote: /usr/src/packages/SRPMS/openims-1.0-0.src.rpm
Wrote: /usr/src/packages/RPMS/noarch/openims-1.0-0.noarch.rpm
... checking for files with abuild user/group
... running 00-check-install-rpms
... installing all built rpms
Preparing packages for installation...
... 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 /var/tmp/build-root-openSUSE_Factory-i586/.build.log)
... running 03-check-binary-kernel-log
... running 04-check-filelist
... checking filelist
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.

As you can see the rpms is build fine, but rpmlint does not allow the
build to finish completely... As those rpms are used to study the
concept of the communication platform IMS, I don't see upstream to change
the install location from /opt to an approved FHS location. In this case
/opt is the correct location.

This error is only generated in factory, Is there a way to prevent that
rpmlint complains about /opt? I checked the rpmlint rpm for the error
message, but I did not see a reference to the error message. Hence I do
not see a possibility to use for example a construction with addFilter.
Looking forward to an solution for this problem, if there is one!

sure.. add that line to spec file:

BuildRequires: -post-build-checks

:) Thanks a lot, works very nice:

Wrote: /usr/src/packages/SRPMS/openims-1.0-0.src.rpm
Wrote: /usr/src/packages/RPMS/noarch/openims-1.0-0.noarch.rpm
... checking for files with abuild user/group

RPMLINT report:
2 packages and 0 specfiles checked; 0 errors, 0 warnings.
... build is finished


But I would still like to know where the message comes from, and if that
particular message alone can be filtered.

Richard Bos
We are borrowing the world of our children,
It is not inherited from our parents.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >