pkgsrc-Users archive

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

Re: math/blas not compiling due to gcc7 error



On Tue, Aug 18, 2020 at 9:49 AM Juraj Lutter <otis%netbsd.org@localhost> wrote:
>
>
> > On 18 Aug 2020, at 09:35, Connor McLaughlan <cont6pro3%gmail.com@localhost> wrote:
> >
> > On Sat, Aug 15, 2020 at 2:11 AM Connor McLaughlan <cont6pro3%gmail.com@localhost> wrote:
> >>
> >
> >> I am unsure if this is an error of blas by calling the undefined
> >> reference in libgfortran.so or by gcc7 to have experienced an error
> >> during building of its fortran compiler.
> >>
> >
> > I'm also getting a fortran error during configuring for math/coinmp:
> >
> > configure: C++ compiler options are: -O2 -D_FORTIFY_SOURCE=2
> > -I/usr/pkg/include -I/usr/include   -DCOINUTILS_BUILD
> > configure: Trying to determine Fortran compiler name
> > checking for dummy main to link with Fortran libraries... unknown
> > configure: error: linking to Fortran libraries from C fails
> > See `config.log' for more details.
> > configure: error: /bin/sh './configure' failed for CoinUtils
> > *** Error code 1
> >
>
> Have you checked the config.log yet?
>
> I’ve been able to successfuly build math/blas and
> math/coinmp using x86_64-sun-solaris2.11 on SmartOS.
>
> What you might encounter is a Oracle Solaris-specific issue,
> but without knowledge of config.log entries it’s hard to tell
> what is going on.
>
> I know that it might be time consuming, but: Could you try
> to rebuild and reinstall your gcc7 package?
>
> otis
>

Hi Otis,

just for clarification:
i am using NetBSD9 on sparc64 with pkgsrc-2020Q2.

I will think about recompiling lang/gcc7, but as stated above, the
last build of lang/gcc7 didn't produce any error, which is why i'm
asking here what problem with the gfortran compiler i might be having
on my system? And wouldn't a second compile run of gcc7 produce the
same non-working result?

Attached below  you can find the config.log of the failed coinmp configure.

Regards,
Connor


bash-5.0# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by CoinMP configure 1.8.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr/pkg --build=sparc64--netbsd
--host=sparc64--netbsd --mandir=/usr/pkg/man
--enable-option-checking=yes

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = sparc64
uname -r = 9.0_STABLE
uname -s = NetBSD
uname -v = NetBSD 9.0_STABLE (GENERIC) #0: Wed Jun 24 16:19:34 UTC
2020  john%daisy.zia.io@localhost:/usr/obj-sparc64/sys/arch/sparc64/compile/GENERIC

/usr/bin/uname -p = sparc64
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/pkgsrc/math/coinmp/work/.cwrapper/bin
PATH: /usr/pkgsrc/math/coinmp/work/.buildlink/bin
PATH: /usr/pkgsrc/math/coinmp/work/.gfortran/bin
PATH: /usr/pkgsrc/math/coinmp/work/.gcc/bin
PATH: /usr/pkgsrc/math/coinmp/work/.tools/bin
PATH: /usr/pkg/bin
PATH: /home/connor/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R7/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /usr/games
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/pkg/bin
PATH: /usr/X11R7/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1326: checking for egrep
configure:1336: result: grep -E
configure:1341: checking whether ln -s works
configure:1345: result: yes
configure:1391: checking for a BSD-compatible install
configure:1446: result: /usr/bin/install -c -o root -g wheel
configure:1457: checking whether build environment is sane
configure:1500: result: yes
configure:1565: checking for gawk
configure:1591: result: /usr/bin/awk
configure:1601: checking whether make sets $(MAKE)
configure:1621: result: yes
configure:1794: checking whether to enable maintainer-specific
portions of Makefiles
configure:1803: result: no
configure:2195: checking whether source of project Sample is available
and should be compiled
configure:2296: result: yes, source in Data/Sample
configure:2311: checking whether source of project CoinUtils is
available and should be compiled
configure:2408: result: yes, source in CoinUtils
configure:2423: checking whether source of project Osi is available
and should be compiled
configure:2520: result: yes, source in Osi
configure:2535: checking whether source of project Clp is available
and should be compiled
configure:2632: result: yes, source in Clp
configure:2647: checking whether source of project Cgl is available
and should be compiled
configure:2744: result: yes, source in Cgl
configure:2759: checking whether source of project Cbc is available
and should be compiled
configure:2856: result: yes, source in Cbc
configure:2871: checking whether source of project CoinMP is available
and should be compiled
configure:2968: result: yes, source in CoinMP
configure:2997: checking which command should be used to link input files
configure:3005: result: ln -s
configure:3195: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by CoinMP config.status 1.8.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on localhost

config.status:675: creating Makefile
configure:4066: configuring in Data/Sample
configure:4183: running /bin/sh './configure' --prefix=/usr/pkg
'--prefix=/usr/pkg' '--build=sparc64--netbsd' '--host=sparc64--netbsd'
'--mandir=/usr/pkg/man' '--enable-option-checking=yes'
'build_alias=sparc64--netbsd' 'host_alias=sparc64--netbsd'
--cache-file=/dev/null --srcdir=.
configure:4066: configuring in CoinUtils
configure:4183: running /bin/sh './configure' --prefix=/usr/pkg
'--prefix=/usr/pkg' '--build=sparc64--netbsd' '--host=sparc64--netbsd'
'--mandir=/usr/pkg/man' '--enable-option-checking=yes'
'build_alias=sparc64--netbsd' 'host_alias=sparc64--netbsd'
--cache-file=/dev/null --srcdir=.
configure:4188: error: /bin/sh './configure' failed for CoinUtils

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_COIN_SKIP_PROJECTS_set=''
ac_cv_env_COIN_SKIP_PROJECTS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=sparc64--netbsd
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=sparc64--netbsd
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_path_CAT=/bin/cat
ac_cv_path_ECHO=echo
ac_cv_path_EGREP=/usr/bin/egrep
ac_cv_path_ENV=/usr/bin/env
ac_cv_path_FALSE=false
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_TEST=test
ac_cv_path_TRUE=true
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
lt_cv_sys_max_cmd_len=262144

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABSBUILDDIR=''
ACLOCAL='${SHELL} /usr/pkgsrc/math/coinmp/work/CoinMP-1.8.4/missing
--run aclocal-1.9'
AMTAR='${SHELL} /usr/pkgsrc/math/coinmp/work/CoinMP-1.8.4/missing --run tar'
AUTOCONF='${SHELL} /usr/pkgsrc/math/coinmp/work/CoinMP-1.8.4/missing
--run autoconf'
AUTOHEADER='${SHELL} /usr/pkgsrc/math/coinmp/work/CoinMP-1.8.4/missing
--run autoheader'
AUTOMAKE='${SHELL} /usr/pkgsrc/math/coinmp/work/CoinMP-1.8.4/missing
--run automake-1.9'
AUX_DIR=''
AWK='/usr/bin/awk'
BUILDTOOLSDIR=''
COIN_SKIP_PROJECTS=''
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"CoinMP\" -DPACKAGE_TARNAME=\"coinmp\"
-DPACKAGE_VERSION=\"1.8.4\" -DPACKAGE_STRING=\"CoinMP\ 1.8.4\"
-DPACKAGE_BUGREPORT=\"coinmp%list.coin-or.org@localhost\" -DPACKAGE=\"coinmp\"
-DVERSION=\"1.8.4\" '
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
HAVE_EXTERNALS_FALSE=''
HAVE_EXTERNALS_TRUE='#'
INSTALL_DATA='/usr/bin/install -c -o root -g wheel -m 644'
INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g wheel -m 755'
INSTALL_SCRIPT='/usr/bin/install -c -o root -g wheel -m 755'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBEXT='a'
LIBOBJS=''
LIBS=''
LIBTOOLM4=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='/usr/pkgsrc/math/coinmp/work/.tools/bin/makeinfo'
PACKAGE='coinmp'
PACKAGE_BUGREPORT='coinmp%list.coin-or.org@localhost'
PACKAGE_NAME='CoinMP'
PACKAGE_STRING='CoinMP 1.8.4'
PACKAGE_TARNAME='coinmp'
PACKAGE_VERSION='1.8.4'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.8.4'
VPATH_DISTCLEANFILES=''
abs_bin_dir='/usr/pkg/bin'
abs_include_dir='/usr/pkg/include'
abs_lib_dir='/usr/pkg/lib'
abs_source_dir='/usr/pkgsrc/math/coinmp/work/CoinMP-1.8.4'
ac_ct_STRIP=''
am__leading_dot='.'
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias='sparc64--netbsd'
datadir='${prefix}/share'
exec_prefix='${prefix}'
have_autoconf=''
have_automake=''
have_svn=''
host_alias='sparc64--netbsd'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/pkgsrc/math/coinmp/work/CoinMP-1.8.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='/usr/pkg/man'
mkdir_p='$(install_sh) -d'
oldincludedir='/usr/include'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' Data/Sample CoinUtils Osi Clp Cgl Cbc CoinMP'
sysconfdir='${prefix}/etc'
target_alias=''

configure: exit 1


Home | Main Index | Thread Index | Old Index