https://bugzilla.redhat.com/show_bug.cgi?id=784145
Niels de Vos <ndevos(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |needinfo?(kwizart(a)gmail.com
| |)
--- Comment #3 from Niels de Vos <ndevos(a)redhat.com> ---
Hi Nicolas,
I'm not sure how you are testing the building of your packages, but you should
either use mock or koji/fedpkg.
On Fedora 17 I hit the following error when building your new src.rpm with
mock:
make[3]: Entering directory `/builddir/build/BUILD/libomxil-bellagio-0.9.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DOMXILCOMPONENTSPATH=\"/usr/lib64/bellagio/\"
-I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -Werror
-DCONFIG_DEBUG_LEVEL=0 -c -o omxregister_bellagio-omxregister.o `test -f
'omxregister.c' || echo './'`omxregister.c
omxregister.c: In function 'buildComponentsList':
omxregister.c:249:13: error: ignoring return value of 'fwrite', declared with
attribute warn_unused_result [-Werror=unused-result]
omxregister.c:250:13: error: ignoring return value of 'fwrite', declared with
attribute warn_unused_result [-Werror=unused-result]
omxregister.c:325:14: error: ignoring return value of 'fwrite', declared with
attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
make[3]: *** [omxregister_bellagio-omxregister.o] Error 1
On Fedora Rawhide in mock:
make[3]: Entering directory
`/builddir/build/BUILD/libomxil-bellagio-0.9.3/test/components/audio_effects'
make omxvolcontroltest omxaudiomixertest
make[4]: Entering directory
`/builddir/build/BUILD/libomxil-bellagio-0.9.3/test/components/audio_effects'
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../test/components/common
-I/usr/include
-I/builddir/build/BUILDROOT/libomxil-bellagio-0.9.3-2.fc18.x86_64//usr/include
-c -o omxvolcontroltest-omxvolcontroltest.o `test -f 'omxvolcontroltest.c' ||
echo './'`omxvolcontroltest.c
In file included from omxvolcontroltest.c:27:0:
omxvolcontroltest.h:38:22: fatal error: OMX_Core.h: No such file or directory
compilation terminated.
I don't thinks 'make check' in %check does anything useful, it is probably
sufficient to include the test-binaries in the -test subpackage and remove the
%check completely.
--
You are receiving this mail because:
You are on the CC list for the bug.