Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEBIAN_VERSION missing in gdrcopy 2.4.4 #316

Open
bellabaiyunyu opened this issue Feb 10, 2025 · 0 comments
Open

DEBIAN_VERSION missing in gdrcopy 2.4.4 #316

bellabaiyunyu opened this issue Feb 10, 2025 · 0 comments
Assignees

Comments

@bellabaiyunyu
Copy link

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 <pmarkthub@nvidia.com>
 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants