You are not logged in.
Hello,
I need the library SILO for compiling a code. For SILO there is an AUR package (https://aur.archlinux.org/packages/silo/) but unfortunately I am not able to build the package.
I obtain the following error:
In file included from /usr/include/c++/6.1.1/tuple:39:0,
from /usr/include/c++/6.1.1/bits/stl_map.h:63,
from /usr/include/c++/6.1.1/map:61,
from rocket.cxx:66:
./array:1:2: error: invalid preprocessing directive #!
#! /bin/sh
^
./array:3:3: error: invalid preprocessing directive #array
# array - temporary wrapper script for .libs/array
^~~~~
./array:4:3: error: invalid preprocessing directive #Generated
# Generated by ltmain.sh (GNU libtool) 2.2.6b
^~~~~~~~~
./array:6:3: error: invalid preprocessing directive #The
# The array program cannot be directly executed until all the libtool
^~~
./array:7:3: error: invalid preprocessing directive #libraries
# libraries that it depends on are installed.
^~~~~~~~~
./array:9:3: error: invalid preprocessing directive #This
# This wrapper script should never be moved out of the build directory.
^~~~
./array:10:3: error: invalid preprocessing directive #If
# If it is, it will not operate correctly.
^~
./array:12:3: error: invalid preprocessing directive #Sed
# Sed substitution that helps us do robust quoting. It backslashifies
^~~
./array:13:3: error: invalid preprocessing directive #metacharacters
# metacharacters that are still active within double-quoted strings.
^~~~~~~~~~~~~~
./array:17:3: error: invalid preprocessing directive #Be
# Be Bourne compatible
^~
./array:21:5: error: invalid preprocessing directive #Zsh
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
^~~
./array:22:5: error: invalid preprocessing directive #is
# is contrary to our usage. Disable this feature.
^~
./array:26:8: error: stray ‘`’ in program
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
^
./array:26:29: error: stray ‘`’ in program
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
^
./array:28:28: error: stray ‘#’ in program
BIN_SH=xpg4; export BIN_SH # for Tru64
^
./array:29:29: error: stray ‘#’ in program
DUALCASE=1; export DUALCASE # for MKS sh
^
./array:31:3: error: invalid preprocessing directive #The
# The HP-UX ksh and POSIX shell print the target directory to stdout
^~~
./array:32:13: error: missing binary operator before token "is"
# if CDPATH is set.
^~
./array:32:0: error: unterminated #if
# if CDPATH is set.
In file included from /usr/include/c++/6.1.1/tuple:39:0,
from /usr/include/c++/6.1.1/bits/stl_map.h:63,
from /usr/include/c++/6.1.1/map:61,
from rocket.cxx:66:
./array:14:1: error: ‘Xsed’ does not name a type
Xsed='/usr/bin/sed -e 1s/^X//'
^~~~
./array:18:66: error: ‘then’ does not name a type
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
^~~~
./array:26:58: error: ‘esac’ does not name a type
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
^~~~
./array:28:21: error: ‘BIN_SH’ does not name a type
BIN_SH=xpg4; export BIN_SH # for Tru64
^~~~~~
./array:29:20: error: ‘DUALCASE’ does not name a type
DUALCASE=1; export DUALCASE # for MKS sh
^~~~~~~~
In file included from /usr/include/c++/6.1.1/bits/stl_map.h:63:0,
from /usr/include/c++/6.1.1/map:61,
from rocket.cxx:66:
/usr/include/c++/6.1.1/tuple:71:33: error: expected ‘)’ before ‘,’ token
_Head_base(allocator_arg_t, __uses_alloc0)
^
/usr/include/c++/6.1.1/tuple:75:28: error: expected ‘)’ before ‘,’ token
_Head_base(allocator_arg_t, __uses_alloc1<_Alloc> __a)
^
/usr/include/c++/6.1.1/tuple:79:28: error: expected ‘)’ before ‘,’ token
_Head_base(allocator_arg_t, __uses_alloc2<_Alloc> __a)
^
/usr/include/c++/6.1.1/tuple:83:26: error: expected ‘)’ before ‘,’ token
_Head_base(__uses_alloc0, _UHead&& __uhead)
^
/usr/include/c++/6.1.1/tuple:87:26: error: expected ‘)’ before ‘<’ token
_Head_base(__uses_alloc1<_Alloc> __a, _UHead&& __uhead)
^
/usr/include/c++/6.1.1/tuple:91:26: error: expected ‘)’ before ‘<’ token
_Head_base(__uses_alloc2<_Alloc> __a, _UHead&& __uhead)
^
/usr/include/c++/6.1.1/tuple:117:33: error: expected ‘)’ before ‘,’ token
_Head_base(allocator_arg_t, __uses_alloc0)
^
/usr/include/c++/6.1.1/tuple:121:28: error: expected ‘)’ before ‘,’ token
_Head_base(allocator_arg_t, __uses_alloc1<_Alloc> __a)
^
/usr/include/c++/6.1.1/tuple:125:28: error: expected ‘)’ before ‘,’ token
_Head_base(allocator_arg_t, __uses_alloc2<_Alloc> __a)
^
/usr/include/c++/6.1.1/tuple:129:26: error: expected ‘)’ before ‘,’ token
_Head_base(__uses_alloc0, _UHead&& __uhead)
^
/usr/include/c++/6.1.1/tuple:133:26: error: expected ‘)’ before ‘<’ token
_Head_base(__uses_alloc1<_Alloc> __a, _UHead&& __uhead)
^
/usr/include/c++/6.1.1/tuple:138:26: error: expected ‘)’ before ‘<’ token
_Head_base(__uses_alloc2<_Alloc> __a, _UHead&& __uhead)
^
/usr/include/c++/6.1.1/tuple:237:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
^~~~~
/usr/include/c++/6.1.1/tuple:242:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:250:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:257:37: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:263:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:270:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:278:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:380:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
^~~~~
/usr/include/c++/6.1.1/tuple:384:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:389:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:395:37: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:400:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:406:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:412:30: error: expected ‘)’ before ‘__tag’
_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:711:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a)
^~~~~
/usr/include/c++/6.1.1/tuple:721:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:732:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:742:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:753:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:759:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in)
^~~~~
/usr/include/c++/6.1.1/tuple:763:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in)
^~~~~
/usr/include/c++/6.1.1/tuple:772:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:784:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:796:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:808:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1021:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a)
^~~~~
/usr/include/c++/6.1.1/tuple:1032:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1044:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1054:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a, _U1&& __a1, _U2&& __a2)
^~~~~
/usr/include/c++/6.1.1/tuple:1064:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1070:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a, const tuple& __in)
^~~~~
/usr/include/c++/6.1.1/tuple:1074:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a, tuple&& __in)
^~~~~
/usr/include/c++/6.1.1/tuple:1083:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1095:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1107:24: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a, tuple<_U1, _U2>&& __in)
^~~~~
/usr/include/c++/6.1.1/tuple:1117:33: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1128:31: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1138:40: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
/usr/include/c++/6.1.1/tuple:1148:31: error: expected ‘)’ before ‘__tag’
tuple(allocator_arg_t __tag, const _Alloc& __a, pair<_U1, _U2>&& __in)
^~~~~
/usr/include/c++/6.1.1/tuple:1158:40: error: expected ‘)’ before ‘__tag’
explicit tuple(allocator_arg_t __tag, const _Alloc& __a,
^~~~~
rocket.cxx:155:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
};
^
rocket.cxx:155:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
rocket.cxx:155:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
rocket.cxx:155:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
rocket.cxx:155:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
rocket.cxx: In function ‘int WriteAllFormats(int, char**)’:
rocket.cxx:744:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
char *dirs[] = {".", "../..", ".libs", "../../.libs"};
^
rocket.cxx:744:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
rocket.cxx:744:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
rocket.cxx:744:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
make[1]: *** [Makefile:1623: rocket-rocket.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-mattia/aur-silo/src/silo-4.10.2/tests'
make: *** [Makefile:1777: check-am] Error 2
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build silo.which should be related to a conflict with the package hdf5-openmpi, which I have installed. In the package details a patch has been added to specifically solve this issue, but I keep getting the error.
Hope you can help me.
Mattia
Last edited by mm___ (2016-07-29 21:52:33)
Offline
no errors here compiling silo 4.10.2-5 against hdf5 or hdf5-openmpi (tried both).
mm___ , something seems to be wrong with your system.
please post the full build output (use a pastebin client,check wiki) including the exact comand you use to build silo
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thank you Lone_Wolf.
To install the package I simply tried
yaourt -S siloI am even having trouble posting the full output
I tried pb and ix as pastebin clients with the commands
~$ yaourt -S silo --noconfirm | curl -F 'f:1=<-' ix.ioBut I get the message "curl: (55) Send failure: Connection reset by peer". I also tried by downloading the snapshot of the package and then doing "makepkg -s", but nothing. What can I do? However, while building, this line jumped to my eye:
./configure: line 23693: AX_CC_MAXOPT: command not foundbut I do not know if it might mean anything...
Offline
I managed to paste the full output of the build: http://pastebin.com/kK8LqH5x
Offline
Contacted the maintainer of the package: 'solved' by adding the '--nocheck' option to the makepkg command; there was an error in the check function during the build.
What caused the error remains a mystery since I am not using any special configuration/aliases: looks like the makefile is trying to compile a bash script with gcc.
Last edited by mm___ (2016-07-29 22:01:16)
Offline