pkgsrc-Users archive

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

Re: cmake not MAKE_JOBS_SAFE?

On Mon, 14 Sep 2015, Thomas Klausner wrote:

On Mon, Sep 14, 2015 at 03:51:49PM +0800, Paul Goyette wrote:
With MAKE_JOBS=2 I got

[ 90%] Building CXX object
[ 91%] Building CXX object
[ 91%] Building CXX object
[ 91%] Linking CXX static library libCTestLib.a
[ 91%] Built target CTestLib
Makefile:160: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Not enough context, the real error is higher up.

There's a report it doesn't build on NetBSD-6 because it doesn't find -lncurses.

Well, it failed again, at the same place.

I have in my /etc/mk.conf


The entire log from 'make install' is attached. I do see the message you mentioned:

[ 83%] Linking CXX executable ../bin/ccmake
ld: cannot find -lncurses
Source/CMakeFiles/ccmake.dir/build.make:417: recipe for target 'bin/ccmake' failed
gmake[2]: *** [bin/ccmake] Error 1
CMakeFiles/Makefile2:1564: recipe for target 'Source/CMakeFiles/ccmake.dir/all'failed
gmake[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

And earlier in the build (around line 410 in the log) we have

-- Configuring done
CMake Warning at Source/CursesDialog/CMakeLists.txt:36 (add_executable):
  Cannot generate a safe runtime search path for target ccmake because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [] in /tmp/pkgs/devel/cmake/work.x86_64/.buildlink/lib may be hidden by files in:
    runtime library [] in /tmp/pkgs/devel/cmake/work.x86_64/.buildlink/lib may be hidden by files in:

  Some of these libraries may not be found correctly.

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at  |

Attachment: cmake.log
Description: Binary data

Home | Main Index | Thread Index | Old Index