Skip Menu |

This queue is for tickets about the ExtUtils-F77 CPAN distribution.

Report information
The Basics
Id: 125019
Status: open
Priority: 0/
Queue: ExtUtils-F77

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: ExtUtils-F77 fails tests on FreeBSD-11.0
In preparation for the upcoming release of perl-5.28.0, I have been testing a selected subset of CPAN distributions against perl-5.27.10 on FreeBSD-11.0 using 'cpanm' as the installer. On this platform (a VM) I installed p5-ExtUtils-F77-1.20_3 (via 'make install'), then attempted to install the module. I got build-time warnings and test failures. Please find attached two files, one with a digest of the build.log and the other with the relevant 'perl -V' information. Is there anything I can do to get this module to install? Thank you very much. Jim Keenan
Subject: CHM.ExtUtils-F77-1.20.log.txt
{ author => "CHM", dist => "ExtUtils-F77", distname => "ExtUtils-F77-1.20", distversion => "1.20", grade => "FAIL", prereqs => undef, test_output => [ "Building and testing ExtUtils-F77-1.20", "cp F77.pm blib/lib/ExtUtils/F77.pm", "PERL_DL_NONLAZY=1 \"/usr/home/jkeenan/prep528/testing/perl-5.27.10/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t", "", "ExtUtils::F77: Version 1.20", "Can't exec \"gfortran48\": No such file or directory at /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522931957.2831/ExtUtils-F77-1.20/blib/lib/ExtUtils/F77.pm line 368.", "Use of uninitialized value \$ExtUtils::F77::dir in scalar chomp at /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522931957.2831/ExtUtils-F77-1.20/blib/lib/ExtUtils/F77.pm line 369.", "Can't exec \"g77-34\": No such file or directory at /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522931957.2831/ExtUtils-F77-1.20/blib/lib/ExtUtils/F77.pm line 353.", "Use of uninitialized value \$ExtUtils::F77::dir in scalar chomp at /usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522931957.2831/ExtUtils-F77-1.20/blib/lib/ExtUtils/F77.pm line 354.", "Can't exec \"g77-34\": No such file or directory at t/require.t line 28.", "t/require.t .. ", "Failed 1/2 subtests ", "", "Test Summary Report", "-------------------", "t/require.t (Wstat: 0 Tests: 1 Failed: 0)", " Parse errors: Bad plan. You planned 2 tests but ran 1.", "Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr 0.02 csys = 0.06 CPU)", "Result: FAIL", ], via => "App::cpanminus::reporter 0.17 (1.7043)", }
Subject: freebsd-11.0.perl-5.27.10_V.txt
Summary of my perl5 (revision 5 version 27 subversion 10) configuration: Platform: osname=freebsd osvers=11.0-release-p1 archname=amd64-freebsd-thread-multi uname='freebsd kid51-freebsd-11-install-3 11.0-release-p1 freebsd 11.0-release-p1 #0 r306420: thu sep 29 01:43:23 utc 2016 root@releng2.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 ' config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing -Uversiononly -Dman1dir=none -Dman3dir=none -Dprefix=/home/jkeenan/prep528/testing/perl-5.27.10' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing' cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib libs=-lpthread -lgdbm -lm -lcrypt -lutil perllibs=-lpthread -lm -lcrypt -lutil libc= so=so useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' ' cccdlflags='-DPIC -fPIC' lddlflags='-shared -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd Compiled at Mar 21 2018 12:59:59 %ENV: PERL2DIR="/home/jkeenan/gitwork/perl2" PERL_WORKDIR="/home/jkeenan/gitwork/perl" @INC: lib/5.27.10/amd64-freebsd-thread-multi lib/5.27.10 lib /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10 /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10

Hi Jim-

Thanks for your interest and the check.

ExtUtils::F77 is a module that tries to probe for
the existence of a fortran compiler and what the
command line options are to compile/link with it. 
If it had been written a a decade or so later it
might have been named Alien::Fortran.

To "fix" the problem, we need to have the appropriate
platform-specific names and locations of fortran
compilers.  You can look at the module source

http://cpansearch.perl.org/src/CHM/ExtUtils-F77-1.20/F77.pm

and see where the various parameters are set up in
the %F77config hash.  If gfortran is being used, it may
be as simple a adding to the list of paths to search.

However, the module will install by fail if it cannot find
a fortran compiler for your platform.

Hope this helps!
Chris

On Thu Apr 05 09:01:14 2018, JKEENAN wrote:
> In preparation for the upcoming release of perl-5.28.0, I have been
> testing a selected subset of CPAN distributions against perl-5.27.10
> on FreeBSD-11.0 using 'cpanm' as the installer.
>
> On this platform (a VM) I installed p5-ExtUtils-F77-1.20_3 (via 'make
> install'), then attempted to install the module. I got build-time
> warnings and test failures. Please find attached two files, one with
> a digest of the build.log and the other with the relevant 'perl -V'
> information.
>
> Is there anything I can do to get this module to install?
>
> Thank you very much.
> Jim Keenan