ATF-devel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Try to build atf 0.4 under ALT Linux



Hello!

When I try to build ATF 0.4 under my ALT Linux and building fails:

tests/atf/test_programs/h_cpp.cpp: In member function 'virtual void
atf_tc_env_list::body() const':
tests/atf/test_programs/h_cpp.cpp:254: warning: ignoring return value
of 'int system(const char*)', declared with attribute
warn_unused_result
[...]
tools/atf-run.cpp: In function 'void call_hook(const std::string&,
const std::string&)':
tools/atf-run.cpp:573: warning: ignoring return value of 'int
system(const char*)', declared with attribute warn_unused_result

So I think we should:
- check exit code returned by system()
- add --disable-werror flag to configure (now I just add sed -i
'/-Werror/d' m4/developer-mode.m4 but it's looks like a hack)

After compiling `make check` also fails:

+ make -j1 --silent --no-print-directory check
mkdir tests/bootstrap/.libs
g++ -pipe -Wall -O2 -march=athlon -mtune=athlon-xp -g -Wabi -Wall
-Wcast-qual -Wctor-dtor-privacy -Wextra -Wno-deprecated
-Wno-non-template-friend -Wno-pmf-conversions -Wno-sign-compare
-Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual
-Wpointer-arith -Wredundant-decls -Wreorder -Wreturn-type -Wshadow
-Wsign-promo -Wswitch -Wsynth -Wwrite-strings -o
tests/bootstrap/h_app_empty tests/bootstrap/h_app_empty.o
-L/home/coder/RPM/BUILD/atf-0.4
/home/coder/RPM/BUILD/atf-0.4/.libs/libatf.a
g++ -pipe -Wall -O2 -march=athlon -mtune=athlon-xp -g -Wabi -Wall
-Wcast-qual -Wctor-dtor-privacy -Wextra -Wno-deprecated
-Wno-non-template-friend -Wno-pmf-conversions -Wno-sign-compare
-Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual
-Wpointer-arith -Wredundant-decls -Wreorder -Wreturn-type -Wshadow
-Wsign-promo -Wswitch -Wsynth -Wwrite-strings -o
tests/bootstrap/h_app_opts_args tests/bootstrap/h_app_opts_args.o
-L/home/coder/RPM/BUILD/atf-0.4
/home/coder/RPM/BUILD/atf-0.4/.libs/libatf.a
g++ -pipe -Wall -O2 -march=athlon -mtune=athlon-xp -g -Wabi -Wall
-Wcast-qual -Wctor-dtor-privacy -Wextra -Wno-deprecated
-Wno-non-template-friend -Wno-pmf-conversions -Wno-sign-compare
-Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual
-Wpointer-arith -Wredundant-decls -Wreorder -Wreturn-type -Wshadow
-Wsign-promo -Wswitch -Wsynth -Wwrite-strings -o
tests/bootstrap/h_tp_basic_cpp tests/bootstrap/h_tp_basic_cpp.o
-L/home/coder/RPM/BUILD/atf-0.4
/home/coder/RPM/BUILD/atf-0.4/.libs/libatf.a
## ------------------------------------------------------------ ##
## Automated Testing Framework 0.4 test suite: bootstrap tests. ##
## ------------------------------------------------------------ ##
testsuite: error: cannot find atf-config
FAIL: ./tests/bootstrap/testsuite
=====================================
1 of 1 tests failed
Please report to atf-devel%NetBSD.org@localhost
=====================================
make[2]: *** [check-TESTS] Error 1
make[1]: *** [check-am] Error 2
make: *** [check] Error 2

Hm... I will try to not do `make check`...

Also one bug: I always use make --silent but I see all commands for
compilatioa as is. It shouldn't be shown.

P.S. Please, leave me in CC, because I'm not subscribed to the atf-devel@ list.

-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru


Home | Main Index | Thread Index | Old Index