Opened 3 years ago

Closed 3 years ago

#64279 closed defect (duplicate)

dvisvgm @2.12_3 does not build on macOS Monterey, Version 12.1, because if falls into an infinite loop?

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc: michaelld@…, mascguy@…
Port: dvisvgm

Description

The symptom is that compilations stops here, i.e., no further output is generated when invoking port -vd upgrade dvisvgm:

Making all in doc
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568/doc'
sed -e 's/@VERSION[@]/2.12/g' -e 's/@PACKAGE_BUGREPORT[@]/martin.gieseking@uos.de/g' dvisvgm.txt.in >dvisvgm.txt
if [ dvisvgm.txt.in -nt ../configure.ac ]; \
	then gtouch -r dvisvgm.txt.in dvisvgm.txt; \
	else gtouch -r ../configure.ac dvisvgm.txt; \
	fi
make[1]: *** [all-recursive] Interrupt: 2

(The Interrupt: 2 is caused by C-c C-k in *compilation* buffer in GNU Emacs 29.)

After waiting some time my MacBook became warm, the fans produced some noise, and in Terminal I could see a make process eating most of the cpu time. pstree revealed:

pete 273 /\ pstree -w -p 87278
-+= 00001 root /sbin/launchd
 \-+- 00736 pete /bin/tcsh -c /opt/local/bin/startx
   \-+- 00742 pete /bin/sh /opt/local/bin/startx
     \-+- 00904 pete xinit /Users/pete/.xinitrc -- /opt/local/bin/X :0 -listen tcp -iglx -dpi 133 -auth /Users/pete/.serverauth.742
       \-+= 00952 pete /opt/local/bin/blackbox
         \-+- 01057 pete /usr/local/bin/emacs-27.1.91 -geometry 100x55+1221+167 -T 27.1.91 --debug-init -fn Lucida Sans Typewriter:autohint=true:antialias=true:size=9
           \-+= 01235 pete -bin/tcsh -i
             \-+= 32486 root sudo -H env LANG=de_DE.UTF-8 LC_CTYPE=de_DE.UTF-8 PATH=/usr/local/texlive/2021/bin/universal-darwin:~/bin:/usr/local/texlive/2021/bin/universal-darwin:/usr/local/gnupg-2.2/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/opt/local/sbin:/usr/local/sbin:/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/X11/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/sw/bin:/opt/sw/sbin MANPATH=/usr/local/texlive/2021/texmf-dist/doc/man:/usr/local/texlive/2021/texmf-dist/doc/man:/usr/local/gnupg-2.2/share/man:/usr/local/share/man:/usr/local/clamXav/share/man:/Library/Developer/CommandLineTools/usr/share/man:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man:/opt/X11/share/man:/opt/local/Library/Frameworks/Python.framework/Versions/3.8/share/man:/opt/local/share/man:/usr/X11/share/man:/opt/local/share/perl5.30/man:/opt/local/etc/zsh/man INFOPATH=/usr/local/texlive/2021/texmf-dist/doc/info:/usr/local/texlive/2021/texmf-dist/doc/info:/usr/local/share/info:/opt/local/share/info/emacs:/opt/local/share/info:/opt/local/share/texmf-texlive/doc/info:/usr/share/info:/opt/sw/share/info /opt/local/bin/emacs -xrm Emacs*iconName: Live-Kastel -T Live-Kastel 2021 -geometry 167x95+375+25 -fn Lucida Sans Typewriter:autohint=true:antialias=true:size=9
               \-+- 32487 root /opt/local/bin/emacs -xrm Emacs*iconName: Live-Kastel -T Live-Kastel 2021 -geometry 167x95+375+25 -fn Lucida Sans Typewriter:autohint=true:antialias=true:size=9
                 \-+= 78879 root -bin/tcsh -c time nice port -vd upgrade curl-ca-bundle dvisvgm zstd
                   \-+- 78891 macports /opt/local/libexec/macports/bin/tclsh8.5 /opt/local/bin/port -vd upgrade curl-ca-bundle dvisvgm zstd
                     \-+- 83403 macports sh -c  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/dvisvgm-2.12" && /usr/bin/make -j12 -w all 
                       \-+- 83404 macports /Library/Developer/CommandLineTools/usr/bin/make -j12 -w all
                         \-+- 83405 macports /Library/Developer/CommandLineTools/usr/bin/make all-recursive
                           \-+- 83406 macports /bin/sh -c fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n ''; then true; elif test -n '3.81' && test -n '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \\011]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs\011]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then   failcom='fail=yes'; else   failcom='exit 1'; fi; dot_seen=no; target=`echo all-recursive | sed s/-recursive//`; case "all-recursive" in   distclean-* | maintainer-clean-*) list='libs m4 src tests doc' ;;   *) list='libs m4 src tests doc' ;; esac; for subdir in $list; do   echo "Making $target in $subdir";   if test "$subdir" = "."; then     dot_seen=yes;     local_target="$target-am";   else     local_target="$target";   fi;   (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /Library/Developer/CommandLineTools/usr/bin/make  $local_target)   || eval $failcom; done; if test "$dot_seen" = "no"; then   /Library/Developer/CommandLineTools/usr/bin/make  "$target-am" || exit 1; fi; test -z "$fail"
                             \-+- 87277 macports /bin/sh -c fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n ''; then true; elif test -n '3.81' && test -n '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \\011]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs\011]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then   failcom='fail=yes'; else   failcom='exit 1'; fi; dot_seen=no; target=`echo all-recursive | sed s/-recursive//`; case "all-recursive" in   distclean-* | maintainer-clean-*) list='libs m4 src tests doc' ;;   *) list='libs m4 src tests doc' ;; esac; for subdir in $list; do   echo "Making $target in $subdir";   if test "$subdir" = "."; then     dot_seen=yes;     local_target="$target-am";   else     local_target="$target";   fi;   (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /Library/Developer/CommandLineTools/usr/bin/make  $local_target)   || eval $failcom; done; if test "$dot_seen" = "no"; then   /Library/Developer/CommandLineTools/usr/bin/make  "$target-am" || exit 1; fi; test -z "$fail"
                               \--- 87278 macports /Library/Developer/CommandLineTools/usr/bin/make all
pete 274 /\ pstree -w -p 87278
-+= 00001 root /sbin/launchd
 \-+- 00736 pete /bin/tcsh -c /opt/local/bin/startx
   \-+- 00742 pete /bin/sh /opt/local/bin/startx
     \-+- 00904 pete xinit /Users/pete/.xinitrc -- /opt/local/bin/X :0 -listen tcp -iglx -dpi 133 -auth /Users/pete/.serverauth.742
       \-+= 00952 pete /opt/local/bin/blackbox
         \-+- 01057 pete /usr/local/bin/emacs-27.1.91 -geometry 100x55+1221+167 -T 27.1.91 --debug-init -fn Lucida Sans Typewriter:autohint=true:antialias=true:size=9
           \-+= 01235 pete -bin/tcsh -i
             \-+= 32486 root sudo -H env LANG=de_DE.UTF-8 LC_CTYPE=de_DE.UTF-8 PATH=/usr/local/texlive/2021/bin/universal-darwin:~/bin:/usr/local/texlive/2021/bin/universal-darwin:/usr/local/gnupg-2.2/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/opt/local/sbin:/usr/local/sbin:/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/X11/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/opt/sw/bin:/opt/sw/sbin MANPATH=/usr/local/texlive/2021/texmf-dist/doc/man:/usr/local/texlive/2021/texmf-dist/doc/man:/usr/local/gnupg-2.2/share/man:/usr/local/share/man:/usr/local/clamXav/share/man:/Library/Developer/CommandLineTools/usr/share/man:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man:/opt/X11/share/man:/opt/local/Library/Frameworks/Python.framework/Versions/3.8/share/man:/opt/local/share/man:/usr/X11/share/man:/opt/local/share/perl5.30/man:/opt/local/etc/zsh/man INFOPATH=/usr/local/texlive/2021/texmf-dist/doc/info:/usr/local/texlive/2021/texmf-dist/doc/info:/usr/local/share/info:/opt/local/share/info/emacs:/opt/local/share/info:/opt/local/share/texmf-texlive/doc/info:/usr/share/info:/opt/sw/share/info /opt/local/bin/emacs -xrm Emacs*iconName: Live-Kastel -T Live-Kastel 2021 -geometry 167x95+375+25 -fn Lucida Sans Typewriter:autohint=true:antialias=true:size=9
               \-+- 32487 root /opt/local/bin/emacs -xrm Emacs*iconName: Live-Kastel -T Live-Kastel 2021 -geometry 167x95+375+25 -fn Lucida Sans Typewriter:autohint=true:antialias=true:size=9
                 \-+= 78879 root -bin/tcsh -c time nice port -vd upgrade curl-ca-bundle dvisvgm zstd
                   \-+- 78891 macports /opt/local/libexec/macports/bin/tclsh8.5 /opt/local/bin/port -vd upgrade curl-ca-bundle dvisvgm zstd
                     \-+- 83403 macports sh -c  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/dvisvgm-2.12" && /usr/bin/make -j12 -w all 
                       \-+- 83404 macports /Library/Developer/CommandLineTools/usr/bin/make -j12 -w all
                         \-+- 83405 macports /Library/Developer/CommandLineTools/usr/bin/make all-recursive
                           \-+- 83406 macports /bin/sh -c fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n ''; then true; elif test -n '3.81' && test -n '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \\011]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs\011]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then   failcom='fail=yes'; else   failcom='exit 1'; fi; dot_seen=no; target=`echo all-recursive | sed s/-recursive//`; case "all-recursive" in   distclean-* | maintainer-clean-*) list='libs m4 src tests doc' ;;   *) list='libs m4 src tests doc' ;; esac; for subdir in $list; do   echo "Making $target in $subdir";   if test "$subdir" = "."; then     dot_seen=yes;     local_target="$target-am";   else     local_target="$target";   fi;   (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /Library/Developer/CommandLineTools/usr/bin/make  $local_target)   || eval $failcom; done; if test "$dot_seen" = "no"; then   /Library/Developer/CommandLineTools/usr/bin/make  "$target-am" || exit 1; fi; test -z "$fail"
                             \-+- 87277 macports /bin/sh -c fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n ''; then true; elif test -n '3.81' && test -n '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \\011]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs\011]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then   failcom='fail=yes'; else   failcom='exit 1'; fi; dot_seen=no; target=`echo all-recursive | sed s/-recursive//`; case "all-recursive" in   distclean-* | maintainer-clean-*) list='libs m4 src tests doc' ;;   *) list='libs m4 src tests doc' ;; esac; for subdir in $list; do   echo "Making $target in $subdir";   if test "$subdir" = "."; then     dot_seen=yes;     local_target="$target-am";   else     local_target="$target";   fi;   (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /Library/Developer/CommandLineTools/usr/bin/make  $local_target)   || eval $failcom; done; if test "$dot_seen" = "no"; then   /Library/Developer/CommandLineTools/usr/bin/make  "$target-am" || exit 1; fi; test -z "$fail"
                               \--- 87278 macports /Library/Developer/CommandLineTools/usr/bin/make all

The time between the two commands is a few minutes.

pete 279 /\ gls -lot --time-style=full-iso /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568/doc/dvisvgm.txt* /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568/doc/../configure.*
-rw-r--r-- 1 macports  8409 2021-08-16 12:07:38.000000000 +0200 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568/doc/../configure.ac
-rw-r--r-- 1 macports 61025 2021-08-16 12:07:38.000000000 +0200 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568/doc/dvisvgm.txt
-rw-r--r-- 1 macports 61026 2021-08-16 12:07:38.000000000 +0200 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568/doc/dvisvgm.txt.in
pete 280 /\ which gtouch
/opt/local/bin/gtouch
pete 281 /\ gtouch --version
touch (GNU coreutils) 8.32
Copyright © 2020 Free Software Foundation, Inc.
Lizenz GPLv3+: GNU GPL Version 3 oder höher <https://gnu.org/licenses/gpl.html>.
Dies ist freie Software: Sie können sie ändern und weitergeben.
Es gibt keinerlei Garantien, soweit wie es das Gesetz erlaubt.

Geschrieben von Paul Rubin, Arnold Robbins, Jim Kingdon,
David MacKenzie und Randy Smith.

So obviously gtouch was not executed and bash was endlessly comparing the creation times of dvisvgm.txt.in and ../configure.ac?

Attachments (1)

main.log (291.0 KB) - added by ballapete (Peter "Pete" Dyballa) 3 years ago.
Main.log from x86_64 macOS Monterey, Version 12.1

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from x86_64 macOS Monterey, Version 12.1

comment:1 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_dvisvgm/dvisvgm/work/mgieseki-dvisvgm-2e94568/doc/dvisvgm.txt although having an "ancient date" already contains

dvisvgm(1)
==========
Martin Gieseking <martin.gieseking@uos.de>
:man source: dvisvgm
:man version: 2.12
:man manual: dvisvgm Manual
:revdate: 2021-04-10 01:45 +0200

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.