ghdl: FTBFS on armhf

Bug #1984138 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ghdl (Debian)
New
Unknown
ghdl (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1010539:

Source: ghdl
Version: 1.0.0+dfsg-8
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: <email address hidden>

https://buildd.debian.org/status/fetch.php?pkg=ghdl&arch=armhf&ver=1.0.0%2Bdfsg-8&stamp=1644890335&raw=0

/<<PKGBUILDDIR>>/testrundir/llvm/usr/bin/ghdl --disp-standard --std=87 > /<<PKGBUILDDIR>>/testrundir/llvm/usr/lib/ghdl/llvm/vhdl/src/std/v87/standard.vhdl
/bin/sh: 1: /<<PKGBUILDDIR>>/testrundir/llvm/usr/bin/ghdl: not found
make[2]: *** [Makefile:133: install] Error 127
make[2]: Leaving directory '/<<PKGBUILDDIR>>/builddir/llvm'
> tests: sanity gna vests vpi
> args:
GHDL is: /<<PKGBUILDDIR>>/testrundir/llvm/usr/bin/ghdl-llvm
GHDL 1.0.0 (Debian 1.0.0+dfsg-8) [Dunoon edition]
 Compiled with GNAT Version: 10.3.0
 llvm code generator
Written by Tristan Gingold.

Copyright (C) 2003 - 2021 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
REF: unknown
HASH: unknown
GHDL help
usage: /<<PKGBUILDDIR>>/testrundir/llvm/usr/bin/ghdl-llvm COMMAND [OPTIONS] ...
COMMAND is one of:
analyze [OPTS] FILEs
  Analyze one or multiple VHDL files
  aliases: -a, analyse
elaborate [OPTS] UNIT [ARCH]
  Elaborate design UNIT
  alias: -e
run UNIT [ARCH] [RUNOPTS]
  Run design UNIT
  alias: -r
elab-run [OPTS] UNIT [ARCH] [RUNOPTS]
  Elaborate and run design UNIT
  alias: --elab-run
bind [OPTS] UNIT [ARCH]
  Bind design UNIT
  alias: --bind
link [OPTS] UNIT [ARCH]
  Link design UNIT
  alias: --link
list-link [OPTS] UNIT [ARCH]
  List objects file to link UNIT
  alias: --list-link
compile [OPTS] FILEs -e UNIT [ARCH]
  Generate whole sequence to elaborate design UNIT from FILEs
  alias: -c
make [OPTS] UNIT [ARCH]
  Make design UNIT
  alias: -m
gen-makefile [OPTS] UNIT [ARCH]
  Generate a Makefile for design UNIT
  alias: --gen-makefile
gen-depends [OPTS] UNIT [ARCH]
  Generate dependencies of design UNIT
  alias: --gen-depends
disp-config
  Display tools path
  aliases: --disp-config, dispconfig, --dispconfig
bootstrap-std
  (internal) Compile std.standard
  alias: --bootstrap-standard
synth [FILES... -e] UNIT [ARCH]
  Synthesis from UNIT
  alias: --synth
--libghdl-name
  Display libghdl name
--libghdl-library-path
  Display libghdl library path
--libghdl-include-dir
  Display libghdl include directory
import [OPTS] FILEs
  Import units of FILEs
  alias: -i
syntax [OPTS] FILEs
  Check syntax of FILEs
  alias: -s
dir [LIBs]
  Display contents of the libraries
  alias: --dir
files FILEs
  Display units in FILES
  alias: -f
clean
  Remove generated files
  alias: --clean
remove
  Remove generated files and library file
  alias: --remove
copy
  Copy work library to current directory
  alias: --copy
disp-standard
  Disp std.standard in pseudo-vhdl
  alias: --disp-standard
elab-order [OPTS] UNIT [ARCH]
  Display ordered source files
  alias: --elab-order
find-top
  Display possible top entity in work library
  alias: --find-top
chop [OPTS] FILEs
  Chop FILEs
  alias: --chop
lines FILEs
  Precede line with its number
  alias: --lines
reprint [OPTS] FILEs
  Redisplay FILEs
  alias: --reprint
fmt [OPTS] FILEs
  Format FILEs
  alias: --format
compare-tokens [OPTS] REF FILEs
  Compare FILEs with REF
  alias: --compare-tokens
pp-html FILEs
  Pretty-print FILEs in HTML
  alias: --pp-html
xref-html FILEs
  Display FILEs in HTML with xrefs
  alias: --xref-html
xref FILEs
  Generate xrefs
  alias: --xref
--vpi-compile CMD ARGS
  Compile with VPI include path
--vpi-link CMD ARGS
  Link with VPI library
--vpi-cflags
  Display VPI compile flags
--vpi-ldflags
  Display VPI link flags
--vpi-include-dir
  Display VPI include directory
--vpi-library-dir
  Display VPI library directory
--vpi-library-dir-unix
  Display VPI library directory (unix form)
file-to-xml FILEs
  Dump AST in XML
  alias: --file-to-xml
help [CMD]
  Display this help or [help on CMD]
  aliases: -h, --help
version
  Display ghdl version
  aliases: -v, --version
opts-help
  Display help for analyzer options
  alias: --options-help

To display the options of a GHDL program,
  run your program with the 'help' option.
Also see 'opts-help' for analyzer options.

Please, refer to the GHDL manual for more information.
Report issues on https://github.com/ghdl/ghdl
[GHDL - test] sanity
sanity 001hello87: ok
sanity 002hello2008: ok
sanity 004all08: ok
sanity tests are successful
[GHDL - test] gna
gna bug01: ok
gna bug010: ok
gna bug0100: ok
gna bug0101: ok
gna bug0103: ok
gna bug0104: ok
gna bug0105: ok
gna bug0106: ok
gna bug0108: ok
gna bug0109: ok
gna bug011: ok
gna bug0110: ok
gna bug0111: ok
gna bug0112: ok
gna bug0114: ok
gna bug0115: ok
gna bug0117: ok
gna bug0118: ok
gna bug012: ok
gna bug0120: ok
gna bug014: ok
gna bug015: ok
gna bug016: ok
gna bug017: ok
gna bug018: ok
gna bug019: ok
gna bug02: ok
gna bug021: ok
gna bug022: ok
gna bug023: ok
gna bug024: ok
gna bug026: ok
gna bug027: ok
gna bug028: ok
gna bug029: ok
gna bug03: ok
gna bug030: ok
gna bug031: ok
gna bug032: ok
gna bug033: ok
gna bug034: ok
gna bug035: ok
gna bug036: ok
gna bug037: ok
gna bug039: ok
gna bug04: ok
gna bug040: ok
gna bug041: ok
gna bug042: ok
gna bug043: ok
gna bug044: ok
gna bug045: ok
gna bug046: ok
gna bug047: ok
gna bug048: ok
gna bug049: ok
gna bug05: ok
gna bug050: ok
gna bug051: ok
gna bug052: ok
gna bug053: ok
gna bug054: ok
gna bug055: ok
gna bug056: ok
gna bug057: ok
gna bug058: ok
gna bug059: ok
gna bug06: ok
gna bug060: ok
gna bug061: ok
gna bug062: ok
gna bug063: ok
gna bug064: ok
gna bug065: ok
gna bug066: ok
gna bug067: ok
gna bug069: ok
gna bug07: ok
gna bug071: failed
analyze atod.vhdl
elaborate and simulate atod
./atod:error: NULL access dereferenced
in process .atod(behav).P0
./atod:error: simulation failed
make[1]: *** [debian/rules:205: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

Cheers
--
Sebastian Ramacher

Nick Rosbrook (enr0n)
tags: added: update-excuse
Changed in ghdl (Debian):
importance: Undecided → Unknown
Revision history for this message
Nick Rosbrook (enr0n) wrote :

I have supplied a workaround in the patch attached to bug 1983908.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ghdl - 1.0.0+dfsg-8ubuntu1

---------------
ghdl (1.0.0+dfsg-8ubuntu1) kinetic; urgency=medium

  * debian/patches/llvm14.0.patch: Allow building with LLVM 14.0
    (LP: #1983908).
  * debian/rules: Skip testsuite on armhf (LP: #1984138).

 -- Nick Rosbrook <email address hidden> Tue, 09 Aug 2022 11:40:42 -0400

Changed in ghdl (Ubuntu):
status: New → Fix Released
Jeremy Bícha (jbicha)
Changed in ghdl (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Jeremy Bícha (jbicha) wrote :

ghdl has been removed on armhf from Debian and Ubuntu, but I'm keeping the bug open in case someone is interested in investigating the issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.