Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Feb 2014 21:56:50 +1100
From:      Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
To:        Greg Rivers <gcr+freebsd-ports@tharned.org>, freebsd-ports@freebsd.org
Cc:        ale@freebsd.org
Subject:   Re: databases/mysql56-client build failure on 9.2-STABLE i386
Message-ID:  <52F218F2.3090207@heuristicsystems.com.au>
In-Reply-To: <alpine.BSF.2.00.1402041034560.2487@badger.tharned.org>
References:  <alpine.BSF.2.00.1402041034560.2487@badger.tharned.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/02/2014 3:47 AM, Greg Rivers wrote:
> The recent update from mysql56-client-5.6.15 to mysql56-client-5.6.16
> fails to build on 9.2-STABLE i386.  It builds fine on amd64 (both
> 9.2-STABLE and 10.0-STABLE).
>
> Here's the error:
> ...
> [ 10%] Built target yassl
> Scanning dependencies of target taocrypt
> [ 11%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/aes.cpp.o
> [ 11%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/aestables.cpp.o
> [ 12%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/algebra.cpp.o
> [ 12%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/arc4.cpp.o
> [ 12%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/asn.cpp.o
> [ 13%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/coding.cpp.o
> [ 13%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/des.cpp.o
> [ 13%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/dh.cpp.o
> [ 14%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/dsa.cpp.o
> [ 14%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/file.cpp.o
> [ 15%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/hash.cpp.o
> [ 15%] Building CXX object
> extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/integer.cpp.o
> /usr/ports/databases/mysql56-client/work/mysql-5.6.16/extra/yassl/taocrypt/src/integer.cpp:
> In function 'void TaoCrypt::P4_Mul(long long int __vector__*, const
> long long int __vector__*, const long long int __vector__*)':
> /usr/ports/databases/mysql56-client/work/mysql-5.6.16/extra/yassl/taocrypt/src/integer.cpp:1712:
> note: use -flax-vector-conversions to permit conversions between
> vectors with differing element types or numbers of subparts
> /usr/ports/databases/mysql56-client/work/mysql-5.6.16/extra/yassl/taocrypt/src/integer.cpp:1712:
> error: cannot convert 'int __vector__' to 'long long int __vector__'
> for argument '1' to 'long long int __vector__
> __builtin_ia32_psrlqi128(long long int __vector__, int)'
> /usr/ports/databases/mysql56-client/work/mysql-5.6.16/extra/yassl/taocrypt/src/integer.cpp:1713:
> error: cannot convert 'int __vector__' to 'long long int __vector__'
> for argument '1' to 'long long int __vector__
> __builtin_ia32_psrlqi128(long long int __vector__, int)'
> /usr/ports/databases/mysql56-client/work/mysql-5.6.16/extra/yassl/taocrypt/src/integer.cpp:
> At global scope:
> /usr/ports/databases/mysql56-client/work/mysql-5.6.16/extra/yassl/taocrypt/src/integer.cpp:1132:
> warning: 'TaoCrypt::s_RunAtStartupSetPentiumFunctionPointers' defined
> but not used
> *** [extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/src/integer.cpp.o]
> Error code 1
> 1 error
> *** [extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/all] Error code 2
> 1 error
> *** [all] Error code 2
> 1 error
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
> failure to
> the maintainer.
> *** [do-build] Error code 1
>
> Stop in /usr/ports/databases/mysql56-client.
>
> Is this a simple matter to fix, or should I open a PR?
>

Greg,
I too have built mysql-client using portmaster on an i386 machine, see
-rw-r--r--  1 root  wheel    11M Feb  3 13:14
/usr/packages/PRESCOTT/All/mysql56-client-5.6.16.tbz

I've discovered that on a particularly busy build server, I've had  to
sprinkly MAKE_JOBS_UNSAFE=yes for 18 of the 135 ports requiring
customisation.

I don't think a PR is necessary, until you've used what the Makefile
recommends.
Regards, Dewayne.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F218F2.3090207>