On Fri, 2015-02-13 at 22:56 +1100, doiggl@velocitynet.com.au wrote:
Hello, What spec changes allows package to build [libtrash] --Glenn
--specfile https://build.opensuse.org/package/view_file/home:doiggl/libtrash/libtrash.s...
--project https://build.opensuse.org/package/show/home:doiggl/libtrash
--source http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/libtrash-3.3-2.fc21....
last buildlog: [ 78s] Wrote: /home/abuild/rpmbuild/SRPMS/libtrash-3.3-44.1.src.rpm [ 78s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/libtrash-3.3-44.1.x86_64.rpm [ 79s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/libtrash-debugsource-3.3-44.1.x86_64.rpm [ 79s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/libtrash-devel-3.3-44.1.x86_64.rpm [ 79s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/libtrash-debuginfo-3.3-44.1.x86_64.rpm [ 79s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BxMD7h [ 79s] + umask 022 [ 79s] + cd /home/abuild/rpmbuild/BUILD [ 79s] + cd libtrash-3.3 [ 79s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/libtrash-3.3-44.1.x86_64 [ 79s] + exit 0 [ 79s] ... checking for files with abuild user/group [ 79s] ... running 00-check-install-rpms [ 79s] ... installing all built rpms [ 79s] Preparing packages... [ 79s] libtrash-3.3-44.1.x86_64 [ 79s] libtrash-devel-3.3-44.1.x86_64 [ 79s] libtrash-debuginfo-3.3-44.1.x86_64 [ 79s] libtrash-debugsource-3.3-44.1.x86_64 [ 79s] ... running 01-check-debuginfo [ 79s] ... testing for empty debuginfo packages [ 79s] ... running 02-check-gcc-output [ 79s] ... testing for serious compiler warnings [ 79s] (using /usr/lib/build/checks-data/check_gcc_output) [ 79s] (using //.build.log) [ 79s] [ 79s] I: Program returns random data in a function [ 79s] E: libtrash no-return-in-nonvoid-function open-funs.c:751 [ 79s] [ 79s] I: Program returns random data in a function [ 79s] E: libtrash no-return-in-nonvoid-function open-funs.c:751 [ 79s] ### WATCHDOG MARKER START ### [ 82s] [ 48.373480] SysRq : Power Off [ 82s] [ 48.377799] reboot: Power down [ 82s] ### WATCHDOG MARKER END ###
About:http://rpm.pbone.net/index.php3/stat/4/idpl/27034233/dir/fedora_21/com/libtr...
Summary : Libraries to move files to a trash-folder on delete Description : Libtrash is the shared library which, when preloaded, implements a trash can under GNU/Linux. Through the interception of function calls which might lead to accidental data loss libtrash effectively ensures that your data remains protected from your own mistakes.
You will need to write a patch that makes this go away; there are
functions that CAN reach their end without returning a value (but the
function definition says there should be a return value).
Nothing you can (should) do from within the .spec file (other than
Patach: my-nifty-patch.oatch and %patch).
Cheers,
--
Dimstar / Dominique Leuenberger