Hi, while I do not intend to maintain pvm personally some Debian Med package depend from it. Thus I like to see bug #957717 fixed but I need help. I commited some general packaging changes so you can find the last packaging state in Git[1]. When building this I get the following output:
cc -DSYSVSIGNAL -DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT -DHASERRORVARS -DHASSTDLIB -DCTIMEISTIMET -DSYSERRISCONST -DNOTMPNAM -DSYSVSTR -DUSESTRERROR -g -O2 -fdebug-prefix-map=/build/pvm-3.4.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DRSHCOMMAND="/usr/lib/pvm3/bin/rsh" -DPVMDPATH="pvmd" -DPVMDFILE="/usr/bin/pvmd" -DPVM_DEFAULT_ROOT="/usr/lib/pvm3" -DOVERLOADHOST -Wl,-z,relro -Wl,-z,now -fPIC -DCLUMP_ALLOC -DSTATISTICS -DTIMESTAMPLOG -DSANITY -I/build/pvm-3.4.6/include -DARCHCLASS=\"LINUX64\" -DIMA_LINUX64 -c /build/pvm-3.4.6/src/ddpro.c <command-line>: warning: "RSHCOMMAND" redefined <command-line>: note: this is the location of the previous definition /build/pvm-3.4.6/src/ddpro.c: In function 'hostfailentry': /build/pvm-3.4.6/src/ddpro.c:556:3: warning: implicit declaration of function 'pvmlogprintf' [-Wimplicit-function-declaration] 556 | pvmlogprintf("hostfailentry() host %s\n", hp->hd_name); | ^~~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:561:3: warning: implicit declaration of function 'pvmlogerror'; did you mean 'pvm_perror'? [-Wimplicit-function-declaration] 561 | pvmlogerror("hostfailentry() lost master host, we're screwwwed\n"); | ^~~~~~~~~~~ | pvm_perror /build/pvm-3.4.6/src/ddpro.c:575:3: warning: implicit declaration of function 'pkint'; did you mean 'printf'? [-Wimplicit-function-declaration] 575 | pkint(mp, hosts->ht_serial); | ^~~~~ | printf /build/pvm-3.4.6/src/ddpro.c:582:5: warning: implicit declaration of function 'sendmessage'; did you mean 'sendmsg'? [-Wimplicit-function-declaration] 582 | sendmessage(mp); | ^~~~~~~~~~~ | sendmsg /build/pvm-3.4.6/src/ddpro.c:656:7: warning: implicit declaration of function 'assign_tasks' [-Wimplicit-function-declaration] 656 | assign_tasks(wp); | ^~~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:682:6: warning: implicit declaration of function 'free_waitc_add' [-Wimplicit-function-declaration] 682 | free_waitc_add((struct waitc_add *)wp->wa_spec); | ^~~~~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:695:5: warning: implicit declaration of function 'mb_tidy' [-Wimplicit-function-declaration] 695 | mb_tidy(wp->wa_on); | ^~~~~~~ /build/pvm-3.4.6/src/ddpro.c:703:5: warning: implicit declaration of function 'mb_tidy_reset' [-Wimplicit-function-declaration] 703 | mb_tidy_reset(wp->wa_on); | ^~~~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c: At top level: /build/pvm-3.4.6/src/ddpro.c:821:1: warning: return type defaults to 'int' [-Wimplicit-int] 821 | free_waitc_add(wxp) | ^~~~~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c: In function 'addhosts': /build/pvm-3.4.6/src/ddpro.c:882:6: warning: implicit declaration of function 'upkint' [-Wimplicit-function-declaration] 882 | if (upkint(mp, &count) || count < 1 || count > maxhostid) { | ^~~~~~ /build/pvm-3.4.6/src/ddpro.c:903:7: warning: implicit declaration of function 'upkstralloc' [-Wimplicit-function-declaration] 903 | if (upkstralloc(mp, &buf)) { | ^~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:907:7: warning: implicit declaration of function 'parsehost' [-Wimplicit-function-declaration] 907 | if (parsehost(buf, hp)) { | ^~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:917:5: warning: implicit declaration of function 'applydefaults' [-Wimplicit-function-declaration] 917 | applydefaults(hp, hp2); | ^~~~~~~~~~~~~ <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; | ^~~~~~~~ <command-line>: note: each undeclared identifier is reported only once for each function it appears in /build/pvm-3.4.6/src/ddpro.c:1031:14: note: in expansion of macro 'PVMDPATH' 1031 | pvmdpath = PVMDPATH; | ^~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:1039:3: warning: implicit declaration of function 'pkstr' [-Wimplicit-function-declaration] 1039 | pkstr(mp2, hp->hd_sopts ? hp->hd_sopts : ""); | ^~~~~ /build/pvm-3.4.6/src/ddpro.c:1133:5: warning: implicit declaration of function 'pvmlogperror'; did you mean 'pvm_perror'? [-Wimplicit-function-declaration] 1133 | pvmlogperror("addhosts() fork"); | ^~~~~~~~~~~~ | pvm_perror /build/pvm-3.4.6/src/ddpro.c:1142:4: warning: implicit declaration of function 'beprime' [-Wimplicit-function-declaration] 1142 | beprime(); | ^~~~~~~ /build/pvm-3.4.6/src/ddpro.c:1144:4: warning: implicit declaration of function 'hoster' [-Wimplicit-function-declaration] 1144 | hoster(mp2); | ^~~~~~ /build/pvm-3.4.6/src/ddpro.c: In function 'dm_addack': /build/pvm-3.4.6/src/ddpro.c:1384:2: warning: implicit declaration of function 'pmsg_packbody' [-Wimplicit-function-declaration] 1384 | pmsg_packbody(wp->wa_mesg, mp); | ^~~~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c: In function 'exectasks': /build/pvm-3.4.6/src/ddpro.c:1421:6: warning: implicit declaration of function 'upkuint'; did you mean 'pvm_upkuint'? [-Wimplicit-function-declaration] 1421 | if (upkuint(mp, &wxp->w_ptid) | ^~~~~~~ | pvm_upkuint /build/pvm-3.4.6/src/ddpro.c:1492:3: warning: implicit declaration of function 'pvmenvinsert'; did you mean 'pvm_insert'? [-Wimplicit-function-declaration] 1492 | pvmenvinsert( &(wxp->w_env), tmp ); | ^~~~~~~~~~~~ | pvm_insert /build/pvm-3.4.6/src/ddpro.c:1523:3: warning: implicit declaration of function 'ppi_load' [-Wimplicit-function-declaration] 1523 | ppi_load(wxp); | ^~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:1563:2: warning: implicit declaration of function 'free_wait_spawn'; did you mean 'free_waitc_add'? [-Wimplicit-function-declaration] 1563 | free_wait_spawn(wxp); | ^~~~~~~~~~~~~~~ | free_waitc_add /build/pvm-3.4.6/src/ddpro.c: In function 'dm_sendsig': /build/pvm-3.4.6/src/ddpro.c:1712:3: warning: implicit declaration of function 'ppi_kill'; did you mean 'pvm_kill'? [-Wimplicit-function-declaration] 1712 | ppi_kill(tp, signum); | ^~~~~~~~ | pvm_kill /build/pvm-3.4.6/src/ddpro.c: In function 'dm_htupd': /build/pvm-3.4.6/src/ddpro.c:1777:3: warning: implicit declaration of function 'upkstr' [-Wimplicit-function-declaration] 1777 | upkstr(mp, buf, sizeof(buf)); | ^~~~~~ /build/pvm-3.4.6/src/ddpro.c: At top level: /build/pvm-3.4.6/src/ddpro.c:1874:1: warning: return type defaults to 'int' [-Wimplicit-int] 1874 | gotnewhosts(htp2, htp1) | ^~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c: In function 'dm_slconf': /build/pvm-3.4.6/src/ddpro.c:2011:18: warning: implicit declaration of function 'pvmxtoi' [-Wimplicit-function-declaration] 2011 | pvmschedtid = pvmxtoi(s); | ^~~~~~~ /build/pvm-3.4.6/src/ddpro.c: In function 'startack': /build/pvm-3.4.6/src/ddpro.c:2108:7: warning: implicit declaration of function 'crunchzap' [-Wimplicit-function-declaration] 2108 | if (crunchzap(buf, &ac, av) || ac != 5) { | ^~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:2111:23: warning: implicit declaration of function 'errnamecode' [-Wimplicit-function-declaration] 2111 | if (!(hp->hd_err = errnamecode(buf))) | ^~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c: In function 'dm_startack': /build/pvm-3.4.6/src/ddpro.c:2392:2: warning: implicit declaration of function 'finack_to_host' [-Wimplicit-function-declaration] 2392 | finack_to_host(hp); | ^~~~~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c: In function 'dm_delhost': /build/pvm-3.4.6/src/ddpro.c:2589:6: warning: implicit declaration of function 'fin_to_host'; did you mean 'indtohost'? [-Wimplicit-function-declaration] 2589 | fin_to_host(hp); | ^~~~~~~~~~~ | indtohost /build/pvm-3.4.6/src/ddpro.c: In function 'dm_taskout': /build/pvm-3.4.6/src/ddpro.c:2702:2: warning: implicit declaration of function 'upkbyte'; did you mean 'pvm_upkbyte'? [-Wimplicit-function-declaration] 2702 | upkbyte(mp, p, l); | ^~~~~~~ | pvm_upkbyte /build/pvm-3.4.6/src/ddpro.c: In function 'dm_db': /build/pvm-3.4.6/src/ddpro.c:2984:7: warning: implicit declaration of function 'pmsg_unpack' [-Wimplicit-function-declaration] 2984 | if (pmsg_unpack(mp, mp3)) | ^~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:2986:14: warning: implicit declaration of function 'mb_insert'; did you mean 'ht_insert'? [-Wimplicit-function-declaration] 2986 | if ((req = mb_insert(tid, name, req, flags, mp3)) < 0) | ^~~~~~~~~ | ht_insert /build/pvm-3.4.6/src/ddpro.c:2997:12: warning: implicit declaration of function 'mb_lookup'; did you mean 'pvm_lookup'? [-Wimplicit-function-declaration] 2997 | cc = mb_lookup(ep->me_tid, (char *) ep->me_msg, | ^~~~~~~~~ | pvm_lookup /build/pvm-3.4.6/src/ddpro.c:3002:9: warning: implicit declaration of function 'pmsg_pack' [-Wimplicit-function-declaration] 3002 | pmsg_pack(wp->wa_mesg, mp3); | ^~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:3047:9: warning: implicit declaration of function 'mb_delete'; did you mean 'ht_delete'? [-Wimplicit-function-declaration] 3047 | req = mb_delete(tid, name, req, flags); | ^~~~~~~~~ | ht_delete /build/pvm-3.4.6/src/ddpro.c:3078:9: warning: implicit declaration of function 'mb_names' [-Wimplicit-function-declaration] 3078 | req = mb_names(tid, name, mp2); | ^~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:3111:7: warning: implicit declaration of function 'me_free'; did you mean 'mem_free'? [-Wimplicit-function-declaration] 3111 | me_free(np, ep); | ^~~~~~~ | mem_free /build/pvm-3.4.6/src/ddpro.c: In function 'exectasks': /build/pvm-3.4.6/src/ddpro.c:1511:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1511 | chdir( wd ); | ^~~~~~~~~~~ /build/pvm-3.4.6/src/ddpro.c:1528:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1528 | chdir( savewd ); | ^~~~~~~~~~~~~~~ make[3]: *** [/build/pvm-3.4.6/src/Makefile.aimk:375: ddpro.o] Error 1 make[3]: Leaving directory '/build/pvm-3.4.6/src/LINUX64' make[2]: *** [Makefile.aimk:81: s] Error 2 Any help would be appreciated. Kind regards Andreas. [1] https://salsa.debian.org/debian/pvm -- http://fam-tille.de