Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-17774

dh_install: warning: Cannot find debian/tmp/lib/systemd/system/*

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • Lustre 2.16.0
    • None
    • Ubuntu 24.04
    • 3
    • 9223372036854775807

    Description

      "make debs" failed on Ubuntu 24.04:

      dh_install -p lustre-client-utils
      dh_install: warning: Cannot find (any matches for) "debian/tmp/lib/systemd/system/*" (tried in ., debian/tmp)
      
      dh_install: warning: lustre-client-utils missing files: debian/tmp/lib/systemd/system/*
      dh_install: error: missing files, aborting
      make[1]: *** [debian/rules:260: binary-lustre-client-utils] Error 255
      

      This is because "lib/systemd/system" is hardcoded in debian/lustre-client-utils.install.in:

      # grep systemd debian/lustre-client-utils.install.in
      debian/tmp/lib/systemd/system/* 	lib/systemd/system
      

      However, on Ubuntu 24.04, the systemd unit dir is:

      # pkg-config --variable=systemdsystemunitdir systemd
      /usr/lib/systemd/system
      

      Attachments

        Activity

          [LU-17774] dh_install: warning: Cannot find debian/tmp/lib/systemd/system/*
          pjones Peter Jones added a comment -

          Merged for 2.16

          pjones Peter Jones added a comment - Merged for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54902/
          Subject: LU-17774 build: pass systemdsystemunitdir to "make debs"
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 915594195c5ce096a49dba13437e79340c3f37f3

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54902/ Subject: LU-17774 build: pass systemdsystemunitdir to "make debs" Project: fs/lustre-release Branch: master Current Patch Set: Commit: 915594195c5ce096a49dba13437e79340c3f37f3

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54902
          Subject: LU-17774 build: pass systemdsystemunitdir to "make debs"
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 9eaa7d8dbe16dd824850438dc628b55c763beda8

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54902 Subject: LU-17774 build: pass systemdsystemunitdir to "make debs" Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9eaa7d8dbe16dd824850438dc628b55c763beda8
          yujian Jian Yu added a comment -

          Patch https://review.whamcloud.com/33492 ("LU-11575 build: install systemd stuff only for debian with systemd enabled") needs to be improved.

          yujian Jian Yu added a comment - Patch https://review.whamcloud.com/33492 (" LU-11575 build: install systemd stuff only for debian with systemd enabled") needs to be improved.

          People

            yujian Jian Yu
            yujian Jian Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: