pkgsrc-Users archive

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

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



>> On Sat, Apr 22, 2017 at 06:28:09PM -0000, yancm%sdf.org@localhost wrote:
>> 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
>> Cluge #1 - change DT_RUNPATH in cmELF.cxx line 678 to DT_RPATH in
>> which is apparently defined?
>
> I think this should be wrapped in #if and be set to 0 otherwise.
>
>> Cluge #2
>> Remove the exit calls form line 55 and line 133 in ccmake.cxx
>
> Include stdlib.h or cstdlib, whatever the style here is.

Thanks Joerg,

I put an #ifdef wrap on DT_RUNPATH as you suggested...
I also included stdlib.h and the program compiles, but we still fail
quite a few tests...

93% tests passed, 30 tests failed out of 424

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

Total Test time (real) = 2075.93 sec

The following tests FAILED:
          6 - kwsys.testSystemTools (Failed)
         38 - COnly (Failed)
         39 - CxxOnly (Failed)
         41 - IPO (Failed)
         43 - ObjectLibrary (Failed)
         59 - ExportImport (Failed)
         65 - CompatibleInterface (Failed)
         67 - StagingPrefix (Failed)
         73 - CMakeBuildTest (Failed)
         99 - Framework (Failed)
        101 - LibName (Failed)
        105 - CustomCommand (Failed)
        109 - OutOfSource (Failed)
        111 - SimpleInstall (Failed)
        112 - SimpleInstall-Stage2 (Failed)
        121 - X11 (Failed)
        125 - complex (Failed)
        126 - complexOneConfig (Failed)
        149 - JumpWithLibOut (Failed)
        150 - JumpNoLibOut (Failed)
        152 - RuntimePath (Failed)
        169 - CTest.UpdateCVS (Failed)
        214 - CTestTestTimeout (Failed)
        242 - CMakeOnly.AllFindModules (Failed)
        290 - RunCMake.GenerateExportHeader (Failed)
        294 - RunCMake.GNUInstallDirs (Failed)
        299 - RunCMake.RuntimePath (Failed)
        368 - RunCMake.CommandLineTar (Failed)
        386 - RunCMake.CPack_TXZ (Failed)
        390 - RunCMake.AutoExportDll (Failed)
Errors while running CTest

Only one less than before?

<sigh> :)

thanks for the ideas though...
--gene



Home | Main Index | Thread Index | Old Index