pkgsrc-Users archive

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

pkgsrc latest - Build of cmake-3.8.0 fails on NetBSD 6_stable



I'm running NetBSD 6_Stable i386 (head of NetBSD_6 Branch)

Upon update to latest pkgsrc sources around April 10, 2017 and to present...
I've had issues building cmake-3.8.0

I've resorted to some cluges to build, but suspect this is not right...

[ 12%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmELF.cxx.o
/usr/pkgsrc/devel/cmake/work/cmake-3.8.0/Source/cmELF.cxx:678:32: error:
'DT_RUNPATH' was not declared in this scope
Source/CMakeFiles/CMakeLib.dir/build.make:758: recipe for target
'Source/CMakeFiles/CMakeLib.dir/cmELF.cxx.o' failed
gmake[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmELF.cxx.o] Error 1

Cluge #1 - change DT_RUNPATH in cmELF.cxx line 678 to DT_RPATH in which is
apparently defined?

Then build continues until...
[ 88%] Building CXX object
Source/CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o
/usr/pkgsrc/devel/cmake/work/cmake-3.8.0/Source/CursesDialog/ccmake.cxx:
In function 'void onsig(int)':
/usr/pkgsrc/devel/cmake/work/cmake-3.8.0/Source/CursesDialog/ccmake.cxx:55:14:
error: 'exit' was not declared in this scope
/usr/pkgsrc/devel/cmake/work/cmake-3.8.0/Source/CursesDialog/ccmake.cxx:
In function 'int main(int, const char* const*)':
/usr/pkgsrc/devel/cmake/work/cmake-3.8.0/Source/CursesDialog/ccmake.cxx:133:12:
error: 'exit' was not declared in this scope
Source/CMakeFiles/ccmake.dir/build.make:350: recipe for target
'Source/CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o' failed
gmake[2]: *** [Source/CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o]
Error 1

Cluge #2
Remove the exit calls form line 55 and line 133 in ccmake.cxx

93% tests passed, 31 tests failed out of 427

Label Time Summary:
Label1    =   0.10 sec (1 test)
Label2    =   0.10 sec (1 test)

Total Test time (real) = 2011.40 sec

The following tests FAILED:
          6 - kwsys.testSystemTools (Failed)
         39 - VSGNUFortran (Failed)
         40 - COnly (Failed)
         41 - CxxOnly (Failed)
         43 - IPO (Failed)
         45 - ObjectLibrary (Failed)
         61 - ExportImport (Failed)
         67 - CompatibleInterface (Failed)
         69 - StagingPrefix (Failed)
         75 - CMakeBuildTest (Failed)
        101 - Framework (Failed)
        103 - LibName (Failed)
        107 - CustomCommand (Failed)
        111 - OutOfSource (Failed)
        113 - SimpleInstall (Failed)
        114 - SimpleInstall-Stage2 (Failed)
        123 - X11 (Failed)
        127 - complex (Failed)
        128 - complexOneConfig (Failed)
        151 - JumpWithLibOut (Failed)
        152 - JumpNoLibOut (Failed)
        154 - RuntimePath (Failed)
        171 - CTest.UpdateCVS (Failed)
        215 - CTestTestTimeout (Failed)
        224 - Fortran (Failed)
        295 - RunCMake.GenerateExportHeader (Failed)
        299 - RunCMake.GNUInstallDirs (Failed)
        304 - RunCMake.RuntimePath (Failed)
        373 - RunCMake.CommandLineTar (Failed)
        391 - RunCMake.CPack_TXZ (Failed)
        395 - RunCMake.AutoExportDll (Failed)
Errors while running CTest

Suggestions welcome!





Home | Main Index | Thread Index | Old Index