pkgsrc-Bugs archive

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

Re: pkg/49130: devel/libtool-fortran DragonFly FC shared library postdeps prevent math/blas build



The following reply was made to PR pkg/49130; it has been noted by GNATS.

From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/49130: devel/libtool-fortran DragonFly FC shared library
 postdeps prevent math/blas build
Date: Wed, 20 Aug 2014 09:18:29 -0700

 The problem seems to affect NetBSD 7.99.1 amd64 as well, at least when
 failing to build math/octave.
 
 checking for x86_64--netbsd-gfortran... g95
 checking whether we are using the GNU Fortran 77 compiler... yes
 checking whether g95 accepts -g... yes
 checking how to get verbose linking output from g95... -v
 checking for Fortran 77 libraries of g95...
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib
 -L/usr/pkg/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2/
 -L/usr/pkg/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2
 -L/usr/pkg/lib/gcc-lib/x86_64--netbsd/4.1.2/ -L/lib//
 -L/usr/pkg/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2///
 -L/usr/pkg/lib/gcc-lib/x86_64--netbsd/4.1.2/// -L/usr/lib//
 -Wl,-R/usr/pkg/lib -lf95 -lm
 -Wl,-R/usr/pkg/lib/gcc-lib/x86_64--netbsd/4.1.2
 checking for dummy main to link with Fortran 77 libraries... none
 checking for Fortran 77 name-mangling scheme... lower case,
 underscore, extra underscore
 configure: defining FFLAGS to be -O
 checking whether g95 generates correct size integers... yes
 checking whether g95 accepts -ffloat-store... yes
 setting F77_FLOAT_STORE_FLAG to -ffloat-store
 
 ...
 mv -f $depbase.Tpo $depbase.Po
 /bin/sh ../libtool --tag=CC   --mode=link gcc -O2 -g
 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -pthread
 -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wformat -Wpointer-arith
 -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align
 -Wcast-qual -O2 -g -I/usr/pkg/include -I/usr/include
 -I/usr/include/krb5 -pthread -pthread -O2 -g -I/usr/pkg/include
 -I/usr/include -I/usr/include/krb5 -pthread -no-undefined
 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o octave
 main.o liboctinterp.la ../liboctave/liboctave.la
 ../libcruft/libcruft.la  -lm
 libtool-fortran: link: gcc -O2 -g
 -I/usr/pkgsrc/math/octave/work/.buildlink/include -I/usr/include/krb5
 -pthread -DHAVE_CONFIG_H -Wall -W -Wshadow -Wformat -Wpointer-arith
 -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align
 -Wcast-qual -O2 -g -pthread -pthread -O2 -g -pthread
 -Wl,-R/usr/pkg/lib -o .libs/octave main.o
 -L/usr/pkgsrc/math/octave/work/octave-3.6.4/liboctave/.libs
 -L/usr/pkgsrc/math/octave/work/octave-3.6.4/libcruft/.libs
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib -L./.libs -loctinterp
 
-L/usr/pkgsrc/math/octave/work/.buildlink/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2/
 
-L/usr/pkgsrc/math/octave/work/.buildlink/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2/
 
-L/usr/pkgsrc/math/octave/work/.buildlink/bin/../lib/gcc-lib/x86_64--netbsd/4.1.2///
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2///
 -L/usr/lib// -lhdf5 -lz -lX11 -lxcb -lXau -lXdmcp -L../liboctave/.libs
 -loctave -lfftw3 -lreadline -ltermcap -lcurses -lpcre
 -L../libcruft/.libs -lcruft -llapack -lblas
 -L/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2
 -lf95 -lm -pthread -Wl,-rpath,/usr/pkg/lib/octave/3.6.4
 -Wl,-rpath,/usr/pkgsrc/math/octave/work/.buildlink/lib
 
-Wl,-rpath,/usr/pkgsrc/math/octave/work/.buildlink/lib/gcc-lib/x86_64--netbsd/4.1.2
 /usr/lib/libstdc++.so.7: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'
 Makefile:4885: recipe for target 'octave' failed
 gmake[3]: *** [octave] Error 1
 gmake[3]: Leaving directory '/usr/pkgsrc/math/octave/work/octave-3.6.4/src'
 Makefile:4129: recipe for target 'all' failed
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory '/usr/pkgsrc/math/octave/work/octave-3.6.4/src'
 Makefile:1807: recipe for target 'all-recursive' failed
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory '/usr/pkgsrc/math/octave/work/octave-3.6.4'
 Makefile:1695: recipe for target 'all' failed
 
 
 For DragonFly 3.9-DEVELOPMENT x86_64, building does not even start as
 fortran is not even detected at all.
 


Home | Main Index | Thread Index | Old Index