Skip to content

Attempt a freebsd build fix#7716

Closed
ezelkow1 wants to merge 2 commits intoapache:8.1.xfrom
ezelkow1:81x-freebsd-fix
Closed

Attempt a freebsd build fix#7716
ezelkow1 wants to merge 2 commits intoapache:8.1.xfrom
ezelkow1:81x-freebsd-fix

Conversation

@ezelkow1
Copy link
Member

No description provided.

@ezelkow1 ezelkow1 added Build work related to build configuration or environment FreeBSD labels Apr 19, 2021
@ezelkow1 ezelkow1 added this to the 8.1.2 milestone Apr 19, 2021
@ezelkow1 ezelkow1 self-assigned this Apr 19, 2021
# include "tscore/ink_defs.h"
# include "TsConfigGrammar.h"

// Types we need for the lexer.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this a generated file? As I recall there are odd reasons it needs to be checked in.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one isnt generated afaik, however TsConfigGrammer.hpp is generated

Either way this fix didnt work and just made all the builds fail in the same way the fedora one does. This was just a quick check from discussions with @jrushford since this is the easiest way for us to try a freebsd build

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is generated from "TsConfigGrammar.y". See BUILD_TSCONFIG_GRAMMAR from "configure.ac".

How does this fail in FreeBSD?

Copy link
Member Author

@ezelkow1 ezelkow1 Apr 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In file included from TsBuilder.cc:27:
./TsConfigGrammar.hpp:21:16: error: ISO C++ forbids forward references to 'enum' types
typedef enum yytokentype yytoken_kind_t;
^
1 error generated.
gmake[3]: *** [Makefile:826: TsBuilder.lo] Error 1

@ezelkow1 ezelkow1 closed this Apr 19, 2021
@ezelkow1 ezelkow1 deleted the 81x-freebsd-fix branch April 19, 2021 22:20
@ezelkow1 ezelkow1 removed this from the 8.1.2 milestone Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build work related to build configuration or environment FreeBSD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants