Re: groff package won't build
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 5/25/23 11:06 AM, Edward R Kinney wrote: > A recent update-all has a package groff that won't build, it looks like due > to code issues. Not sure if this is the package or my xcode version. > Listing of build attempt and errors below. > > Thanks! > Ed > > ********************* > Selecting previously deselected package fink-buildlock-groff-1.22.4-1. > (Reading database ... 265365 files and directories currently installed.) > Unpacking fink-buildlock-groff-1.22.4-1 (from > .../fink-buildlock-groff-1.22.4-1_2023.05.25-11.54.47_darwin-x86_64.deb) ... > Setting up fink-buildlock-groff-1.22.4-1 (2023.05.25-11.54.47) ... > > sudo -u fink-bld [ENV] sh -c /tmp/fink.H9QeH > env LANG=C LC_ALL=C /opt/sw/bin/tar --no-same-owner --no-same-permissions > -xvf /opt/sw/src/groff-1.22.4.tar.gz > groff-1.22.4/ > groff-1.22.4/test-groff.in > groff-1.22.4/configure > checking for pnmtops... found > checking whether pnmtops can handle the -nosetpage option... yes > checking whether make has builtin variable RM... yes > checking for a diff program that supports option -D... yes > checking whether test supports option -ef... yes > checking for bash... /bin/bash > checking whether we are using the GNU C Library >= 2.1 or uClibc... > (cached) no > checking whether URW fonts in pfb format are available... found in > /opt/sw/share/ghostscript/fonts > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating Makefile > config.status: creating test-groff > config.status: creating src/include/config.h > config.status: executing depfiles commands > > GNU Troff version 1.22.4 > ---------------------------------------------------------------------- > Prefix : /opt/sw > Compiler : gcc -g -O2 -I/opt/sw/include > X11 support : yes > X11 resources dir : /opt/sw/etc/app-defaults > Doc build : yes > URW fonts for pdf : yes > Use uchardet library for preconv: no > pdftools for distcheck : yes > ---------------------------------------------------------------------- > configure: WARNING: > uchardet library was not found; preprocessor 'preconv', which uses it to > detect > the input file encoding, might not work properly (to check how and in > which > order 'preconv' tries to determine the file encoding, see its man page). > > make > GEN lib/alloca.h > GEN lib/limits.h > GEN lib/math.h > GEN lib/stdint.h > GEN lib/stdio.h > GEN lib/string.h > GEN lib/sys/types.h > GEN lib/unitypes.h > GEN lib/uniwidth.h > GEN lib/wchar.h > GEN lib/wctype.h > GEN contrib/chem/README > LANG=C \ > LC_ALL=C \ > makeinfo -o doc/groff.info --enable-encoding > -I/opt/sw/src/fink.build/groff-1.22.4-1/groff-1.22.4/doc > /opt/sw/src/fink.build/groff-1.22.4-1/groff-1.22.4/doc/groff.texi > GEN afmtodit > GEN font/devpdf/DESC > cp -f ./font/devps/text.enc \ > ./font/devpdf/enc > GEN font/devpdf/Foundry > /bin/sh ./arch/misc/shdeps.sh ":" ":" "/opt/sw/bin" > shdeps.sed > GEN font/devpdf/util/BuildFoundries > GEN ./font/devpdf/download > BuildFoundries: notice: Copied grops font AB... > BuildFoundries: notice: Copied grops font ABI... > BuildFoundries: notice: Generated U-ZCMI... > BuildFoundries: notice: Generated U-ZD... > /bin/sh ./src/libs/libgroff/config.charset '' > t-charset.alias > mv t-charset.alias charset.alias > sed -e '/^#/d' \ > -e 's/@''PACKAGE''@/groff/g' ./src/libs/libgroff/ref-add.sin > > t-ref-add.sed > mv t-ref-add.sed ref-add.sed > sed -e '/^#/d' \ > -e 's/@''PACKAGE''@/groff/g' ./src/libs/libgroff/ref-del.sin > > t-ref-del.sed > mv t-ref-del.sed ref-del.sed > /opt/sw/bin/gmkdir -p ./tmac; > if test -n ""; then \ > for m in ""; do \ > rm -f ./tmac/$m-wrap; \ > if test "$m" = an; then \ > echo .do mso andoc.tmac >>./tmac/$m-wrap; \ > fi; \ > echo .cp 1 >>./tmac/$m-wrap; \ > echo .so $m >>./tmac/$m-wrap; \ > done; \ > fi > touch tmac/stamp-wrap > /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am > CXX src/devices/grodvi/dvi.o > CXX src/libs/libdriver/input.o > CXX src/libs/libdriver/printer.o > AR libdriver.a > CXX src/libs/libgroff/libgroff_a-assert.o > In file included from src/libs/libgroff/assert.cpp:20: > In file included from > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:100: > ./lib/math.h:38:3: error: "Please include config.h first." > #error "Please include config.h first." > ^ > ./lib/math.h:40:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN' > _GL_INLINE_HEADER_BEGIN > ^ > ./lib/math.h:1537:1: error: expected unqualified-id > _GL_CXXALIAS_SYS (frexp, double, (double x, int *expptr)); > ^ > ./lib/stdio.h:344:5: note: expanded from macro '_GL_CXXALIAS_SYS' > _GL_EXTERN_C int _gl_cxxalias_dummy > ^ > ./lib/stdio.h:234:30: note: expanded from macro '_GL_EXTERN_C' > # define _GL_EXTERN_C extern "C" > ^ > In file included from src/libs/libgroff/assert.cpp:20: > In file included from > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:100: > ./lib/math.h:2888:1: error: unknown type name '_GL_INLINE_HEADER_END' > _GL_INLINE_HEADER_END > ^ > 4 errors generated. > make[1]: *** [src/libs/libgroff/libgroff_a-assert.o] Error 1 > make: *** [all] Error 2 > ### execution of /tmp/fink.T6eCO failed, exit code 2 > ### execution of /tmp/fink.yHmeD failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /opt/sw/bin/dpkg-lockwait -r fink-buildlock-groff-1.22.4-1 > (Reading database ... 265366 files and directories currently installed.) > Removing fink-buildlock-groff-1.22.4-1 ... > Failed: phase compiling: groff-1.22.4-1 failed > > Before reporting any errors, please run "fink selfupdate" and try again. > > If you continue to have issues, please check to see if the FAQ on Fink's > website solves the problem. If not, ask on one (not both, please) of > these mailing lists: > > The Fink Users List <[email protected]> > The Fink Beginners List <[email protected]>, > > with a carbon copy to the maintainer: > > Dave Vasilevsky <[email protected]> > > Note that this is preferable to emailing just the maintainer directly, > since most fink package maintainers do not have access to all possible > hardware and software configurations. > > Please try to include the complete error message in your report. This > generally consists of a compiler line starting with e.g. "gcc" or "g++" > followed by the actual error output from the compiler. > > Also include the following system information: > Package manager version: 0.45.6 > Distribution version: selfupdate-rsync Wed May 24 10:00:09 2023, 10.15, > x86_64 > Trees: local/main stable/main > Xcode.app: 12.4 > Xcode command-line tools: 12.4.0.0.1.1610135815 > groff-1.22.4-1 is set to build with only one job. Thanks for the report. I just pushed a fix for this. Hanspeter -- I'm not a robot like you. I don't like having disks crammed into me... unless they're Oreos, and then only in the mouth. -- Fry _______________________________________________ Fink-beginners mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners