Re: groff still fails to build

Edward R Kinney <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <CACvN8-oahiK+VXoMCgFupOB8A2Pv4Fjqb003M0gyV4L+_7nhMQ@mail.gmail.com>
Hi Hanspeter,

I can confirm that this was groff-1.22.4-2:  Failed: phase compiling:
groff-1.22.4-2 failed

-Ed

On Wed, Jun 7, 2023 at 12:44 PM <[email protected]> wrote:

> On 2023-06-07 09:57, Edward R Kinney wrote:
> > Hi Hanspeter,
> >
> > I attempted the build this again, and while the build process is quite
> > different and longer, the build fails with essentially the same
> > errors:
> >
> > mv -f src/preproc/eqn/.deps/eqn-pile.Tpo
> > src/preproc/eqn/.deps/eqn-pile.Po
> > g++ -DHAVE_CONFIG_H -I. -I./src/include  -I./src/include -I./lib
> > -I./src/include -I./lib -I ./src/preproc/eqn -I ./src/preproc/eqn
> > -I/opt/sw/include  -g -O2 -MT src/preproc/eqn/eqn-special.o -MD -MP
> > -MF src/preproc/eqn/.deps/eqn-special.Tpo -c -o
> > src/preproc/eqn/eqn-special.o `test -f 'src/preproc/eqn/special.cpp'
> > || echo './'`src/preproc/eqn/special.cpp
> > mv -f src/preproc/eqn/.deps/eqn-special.Tpo
> > src/preproc/eqn/.deps/eqn-special.Po
> > g++ -DHAVE_CONFIG_H -I. -I./src/include  -I./src/include -I./lib
> > -I./src/include -I./lib -I ./src/preproc/eqn -I ./src/preproc/eqn
> > -I/opt/sw/include  -g -O2 -MT src/preproc/eqn/eqn-eqn.o -MD -MP -MF
> > src/preproc/eqn/.deps/eqn-eqn.Tpo -c -o src/preproc/eqn/eqn-eqn.o
> > `test -f 'src/preproc/eqn/eqn.cpp' || echo
> > './'`src/preproc/eqn/eqn.cpp
> > In file included from ../src/preproc/eqn/eqn.ypp:21:
> > 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/preproc/eqn/eqn.ypp:21:
> > 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
> > ^
> > In file included from ../src/preproc/eqn/eqn.ypp:23:
> > ./src/include/lib.h:28:8: error: expected unqualified-id
> > extern "C" {
> >        ^
> > 5 errors generated.
> > make[1]: *** [src/preproc/eqn/eqn-eqn.o] Error 1
> > make: *** [all] Error 2
> > ### execution of /tmp/fink.cIKRN failed, exit code 2
> > ### execution of /tmp/fink.o_heR failed, exit code 2
>
> > Let me know if more detail from the build is needed. I have not
> > updated OS or xcode since I posted the initial report.
>
> Can you confirm that you're building groff-1.22.4-2 ? That contained
> upstream's fix for the `#include <config.h>` problem.
> But that fix does not include the file "eqn.ypp". I'll have to check
> tonight if the 1.22.4 release happened before or after that fix was
> committed.
>
> https://git.savannah.gnu.org/cgit/groff.git/commit/src/preproc/eqn/eqn.ypp?id=fe121eeacd53c96105f23209b2c205f436f97359
>
> Hanspeter
>

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.