From: Francisco Ramos (
Date: Wed Sep 16 2020 - 06:32:59 CDT


Some people are hitting a build failure when using high -j make options like
make[2]: Leaving directory '/var/tmp/portage/sci-chemistry/vmd-
make[2]: Entering directory '/var/tmp/portage/sci-chemistry/vmd-
mkdir -p ../compile/lib_LINUX/bin/catdcd5.2
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -I. -I../include
-I../compile/lib_LINUX/molfile -c ./hash.c -fPIC -o
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -I. -I../include
-I../compile/lib_LINUX/molfile -c ./catdcd.c -fPIC -o
make[2]: *** No rule to make target
'../compile/lib_LINUX/molfile/libmolfile_plugin.a', needed by
'../compile/lib_LINUX/bin/catdcd5.2/catdcd'. Stop.
make[2]: *** Waiting for unfinished jobs....
./catdcd.c:17:10: fatal error: libmolfile_plugin.h: No such file or directory
   17 | #include "libmolfile_plugin.h"
      | ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:54: ../compile/lib_LINUX/bin/catdcd5.2/catdcd.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-chemistry/vmd-
make[1]: *** [Makefile:177: bins] Error 1
make[1]: *** Waiting for unfinished jobs....

In Gentoo we were applying a patch to fix it for 1.9.3... but it looks to be
still needed for 1.9.4aX. This one is the updated version that works for

--- a/plugins/Makefile
+++ b/plugins/Makefile
@@ -173,7 +173,7 @@
 win32staticlibs: win32molfilelibs
        for dir in $(BUILDDIRS); do cd $$dir && $(MAKE) win32staticlibs && cd
. || exit 1 ; done

+bins: molfilelibs
        for dir in molfile_plugin $(BUILDDIRS); do cd $$dir && $(MAKE) bins &&
cd .. || exit 1 ; done


Maybe it could be upstreamed finally

Thanks a lot