pkgsrc-Bugs archive

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

pkg/41425: databases/db4/ kills USE_LANGUAGES+=fortran

>Number:         41425
>Category:       pkg
>Synopsis:       databases/db4/ kills USE_LANGUAGES+=fortran
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 13 20:45:00 +0000 2009
>Release:        NetBSD 5.0_STABLE
System: NetBSD 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #5: 
Fri May 1 16:04:32 EEST 2009 i386
Architecture: i386
Machine: i386
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 \
     python25>=2.5.2:../../lang/python25 libX11>=0.99:../../x11/libX11
   0 mpi-ch>

Normally f2c>=20001205nb8:../../lang/f2c should appear in this output
but it doesn't.

The direct reason of this is that databases/db4/ is
included to package's Makefile under Linux through
mk/ <- lang/python25/ <-
lang/python/ <- lang/python/

I didn't investigate the problem deeper but it looks like
something inside databases/db4/
somehow breaks USE_LANGUAGES settings.
You can reproduce the problem under NetBSD by setting



Home | Main Index | Thread Index | Old Index