Hi,
I am re-building heartbeat package for upstream 2.0.6 version for FE
development. Local build on fc5 works fine, building in mock (both fc5
and devel) produces and error (see below). The fact that it builds on
local and not in mock suggests a missing BuildReq, but the error does
not give me any clues.
Build logs may be found at
http://buildsys.fedoraproject.org/logs/fedora-development-extras/12606-heartbeat-2.0.6-1.fc6/
crm_mon.c: In function 'main':
crm_mon.c:217: warning: implicit declaration of function 'initscr'
crm_mon.c:218: warning: implicit declaration of function 'cbreak'
crm_mon.c:219: warning: implicit declaration of function 'noecho'
crm_mon.c:242: warning: implicit declaration of function 'echo'
crm_mon.c:243: warning: implicit declaration of function 'nocbreak'
crm_mon.c:244: warning: implicit declaration of function 'endwin'
/bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline
-Wmissing-format-attribute -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3
-funsigned-char -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline
-Wmissing-format-attribute -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3
-funsigned-char -o crm_mon crm_mon-crm_mon.o
../../lib/clplumbing/libplumb.la ../../lib/pils/libpils.la
../../lib/crm/common/libcrmcommon.la ../../lib/crm/cib/libcib.la
../../lib/apphb/libapphb.la ../../lib/hbclient/libhbclient.la -L/lib
-lglib-2.0 ../../lib/crm/pengine/libpe_status.la -lbz2 -lz -lc
-luuid -lrt -ldl -lltdl
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline
-Wmissing-format-attribute -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3
-funsigned-char -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith
-Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline
-Wmissing-format-attribute -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3
-funsigned-char -o .libs/crm_mon crm_mon-crm_mon.o
../../lib/clplumbing/.libs/libplumb.so /buildd
ir/build/BUILD/heartbeat-2.0.6/lib/pils/.libs/libpils.so -L/lib
../../lib/pils/.libs/libpils.so
../../lib/crm/common/.libs/libcrmcommon.so
../../lib/crm/cib/.libs/libcib.so ../../lib/apphb/.libs/libapphb.so
../../lib/hbclient/.libs/libhbclient.so -lglib-2.0
../../lib/crm/pengine/.libs/libpe_status.so -lbz2 -lz -lc -luuid -lrt
/usr/lib/libltdl.so -ldl
crm_mon-crm_mon.o: In function `main':
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:242: undefined
reference to `echo'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:243: undefined
reference to `nocbreak'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:244: undefined
reference to `endwin'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:217: undefined
reference to `initscr'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:218: undefined
reference to `cbreak'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:219: undefined
reference to `noecho'
collect2: ld returned 1 exit status
gmake[2]: *** [crm_mon] Error 1
gmake[2]: Leaving directory
`/builddir/build/BUILD/heartbeat-2.0.6/crm/admin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/builddir/build/BUILD/heartbeat-2.0.6/crm'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.52013 (%build)
--
Joost Soeterbroek <joost@xxxxxxxxxxxxxxx>
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list