Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2017 05:08:43 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   math/R: Build failure after PORTREVISION for shlib change
Message-ID:  <20170628120843.GG1241@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--DtJW00gg9Uj+27As
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Running:

FreeBSD g1-227.catwhisker.org 11.1-BETA3 FreeBSD 11.1-BETA3 #383  r320438M/=
320450:1100514: Wed Jun 28 03:56:53 PDT 2017     root@g1-227.catwhisker.org=
:/common/S1/obj/usr/src/sys/CANARY  amd64

with /usr/ports working copy:
g1-227(11.1)[4] svn info /usr/ports/
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: file:///svn/freebsd/ports/head
Relative URL: ^/head
Repository Root: file:///svn/freebsd/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 444562
Node Kind: directory
Schedule: normal
Last Changed Author: jbeich
Last Changed Rev: 444562
Last Changed Date: 2017-06-28 02:58:37 -0700 (Wed, 28 Jun 2017)

(Repo is a local mirror, updated overnight.)

After updating all other installed ports and setting
'MAKE_JOBS_UNSAFE=3Dyes', I tried (again) for math/R and
databases/R-cran-DBI; math/R fails:

=2E..
making xmalloc.d from xmalloc.c
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c regcomp.c -o regcomp.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c regerror.c -o regerror.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c regexec.c -o regexec.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-ast.c -o tre-ast.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-compile.c -o tre-compile.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-match-approx.c -o tre-match-approx.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-match-backtrack.c -o tre-match-backtrack.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-match-parallel.c -o tre-match-parallel.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-mem.c -o tre-mem.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-parse.c -o tre-parse.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c tre-stack.c -o tre-stack.o
gcc5 -I. -I. -I../../../src/include -I../../../src/include -DLIBICONV_PLUG =
-I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -fopenmp =
-fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=3D/usr/local=
/lib/gcc5 -isystem /usr/local/include -fno-strict-aliasing -flto -fvisibili=
ty=3Dhidden -c xmalloc.c -o xmalloc.o
/usr/local/bin/gcc-ar5 -cr libtre.a regcomp.o regerror.o regexec.o tre-ast.=
o tre-compile.o tre-match-approx.o tre-match-backtrack.o tre-match-parallel=
=2Eo tre-mem.o tre-parse.o tre-stack.o xmalloc.o
ar: unrecognized option `--plugin'
usage:  ar -d [-Tjsvz] archive file ...
        ar -m [-Tjsvz] archive file ...
        ar -m [-Tabijsvz] position archive file ...
        ar -p [-Tv] archive [file ...]
        ar -q [-TcDjsUvz] archive file ...
        ar -r [-TcDjsUuvz] archive file ...
        ar -r [-TabcDijsUuvz] position archive file ...
        ar -s [-jz] archive
        ar -t [-Tv] archive [file ...]
        ar -x [-CTouv] archive [file ...]
        ar -V
*** Error code 64

Stop.
make[6]: stopped in /common/ports/math/R/work/R-3.4.0/src/extra/tre
*** Error code 1

[and things don't improve after that.]

Poking around, I see:
g1-227(11.1)[3] pkg which /usr/local/bin/gcc-ar5
/usr/local/bin/gcc-ar5 was installed by package gcc5-5.4.0_2

I confess I don't really see (from the command listed) how gcc-ar5
thought it was being told to use the '--plugin' option, but ... <shrug>.

Most recent update to the math/R port was to the Makefile:

------------------------------------------------------------------------
r444463 | sunpoet | 2017-06-27 06:46:53 -0700 (Tue, 27 Jun 2017) | 11 lines

Update devel/readline to 7.0 patch 3

- Bump PORTREVISION for shlib change

Changes:        https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
                https://lists.gnu.org/archive/html/bug-bash/2016-09/msg0010=
7.html
                https://lists.gnu.org/archive/html/bug-readline/2017-01/msg=
00002.html
Differential Revision:  https://reviews.freebsd.org/D11172
PR:             219947
Exp-run by:     antoine

------------------------------------------------------------------------


Suggestions for getting math/R (and, I presume, databases/R-cran-DBI)
to build?

Thanks!

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
I look forward to voting against Trump again at the earliest opportunity.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--DtJW00gg9Uj+27As
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJZU5xLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XGbwH/0Src3JbaHqCDq+Tzk6/OH5b
fgixTz+ZsJljQNVBDj1IayO2bwO+odD03zLsT8YDhRXR+jFAzeTLVjo9JZ8NYgBt
htPsRfi0Gu0snCqyjCSiGIy2LVyzLkN0bL7nfTEvT8WpaDBgD2f61pk+ETKpHVpx
t0Nzq6DHnAoQhlcj7pfvljDSbIHXnT9jHV2l56RcRMfARNDPzpNfUWlYV43SdbUb
qEWQQrSBU2vJgkBEu+PHgNxKZPnBDcBUkR2aaUxD55+aBBhEMCZG2YSxrwZ+p9pd
DpIWB5hMGO+z4SfabiYXV1cZ5jntTxjjQGAfkjQJwC2I44RaCOrs9HB1/jnR7Qo=
=D0E9
-----END PGP SIGNATURE-----

--DtJW00gg9Uj+27As--



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