guix-devel
[Top][All Lists]
Advanced

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

Re: Cmake build failure


From: 宋文武
Subject: Re: Cmake build failure
Date: Tue, 28 Apr 2015 11:06:31 +0800
User-agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu)

Andreas Enge <address@hidden> writes:

> Hello,
>
> cmake in core-updates currently fails one test:
>    http://hydra.gnu.org/eval/103918?full=1
>
> The culprit seems to be a linking problem:
> address@hidden:/tmp/nix-build-cmake-3.1.3.drv-0/cmake-3.1.3/Tests/BundleUtilities#
>  source ../../../environment-variables 
> address@hidden:/tmp/nix-build-cmake-3.1.3.drv-0/cmake-3.1.3# ldd 
> testbundleutils1
>         linux-vdso.so.1 (0x00007fff5abf0000)
>         libshared.so => not found
>         libframework.so => not found
>         libdl.so.2 => 
> /gnu/store/hy2hi0zj5hrqkmkhpdxf04c9bcnlnsf9-glibc-2.21/lib/libdl.so.2 
> (0x00007fba29be8000)
>         libstdc++.so.6 => 
> /tmp/nix-build-cmake-3.1.3.drv-0/cmake-3.1.3/Tests/BundleUtilities/testdir1/libstdc++.so.6
>  (0x00007fba298e6000)
>         libm.so.6 => 
> /tmp/nix-build-cmake-3.1.3.drv-0/cmake-3.1.3/Tests/BundleUtilities/testdir1/libm.so.6
>  (0x00007fba295e4000)
>         libgcc_s.so.1 => 
> /tmp/nix-build-cmake-3.1.3.drv-0/cmake-3.1.3/Tests/BundleUtilities/testdir1/libgcc_s.so.1
>  (0x00007fba293ce000)
>         libc.so.6 => 
> /tmp/nix-build-cmake-3.1.3.drv-0/cmake-3.1.3/Tests/BundleUtilities/testdir1/libc.so.6
>  (0x00007fba2902e000)
>         
> /gnu/store/hy2hi0zj5hrqkmkhpdxf04c9bcnlnsf9-glibc-2.21/lib/ld-linux-x86-64.so.2
>  (0x00007fba29dec000)
>
Ok, I run the BundleUtilities test using a normal user
(root will just passed!) by hand.

On master:

Attachment: master-cmake-bundle-utilities.log
Description: Binary data

On core-updates:

Attachment: core-updates-cmake-bundle-utilities.log
Description: Binary data

And do some search, I find this:
  http://public.kitware.com/Bug/view.php?id=9284

It copy libraries from store, failed to modify the rpath for them?
So, set "BU_CHMOD_BUNDLE_ITEMS" will do the trick.

Do we need to set it globally in cmake-build-system?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]