DEBIAN_VERSION missing in gdrcopy 2.4.4

Open
#316 0 comments 0 reactions 1 assignee View on GitHub

@pakmarkthub is already working on this.

Since Feb 12, 2025.

Assessment

This issue has not been assessed yet.

Description

In the recent release of gdrcopy 2.4.4, DEBIAN_VERSION was removed from the FULL_VERSION variable (see https://github.com/NVIDIA/gdrcopy/blob/R2.4/packages/build-deb-packages.sh#L105), causing ./build-deb-packages.sh to fail on debian OSes.

Building libgdrapi package ...
+ cd /tmp/gdr.eKmOKY/libgdrapi-2.4.4
+ debuild --set-envvar=PKG_CONFIG_PATH= -us -uc
 dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package libgdrapi
dpkg-buildpackage: info: source version 2.4.4
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Pak Markthub <[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_auto_clean
dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
    make -j1 clean
make[1]: Entering directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4'
cd tests && \
make clean
make[2]: Entering directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4/tests'
rm -f *.o gdrcopy_copybw gdrcopy_sanity gdrcopy_copylat gdrcopy_apiperf gdrcopy_pplat *~ core.* testsuites/*.o
make[2]: Leaving directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4/tests'
cd src && \
make clean
make[2]: Entering directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4/src'
rm -f *.o  lib*.so* *~ core.*
make[2]: Leaving directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4/src'
cd src/gdrdrv && \
make clean
make[2]: Entering directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4/src/gdrdrv'
rm -rf *.o .*.o.d *.ko* *.mod.* .*.cmd Module.symvers modules.order .tmp_versions/ *~ core .depend TAGS .cache.mk  *.mod
make[2]: /tmp/gdr.eKmOKY/libgdrapi-2.4.4/src/gdrdrv/../../scripts/test_gdrdrv_HAVE_VM_FLAGS_SET.sh: No such file or directory
make[2]: Leaving directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4/src/gdrdrv'
make[1]: Leaving directory '/tmp/gdr.eKmOKY/libgdrapi-2.4.4'
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
 dpkg-source -b .
dpkg-source: error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision

This issue occurred after we upgrade to gdrcopy 2.4.4 from gdrcopy 2.4. Gdrcopy 2.4's build-deb-packages.sh properly contains DEBIAN_VERSION in FULL_VERSION variable. See https://github.com/NVIDIA/gdrcopy/blob/master/packages/build-deb-packages.sh#L104.

Dominant language
C
Stars
1.4k
Forks
198
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/gdrcopy

All issues in NVIDIA/gdrcopy

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.