[opensuse-packaging] freemedforms: RPMLint: file-contains-buildroot
Hello Mates, today i've get the following Issues. Does anyone know what this mean? I've attached my Spec. freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/bin/freemedforms freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libtoolkit.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_richtextwidgets.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_specialcombo.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_drugswidgetplugin.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmedicaltoolkit.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libusertoolkit.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_baseformwidgets.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_xmlio.so Your file contains traces of $RPM_BUILD_ROOT. -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill
On 15/09/09 17:32, Sascha 'saigkill' Manns wrote:
Hello Mates,
today i've get the following Issues. Does anyone know what this mean? I've attached my Spec.
Your file contains traces of $RPM_BUILD_ROOT.
Binaries reference rpm build root, they are not going to work once the package is installed on the user's machine, it s not possible to know what s the exact cause without doing a detailed analysis. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Cristian Rodríguez napsal(a):
On 15/09/09 17:32, Sascha 'saigkill' Manns wrote:
Hello Mates,
today i've get the following Issues. Does anyone know what this mean? I've attached my Spec.
Your file contains traces of $RPM_BUILD_ROOT.
Binaries reference rpm build root, they are not going to work once the package is installed on the user's machine, it s not possible to know what s the exact cause without doing a detailed analysis.
Or it will work, but will happily load libraries from /var/tmp/.../ (because linked with -rpath /var/tmp/.../), which is a security hole. As Cristian said, you need to find out where exactly the path appears in the files and fix the build not to include it. Michal -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Mittwoch 16 September 2009 11:12:13 wrote Michal Marek:
Cristian Rodríguez napsal(a):
On 15/09/09 17:32, Sascha 'saigkill' Manns wrote:
Hello Mates,
today i've get the following Issues. Does anyone know what this mean? I've attached my Spec.
Your file contains traces of $RPM_BUILD_ROOT.
Binaries reference rpm build root, they are not going to work once the package is installed on the user's machine, it s not possible to know what s the exact cause without doing a detailed analysis.
Or it will work, but will happily load libraries from /var/tmp/.../ (because linked with -rpath /var/tmp/.../), which is a security hole. As Cristian said, you need to find out where exactly the path appears in the files and fix the build not to include it. I found out: qmake -r -config release freemedforms.pro "CONFIG+=LINUX_INTEGRATED" "INSTALL_ROOT_PATH=/usr" "LIBRARY_BASENAME=lib64" I get: mkdir: cannot create directory `/usr/lib64/freemedforms/': Permission denied
if i use: qmake -r -config release freemedforms.pro "CONFIG+=LINUX_INTEGRATED" "INSTALL_ROOT_PATH=%{buildroot}/usr" "LIBRARY_BASENAME=lib64" i'm getting: freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/bin/freemedforms freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libtoolkit.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_richtextwidgets.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_specialcombo.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_drugswidgetplugin.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmedicaltoolkit.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libusertoolkit.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_baseformwidgets.so freemedforms.i586: E: file-contains-buildroot (Badness: 10000) /usr/lib/freemedforms/libmf_xmlio.so the osc said me, tha Does anyone know how to place my screw? -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 20/09/09 18:59, Sascha 'saigkill' Manns wrote:
if i use: qmake -r -config release freemedforms.pro "CONFIG+=LINUX_INTEGRATED" "INSTALL_ROOT_PATH=%{buildroot}/usr" "LIBRARY_BASENAME=lib64" i'm getting:
INSTALL_ROOT_PATH should be set to %{_prefix} and what you need to fix is DESTDIR support in the makefiles. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, On Sun, 20 Sep 2009, Cristian Rodríguez wrote:
On 20/09/09 18:59, Sascha 'saigkill' Manns wrote:
if i use: qmake -r -config release freemedforms.pro "CONFIG+=LINUX_INTEGRATED" "INSTALL_ROOT_PATH=%{buildroot}/usr" "LIBRARY_BASENAME=lib64" i'm getting:
INSTALL_ROOT_PATH should be set to %{_prefix} and what you need to fix is DESTDIR support in the makefiles.
It's not that easy if you don't know qmake very well ... And actually, there is a "DESTDIR" in (some?) generated Makefiles, but it's not used. What is used is INSTALL_ROOT (not INSTALL_ROOT_PATH). As I said: qmake. Sascha, bei mir im :testing liegt ne Version die mind. auf der 11.1 (beide Arch) durchläuft und korrekt gelinkt ist. Auch sonst hab ich noch ein paar Korrekturen (nur) im .spec gemacht. [I have a working version in my :testing repo] -dnh -- Death: I am last minute stuff! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, On Mon, 21 Sep 2009, Sascha 'saigkill' Manns wrote:
Does anyone know how to place my screw?
See my other mail and my home:dnh:testing-repo. I forgot: you only need my .spec and recompress the tarball _OR_ change the extension back to .gz in the .spec. Build-Status (-51.1 versions): i586 x86_64 OpenSUSE 10.3 (w/ extra pkgs): ok libqt4.5 (still) missing OpenSUSE 11.0 ok ok OpenSUSE 11.1 ok ok OpenSUSE Factory snapshot ok ok (I got lucky there was not much load on the build-servers, obviously, as all above built in under an hour :) HTH, -dnh -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This message was infected under the terms of the GNU General Public License. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Cristian Rodríguez
-
David Haller
-
Michal Marek
-
Sascha 'saigkill' Manns