http://bugzilla.rpmfusion.org/show_bug.cgi?id=1702
--- Comment #8 from Cédric OLIVIER <cedric.olivier(a)free.fr> 2011-04-19 16:53:35
---
build on f13 with :
$ mock -r fedora-13-x86_64-rpmfusion_free imagination-3.0-4.fc14.src.rpm
output :
gcc -DPACKAGE_NAME=\"imagination\" -DPACKAGE_TARNAME=\"imagination\"
-DPACKAGE_VERSION=\"3.0\" -DPACKAGE_STRING=\"imagination\ 3.0\"
-DPACKAGE_BUGREPORT=\"http://sourceforge.net/tracker/\?group_id=244319\&atid=1125540\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"imagination\"
-DVERSION=\"3.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DREVISION=\"r1\"
-DGETTEXT_PACKAGE=\"imagination\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -I. -DPACKAGE_LIB_DIR=\""/usr/lib64"\"
-DPACKAGE_DATA_DIR=\""/usr/share"\"
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread
-I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/sox -DDATADIR=\"/usr/share\" -g -Wall -c -o
imagination-img_sox.o `test -f 'img_sox.c' || echo './'`img_sox.c
img_sox.c: In function 'output_flow':
img_sox.c:34: warning: unused variable 'len'
CCLD imagination
/usr/bin/ld: imagination-imgtablebutton.o: undefined reference to symbol
'sqrtf@(a)GLIBC_2.2.5'
/usr/bin/ld: note: 'sqrtf@(a)GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so
try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [imagination] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/imagination-3.0/src'
make: *** [all-recursive] Error 1
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.7vTpVN (%build)
Erreur de construction de RPM:
Mauvais status de sortie pour /var/tmp/rpm-tmp.7vTpVN (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps
builddir/build/SPECS/imagination.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in
trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mock/util.py", line 325, in do
raise mock.exception.Error, ("Command failed. See logs for output.\n # %s"
% (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps
builddir/build/SPECS/imagination.spec']
LEAVE do --> EXCEPTION RAISED
There is two solution for this :
1) export LDFLAGS to add -lm
2) patch makefile
Patch makefile and inform upstream is probably better.
--
Configure bugmail:
http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.