Control: tags -1 patch Hi Andreas,
This lead to the trail:
> <command-line>: error: 'pvmd' undeclared (first use in this function)
> /build/pvm-3.4.6/src/ddpro.c:1031:14: note: in expansion of macro 'PVMDPATH'
> 1031 | pvmdpath = PVMDPATH;
> | ^~~~~~~~
Definition of PVMDPATH and friends is cascaded through a tool
chain from debian/rules, but double quotes went missing for some
reason, maybe with the debhelper compatibility level bump.
Thus, the undefined symbol _pvmd_ ended up into the C code,
instead of the string _"pvmd"_.
------------------------------8<--------------------------------
diff --git a/debian/rules b/debian/rules
index b1d217b..92a6247 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ soversion=3
# yes, I know this will define RSHCOMMAND twice and generate a warning.
# I'm not modifying gcc. -dld
#
-export DEB_CPPFLAGS_MAINT_APPEND=-DRSHCOMMAND=\\\"/usr/lib/pvm3/bin/rsh\\\"
-DPVMDPATH=\\\"pvmd\\\" -DPVMDFILE=\\\"/usr/bin/pvmd\\\"
-DPVM_DEFAULT_ROOT=\\\"/usr/lib/pvm3\\\" -DOVERLOADHOST
+export
DEB_CPPFLAGS_MAINT_APPEND=-DRSHCOMMAND=\\\\\\\"/usr/lib/pvm3/bin/rsh\\\\\\\"
-DPVMDPATH=\\\\\\\"pvmd\\\\\\\" -DPVMDFILE=\\\\\\\"/usr/bin/pvmd\\\\\\\"
-DPVM_DEFAULT_ROOT=\\\\\\\"/usr/lib/pvm3\\\\\\\" -DOVERLOADHOST
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/architecture.mk
export DEB_HOST_MULTIARCH
@@ -80,7 +80,7 @@ override_dh_auto_install:
ln -s libgpvm3.so.$(version)
debian/libpvm3/usr/lib/$(DEB_HOST_MULTIARCH)/libgpvm3.so.$(soversion)
# pvm-examples package
- mv bin/$(PVM_ARCH)/gs debian/pvm-examples/usr/bin/gs.pvm
+ #mv bin/$(PVM_ARCH)/gs debian/pvm-examples/usr/bin/gs.pvm
mv bin/$(PVM_ARCH)/hello debian/pvm-examples/usr/bin/hello.pvm
mv bin/$(PVM_ARCH)/srm debian/pvm-examples/usr/bin/srm.pvm
cp bin/$(PVM_ARCH)/* debian/pvm-examples/usr/bin/
------------------------------>8--------------------------------
I hope this helps, but I must admit it seems rather fragile. :(
Kind Regards,
--
Étienne Mollier <[email protected]>
Old rsa/3072: 5ab1 4edf 63bb ccff 8b54 2fa9 59da 56fe fff3 882d
New rsa/4096: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
Sent from /dev/pts/4, please excuse my verbosity.
signature.asc
Description: PGP signature

