[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41425: databases/db4/buildlink3.mk kills USE_LANGUAGES+=fortran
>Synopsis: databases/db4/buildlink3.mk kills USE_LANGUAGES+=fortran
>Arrival-Date: Wed May 13 20:45:00 +0000 2009
>Release: NetBSD 5.0_STABLE
System: NetBSD chen.chizhovka.net 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #5:
Fri May 1 16:04:32 EEST 2009
Under Linux several fortran-based packages fail.
One example is here:
"bmake configure" stage ends like this.
=> Linking db4 files into /tmp/obj_pkgsrc/parallel/mpi-ch/work/.buildlink.
=> Linking f2c files into /tmp/obj_pkgsrc/parallel/mpi-ch/work/.buildlink.
ERROR: f2c>=20001205nb3 is not installed; can't buildlink files.
*** Error code 1
This happens because f2c was not installed at "bmake depends" stage.
Package itself looks good. It adds fortran to USE_LANGUAGES and
normally it should work but does not under Linux and some other
!NetBSD platforms too. Why?
0 mpi-ch>bmake show-var VARNAME=_ALL_DEPENDS
digest>=20010302:../../pkgtools/digest tnftp-[0-9]*:../../net/tnftp \
kbproto>=1.0.2:../../x11/kbproto xproto>=7.0.9:../../x11/xproto \
perl>=5.0:../../lang/perl5 python25>=2.5.1:../../lang/python25 \
python25>=2.5:../../lang/python25 libX11>=1.1:../../x11/libX11 \
Normally f2c>=20001205nb8:../../lang/f2c should appear in this output
but it doesn't.
The direct reason of this is that databases/db4/buildlink3.mk is
included to package's Makefile under Linux through
mk/bdb.buildlink3.mk <- lang/python25/buildlink3.mk <-
lang/python/pyversion.mk <- lang/python/application.mk
I didn't investigate the problem deeper but it looks like
something inside databases/db4/buildlink3.mk
somehow breaks USE_LANGUAGES settings.
You can reproduce the problem under NetBSD by setting
BDB_ACCEPTED to db4.
Main Index |
Thread Index |