[Bug 436992] New: rpmlint/checks: "/opt/<foo>" is not allowed anymore in FHS 2.2.
https://bugzilla.novell.com/show_bug.cgi?id=436992 Summary: rpmlint/checks: "/opt/<foo>" is not allowed anymore in FHS 2.2. Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dl9pf@gmx.de QAContact: adrian@novell.com Found By: Community User I'm packaging some components of yast (libyui and its bindings) and zypper (libsatsolver, libzypp and its bindings) for use in an GUI. The challenge is: where to install it! I can't install it under /usr as it would break the installed yast, so i choose /opt/yuitest. To start the program i use a wrapper and set LD_LIBRARY_PATH and PYTHONPATH. This works really well. Now in factory I get the message mentioned in the subject and the build fails. Whats the right (TM) solution for this or can I filter this error in my case somehow ? Repo is home:dl9pf:yuitest-svn . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436992 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mseben@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |adrian@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436992 User richard.bos@xs4all.nl added comment https://bugzilla.novell.com/show_bug.cgi?id=436992#c1 Richard Bos <richard.bos@xs4all.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richard.bos@xs4all.nl --- Comment #1 from Richard Bos <richard.bos@xs4all.nl> 2008-11-07 04:55:52 MST --- I have the same problem and prepared the following bugzilla text: 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. This error is only generated in factory (11.1). As you can see the rpms built 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. According to the email discussion on the ML buildservice, /opt must not be used for distributions, but it is okay for third party repositories: Bernhard Walle <bwalle@suse.de>: " 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. Andreas Jaeger <aj@suse.de>: So, if that's an agreement, let's file a bug against the build service," http://lists.opensuse.org/opensuse-buildservice/2008-11/msg00065.html http://lists.opensuse.org/opensuse-buildservice/2008-11/msg00066.html Hence, please change the build service in such a way that /opt can be used for rpms that will not be part of the distribution. I think of of using the addfilter mechanism that is described here: http://en.opensuse.org/Packaging/RpmLint#Supressing_False_Positives would this be possible? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436992 User dl9pf@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=436992#c2 Jan-Simon Möller <dl9pf@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dl9pf@gmx.de --- Comment #2 from Jan-Simon Möller <dl9pf@gmx.de> 2008-11-07 06:11:46 MST --- A filter would be fine by me. It would preserve the "cleanness" of factory and allow us to do our "evil things" (TM!) :D . Just document it somewhere reachable in the wiki. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436992 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436992#c3 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com --- Comment #3 from Ludwig Nussel <lnussel@novell.com> 2008-11-10 01:13:37 MST --- the file list check is not an rpmlint check so you can't suppress it. So IMO the check needs to be rewritten as rpmlint check. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436992 User froh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436992#c4 Susanne Oberhauser <froh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |froh@novell.com --- Comment #4 from Susanne Oberhauser <froh@novell.com> 2008-11-10 03:37:44 MST --- (In reply to comment #3 from Ludwig Nussel)
the file list check is not an rpmlint check so you can't suppress it. So IMO the check needs to be rewritten as rpmlint check.
Indeed. Where is it currently? This is a major annoyance for anyone trying to build packages for multiple distros --- in that case they are 'third party' by definition, and then they really should be below /opt, shouldn't they? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436992 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436992#c5 --- Comment #5 from Ludwig Nussel <lnussel@novell.com> 2008-11-10 03:45:35 MST --- it's in post-build-checks. There are other checks in brp-checks-suse that should better be moved to rpmlint too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=436992 User lrupp@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=436992#c6 --- Comment #6 from Lars Vogdt <lrupp@novell.com> 2008-11-30 16:55:39 MST --- Work to replace this with a rpmlint check is in progress. If you need a workaround until this is done, use something like BuildRequires: -post-build-checks in your specfile. This will NOT install the package and therefore the checks will not be executed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com