Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2013 00:11:23 +0200
From:      John Marino <freebsdml@marino.st>
To:        freebsd-ports@freebsd.org
Subject:   Re: [HEADSUP] flex/lex updated to 2.5.37 (from flex.sourceforge.net)
Message-ID:  <519BF10B.2070101@marino.st>
In-Reply-To: <519BE1AF.2000009@FreeBSD.org>
References:  <519BD320.9030306@FreeBSD.org> <519BD978.9060304@marino.st> <519BE1AF.2000009@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/21/2013 23:05, Jung-uk Kim wrote:
> Can you please explain the most common incompatibilities you
> experienced from dports?
>
> FYI, I have added these two shims for FreeBSD:
>
> http://svnweb.freebsd.org/changeset/base/250877
> http://svnweb.freebsd.org/changeset/base/250878
>
> With these two shims, I was able to build older FreeBSD source trees
> just fine.  Without them, I needed patches like this:
>
> http://svnweb.freebsd.org/changeset/base/250227


Yes, we had serious circular dependency issues because M4 was updated at 
the same time, and they require each other to build.  In the end, not 
only did we make the same sort of changes seen in your r250227, we also 
had to pregenerate one of the M4 source files to break the circular 
dependency.  After that it was possible to built older trees with the 
new M4/Flex.  But we didn't add the shims.

You're going to find additional problems beyond those shims.
Such as:
-  YY_PROTO no longer defined
-  yyleng data type redefined from int to size_t
-  yyget_leng now predefined
-  yylineno is now predefined
-  upstream patches needed for non-trivial fixes
etc.

John




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?519BF10B.2070101>