[tnozaki-gcc] TNF local patch for mpfr - avoid to run autoconf/aclocal

Issue #252 resolved
Takehiko NOZAKI repo owner created an issue

No description provided.

Comments (8)

  1. Takehiko NOZAKI reporter
    • changed status to open

    reopen, runnning ./build.sh tools on CentOS 7 triggered regen configure/Makefile.in

    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating mpfr.pc
    config.status: creating doc/Makefile
    config.status: creating src/Makefile
    config.status: creating tests/Makefile
    config.status: creating tune/Makefile
    config.status: creating src/mparam.h
    config.status: creating tools/bench/Makefile
    config.status: executing depfiles commands
    config.status: error: in `/root/netbsd/tools/mpfr/obj/build':
    config.status: error: Something went wrong bootstrapping makefile fragments
        for automatic dependency tracking.  If GNU make was not used, consider
        re-running the configure script with MAKE="gmake" (or whatever is
        necessary).  You can also try re-running configure with the
        '--disable-dependency-tracking' option to at least be able to build
        the package (albeit without support for automatic dependency tracking).
    See `config.log' for more details
    *** [.configure_done] Error code 1
    
    nbmake: stopped in /root/netbsd/tools/mpfr
    1 error
    

  2. Takehiko NOZAKI reporter

    same as externals/lgpl3/mpc,

    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating tests/Makefile
    config.status: creating doc/Makefile
    config.status: creating tools/Makefile
    config.status: creating tools/bench/Makefile
    config.status: creating tools/mpcheck/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: error: in `/root/netbsd/tools/mpc/obj/build':
    config.status: error: Something went wrong bootstrapping makefile fragments
        for automatic dependency tracking.  If GNU make was not used, consider
        re-running the configure script with MAKE="gmake" (or whatever is
        necessary).  You can also try re-running configure with the
        '--disable-dependency-tracking' option to at least be able to build
        the package (albeit without support for automatic dependency tracking).
    See `config.log' for more details
    

  3. Takehiko NOZAKI reporter

    add CONFIGURE_ARGS+=--disable-dependency-tracking to src/tools/{mpfr,mpc}/Makefile may work, but i don’t think the fix is correct.

    also set GMAKE=”gmake” approach, there’s src/gnu/dist/gmake but it doesn’t install MKMAINTAINERTOOLS=no (as default), so it can’t do.

  4. Takehiko NOZAKI reporter

    on CentOS7, nbmake doesn’t work correctly:

    cd src       && sed -e '/# am--include-marker/d' Makefile         | /root/netbsd/obj/tooldir.Linux-3.10.0-1160.el7.x86_64-x86_64/bin/nbmake -f - am--depfiles
    nbmake: no system rules (sys.mk).
    

    this ‘no system rule’ error is mishsandled(regarded as “configure script is too old”) by Automake-1.16, it runs autoconf/aclocal to regen configure.

    native N6 build has no problem…

  5. Takehiko NOZAKI reporter

    hmm, why nbmake is directly called? should be nbmake-${MACHINE_ARCH} wrapper script called?

    MAKE= env is wrong?

    if directly called nbmake, MAKEFLAGS is not set:

    MAKEFLAGS='-de -m /home/build/netbsd/share/mk MKOBJDIRS=yes'; export MAKEFLAGS
    

    so sys.mk never found

  6. Log in to comment