Package Details: libgfortran6 6.4.1-1

Git Clone URL: https://aur.archlinux.org/libgfortran6.git (read-only)
Package Base: libgfortran6
Description: Fortran runtime libraries shipped by GCC6
Upstream URL: http://gcc.gnu.org
Keywords: fortran gcc
Licenses: GPL, custom, LGPL, FDL
Submitter: qft
Maintainer: qft
Last Packager: qft
Votes: 2
Popularity: 0.000000
First Submitted: 2017-05-18 15:21
Last Updated: 2017-10-14 22:37

Latest Comments

petronny commented on 2019-06-28 09:10

It doesn't build now.

/bin/sh ../libtool --tag=CXX   --mode=compile /build/libgfortran6/src/gcc-build/./gcc/xgcc -shared-libgcc -B/build/libgfortran6/src/gcc-build/./gcc -nostdinc++ -L/build/libgfortran6/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src -L/build/libgfortran6/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/build/libgfortran6/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include    -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  -DHAVE_RPC_XDR_H=0 -DHAVE_TIRPC_RPC_XDR_H=0 -I. -I/build/libgfortran6/src/gcc/libsanitizer/sanitizer_common -I..  -I /build/libgfortran6/src/gcc/libsanitizer/include -isystem /build/libgfortran6/src/gcc/libsanitizer/include/system  -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/include     -I../../libstdc++-v3/include/x86_64-pc-linux-gnu     -I/build/libgfortran6/src/gcc/libsanitizer/../libstdc++-v3/libsupc++ -std=gnu++11 -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE -I /build/libgfortran6/src/gcc/libsanitizer/../libbacktrace -I ../libbacktrace -I /build/libgfortran6/src/gcc/libsanitizer/../include -include /build/libgfortran6/src/gcc/libsanitizer/libbacktrace/backtrace-rename.h -g -march=x86-64 -mtune=generic -O2  -fno-plt -D_GNU_SOURCE -MT sanitizer_printf.lo -MD -MP -MF .deps/sanitizer_printf.Tpo -c -o sanitizer_printf.lo /build/libgfortran6/src/gcc/libsanitizer/sanitizer_common/sanitizer_printf.cc
/build/libgfortran6/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:153:23: fatal error: sys/ustat.h: No such file or directory
 #include <sys/ustat.h>                       ^

Also does gcc6-libs already provide this package?

gcc6-libs usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0/libgfortran.so.3
gcc6-libs usr/lib/gcc/x86_64-pc-linux-gnu/6.5.0/libgfortran.so.3.0.0

IGI-111 commented on 2018-09-10 16:11

For some reason git+https://gcc.gnu.org/git/gcc.git#commit=878763634f0a75699559b3c0b90d466954a6510f hangs git when git://gcc.gnu.org/git/gcc.git#commit=878763634f0a75699559b3c0b90d466954a6510f works just fine.

qft commented on 2017-06-20 16:30

This problem has been reported by another person before. If you go to your /etc/makepkg.conf, what is your CHOST variable? You need to change this value to the Arch default value of "x86_64-pc-linux-gnu"[1]. Don't use any other values unless you know what you are doing.

[1]Assuming you are on a x86_64 machine. See https://git.archlinux.org/svntogit/packages.git/tree/repos/core-x86_64/PKGBUILD?h=packages/pacman, line 69

laserk commented on 2017-06-20 12:21

I am getting the following error:
==> Starting package()...
make: *** x86_64-unknown-linux-gnu/libgfortran: No such file or directory. Stop.

Any suggestions?

petronny commented on 2017-06-17 06:34

用extra-x86_64-build是不出错的
用makepkg编译时会因为CHOST是x86_64-unknown-linux-gnu
package()函数中make的那一行会报错找不到文件

qft commented on 2017-06-16 19:50

我这个PKGBUILD大部分都是复制粘贴于官方的gcc PKGBUILD (https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gcc)
因为官方的没有加引号,所以我也没有加……

为什么package()会报错?报错信息是什么?

另外下次留言最好用英文,毕竟这里大部分人看不懂中文。

petronny commented on 2017-06-16 17:26

Hi, 我的CHOST是x86_64-unknown-linux-gnu, 所以package()函数会报错
另外source可以引号括一下吗?要不然还以为#commit=是注释。。。