Hi all,

When building ARTS, the task "Generating arts_theory.stage1" fails with:

/bin/sh: PATH<my_whole_path_var>:/usr/bin:: No such file or directory

See verbose output in the attachment. For me, just removing the path in front of the makeindex command resolves the problem (see attached patch). Maybe there are better solutions. I think this has been around for quite a while, until now we just ignored the error, as the important parts are being built before this error happens. Maybe this is useful to somebody.

Best regards,
Jonas Hagen


[ 33%] Generating arts_theory.stage1
cd <absolute_path>/arts/build/doc/uguide/arts_theory && /usr/bin/cmake -E 
remove -f arts_theory.log
cd <absolute_path>/arts/build/doc/uguide/arts_theory && 
TEXINPUTS=.:..:<absolute_path>/arts/doc/uguide: save_size=15000 
/usr/bin/pdflatex -interaction nonstopmode -halt-on-error arts_theory >> 
<absolute_path>/arts/build/doc/uguide/arts_theory.log || (cat arts_theory.log 
&& exit 1)
cd <absolute_path>/arts/build/doc/uguide/arts_theory && 
"PATH=<my_whole_path_var>:/usr/bin:" /usr/bin/makeindex -q arts_theory.idx >> 
<absolute_path>/arts/build/doc/uguide/arts_theory.log
/bin/sh: PATH<my_whole_path_var>:/usr/bin:: No such file or directory
doc/uguide/CMakeFiles/arts_theory-stage1.dir/build.make:141: recipe for target 
'doc/uguide/arts_theory.stage1' failed
make[3]: *** [doc/uguide/arts_theory.stage1] Error 127
make[3]: Leaving directory '<absolute_path>/arts/build'
CMakeFiles/Makefile2:2289: recipe for target 
'doc/uguide/CMakeFiles/arts_theory-stage1.dir/all' failed
make[2]: *** [doc/uguide/CMakeFiles/arts_theory-stage1.dir/all] Error 2
make[2]: Leaving directory '<absolute_path>/arts/build'
CMakeFiles/Makefile2:2374: recipe for target 
'doc/uguide/CMakeFiles/arts_theory.dir/rule' failed
make[1]: *** [doc/uguide/CMakeFiles/arts_theory.dir/rule] Error 2
make[1]: Leaving directory '<absolute_path>/arts/build'
Makefile:849: recipe for target 'arts_theory' failed
make: *** [arts_theory] Error 2
Index: cmake/modules/ArtsBuildTexDoc.cmake
===================================================================
--- cmake/modules/ArtsBuildTexDoc.cmake	(revision 10902)
+++ cmake/modules/ArtsBuildTexDoc.cmake	(working copy)
@@ -11,7 +12,7 @@
   set (PDFLATEX_COMMAND "TEXINPUTS=.:..:${CMAKE_CURRENT_SOURCE_DIR}:"
     "save_size=15000" ${PDFLATEX_COMPILER} ${PDFLATEX_OPTIONS} ${TARGET}
     ${PDFLATEX_LOGGING} ${LOG_OUTPUT})
-  set (MAKEINDEX_COMMAND "PATH=$ENV{PATH}:${MAKEINDEX_PATH}"
+  set (MAKEINDEX_COMMAND 
     ${MAKEINDEX_COMPILER} "-q" "${TARGET}.idx" ${PDFLATEX_LOGGING})
   set (BIBTEX_COMMAND "BSTINPUTS=.:${CMAKE_CURRENT_SOURCE_DIR}:"
     "BIBINPUTS=.:${CMAKE_CURRENT_SOURCE_DIR}:" "save_size=15000"
_______________________________________________
arts_dev.mi mailing list
arts_dev.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi

Reply via email to