Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 Makefile errors

v1.0 (example)
closed-fixed
nobody
None
5
2013-10-29
2013-08-01
zmi007
No

I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

Here are the errors from the make

Runner.o RobustRunner.F90
RobustRunner.F90:6.7:

use ResultPrinter_mod
1
Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

TestRunner.F90:51.10:

  use DebugListener_mod
      1

Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

pFUnit.F90:8.7:

use ParameterizedTestCase_mod
1
Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

Test_TestResult.F90:82.10:

  use MockListener_mod
      1

Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

Test_FixtureTestCase.F90:47.10:

  use BrokenTestCase_mod, only: BrokenTestCase
      1

Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

Test_FixtureTestCase.F90:65.10:

  use BrokenSetUpCase_mod, only: BrokenSetUpCase
      1

Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

Related

Bugs: #9

Discussion

1 2 > >> (Page 1 of 2)
  • Did this occur during the initial build? Or after make install?

     
  • Tom Clune
    Tom Clune
    2013-08-01

    Mike,

    This is probably not a matter of missing object files, but rather of missing dependencies in the makefile.

    (Note to user, I purposefully did not include a dependency analysis package to reduce the complexity of obtaining and building pfunit. NASA's open source license prevents me from including such packages directly. sigh)

    This issue probably will not happen with a serial build, but a parallel build ("-j" will often flush out dependencies that were missed with the manual process. Switching compilers (still with "-j") may expose additional omissions.

    Ultimately we may want to use an analysis package "offline" and then update our dependencies from that.

    • Tom

    On Aug 1, 2013, at 11:53 AM, "Michael L. Rilee" mlrilee@users.sf.net wrote:

    Did this occur during the initial build? Or after make install?

    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Thu Aug 01, 2013 03:44 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

    use DebugListener_mod
    1
    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

    use MockListener_mod
    1
    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

    use BrokenTestCase_mod, only: BrokenTestCase
    1
    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

    use BrokenSetUpCase_mod, only: BrokenSetUpCase
    1
    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    Thomas Clune, Ph. D. Thomas.L.Clune@nasa.gov
    Chief, Software Systems Support Office Code 610.3
    NASA GSFC 301-286-4635
    MS 610.8 B33-C128 http://ssso.gsfc.nasa.gov
    Greenbelt, MD 20771

     

    Related

    Bugs: #9

  • Hi Tom,

    did you look at scons (http://www.scons.org/)?

    It is a python based build system, which builds an dependency-tree by itself. I use it for all my fortran projects.

    Regrads, Chris

    On Thu, 01 Aug 2013 16:31:17 +0000
    "Tom Clune" tom_clune@users.sf.net wrote:

    Mike,

    This is probably not a matter of missing object files, but rather of missing dependencies in the makefile.

    (Note to user, I purposefully did not include a dependency analysis package to reduce the complexity of obtaining and building pfunit. NASA's open source license prevents me from including such packages directly. sigh)

    This issue probably will not happen with a serial build, but a parallel build ("-j" will often flush out dependencies that were missed with the manual process. Switching compilers (still with "-j") may expose additional omissions.

    Ultimately we may want to use an analysis package "offline" and then update our dependencies from that.

    • Tom

    On Aug 1, 2013, at 11:53 AM, "Michael L. Rilee" mlrilee@users.sf.net wrote:

    Did this occur during the initial build? Or after make install?

    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Thu Aug 01, 2013 03:44 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

    use DebugListener_mod
    1
    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

    use MockListener_mod
    1
    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

    use BrokenTestCase_mod, only: BrokenTestCase
    1
    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

    use BrokenSetUpCase_mod, only: BrokenSetUpCase
    1
    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    Thomas Clune, Ph. D. Thomas.L.Clune@nasa.gov
    Chief, Software Systems Support Office Code 610.3
    NASA GSFC 301-286-4635
    MS 610.8 B33-C128 http://ssso.gsfc.nasa.gov
    Greenbelt, MD 20771


    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Thu Aug 01, 2013 03:53 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

      use DebugListener_mod
          1
    

    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

      use MockListener_mod
          1
    

    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

      use BrokenTestCase_mod, only: BrokenTestCase
          1
    

    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

      use BrokenSetUpCase_mod, only: BrokenSetUpCase
          1
    

    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    --
    Christoph Piefke anmeldung@dunklevollnuss.de

     

    Related

    Bugs: #9

  • zmi007
    zmi007
    2013-08-07

    Hi
    I did not check parallel build: just downloaded archive, unpacked it and started make all with default gfortran compiler. That's all

    makefiles in source and in tests dirs have missing dependencies of modules I mentioned in initial post.

    After adding them consequentially I was able to compile it.

    Here are corrected Makefiles with added dependencies

     
    Attachments
  • zmi007
    zmi007
    2013-08-07

    and from tests

     
    Attachments
  • Tom Clune
    Tom Clune
    2013-08-07

    This is very weird. I don't dispute that we have missing dependencies, but we do not see any similar issues with our builds. We had a few that were exposed when using "-j".

    My guess is that you are using a different version of GNUmake that is making different choices for build order. I hope by the end of the day to have used an automated dependency generator to fix all of the Makefiles. Unfortunately licensing prevents me from including such a tool in the actual distribution.

    Cheers,

    On Aug 7, 2013, at 9:33 AM, zmi007 zmi007@users.sf.net wrote:

    Hi
    I did not check parallel build: just downloaded archive, unpacked it and started make all with default gfortran compiler. That's all

    makefiles in source and in tests dirs have missing dependencies of modules I mentioned in initial post.

    After adding them consequentially I was able to compile it.

    Here are corrected Makefiles with added dependencies

    Attachment: GNUmakefile_source (2.6 kB; application/octet-stream)

    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Thu Aug 01, 2013 03:53 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

    use DebugListener_mod
    1
    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

    use MockListener_mod
    1
    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

    use BrokenTestCase_mod, only: BrokenTestCase
    1
    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

    use BrokenSetUpCase_mod, only: BrokenSetUpCase
    1
    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    Thomas Clune, Ph. D. Thomas.L.Clune@nasa.gov
    Chief, Software Systems Support Office Code 610.3
    NASA GSFC 301-286-4635
    MS 610.8 B33-C128 http://ssso.gsfc.nasa.gov
    Greenbelt, MD 20771

     

    Related

    Bugs: #9

  • What's some background on your environment? OS? Version of make? Are you building from within the toplevel directory or in either source or install?

     
  • zmi007
    zmi007
    2013-08-07

    Hi Michael,
    It is an opensuse Linux 12.1 x86_64, but with updated devel tools

    make --version
    GNU Make 3.82
    Built for x86_64-unknown-linux-gnu

    gfortran --version
    GNU Fortran (SUSE Linux) 4.8.1
    Copyright (C) 2013 Free Software Foundation, Inc.

    Yes, just unpacked the archive and started 'make all' in top pFUnit dir with

    bin COPYRIGHT Examples GNUmakefile include source tests

     
  • Tom Clune
    Tom Clune
    2013-08-07

    Ah - I think I may see the difference.

    We always do "make tests" rather than "make all". I'll check to see if that maybe is part of the discrepancy.

    • Tom

    On Aug 7, 2013, at 4:01 PM, zmi007 zmi007@users.sf.net wrote:

    Hi Michael,
    It is an opensuse Linux 12.1 x86_64, but with updated devel tools

    make --version
    GNU Make 3.82
    Built for x86_64-unknown-linux-gnu

    gfortran --version
    GNU Fortran (SUSE Linux) 4.8.1
    Copyright (C) 2013 Free Software Foundation, Inc.

    Yes, just unpacked the archive and started 'make all' in top pFUnit dir with

    bin COPYRIGHT Examples GNUmakefile include source tests

    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Wed Aug 07, 2013 04:45 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

    use DebugListener_mod
    1
    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

    use MockListener_mod
    1
    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

    use BrokenTestCase_mod, only: BrokenTestCase
    1
    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

    use BrokenSetUpCase_mod, only: BrokenSetUpCase
    1
    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    Thomas Clune, Ph. D. Thomas.L.Clune@nasa.gov
    Chief, Software Systems Support Office Code 610.3
    NASA GSFC 301-286-4635
    MS 610.8 B33-C128 http://ssso.gsfc.nasa.gov
    Greenbelt, MD 20771

     

    Related

    Bugs: #9

  • Tom Clune
    Tom Clune
    2013-08-07

    Hello Chris,

    I'm looking at scons (finally). It appears to be similar to CMake in terms of philosophy, though clearly the details differ significantly. ( Unfortunately the licensing will not allow me to include either package within pfunit, and I do not want to impose a burden on new users to install a separate package first.

    Is there a way to get scons to emit the list of dependencies that I could then manually splice into the original makefiles? With CMake this is not very feasible, but it would be great if scons can do this.

    • Tom

    On Aug 5, 2013, at 8:25 AM, Christoph Piefke cpiefke@users.sf.net wrote:

    Hi Tom,

    did you look at scons (http://www.scons.org/)?

    It is a python based build system, which builds an dependency-tree by itself. I use it for all my fortran projects.

    Regrads, Chris

    On Thu, 01 Aug 2013 16:31:17 +0000
    "Tom Clune" tom_clune@users.sf.net wrote:

    Mike,

    This is probably not a matter of missing object files, but rather of missing dependencies in the makefile.
    (Note to user, I purposefully did not include a dependency analysis package to reduce the complexity of obtaining and building pfunit. NASA's open source license prevents me from including such packages directly. sigh)

    This issue probably will not happen with a serial build, but a parallel build ("-j" will often flush out dependencies that were missed with the manual process. Switching compilers (still with "-j") may expose additional omissions.
    Ultimately we may want to use an analysis package "offline" and then update our dependencies from that.

    Tom
    On Aug 1, 2013, at 11:53 AM, "Michael L. Rilee" mlrilee@users.sf.net wrote:

    Did this occur during the initial build? Or after make install?

    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Thu Aug 01, 2013 03:44 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

    use DebugListener_mod
    1
    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

    use MockListener_mod
    1
    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

    use BrokenTestCase_mod, only: BrokenTestCase
    1
    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

    use BrokenSetUpCase_mod, only: BrokenSetUpCase
    1
    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    Thomas Clune, Ph. D. Thomas.L.Clune@nasa.gov
    Chief, Software Systems Support Office Code 610.3
    NASA GSFC 301-286-4635
    MS 610.8 B33-C128 http://ssso.gsfc.nasa.gov
    Greenbelt, MD 20771

    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Thu Aug 01, 2013 03:53 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

    use DebugListener_mod
    1
    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

    use MockListener_mod
    1
    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

    use BrokenTestCase_mod, only: BrokenTestCase
    1
    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

    use BrokenSetUpCase_mod, only: BrokenSetUpCase
    1
    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    --
    Christoph Piefke anmeldung@dunklevollnuss.de

    [bugs:#9] Makefile errors

    Status: open
    Created: Thu Aug 01, 2013 03:44 PM UTC by zmi007
    Last Updated: Thu Aug 01, 2013 03:53 PM UTC
    Owner: nobody

    I had to update many GNUmakefiles by adding missing object files to linker in order to compile it

    Here are the errors from the make

    Runner.o RobustRunner.F90
    RobustRunner.F90:6.7:

    use ResultPrinter_mod
    1
    Fatal Error: Can't open module file 'resultprinter_mod.mod' for reading at (1): No such file or directory

    TestRunner.F90:51.10:

    use DebugListener_mod
    1
    Fatal Error: Can't open module file 'debuglistener_mod.mod' for reading at (1): No such file or directory

    pFUnit.F90:8.7:

    use ParameterizedTestCase_mod
    1
    Fatal Error: Can't open module file 'parameterizedtestcase_mod.mod' for reading at (1): No such file or directory

    Test_TestResult.F90:82.10:

    use MockListener_mod
    1
    Fatal Error: Can't open module file 'mocklistener_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:47.10:

    use BrokenTestCase_mod, only: BrokenTestCase
    1
    Fatal Error: Can't open module file 'brokentestcase_mod.mod' for reading at (1): No such file or directory

    Test_FixtureTestCase.F90:65.10:

    use BrokenSetUpCase_mod, only: BrokenSetUpCase
    1
    Fatal Error: Can't open module file 'brokensetupcase_mod.mod' for reading at (1): No such file or directory

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/pfunit/bugs/9/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

    Thomas Clune, Ph. D. Thomas.L.Clune@nasa.gov
    Chief, Software Systems Support Office Code 610.3
    NASA GSFC 301-286-4635
    MS 610.8 B33-C128 http://ssso.gsfc.nasa.gov
    Greenbelt, MD 20771

     

    Related

    Bugs: #9

1 2 > >> (Page 1 of 2)