id = 1673 title = "compilation of 8.0.0 FAILED: target/hexagon/idef-generated-emitter.indented.c on ubuntu 18.04" state = "closed" created_at = "2023-05-31T14:19:17.952Z" closed_at = "2023-06-06T06:02:42.704Z" labels = [] url = "https://gitlab.com/qemu-project/qemu/-/issues/1673" host-os = "`" host-arch = "x86_64" qemu-version = "8.0.0 or git commit 51bdb0b57a2d9e84d6915fbae7b5d76c8820cf3c" guest-os = "- OS/kernel version:" guest-arch = "## Description of problem" description = """Cannot compile on ubuntu 18.04.""" reproduce = """1. get 8.0.0 tarball or git clone/submodule... on a ubuntu 18.04 system (with a few more recent tools in ~/opt, such as python 3.9) 2. ./configure --prefix=$HOME/opt && make 3. It finishes with this strange error: FAILED: target/hexagon/idef-generated-emitter.indented.c ``` ... [850/10154] Compiling C object target/hexagon/idef-parser.p/meson-generated_idef-parser.yy.c.o [851/10154] Compiling C object target/hexagon/idef-parser.p/meson-generated_idef-parser.tab.c.o [852/10154] Compiling C object target/hexagon/idef-parser.p/_home_pbourguignon_opt_src_qemu-8.0.0_target_hexagon_idef-parser_parser-helpers.c.o [853/10154] Linking target target/hexagon/idef-parser [854/10154] Generating target/hexagon/idef-generated-tcg with a custom command [855/10154] Generating target/hexagon/indent with a custom command FAILED: target/hexagon/idef-generated-emitter.indented.c /home/pbourguignon/bin/indent -linux target/hexagon/idef-generated-emitter.c -o target/hexagon/idef-generated-emitter.indented.c Indenting region... Indenting region... done Directory `/home/pbourguignon/opt/src/qemu-8.0.0/build/-linux target/hexagon/idef-generated-emitter.c -o target/hexagon/' does not exist; create? (y or n) Error reading from stdin ninja: build stopped: subcommand failed. Makefile:165: recipe for target 'run-ninja' failed make[1]: *** [run-ninja] Error 1 make[1]: Leaving directory '/home/pbourguignon/opt/src/qemu-8.0.0/build' GNUmakefile:10: recipe for target 'all' failed make: *** [all] Error 2 ```""" additional = """https://dpaste.org/Hr9Zq ``` ~/opt/src/qemu-git 16:15[pbourguignon@frprld7818008 :0.0 qemu-git ]$ ls ~/opt/bin ./\t ecl-config* pydoc3@\t\t run-avr* run-microblaze* ../\t emacs@\t pydoc3.9*\t\t run-bfin* run-mips* 2to3@\t emacs-27.2* python@\t\t run-bpf* run-mn10300* 2to3-3.9* emacsclient* python3@\t\t run-cr16* run-moxie* bundle* erb*\t python3-config@\t run-cris* run-msp430* bundler* etags*\t python3.9*\t run-d10v* run-or1k* ccl*\t gcore*\t python3.9-config* run-erc32* run-ppc* ccmake* gdb*\t racc*\t\t run-frv* run-pru* cmake*\t gdb-add-index* rake*\t\t run-ft32* run-riscv* cpack*\t gdbserver* rbs*\t\t run-h8300* run-rl78* ctags*\t gem*\t rdbg*\t\t run-iq2000* run-rx* ctest*\t idle3@\t rdoc*\t\t run-lm32* run-sh* curl*\t idle3.9*\t ri*\t\t run-m32c* run-v850* curl-config* irb*\t ruby*\t\t run-m32r* sbcl* ebrowse* pip3*\t run-aarch64*\t run-m68hc11* sis* ecl*\t pip3.9*\t run-arm*\t\t run-mcore* typeprof* ```"""