On Tue, Feb 08, 2022 at 09:21:16PM -0700, Kurt Mosiejczuk wrote:
> http://build-failures.rhaalovely.net/sparc64/2022-02-06/devel/boost.log

>        FULLPKGNAME = boost-1.78.0v0

> ./boost/predef/architecture/sparc.h:37:38: error: missing ')' in expression
>  #   if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || 
> defined(__sparc_v9__)
>                                       ^
> ./boost/predef/architecture/sparc.h:40:38: error: missing ')' in expression
>  #   if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || 
> defined(__sparc_v8__)
>                                       ^

I'm confused, since looking at this file extracted from our port which
says

        $ make show=FULLPKGNAME-main
        boost-1.78.0v0

it does *have* the missing ')':

        $ cd `make show=WRKSRC`
        $ grep -n sparc_v ./boost/predef/architecture/sparc.h                   
                                    
        27:| `+__sparc_v9__+` | 9.0.0
        29:| `+__sparc_v8__+` | 8.0.0
        37:#   if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || 
defined(__sparc_v9__))
        40:#   if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || 
defined(__sparc_v8__))

which matches the upstream fix contained in 1.78.0:

https://github.com/boostorg/boost/issues/532
https://github.com/boostorg/predef/commit/1be0e4a2d8db15a405f64a6f65507b87c1be7e1a


So how did we build a 1.78.0 release without this fix?
My sparc64 build with the latest snapshot and ports tree is currently
running.

Reply via email to