[Pkg-electronics-devel] Bug#1042276: ghdl: FTBFS: /bin/sh: 1: g++-12: not found

Lucas Nussbaum lucas at debian.org
Wed Jul 26 21:20:53 BST 2023


Source: ghdl
Version: 2.0.0+dfsg-6.2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/builddir/llvm'
> VER_DESC=tarball; \
> VER_REF=unknown; \
> VER_HASH=unknown; \
> if test -d ../../.git && desc=`cd ../..; git describe --dirty --long`; then \
>   VER_DESC=`echo $desc | sed -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g' -e 's/^v//g'`; \
>   VER_REF=`cd ../..; git rev-parse --abbrev-ref HEAD`; \
>   VER_HASH=`cd ../..; git rev-parse HEAD`; \
> fi; \
> sed \
>   -e "s#@VER@#2.0.0#" \
>   -e "s#@DESC@#${GHDL_VER_DESC:-$VER_DESC}#" \
>   -e "s#@REF@#${GHDL_VER_REF:-$VER_REF}#" \
>   -e "s#@HASH@#${GHDL_VER_HASH:-$VER_HASH}#" \
>   < ../../src/version.in > version.tmp;
> if [ ! -r version.ads ] || ! cmp version.tmp version.ads > /dev/null; then cp version.tmp version.ads; fi
> gcc-12 -c  -fPIC -g -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -o grt-cstdio.o /<<PKGBUILDDIR>>/builddir/llvm/../../src/grt/grt-cstdio.c
> make -f ../../src/ortho/llvm6/Makefile \
>  ortho_srcdir=../../src/ortho ortho_exec=ghdl1-llvm \
>  GNATFLAGS="-aI../../src -aI../../src/vhdl -aI../../src/synth -aI../../src/grt -aI../../src/psl -aI../../src/vhdl/translate -aI../../src/ghdldrv -aI../../src/ortho -aI../../src/ortho/llvm6 -aI../../src/synth -gnat12 -gnaty3befhkmr -g  -gnatwa -gnatwC -gnatf -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -gno-record-gcc-switches -gnata" \
>  GNATLFLAGS="grt-cstdio.o" \
>  LDFLAGS="-Wl,-z,relro -Wl,-z,now" \
>  LLVM_CONFIG="llvm-config" CXX="g++-12" \
>  CXXFLAGS=" -g -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" \
>  GNATMAKE="gnatmake -v -j8 -R -eS " all
> make[3]: Entering directory '/<<PKGBUILDDIR>>/builddir/llvm'
> g++-12 -c `llvm-config --cxxflags` -g -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -o llvm-cbindings.o ../../src/ortho/llvm6/llvm-cbindings.cpp
> /bin/sh: 1: g++-12: not found
> make[3]: *** [../../src/ortho/llvm6/Makefile:20: llvm-cbindings.o] Error 127


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/ghdl_2.0.0+dfsg-6.2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-electronics-devel mailing list