Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue: openssh #33131

Open
4 tasks done
jbigot opened this issue Oct 9, 2022 · 6 comments
Open
4 tasks done

Installation issue: openssh #33131

jbigot opened this issue Oct 9, 2022 · 6 comments

Comments

@jbigot
Copy link

jbigot commented Oct 9, 2022

Steps to reproduce the issue

In docker image ghcr.io/pdidev/test_env/builder:latest-clang-2e69267

some context first:

root@cee139ff972b:~# spack -e pdienv find
result
==> In environment pdienv
==> Root specs
-- linux-None-x86_64 / clang@15.0.0 -----------------------------
bison@3.0.4:%clang@15.0.0   glew@2.0.0:%clang@15.0.0    libiconv%clang@15.0.0         llvm@15.0.0%clang@15.0.0       py-pyyaml@3.12:%clang@15.0.0 ~libyaml
cmake@3.20.0:%clang@15.0.0  glu%clang@15.0.0            libxml2@2.9.4:%clang@15.0.0   mesa%clang@15.0.0 ~llvm        python@3.6:%clang@15.0.0
flex@2.6.4:%clang@15.0.0    hwloc@1.11.9:%clang@15.0.0  libxmu@1.1.2:%clang@15.0.0    pkgconfig%clang@15.0.0         swig@3.0.12:%clang@15.0.0
freeglut%clang@15.0.0       iconv%clang@15.0.0          libxslt@1.1.29:%clang@15.0.0  py-numpy@1.13.3:%clang@15.0.0

==> 94 installed packages
-- linux-ubuntu18.04-x86_64 / clang@15.0.0 ----------------------
autoconf@2.69 fixesproto@5.0 inputproto@2.3.2 libsigsegv@2.13 libxmu@1.1.2 ninja@1.11.0 py-pip@22.1.2 util-linux-uuid@2.37.4
autoconf-archive@2022.02.11 flex@2.6.4 kbproto@1.0.7 libsm@1.2.3 libxrandr@1.5.0 openblas@0.3.20 py-pyyaml@6.0 util-macros@1.19.3
automake@1.16.5 freeglut@3.2.2 libbsd@0.11.5 libtool@2.4.7 libxrender@0.9.10 openssl@1.1.1q py-setuptools@59.4.0 xcb-proto@1.14.1
berkeley-db@18.1.40 gawk@5.1.1 libedit@3.1-20210216 libunwind@1.6.2 libxslt@1.1.33 pcre@8.45 py-wheel@0.37.1 xextproto@7.3.0
binutils@2.38 gdbm@1.19 libffi@3.4.2 libx11@1.7.0 libxt@1.1.5 perl@5.34.1 python@3.9.13 xproto@7.0.31
bison@3.8.2 gettext@0.21 libgcrypt@1.10.1 libxau@1.0.8 llvm@15.0.0 perl-data-dumper@2.173 randrproto@1.5.0 xrandr@1.5.0
bzip2@1.0.8 glew@2.2.0 libgpg-error@1.45 libxcb@1.14 m4@1.4.19 pigz@2.7 readline@8.1.2 xtrans@1.3.5
ca-certificates-mozilla@2022-07-19 glproto@1.4.17 libice@1.0.9 libxdmcp@1.1.2 mesa@22.1.2 pkgconf@1.8.0 renderproto@0.11.1 xz@5.2.5
cmake@3.24.2 glx@1.4 libiconv@1.16 libxext@1.3.3 mesa-glu@9.0.2 py-cython@0.29.32 sqlite@3.39.2 zlib@1.2.12
diffutils@3.8 gmp@6.2.1 libmd@1.0.4 libxfixes@5.0.2 meson@0.63.2 py-mako@1.1.6 swig@4.0.2 zstd@1.5.2
expat@2.4.8 help2man@1.47.16 libpciaccess@0.16 libxi@1.7.6 mpfr@4.1.0 py-markupsafe@2.0.1 tar@1.34
findutils@4.9.0 hwloc@2.8.0 libpthread-stubs@0.4 libxml2@2.10.1 ncurses@6.3 py-numpy@1.23.3 texinfo@6.5

root@cee139ff972b:~# spack -e pdienv add -l mpi openssh
result:
==> Adding openssh to environment pdienv
root@cee139ff972b:~# spack -e pdienv concretize
[…]
==> Concretized openssh%clang@15.0.0 arch=linux-None-x86_64
 -   vn3ppe7  openssh@9.0p1%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +gssapi arch=linux-ubuntu18.04-x86_64
 -   riaeuku      ^krb5@1.19.3%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +shared arch=linux-ubuntu18.04-x86_64
[+]  gs5fp62          ^bison@3.8.2%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  layphiv              ^diffutils@3.8%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  qqijx3j                  ^libiconv@1.16%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  ouw573h              ^m4@1.4.19%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +sigsegv patches=9dc5fbd,bfdffa7 arch=linux-ubuntu18.04-x86_64
[+]  mgu4vfv                  ^libsigsegv@2.13%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  rgb7bwf              ^perl@5.34.1%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +cpanm+shared+threads arch=linux-ubuntu18.04-x86_64
[+]  bq76lbl                  ^berkeley-db@18.1.40%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +cxx~docs+stl patches=26090f4,b231fcc arch=linux-ubuntu18.04-x86_64
[+]  fpz2vw6                  ^bzip2@1.0.8%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" ~debug~pic+shared arch=linux-ubuntu18.04-x86_64
[+]  kc5gcom                  ^gdbm@1.19%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  g67rloq                      ^readline@8.1.2%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  uvj6taq                          ^ncurses@6.3%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" ~symlinks+termlib abi=none arch=linux-ubuntu18.04-x86_64
[+]  zssrwnr                              ^pkgconf@1.8.0%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  b3ikygq                  ^zlib@1.2.12%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +optimize+pic+shared patches=0d38234 arch=linux-ubuntu18.04-x86_64
[+]  gkdgvqa          ^gettext@0.21%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-ubuntu18.04-x86_64
[+]  6o4zrip              ^libxml2@2.10.1%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" ~python arch=linux-ubuntu18.04-x86_64
[+]  hv4l6qg                  ^xz@5.2.5%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" ~pic libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  ympdhf6              ^tar@1.34%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  zip=pigz arch=linux-ubuntu18.04-x86_64
[+]  vqlmlve                  ^pigz@2.7%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  jfwaava                  ^zstd@1.5.2%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" +programs compression=none libs=shared,static arch=linux-ubuntu18.04-x86_64
[+]  cn6qiuw          ^openssl@1.1.1q%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC" ~docs~shared certs=mozilla patches=3fdcf2d arch=linux-ubuntu18.04-x86_64
[+]  o23jszt              ^ca-certificates-mozilla@2022-07-19%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64
[+]  tp3hg4o      ^libedit@3.1-20210216%clang@15.0.0 cflags="-fPIC" cxxflags="-fPIC" fflags="-fPIC"  arch=linux-ubuntu18.04-x86_64

Error message

root@cee139ff972b:~# spack -e pdienv install --show-log-on-error --fail-fast
Error message
root@cee139ff972b:~# spack -e pdienv install --show-log-on-error --fail-fast
==> Installing environment pdienv
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/libiconv-1.16-qqijx3j2haquxsa5qakc5l5b7jvl6oej
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/libsigsegv-2.13-mgu4vfvsi67n6skd5khwi25j4xg4gsb2
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/berkeley-db-18.1.40-bq76lbl5psq6mxw5oacexfqoo23z2exk
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/pkgconf-1.8.0-zssrwnrjompog73w3kvniieu3d4sw2fu
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/zlib-1.2.12-b3ikygqchosx4xzuash7gckojgkadybp
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/xz-5.2.5-hv4l6qghtm3w3zan4xazjao7hqix552u
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/zstd-1.5.2-jfwaavalf5coc2t7vqn42qo34izzgcmz
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/ca-certificates-mozilla-2022-07-19-o23jsztx32vtta7lwce67s6cx3or32ss
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/diffutils-3.8-layphiv2pvm5foctdypdow3kuhgj6l7y
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/ncurses-6.3-uvj6taqetcrb2fsvcnnxxtvqsv426yyz
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/pigz-2.7-vqlmlvewamu4nmas2zz7rn2ugfn7aiqf
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/libxml2-2.10.1-6o4zripldzcgjw44hc4mrtnc6apieq3j
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/bzip2-1.0.8-fpz2vw6jm4qos76f5woa2oqx3idkvyxw
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/m4-1.4.19-ouw573ht5l6k7qqpythk3xnfmwxeara6
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/readline-8.1.2-g67rloqq65o2kslwyqv36nz6mujbukeo
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/libedit-3.1-20210216-tp3hg4oqdvsvkq4qvzkifpzr4w4ykfql
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/tar-1.34-ympdhf6fiv2szngrn3ofdu6n2qpqfbaa
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/gdbm-1.19-kc5gcomvc76raz2rtvf5ye7jozxifb2r
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/gettext-0.21-gkdgvqa7wodxfwbvdnhst73t55zfiarp
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/perl-5.34.1-rgb7bwfrvlywoladpak5h67cxumsants
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssl-1.1.1q-cn6qiuw5rchqcltqjpwh3holtl37hwpx
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/bison-3.8.2-gs5fp62sgimozk56gi2lab62jwdx66yi
==> Installing krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul
==> No binary for krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/56/56d04863cfddc9d9eb7af17556e043e3537d41c6e545610778676cf551b9dcd0.tar.gz
==> Ran patch() for krb5
==> krb5: Executing phase: 'autoreconf'
==> krb5: Executing phase: 'configure'
==> krb5: Executing phase: 'build'
==> krb5: Executing phase: 'install'
==> krb5: Successfully installed krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul
  Fetch: 0.41s.  Build: 56.34s.  Total: 56.75s.
[+] /opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul
==> Installing openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict
==> No binary for openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/03/03974302161e9ecce32153cfa10012f1e65c8f3750f573a73ab1befd5972a28a.tar.gz
==> Ran patch() for openssh
==> openssh: Executing phase: 'autoreconf'
==> openssh: Executing phase: 'configure'
==> openssh: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j8' 'V=1'

9 errors found in build log:
1041 make[1]: Entering directory '/tmp/root/spack-stage/spack-stage-openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/spack-src/openbsd-compat'
1042 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIC -I. -I.. -I. -I./.. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/li
nux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5g
mp6jeoh2ubhkrul/include -DHAVE_CONFIG_H -c arc4random.c
1043 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c sshbuf-getput-b
asic.c -o sshbuf-getput-basic.o
1044 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c sshbuf-misc.c -
o sshbuf-misc.o
1045 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c sshbuf-getput-c
rypto.c -o sshbuf-getput-crypto.o
1046 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIC -I. -I.. -I. -I./.. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/li
nux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5g
mp6jeoh2ubhkrul/include -DHAVE_CONFIG_H -c bsd-asprintf.c

1047 bsd-asprintf.c:86:5: error: expected parameter declarator
1048 int asprintf(char **str, const char *fmt, ...)
1049 ^
1050 /usr/include/x86_64-linux-gnu/bits/stdio2.h:199:24: note: expanded from macro 'asprintf'
1051 __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, VA_ARGS)
1052 ^
1053 /usr/include/features.h:382:31: note: expanded from macro '__USE_FORTIFY_LEVEL'
1054 # define __USE_FORTIFY_LEVEL 2
1055 ^
1056 bsd-asprintf.c:86:5: error: expected ')'
1057 /usr/include/x86_64-linux-gnu/bits/stdio2.h:199:24: note: expanded from macro 'asprintf'
1058 __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, VA_ARGS)
1059 ^
1060 /usr/include/features.h:382:31: note: expanded from macro '__USE_FORTIFY_LEVEL'
1061 # define __USE_FORTIFY_LEVEL 2
1062 ^
1063 bsd-asprintf.c:86:5: note: to match this '('
1064 /usr/include/x86_64-linux-gnu/bits/stdio2.h:199:18: note: expanded from macro 'asprintf'
1065 __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, VA_ARGS)
1066 ^
1067 bsd-asprintf.c:86:5: error: conflicting types for '__asprintf_chk'
1068 int asprintf(char **str, const char *fmt, ...)
1069 ^
1070 /usr/include/x86_64-linux-gnu/bits/stdio2.h:199:3: note: expanded from macro 'asprintf'
1071 __asprintf_chk (ptr, __USE_FORTIFY_LEVEL - 1, VA_ARGS)
1072 ^
1073 /usr/include/x86_64-linux-gnu/bits/stdio2.h:158:12: note: previous declaration is here
1074 extern int __asprintf_chk (char **__restrict __ptr, int __flag,
1075 ^
1076 bsd-asprintf.c:92:15: error: use of undeclared identifier 'fmt'
1077 va_start(ap, fmt);
1078 ^
1079 bsd-asprintf.c:93:23: error: use of undeclared identifier 'fmt'
1080 ret = vasprintf(str, fmt, ap);
1081 ^
1082 5 errors generated.
1083 Makefile:104: recipe for target 'bsd-asprintf.o' failed
1084 make[1]: *** [bsd-asprintf.o] Error 1
1085 make[1]: *** Waiting for unfinished jobs....
1086 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c krl.c -o krl.o
1087 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c bitmap.c -o bit
map.o
1088 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c ssh-xmss.c -o s
sh-xmss.o
1089 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c sshkey-xmss.c -
o sshkey-xmss.o
1090 /opt/spack/lib/spack/env/clang/clang -g -O2 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsize
of-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrap
v -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/opt/install/linux-ubuntu18
.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhkrul/include -I/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/krb5-1.19.3-riaeukuk7bbucxf5gmp6jeoh2ubhk
rul/include -DSSHDIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/etc" -D_PATH_SSH_PROGRAM="/opt/install/linux-ubu
ntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/open
ssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevox
q7m5iq4uwtict/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-ke
ysign" -D_PATH_SSH_PKCS11_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-pkcs11-helper" -D_PATH_S
SH_SK_HELPER="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/libexec/ssh-sk-helper" -D_PATH_SSH_PIDDIR="/var/run" -D
_PATH_PRIVSEP_CHROOT_DIR="/opt/install/linux-ubuntu18.04-x86_64/clang-15.0.0/openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/var/empty" -DHAVE_CONFIG_H -c xmss_commons.c
-o xmss_commons.o
1091 make[1]: Leaving directory '/tmp/root/spack-stage/spack-stage-openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/spack-src/openbsd-compat'
1092 Makefile:203: recipe for target 'openbsd-compat/libopenbsd-compat.a' failed
1093 make: *** [openbsd-compat/libopenbsd-compat.a] Error 2
1094 make: *** Waiting for unfinished jobs....

See build log for details:
/tmp/root/spack-stage/spack-stage-openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/spack-build-out.txt

==> Updating view at /opt/spack/var/spack/environments/pdienv/.spack-env/view
==> Error: Terminating after first install failure: ProcessError: Command exited with status 2:
'make' '-j8' 'V=1'

This is similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98733 or https://bugs.llvm.org/show_bug.cgi?id=23562

Information on your system

root@cee139ff972b:~# spack debug report
* **Spack:** 0.19.0.dev0
* **Python:** 3.6.9
* **Platform:** linux-ubuntu18.04-skylake
* **Concretizer:** clingo

Additional information

@bernhardkaindl
attached:
/tmp/root/spack-stage/spack-stage-openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/spack-src/config.log
/tmp/root/spack-stage/spack-stage-openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/spack-build-env.txt
/tmp/root/spack-stage/spack-stage-openssh-9.0p1-vn3ppe72pb7rtfbevoxq7m5iq4uwtict/spack-build-out.txt

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate
@haampie
Copy link
Member

haampie commented Oct 10, 2022

You should file this issue upstream, since it's a package issue, not a Spack issue. Apparently there's some disagreement between clang and gcc, clang turns asprintf into a define when using -O2 -D_FORTIFY_SOURCE=2 + #include includes.h, so you shouldn't have a declaration of asprintf in openssh then.

Feel free to add a conflict on %clang in Spack.

@jbigot
Copy link
Author

jbigot commented Oct 13, 2022

@haampie: the upstream report is there https://bugzilla.mindrot.org/show_bug.cgi?id=3482 It's not clear wether it's really an openssh issue or if it comes from spack and more specifically spack-compiled clang that still seems to rely on the underlying system libc

@haampie
Copy link
Member

haampie commented Oct 13, 2022

I commented on that thread, it's an openssh issue.

But I dunno why our clang is more strict:

$ echo 'main(){}' | /home/harmen/spack/opt/spack/linux-ubuntu22.04-zen2/gcc-11.2.0/llvm-15.0.0-neuno6erto7nzlbttmzuepmgujk3c76t/bin/clang -x c -
<stdin>:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(){}
^
int
1 error generated.
$ echo 'main(){}' | /usr/bin/clang -x c -
<stdin>:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(){}
^
1 warning generated.

@haampie
Copy link
Member

haampie commented Oct 13, 2022

Submitted openssh/openssh-portable#349, can you make a PR for Spack to either get a conflict on clang@15: or submit a patch of the configure file?

@jbigot
Copy link
Author

jbigot commented Oct 13, 2022

Thanks, sounds great, I'll make a PR to conflict with clang@15: and as soon as openssh fixes its configure, I guess we can extract a patch to remove this conflict

@haampie
Copy link
Member

haampie commented Oct 14, 2022

They merged the pr, but thanks to the great build system that is autotools you will need to wait for a new release that bundles a newly generated configure, or you gotta submit a patch to spack where you directly modify the generated configure script.

jbigot added a commit to jbigot/spack that referenced this issue Oct 27, 2022
Introduce a conflict since openssh between 8.3 and 9.0 (included) fail to build
with clang-15 and later.

Fix spack#33131
jbigot added a commit to jbigot/spack that referenced this issue Oct 27, 2022
Introduce a conflict since openssh between 8.3 and 9.0 (included) fail to build
with clang-15 and later.

Fix spack#33131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants