Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54595 - mpqc needs a fortran compiler but does not fail if it doesn't find one
Summary: mpqc needs a fortran compiler but does not fail if it doesn't find one
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-20 21:58 UTC by Don Curtis
Modified: 2005-05-24 15:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Curtis 2004-06-20 21:58:08 UTC
When emerging Ghemical the ./configure script fails because it cannot find sc-config which is supposedly part of the mpqc package.  I am also filing a bug repor under mpqc ebuild however the ghemical problem can be resolved by removing he --enable-mpqc from he ./configure script.

Reproducible: Always
Steps to Reproduce:
1.emerge ghemical
2.
3.




Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://mirrors.tds.net/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://mirrors.tds.net/gentoo http://gentoo.netnitco.net
http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/
http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cscope cups encode esd foomaticdb
freetype gdbm gif gphoto2 gpm gtk2 imap imlib java jpeg kde libg++ libwww mad
mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
png python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex
truetype x86 xinerama xml2 xmms xv zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-28 00:32:16 UTC
Run this:
qpkg -l mpqc | grep sc-config

If you don't have qpkg, emerge gentoolkit.
Comment 2 Olivier Fisette (RETIRED) gentoo-dev 2004-07-06 16:49:43 UTC
I works for me. Have you tried reemerging mpqc ?
Comment 3 Olivier Fisette (RETIRED) gentoo-dev 2004-08-08 12:53:58 UTC
I'm closing this bug due to lack of feed-back.
Comment 4 Toon Verstraelen 2004-08-09 01:48:41 UTC
Hi,

I'd like to reopen this bug (and I'm willing to give feedback.) I have the same sc-config problem. I have tried to re-emerge mpqc, but that din't work. I've also tried the instructions from a forum-thread: http://forums.gentoo.org/viewtopic.php?t=189698
but that didn't help either.

It apaers that mpqc has only installed some man-pages.

molmod08 mpqc # qpkg -l mpqc
app-sci/mpqc-2.2.2 *
CONTENTS:
/usr
/usr/share
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/sc_ShmMemoryGrp.3.gz
/usr/share/man/man3/sc_SCVectorSimpleBlock.3.gz
/usr/share/man/man3/sc_VDWShape.3.gz
/usr/share/man/man3/sc_ARMCIMemoryGrp.3.gz
/usr/share/man/man3/group.3.gz
...

I'v checked the configure output of mpqc and it says that there is no fortran compiler installed on my system. Afaik, gcc can serve as fortran compiler, so I don't understand why this warning:

checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking how to get verbose linking output from ... configure: WARNING: compilation failed

checking for Fortran libraries of ...
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2004-08-09 03:01:17 UTC
Newer gcc versions build g77 only if you have "f77" in your USE flags (which is off by default, and you can't yet state in your DEPENDs that you need a gcc with g77). Someone will have to add a check to the mpqc package. Re-Opening until this is done, changing summary.
Comment 6 Eiichirou Shimazu 2004-10-01 23:23:43 UTC
I had same problem.
but I could resolved this problem to reemerge the gcc with f77 use flag,lapack and mpqc.

but I found the next. 

The die command is not written in the part of src_compile() and src_install() of the mpqc-2.2.2.ebuild and mpqc-2.2.2-r1.ebuild.
So, even if abort the compile or make install, emerge recognize that mpqc is successfully installed.

Please add the die command.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-02 10:08:19 UTC
Committed changes as per comment #6. Waiting for fortran.eclass to be ready before adding the f77 check.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-05 23:23:16 UTC
Is this fixed in 2.2.2-r1?
Comment 9 Martin Mokrejš 2005-02-18 09:42:52 UTC
I think the dependency on lapack-reference should be fixed too:

checking for sys/shm.h... yes
checking for SYSV IPC... yes
checking if semctl requires semun... no
checking fortran symbols... lowercase with underscore
checking for daxpy_... no
checking for daxpy_ in -lessl... no
checking for daxpy_ in -lblas... yes
checking for dgesvd_... no
checking for dgesvd_ in -llapack... no
Could not link to the LAPACK library.  It can be obtained at
http://www.netlib.org/lapack.  Use --with-libdir and/or --with-libs
to specify the name of the library.
configure: error: LAPACK is required to complete the build

!!! ERROR: sci-chemistry/mpqc-2.2.2-r1 failed.
!!! Function src_compile, Line 27, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.

# emerge -s lapack
Searching...   
[ Results for search key : lapack ]
[ Applications found : 4 ]
 
*  sci-libs/lapack
      Latest version available: 3.0
      Latest version installed: 3.0
      Size of downloaded files: 4,874 kB
      Homepage:    http://www.netlib.org/lapack/
      Description: Linear Algebra PACKage for scientists, engineers, and mathematicians. This contains the libraries for creating programs that use LAPACK.
      License:     lapack

*  sci-libs/lapack-atlas
      Latest version available: 3.6.0
      Latest version installed: 3.6.0
      Size of downloaded files: 6,587 kB
      Homepage:    http://math-atlas.sourceforge.net/
      Description: Full LAPACK implementation using available ATLAS routines
      License:     BSD

*  sci-libs/lapack-config
      Latest version available: 1.0.1
      Latest version installed: 1.0.1
      Size of downloaded files: 0 kB
      Homepage:    http://www.gentoo.org/
      Description: Utility to change the default LAPACK library
      License:     GPL-2

*  sci-libs/lapack-reference
      Latest version available: 3.0
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 4,934 kB
      Homepage:    http://www.netlib.org/lapack/index.html
      Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage
      License:     lapack

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20050125-r0, 2.4.30-pre1-bk4 i686)
=================================================================
System uname: 2.4.30-pre1-bk4 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 16 2005, 23:25:25)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.5, 1.4_p6, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -msse3 -O3 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.icd.hu/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aalib acpi afs alsa apache2 apm arts ati avi berkdb bidi bitmap-fonts caca cdparanoia cdr crypt cscope cups curl dga directfb divx divx4 divx4linux divx5 divx5linux doc dvb dvd dvdr dvdread emacs emacs-w3 encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flac flash font-server foomaticdb fortran fvwm fvwm2 g77 gb gcj gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile i8x0 icc imagemagick imlib imlib2 innodb ipv6 java jpeg junit lcms leim libg++ libwww live lzo mad mcal mesa mikmod mmx mmx2 motif mozilla mpeg mule mysql ncurses network nls oggvorbis opengl oss pam pda pdflib perl php php4 plotutils png postgres ppds pthread pthreads python qt qtx quicktime readline rtc samba sasl scanner sdl slang slp spell sse sse2 sse3 ssl svga tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 win32 winvidix wmf xml xml2 xmms xosd xv xvid xvmc zeo zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-18 20:01:19 UTC
1. That's completely unrelated and should have been filed as a new bug.

2. It depends on the virtuals in >=2.2.2-r1 -- lapack and blas are deprecated so don't provide the virtuals. Just lapack-* and blas-*. The stable mpqc can't depend on the virtuals because the virtuals are only provided by unstable packages.
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-24 15:01:43 UTC
Should be fixed in >=2.2.2-r1