[opensuse-buildservice] buildservice breaks a package
Hi, i have this package which builds just fine locally, even when i check it with rpmlint, but on buildservice it breaks with this: WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist + /usr/lib/rpm/brp-rpath ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/doc" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/3rdParty-2.0.0/lib/i686-linux" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/GUI" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/LLChatLib" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/doc" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/3rdParty-2.0.0/lib/i686-linux" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/GUI" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/LLChatLib" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed where did that come from? bye, MH -- Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstößt gegen §1 UWG und §823 I BGB (Beschluß des LG Berlin vom 2.8.1998 Az: 16 O 201/98). Jede kommerzielle Nutzung der übermittelten persönlichen Daten sowie deren Weitergabe an Dritte ist ausdrücklich untersagt! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Mittwoch, 19. August 2009 13:27:21 schrieb Mathias Homann:
Hi,
i have this package which builds just fine locally, even when i check it with rpmlint, but on buildservice it breaks with this:
WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist + /usr/lib/rpm/brp-rpath ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/doc" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/3rdParty-2.0.0/lib/i686-linux" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/GUI" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/LLChatLib" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/doc" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/3rdParty-2.0.0/lib/i686-linux" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/GUI" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed ERROR: RPATH "/usr/src/packages/BUILD/slitechat-1.4.0/LLChatLib" on /var/tmp/build-root-slitechat/usr/bin/slitechat is not allowed
where did that come from?
These are the brp checks on top of the the build (and rpmlint). I bet these errors are also inside your usual package build, just not detected. do a grep /var/tmp /usr/bin/slitechat to see if this string matches (which can be actually a serious security problem). bye adrian -- Adrian Schroeter SUSE Linux Products GmbH 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 schrieb:
Am Mittwoch, 19. August 2009 13:27:21 schrieb Mathias Homann:
Hi,
i have this package which builds just fine locally, even when i check it with rpmlint, but on buildservice it breaks with this:
where did that come from?
These are the brp checks on top of the the build (and rpmlint). I bet these errors are also inside your usual package build, just not detected.
do a grep /var/tmp /usr/bin/slitechat
to see if this string matches (which can be actually a serious security problem).
no matches: mathias@lapislazuli:~/Work/susebuild/home:lemmy04/slitechat> grep /var/tmp /usr/bin/slitechat mathias@lapislazuli:~/Work/susebuild/home:lemmy04/slitechat> grep /var/tmp /var/tmp//usr/bin/slitechat build-root-slitechat/ kdecache-mathias/ mathias@lapislazuli:~/Work/susebuild/home:lemmy04/slitechat> grep /var/tmp /var/tmp/build-root-slitechat/usr/bin/slitechat build-root-slitechat/ mathias@lapislazuli:~/Work/susebuild/home:lemmy04/slitechat> grep /var/tmp /var/tmp/build-root-slitechat/usr/usr/bin/slitechat usr/ mathias@lapislazuli:~/Work/susebuild/home:lemmy04/slitechat> grep /var/tmp /var/tmp/build-root-slitechat/usr/bin/slitechat mathias@lapislazuli:~/Work/susebuild/home:lemmy04/slitechat> Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstößt gegen §1 UWG und §823 I BGB (Beschluß des LG Berlin vom 2.8.1998 Az: 16 O 201/98). Jede kommerzielle Nutzung der übermittelten persönlichen Daten sowie deren Weitergabe an Dritte ist ausdrücklich untersagt! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, On Wed, 19 Aug 2009, Mathias Homann wrote:
Adrian Schröter schrieb:
Am Mittwoch, 19. August 2009 13:27:21 schrieb Mathias Homann:
i have this package which builds just fine locally, even when i check it with rpmlint, but on buildservice it breaks with this:
where did that come from?
These are the brp checks on top of the the build (and rpmlint). I bet these errors are also inside your usual package build, just not detected.
do a grep /var/tmp /usr/bin/slitechat
to see if this string matches (which can be actually a serious security problem).
no matches:
mathias@lapislazuli:~/Work/susebuild/home:lemmy04/slitechat> grep /var/tmp /usr/bin/slitechat
Actually, if I read the messages correctly, the offending RPATH was '/usr/src/...'. So do a 'grep /usr/src' on the binary (usually 'strings binary | grep ...' works too, with "safe for not messing up your terminal'-output. HTH, -dnh -- We call this principle 'Plug and Play'. Or at least Microsoft calls it that because it hasn't got it yet. In the Mac World, we've had it for so long we didn't even think of giving it a name. -- Douglas Adams in "Little Dongly Things" -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
David Haller
-
Mathias Homann