Print

Print


In keeping with my comment #1585 (comment) on lack of RPM experience, in the CI I have setup on my fork for RPM builds, after the build passes when I try to install the PRM locally so that I can test functionality is correct

...

    - name: Build
      run: |
        cd packaging/
        ./makesrpm.sh \
          --define "_with_python3 1" \
          --define "_with_tests 1" \
          --define "_with_xrdclhttp 1" \
          --define "_with_scitokens 1" \
          --define "_with_isal 1"
        yum-builddep --nogpgcheck -y *.src.rpm
        mkdir RPMS
        rpmbuild --rebuild \
          --define "_rpmdir RPMS/" \
          --define "_with_python3 1" \
          --define "_with_tests 1" \
          --define "_with_xrdclhttp 1" \
          --define "_with_scitokens 1" \
          --define "_with_isal 1" \
          --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
          *.src.rpm

    - name: Install
      run: |
        yum localinstall xrootd-*.rpm

...

the yum localinstall fails with

Loaded plugins: changelog, fastestmirror, kernel-module, ovl, protectbase,
              : tsflags, versionlock
Cannot open: xrootd-*.rpm. Skipping.
Nothing to do

How should I be installing the build RPM to check it?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1589/1011544220@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1589#issuecomment-1011544220", "url": "https://github.com/xrootd/xrootd/issues/1589#issuecomment-1011544220", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1