Mailinglist Archive: opensuse-factory (649 mails)

< Previous Next >
Re: [opensuse-factory] What the heck is buildservice "lamb64 failed"?
Now the error has changed to cloud126, e.g.

You're focusing on the wrong part of the error log.

[ 62s] ... checking for files with abuild user/group
[ 62s] ... running 00-check-install-rpms
[ 62s] ... installing all built rpms
[ 62s] Preparing packages...
[ 62s] gtkwrite-0.1.6-7.1.x86_64
[ 62s] ... running 01-check-debuginfo
[ 62s] ... testing for empty debuginfo packages
[ 62s] ... running 02-check-gcc-output
[ 62s] ... testing for serious compiler warnings
[ 62s] (using /usr/lib/build/checks-data/check_gcc_output)
[ 62s] (using //.build.log)
[ 62s]
[ 62s] I: File is compiled without RPM_OPT_FLAGS
[ 62s] W: gtkwrite no-rpm-opt-flags <cmdline>:gtk_toolbar.c, gtk_settings.c,
gtk_findreplace.c, gtk_sourceview.c, gtk_print.c, gtk_goto.c, gtkwrite.c,
gtk_common_dlg.c, gtk_menu.c, gtk_statusbar.c, gtk_filebuf.c, gtk_windef.c,
gtk_appdata.c, gtk_filemon.c
[ 62s] ... running 03-check-binary-kernel-log
[ 62s] ... running 04-check-filelist
[ 62s] ... checking filelist
[ 62s] gtkwrite-0.1.6-7.1.x86_64.rpm: directories not owned by a package:
[ 62s] - /usr/share/gtkwrite
[ 62s] - /usr/share/gtkwrite/img

This is where the error happens, at this point the rpmbuild has exited with an error code. This error is telling you that those two files have been installed into %{buildroot} but aren't owned by any package defined in the spec file. As Marcus told you earlier, a simple fix is to add:

%dir /usr/share/gtkwrite
%dir /usr/share/gtkwrite/img

To your %files section.

[ 62s]
[ 62s] cloud126 failed "build gtkwrite.spec" at Wed Aug 16 06:54:12 UTC 2017.
[ 62s]
[ 65s] [ 49.219174] reboot: Power down
[ 72s] ### VM INTERACTION END ###
[ 72s]
[ 72s] cloud126 failed "build gtkwrite.spec" at Wed Aug 16 06:54:22 UTC 201

And this section is just noting that the build on that particular VM host has failed. Builds are scheduled to random VM hosts, so it's not surprising at all that the "error text" changed, because that "error text" is just telling you what VM host the build failed on.

I'm very surprised that the build works on your local machine, because directories unowned by a particular package

Aleksa Sarai
Software Engineer (Containers)
SUSE Linux GmbH
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups