Hi,

because valac's developers dropped POSIX profile:

   commit ca020bf04a09fe16e5583eea5a3a341e7796bff5

.. there is a problem with automake testsuite in:

   $ grep -r '\-\-profile=posix' .
   ./vala-libs.sh:libmu_a_VALAFLAGS = --profile=posix --vapidir=$(srcdir)
   ./vala-mix.sh:AM_VALAFLAGS = --profile=posix
   ./vala-parallel.sh:#AM_VALAFLAGS = --profile=posix
   ./vala-mix2.sh:AM_VALAFLAGS = --profile=posix
   ./vala-vpath.sh:AM_VALAFLAGS = --profile=posix
   ./vala-vapi.sh:AM_VALAFLAGS = --profile=posix

Configure then fails with:

   error: Unknown profile posix

Testsuite log from Fedora Rawhide (vala-0.18.0) attached.  Unfortunately,
I don't know much about vala to be able fix this problem.

Pavel

+ ./runtest t/vala-parallel.sh
Running from installcheck: no
Using TAP: no
PATH = 
/builddir/build/BUILD/automake-1.12.2/t/ax:/builddir/build/BUILD/automake-1.12.2/t/wrap:/usr/lib64/ccache:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin
vala-parallel: running valac --version
Vala 0.17.7
vala-parallel: determine whether make is GNU make
GNU Make 3.82
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
/builddir/build/BUILD/automake-1.12.2/t/vala-parallel.dir
+++ pwd
+ cat
+ cat
+ echo 'int main () {'
+ for i in 1 2 3 4 5 6
+ echo 'void foo1 () { stdout.printf ("ok 1\n"); }'
+ echo 'foo1 ();'
+ for i in 1 2 3 4 5 6
+ echo 'void foo2 () { stdout.printf ("ok 2\n"); }'
+ echo 'foo2 ();'
+ for i in 1 2 3 4 5 6
+ echo 'void foo3 () { stdout.printf ("ok 3\n"); }'
+ echo 'foo3 ();'
+ for i in 1 2 3 4 5 6
+ echo 'void foo4 () { stdout.printf ("ok 4\n"); }'
+ echo 'foo4 ();'
+ for i in 1 2 3 4 5 6
+ echo 'void foo5 () { stdout.printf ("ok 5\n"); }'
+ echo 'foo5 ();'
+ for i in 1 2 3 4 5 6
+ echo 'void foo6 () { stdout.printf ("ok 6\n"); }'
+ echo 'foo6 ();'
+ echo 'return 0; }'
+ cat main.vala
int main () {
foo1 ();
foo2 ();
foo3 ();
foo4 ();
foo5 ();
foo6 ();
return 0; }
+ aclocal-1.12 -Werror
+ automake-1.12 --foreign -Werror -Wall -a
+ autoconf
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for valac... /usr/bin/valac
checking /usr/bin/valac is at least version 0.7.3... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ make -j3
rm -f zardoz_vala.stamp && echo stamp > zardoz_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --profile=posix  -C 
main.vala 1.vala 2.vala 3.vala 4.vala 5.vala 6.vala
error: Unknown profile posix
Compilation failed: 1 error(s), 0 warning(s)
make: *** [zardoz_vala.stamp] Error 1
+ exit_status=2
+ set +e
+ cd /builddir/build/BUILD/automake-1.12.2
+ test no = yes
+ case $am_explicit_skips in
+ test 2 -eq 0
vala-parallel: exit 2
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.gtOcx2 (%check)
    Bad exit status from /var/tmp/rpm-tmp.gtOcx2 (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps 
builddir/build/SPECS/automake.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 
70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 353, in do
    raise mockbuild.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/automake.spec']
LEAVE do --> EXCEPTION RAISED

Reply via email to