From owner-freebsd-ports@freebsd.org Sun Sep 24 13:25:36 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E525DE28637 for ; Sun, 24 Sep 2017 13:25:36 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EEBE75DB8 for ; Sun, 24 Sep 2017 13:25:35 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id v8OD17IA073470 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 24 Sep 2017 13:01:07 GMT (envelope-from list1@gjunka.com) Subject: Re: math/R doesn't compile To: freebsd-ports@freebsd.org References: <0a193599-cb6e-2649-8b4f-33b6407cca32@bsd.com.br> From: Grzegorz Junka Message-ID: Date: Sun, 24 Sep 2017 13:01:07 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <0a193599-cb6e-2649-8b4f-33b6407cca32@bsd.com.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB-large X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2017 13:25:37 -0000 Looks like the port doesn't compile when LTO is set: OPTIONS_FILE_SET+=LTO I have raised a new bug as I couldn't find one mentioning this issue yet: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222553 GrzegorzJ On 12/09/2017 10:12, OtacĂ­lio wrote: > Em 11/09/2017 20:07, Grzegorz Junka escreveu: >> ../extra/tre/libtre.a: error adding symbols: Malformed archive >> collect2: error: ld returned 1 exit status >> gmake[4]: *** [Makefile:177: libR.so] Error 1 >> gmake[4]: Leaving directory >> '/wrkdirs/usr/ports/math/R/work/R-3.4.1/src/main' >> gmake[3]: *** [Makefile:135: R] Error 2 >> gmake[3]: Leaving directory >> '/wrkdirs/usr/ports/math/R/work/R-3.4.1/src/main' >> gmake[2]: *** [Makefile:28: R] Error 1 >> gmake[2]: Leaving directory '/wrkdirs/usr/ports/math/R/work/R-3.4.1/src' >> gmake[1]: *** [Makefile:61: R] Error 1 >> gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/R/work/R-3.4.1' >> >> Which option may be responsible for this problem? I can only set libr >> to be compiled or not. >> >> GrzegorzJ >> >> _______________________________________________ > > Maybe this is a local problem on your system because I have just > finished a build and install of math/R on my machine (FreeBSD 11.1 > amd64 ports Revision: 449667, default R options): > > install -m 0644 "./dir" "/usr/ports/math/R/work/stage/usr/local/info" > installing R info pages ... > updating '/usr/local/info/dir' ... > gmake[3]: Leaving directory '/usr/ports/math/R/work/R-3.4.1/doc/manual' > gmake[2]: Leaving directory '/usr/ports/math/R/work/R-3.4.1' > ====> Compressing man pages (compress-man) > ===> Installing ldconfig configuration file > ====> Running Q/A tests (stage-qa) > root@nostromo:/usr/ports/math/R # make deinstall install > ===> Deinstalling for R > ===> Deinstalling R-3.4.0_2 > Updating database digests format: 100% > Checking integrity... done (0 conflicting) > Deinstallation has been requested for the following 1 packages (of 0 > packages in the universe): > > Installed packages to be REMOVED: > R-3.4.0_2 > > Number of packages to be removed: 1 > > The operation will free 61 MiB. > [1/1] Deinstalling R-3.4.0_2... > [1/1] Deleting files for R-3.4.0_2: 100% > ===> Installing for R-3.4.1_7 > ===> R-3.4.1_7 depends on executable: gmake - found > ===> R-3.4.1_7 depends on executable: wget - found > ===> R-3.4.1_7 depends on executable: gfortran6 - found > ===> R-3.4.1_7 depends on package: ghostscript9-agpl-base>=9.16_2 - > found > ===> R-3.4.1_7 depends on file: /usr/local/libdata/pkgconfig/ice.pc > - found > ===> R-3.4.1_7 depends on file: /usr/local/libdata/pkgconfig/sm.pc - > found > ===> R-3.4.1_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc > - found > ===> R-3.4.1_7 depends on file: /usr/local/libdata/pkgconfig/xext.pc > - found > ===> R-3.4.1_7 depends on file: /usr/local/libdata/pkgconfig/xmu.pc > - found > ===> R-3.4.1_7 depends on file: > /usr/local/libdata/pkgconfig/xscrnsaver.pc - found > ===> R-3.4.1_7 depends on file: /usr/local/libdata/pkgconfig/xt.pc - > found > ===> R-3.4.1_7 depends on executable: indexinfo - found > ===> R-3.4.1_7 depends on shared library: libcurl.so - found > (/usr/local/lib/libcurl.so) > ===> R-3.4.1_7 depends on shared library: libpcre.so - found > (/usr/local/lib/libpcre.so) > ===> R-3.4.1_7 depends on shared library: libicui18n.so - found > (/usr/local/lib/libicui18n.so) > ===> R-3.4.1_7 depends on shared library: libpng.so - found > (/usr/local/lib/libpng.so) > ===> R-3.4.1_7 depends on shared library: libtiff.so - found > (/usr/local/lib/libtiff.so) > ===> R-3.4.1_7 depends on shared library: libreadline.so.7 - found > (/usr/local/lib/libreadline.so.7) > ===> R-3.4.1_7 depends on shared library: libintl.so - found > (/usr/local/lib/libintl.so) > ===> R-3.4.1_7 depends on shared library: libjpeg.so - found > (/usr/local/lib/libjpeg.so) > ===> R-3.4.1_7 depends on shared library: libtk86.so - found > (/usr/local/lib/libtk86.so) > ===> R-3.4.1_7 depends on shared library: libtcl86.so - found > (/usr/local/lib/libtcl86.so) > ===> R-3.4.1_7 depends on shared library: libcairo.so - found > (/usr/local/lib/libcairo.so) > ===> R-3.4.1_7 depends on shared library: libglib-2.0.so - found > (/usr/local/lib/libglib-2.0.so) > ===> R-3.4.1_7 depends on shared library: libintl.so - found > (/usr/local/lib/libintl.so) > ===> R-3.4.1_7 depends on shared library: libpango-1.0.so - found > (/usr/local/lib/libpango-1.0.so) > ===> Checking if R already installed > ===> Registering installation for R-3.4.1_7 > Installing R-3.4.1_7... > ======================================================================== > On 11.1 and later, there is a problem downloading R packages when > gfortran is chosen as the fortran compiler. > > Use either of these workarounds until a permanent solution is found. > > 1. If you are on an amd64 system, you can use flang as the fortran > compiler. > > 2. If you choose gfortran as the fortran compiler, you can add > > options(download.file.method="wget") > > to ~/.Rprofile followed by a newline. > > Details: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221127 > ======================================================================== > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"