[opensuse-packaging] what fixes needed to resolve build failure
Hello How can this error be fixed - see[1] spec file - see[2] full log - see[3] Thanks Glenn [1] In file included from ../../../libCAdata/src/Module.h:6:0, from ../../../libCAdata/src/CaProfileWriter.h:35, from opdata_handler.cpp:34: ../../../libCAdata/src/Function.h: In member function 'bool CA_Function::compares(const CA_Function&, wchar_t*, size_t) const': ../../../libCAdata/src/Function.h:179:42: warning: variable 'aend2' set but not used [-Wunused-but-set-variable] mv -f .deps/OpreportXMLHandler.Tpo .deps/OpreportXMLHandler.Plo mv -f .deps/opxmldata_handler.Tpo .deps/opxmldata_handler.Plo mv -f .deps/opdata_handler.Tpo .deps/opdata_handler.Plo make[5]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca/libs/libopdata' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca/libs/libopdata' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca/libs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.HBFEDO (%build) [2]-spec file https://build.opensuse.org/package/rawlog?arch=x86_64&package=CodeAnalyst&pr... [3]log file https://build.opensuse.org/package/view_file?file=CodeAnalyst.spec&package=C... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Saturday 17 December 2011, doiggl@velocitynet.com.au wrote:
Hello How can this error be fixed - see[1]
spec file - see[2] full log - see[3] Thanks Glenn
[1] In file included from ../../../libCAdata/src/Module.h:6:0, from ../../../libCAdata/src/CaProfileWriter.h:35, from opdata_handler.cpp:34: ../../../libCAdata/src/Function.h: In member function 'bool CA_Function::compares(const CA_Function&, wchar_t*, size_t) const': ../../../libCAdata/src/Function.h:179:42: warning: variable 'aend2' set but not used [-Wunused-but-set-variable] mv -f .deps/OpreportXMLHandler.Tpo .deps/OpreportXMLHandler.Plo mv -f .deps/opxmldata_handler.Tpo .deps/opxmldata_handler.Plo mv -f .deps/opdata_handler.Tpo .deps/opdata_handler.Plo make[5]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca/lib s/libopdata' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca/lib s/libopdata' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca/lib s' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src/ca' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/CodeAnalyst-3_1_4_0230-Public/src' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.HBFEDO (%build)
The guilty one is a bit above fatal error: op_sample_file.h: No such file or directory op_sample_file.h comes from oprofile sources but is not installed with the package. It's explained in INSTALL file section "Commonly Used CodeAnalyst Configurations". Either you have oprofiles sources available at build time or you could try ./configure --disable-oprofile-lib cu, Rudi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Rüdiger Meier