[Pkg-electronics-devel] Bug#1135495: yosys-plugin-ghdl: FTBFS: src/ghdl.cc:76:22: error: 'Sname_Artificial' was not declared in this scope
Santiago Vila
sanvila at debian.org
Sat May 2 00:15:41 BST 2026
Package: src:yosys-plugin-ghdl
Version: 0.0~git20230419.5b64ccf-6
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202605/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:yosys-plugin-ghdl, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
make -j2 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -f -f ghdl.so ghdl.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm ghdl.d
rm: cannot remove 'ghdl.d': No such file or directory
make[1]: [debian/rules:14: override_dh_auto_clean] Error 1 (ignored)
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j2 INSTALL="install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/bin/sh: 1: git: not found
yosys-config --exec --cxx -c --cxxflags -o ghdl.o src/ghdl.cc -fPIC -DYOSYS_ENABLE_GHDL -I/usr/lib/ghdl/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DGHDL_VER_HASH="\"unknown\"" -DGHDL_VERSION="5001001"
cc1plus: warning: â-Werror=â argument â-Werror=implicit-function-declarationâ is not valid for C++
src/ghdl.cc: In function âstd::string to_str(GhdlSynth::Sname)â:
src/ghdl.cc:76:22: error: âSname_Artificialâ was not declared in this scope
76 | case Sname_Artificial:
| ^~~~~~~~~~~~~~~~
src/ghdl.cc:75:24: warning: enumeration value âSname_Uniqueâ not handled in switch [-Wswitch]
75 | switch (get_sname_kind(pfx)) {
| ^
src/ghdl.cc:75:24: warning: enumeration value âSname_Systemâ not handled in switch [-Wswitch]
src/ghdl.cc:75:24: warning: enumeration value âSname_Fieldâ not handled in switch [-Wswitch]
make[1]: *** [Makefile:33: ghdl.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-electronics-devel
mailing list