Subject: pkg/29666: F77 is set to empty in MAKE_ENV
To: None <,,>
From: Dan McMahill <>
List: pkgsrc-bugs
Date: 03/12/2005 02:15:00
	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         29666
>Category:       pkg
>Synopsis:       F77 is set to empty in MAKE_ENV
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 12 02:15:00 +0000 2005
>Originator:     Dan McMahill <>
>Release:        NetBSD 2.0
System: NetBSD bondage 2.0 NetBSD 2.0 (BONDAGE) #0: Fri Jan 7 14:08:08 EST 2005 dan@bondage:/export/disk2/netbsd-2-0/obj/alpha/sys/arch/alpha/compile/BONDAGE alpha
Architecture: alpha
Machine: alpha

pkgsrc as of a few days ago

something in the handling of USE_LANGUAGES+= fortran manages to not
get F77 set and we end up with "F77=" in our MAKE_ENV.  However, some
packages will try to use F77 if set.  For example, math/octave-forge
calls /usr/pkg/bin/mkoctfile from math/octave-current during the build
and because F77 is set to an empty value, it fails to build its fortran


cd /usr/pkgsrc/math/octave-forge && make

note that mkoctfile complains of not being able to build fortran sources


cd /usr/pkgsrc/math/octave-forge && make show-var VARNAME=MAKE_ENV

and note F77 is not properly set.


not sure.  The stuff is magic to me right now.