pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc frozen for 2017Q2



On 06/28/17 16:10, Brook Milligan wrote:
Hi Jason,

On Jun 28, 2017, at 1:15 PM, Jason Bacon <bacon4000%gmail.com@localhost> wrote:

Not a high priority, but math/R is failing on FreeBSD:

configure:25497: clang -o conftest -O2 -pthread -I/home/bacon/Pkgsrc/pkg/include
-I/home/bacon/Pkgsrc/pkg/include/ncurses -I/home/bacon/Pkgsrc/pkg/include/libdr
m -I/home/bacon/Pkgsrc/pkg/include/freetype2 -I/usr/include -D_THREAD_SAFE -I/ho
me/bacon/Pkgsrc/pkg/include -I/home/bacon/Pkgsrc/pkg/include/ncurses -I/home/bac
on/Pkgsrc/pkg/include/libdrm -I/home/bacon/Pkgsrc/pkg/include/freetype2 -I/usr/i
nclude -D_THREAD_SAFE -L/home/bacon/Pkgsrc/pkg/lib -Wl,-R/home/bacon/Pkgsrc/pkg/
lib -L/usr/lib -Wl,-R/usr/lib -pthread conftest.c -lm -lpthread -lrt  -L/usr/hom
e/bacon/Pkgsrc/pkg/gcc48/lib/gcc/x86_64-unknown-freebsd11/4.8.5 -L/usr/home/baco
n/Pkgsrc/pkg/gcc48/lib/gcc -L/usr/home/bacon/Pkgsrc/pkg/gcc48/lib -Wl,-R/home/ba
con/Pkgsrc/pkg/gcc48/x86_64-unknown-freebsd11/lib/. -Wl,-R/home/bacon/Pkgsrc/pkg
/gcc48/lib/. -lgfortran -lm -lquadmath -lpthread >&5
/usr/bin/ld: cannot find -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is libgfortran.* in the R/work/.buildlink directory?  I believe that is what really counts.  Is the right buildlink magic being used?

Cheers,
Brook

The libs are there:

FreeBSD unixdev.ceas bacon ~/Pkgsrc/pkgsrc/math/R 412: ls -l work/.buildlink/gcc48/lib/libgfortran.* lrwxr-xr-x 1 bacon bacon 46 Jun 28 14:02 work/.buildlink/gcc48/lib/libgfortran.a@ -> /home/bacon/Pkgsrc/pkg/gcc48/lib/libgfortran.a -rw-r--r-- 1 bacon bacon 1059 Jun 28 14:02 work/.buildlink/gcc48/lib/libgfortran.la lrwxr-xr-x 1 bacon bacon 47 Jun 28 14:02 work/.buildlink/gcc48/lib/libgfortran.so@ -> /home/bacon/Pkgsrc/pkg/gcc48/lib/libgfortran.so lrwxr-xr-x 1 bacon bacon 49 Jun 28 14:02 work/.buildlink/gcc48/lib/libgfortran.so.3@ -> /home/bacon/Pkgsrc/pkg/gcc48/lib/libgfortran.so.3 lrwxr-xr-x 1 bacon bacon 49 Jun 28 14:02 work/.buildlink/gcc48/lib/libgfortran.spec@ -> /home/bacon/Pkgsrc/pkg/gcc48/lib/libgfortran.spec

I'm not sure what you mean about the buildlink magic, but the GCC dep comes from USE_LANGUAGES=fortran.

I noticed that R did not build in my pbulk runs on Darwin 15 or 16 either. They use clang as a base compiler, like FreeBSD.

Has anyone successfully built R on El Capitan or Sierra?

Thanks,

    JB

--
Earth is a beta site.



Home | Main Index | Thread Index | Old Index