Sunday, June 12, 2022

Re: [update] emulators/bochs to 2.7

Build failed:

> c++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -DBXHUB -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES ./iodev/network/netutil.cc -o misc/netutil.o
> ./iodev/network/netutil.cc:1674:72: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat]
> sprintf(linebuf, "drwxrwxr-x 1 ftp ftp %ld %s %s%c%c", st.st_size,
> ~~~ ^~~~~~~~~~
> %lld
> ./iodev/network/netutil.cc:1677:72: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat]
> sprintf(linebuf, "-rw-rw-r-- 1 ftp ftp %ld %s %s%c%c", st.st_size,
> ~~~ ^~~~~~~~~~
> %lld
> 2 warnings generated.
> /usr/bin/libtool --mode=link --tag CXX c++ -o bxhub -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES misc/bxhub.o misc/netutil.o
> libtool: link: c++ -o bxhub -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES misc/bxhub.o misc/netutil.o
> /usr/bin/make -C doc/docbook
> *** Parse error in /pobj/bochs-2.7/bochs-2.7/doc/docbook: Error in archive specification: "(not_found, not_found)" (Makefile:20)
> *** Parse error: Need an operator in 'endif' (Makefile:27)
> No closing parenthesis in archive specification

Looks like a missing dep relating to docbook, but also some issues on
non-LP64 archs showing in warnings, which should probably be cast to long long
and printed using %lld.

No comments:

Post a Comment