Package Details: f2c 20200916-2

Git Clone URL: https://aur.archlinux.org/f2c.git (read-only, click to copy)
Package Base: f2c
Description: Fortran to C code translator
Upstream URL: https://www.netlib.org/f2c
Keywords: transpiler
Licenses: custom
Submitter: None
Maintainer: a.kudelin
Last Packager: a.kudelin
Votes: 58
Popularity: 0.140274
First Submitted: 2009-10-11 19:13
Last Updated: 2020-12-06 21:00

Latest Comments

1 2 3 4 5 6 ... Next › Last »

a.kudelin commented on 2021-02-12 08:04

@miksolo, please try again using VPN or proxy. It seems you don't have connection to the netlib's server.

miksolo commented on 2021-02-11 17:18

I have trouble downloading f2c-20200916.tar.gz from direct link or using wget. Also that holds installation via yay or pamac.

0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0curl: (6) Could not resolve host: www.netlib.org

==> ERROR: Failure while downloading https://www.netlib.org/f2c/src.tgz Aborting...

xiretza commented on 2020-09-29 16:26

Could you rename the source to something that contains both $pkgname and $pkgver (in accordance with the fourth point in https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_sources)? Something like:

source=("$pkgname-$pkgver.tar.gz::$url/src.tgz"
        "libf2c-$pkgver.zip::$url/libf2c.zip")

Anything else will just cause even more checksum troubles.

jgus commented on 2020-09-27 19:49

I'm also seeing a sha265 mismatch. Clearing the cache doesn't help. Looks like the package needs to be updated to match the modified source?

timmyl17 commented on 2020-09-24 16:51

I'm getting a sha256 mismatch on src.tgz. When I download directly from the website and run

sha256sum src.tgz

I get d4847456aa91c74e5e61e2097780ca6ac3b20869fae8864bfa8dcc66f6721d35

a.kudelin commented on 2020-07-22 20:26

Developers don't distinguish between versions, so you have to remove old files before running makepkg.

snostorm commented on 2020-07-22 10:34

Just FYI I was getting this Error but manual download of src.tgz worked???

~/Development/Arch-SRCpackages/f2c]makepkg -si ==> Making package: f2c 20200425-2 (Wed 22 Jul 2020 11:25:44 AM BST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found src.tgz -> Found libf2c.zip ==> Validating source files with sha256sums... src.tgz ... FAILED libf2c.zip ... Passed

bartus commented on 2020-05-26 19:41

Add manual page for f2c

git am < <(curl -s http://ix.io/2nr2)

DasMoeh commented on 2019-12-23 16:09

Thank you! I'll try that.

a.kudelin commented on 2019-12-22 15:15

The best solution I found is to create a dummy .c file, call it test.c, for example.

$ cat test.c
#include "f2c.h"

int MAIN__(void) { return 0; }

Linking it along with your main.cpp gives the desired result:

$ ld -o program main.o test.o -llevmar

Another solution is to remove all MAIN__ instances from main.c file of libf2c, adding following line to prepare() section of PKGBUILD: sed -i "/MAIN__/d" libf2c/main.c, but I actually don't know if such a dirty hack can break something...