[opensuse-buildservice] rpmlint error /opt/.... is not allowed anymore in FHS 2.2
Hi, 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... openims-1.0-0 ... 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! -- Richard Bos We are borrowing the world of our children, It is not inherited from our parents. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Richard Bos ha scritto:
Hi,
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... openims-1.0-0 ... 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
Op Thursday 06 November 2008 23:24:21 schreef Andrea Florio:
Richard Bos ha scritto:
Hi,
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... openims-1.0-0 ... 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 /var/tmp/build-root-openSUSE_Factory-i586/usr/src/packages/SRPMS/openims-1.0-0.src.rpm /var/tmp/build-root-openSUSE_Factory-i586/usr/src/packages/RPMS/noarch/openims-1.0-0.noarch.rpm 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix. -- "Divinity and Lust Are forever forbidden to meet" Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Hi, * Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution. Regards, Bernhard -- Bernhard Walle, SUSE Linux Products GmbH, Architecture Maintenance -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Bernhard Walle <bwalle@suse.de> writes:
Hi,
* Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
So, if that's agreement, let's file a bug against the build service, Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Freitag 07 November 2008 09:49:37 Andreas Jaeger wrote:
Bernhard Walle <bwalle@suse.de> writes:
Hi,
* Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
So, if that's agreement, let's file a bug against the build service,
Against rpmlint please ;) bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sonntag 09 November 2008 11:35:09 Adrian Schröter wrote:
On Freitag 07 November 2008 09:49:37 Andreas Jaeger wrote:
Bernhard Walle <bwalle@suse.de> writes:
Hi,
* Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
So, if that's agreement, let's file a bug against the build service,
Against rpmlint please ;)
Just think again about these kind of issues, we may need to create an openSUSE:11.1:Compat layer project later to handle such and other issues. This is already on my list to clarify 11.1 release btw. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Op Sunday 09 November 2008 11:35:09 schreef Adrian Schröter:
* Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
So, if that's agreement, let's file a bug against the build service,
Against rpmlint please
It already existed.... : https://bugzilla.novell.com/show_bug.cgi?id=436992 However, I find the priority quite low (P5). As soon as openSUSE_11.1 becomes available I can't provide the package for 11.1... Do you think this issue can be tackled before the 11.1 release? -- Richard Bos Without a home the journey is endless -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sonntag 09 November 2008 12:25:24 Richard Bos wrote:
Op Sunday 09 November 2008 11:35:09 schreef Adrian Schröter:
* Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
So, if that's agreement, let's file a bug against the build service,
Against rpmlint please
It already existed.... : https://bugzilla.novell.com/show_bug.cgi?id=436992
However, I find the priority quite low (P5). As soon as openSUSE_11.1 becomes available I can't provide the package for 11.1... Do you think this issue can be tackled before the 11.1 release?
We may _WANT_ to keep this check when building in the distribution. But we may want not this check when building packages for this distro, but keep them as an add-on. In this case we need different checks for these both usecases. This is why I think we need a :Compat project. However, I want discuss this first with our build people. The :Compat project is intended to be modified after 11.1 release, if we follow this path. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian Schröter wrote:
On Sonntag 09 November 2008 12:25:24 Richard Bos wrote:
Op Sunday 09 November 2008 11:35:09 schreef Adrian Schröter:
* Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió: > openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
So, if that's agreement, let's file a bug against the build service,
Against rpmlint please
It already existed.... : https://bugzilla.novell.com/show_bug.cgi?id=436992
However, I find the priority quite low (P5). As soon as openSUSE_11.1 becomes available I can't provide the package for 11.1... Do you think this issue can be tackled before the 11.1 release?
We may _WANT_ to keep this check when building in the distribution.
But we may want not this check when building packages for this distro, but keep them as an add-on.
In this case we need different checks for these both usecases. This is why I think we need a :Compat project. However, I want discuss this first with our build people.
You don't really need different checks, just a way to ignore certain errors or to override their badness. The check that disallows /opt is not an rpmlint check though so there is no way around it. Solution would be to reimplement the check for rpmlint. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag 10 November 2008 09:16:36 schrieb Ludwig Nussel:
You don't really need different checks, just a way to ignore certain errors or to override their badness. The check that disallows /opt is not an rpmlint check though so there is no way around it. Solution would be to reimplement the check for rpmlint.
+1 ! We would be all already happy, if there was this possibility ;) . Best regards, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian Schröter <adrian@suse.de> writes:
It already existed.... : https://bugzilla.novell.com/show_bug.cgi?id=436992
However, I find the priority quite low (P5). As soon as openSUSE_11.1 becomes available I can't provide the package for 11.1... Do you think this issue can be tackled before the 11.1 release?
We may _WANT_ to keep this check when building in the distribution.
But we may want not this check when building packages for this distro, but keep them as an add-on.
In this case we need different checks for these both usecases. This is why I think we need a :Compat project. However, I want discuss this first with our build people.
The :Compat project is intended to be modified after 11.1 release, if we follow this path.
I don't fully understand yet: The obs is meant to build for many distros. Packages that are built for 'other distros' almost by definition are 'third party' pacakges, which by the FHS should actually all be below /opt, shouldn't they? So _strictly_ speaking, only Factory should force packages out of /opt, while all other packages should actually force packages _into_ /opt ?? Hmmm... back down to earth I just think this whole /opt thing is half-baked, as it's currently defined by the FHS. That said, I still don't understand what you meant by the ":Comapt" project. S. -- Susanne Oberhauser +49-911-74053-574 SUSE -- a Novell Business OPS Engineering Maxfeldstraße 5 Processes and Infrastructure Nürnberg SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Montag 10 November 2008 11:43:29 schrieb Susanne Oberhauser:
That said, I still don't understand what you meant by the ":Comapt" project. I think its meant like this: As we figured out, the tests are not done by rpmlint and thus can't be filtered. Factory should have these tests in any case. To build now for /opt, another (yet again) repo (on top of Factory) with special checks could be setup - :Compat.
Hopefully I got that right. But changing these to rpmlint-checks and allow filtering is easier, imho. Best regards, Jan-Simon -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* Richard Bos [2008-11-09 12:25]:
Op Sunday 09 November 2008 11:35:09 schreef Adrian Schröter:
* Cristian Rodríguez [2008-11-06 22:52]:
Richard Bos escribió:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
So, if that's agreement, let's file a bug against the build service,
Against rpmlint please
It already existed.... : https://bugzilla.novell.com/show_bug.cgi?id=436992
However, I find the priority quite low (P5). As soon as openSUSE_11.1 becomes available I can't provide the package for 11.1... Do you think this issue can be tackled before the 11.1 release?
You can filter that error it in rpmlintrc, can't you? Regards, Bernhard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* Bernhard Walle [2008-11-10 09:52]:
You can filter that error it in rpmlintrc, can't you?
You can't. Regards, Bernhard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Bernhard Walle wrote:
openims: "/opt/OpenIMSCore" is not allowed anymore in FHS 2.2.
Dont do that then ;-) install software in the standard prefix.
Well, /opt is not allowed for distributions but for 3rd party software. I would consider some build service repos as 3rd party software not as part of the distribution.
/opt is allowed for distributions, as long as the software is installed under a directory reserved for the distribution vendor. http://sourceforge.net/mailarchive/message.php?msg_id=3F62CBEE02D6404E98C659... -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (10)
-
Adrian Schröter
-
Andrea Florio
-
Andreas Jaeger
-
Bart Whiteley
-
Bernhard Walle
-
Cristian Rodríguez
-
Jan-Simon Möller
-
Ludwig Nussel
-
Richard Bos
-
Susanne Oberhauser