Details

    • 3
    • 9223372036854775807

    Description

      I'm seeing errors out of /usr/lib/rpm/brp-suse.d/brp-35-rpath:

      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/sendfile_grouplock is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/llapi_hsm_test is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/statmany is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/rwv is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/llapi_layout_test is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/statone is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/group_lock_test is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/lockahead_test is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/ll_dirstripe_verify is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/multiop is not allowed
      [  228s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/llapi_fid_test is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/mirror_io is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/swap_lock_test is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/flocks_test is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/lib64/lustre/tests/mmap_sanity is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/bin/lfs is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lnet/utils/lnetconfig/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/bin/lfs is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/sbin/lhsmtool_posix is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/sbin/lctl is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/sbin/lustre_rsync is not allowed
      [  229s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/cray-lustre-2.12.0_RC1_1_g45f97f4/lustre/utils/.libs" on /home/abuild/rpmbuild/BUILDROOT/cray-lustre-cray_ari_s_rhine-2.12.0_RC1_1_g45f97f4-1.0000.45f97f4789.0.0.x86_64/usr/sbin/llsom_sync is not allowed
      

      This build regression appears to have been introduced by:

      commit fd472f9427931092bab8d676798bc3f9744a552b
      Author: James Simmons <uja.ornl@yahoo.com>
      Date:   Fri Jul 27 19:55:49 2018 -0400
      
          LU-10627 tests: don't use libtool wrapper for applications
      
          Reviewed-on: https://review.whamcloud.com/32835
      

      If I revert that change then the errors go away. It's possible that this is specific to Cray's OBS build chroot environment.

      Attachments

        Issue Links

          Activity

            [LU-11742] ERROR: RPATH is not allowed

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34583/
            Subject: LU-11742 test: have libtool execute the test binaries
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: da2ada921cb8ac9506a751f212dd61838f42e947

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34583/ Subject: LU-11742 test: have libtool execute the test binaries Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: da2ada921cb8ac9506a751f212dd61838f42e947

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/34583
            Subject: LU-11742 test: have libtool execute the test binaries
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 3c619e4c54ed592ba0b8edf8f7317462995045df

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/34583 Subject: LU-11742 test: have libtool execute the test binaries Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 3c619e4c54ed592ba0b8edf8f7317462995045df
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33947/
            Subject: LU-11742 test: have libtool execute the test binaries
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: f9e5224fbb60bb8b44753b7be10cb06108627f89

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33947/ Subject: LU-11742 test: have libtool execute the test binaries Project: fs/lustre-release Branch: master Current Patch Set: Commit: f9e5224fbb60bb8b44753b7be10cb06108627f89
            hornc Chris Horn added a comment -

            James' patch resolved the error I reported.

            hornc Chris Horn added a comment - James' patch resolved the error I reported.

            James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33947
            Subject: LU-11742 test: have libtool execute the test binaries
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 84749029acfd0aaefade1b781a9f8538aa6c689a

            gerrit Gerrit Updater added a comment - James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/33947 Subject: LU-11742 test: have libtool execute the test binaries Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 84749029acfd0aaefade1b781a9f8538aa6c689a

            I think libtool --mode==execute might be the solution here.

            simmonsja James A Simmons added a comment - I think libtool --mode==execute might be the solution here.
            simmonsja James A Simmons added a comment - - edited

            Also I like to notice that if attempting to mess with the rpath is a big no no on Ubuntu platforms. Their build system will stomp on any attempts to modify the rpath. I did look into using rpaths originally as a solution to the original problem. See the following for detail:

            https://wiki.debian.org/RpathIssue

            https://autotools.io/libtool/wrappers.html

            https://en.opensuse.org/openSUSE:Packaging_checks

            simmonsja James A Simmons added a comment - - edited Also I like to notice that if attempting to mess with the rpath is a big no no on Ubuntu platforms. Their build system will stomp on any attempts to modify the rpath. I did look into using rpaths originally as a solution to the original problem. See the following for detail: https://wiki.debian.org/RpathIssue https://autotools.io/libtool/wrappers.html https://en.opensuse.org/openSUSE:Packaging_checks

            People

              simmonsja James A Simmons
              hornc Chris Horn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: