Skip to content

Commit c8d511e

Browse files
fedorovclaude
andcommitted
Build Windows packages under a pty so the dconvert headers generate
Same exposure as the Linux build: the awk scripts that generate the dconvert headers write their diagnostics to /dev/tty, which is fatal to gawk when there is no controlling terminal, so himrtodc, himrdump, ge9800todc and ge9800dump silently drop out of the package. Cygwin provides script(1) in util-linux, which is added to the package set. Confirmed on the Linux runner: with the build under script(1), the package regains ge9800dump, ge9800todc, himrdump, himrtodc and himrunid, and loses nothing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 92d32b0 commit c8d511e

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎.github/workflows/build-windows-packages.yml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
libX11-devel
4949
libXext-devel
5050
zip
51+
util-linux
5152
5253
- name: Restore executable permissions on build scripts
5354
run: chmod +x Configure config/Configure support/*
@@ -62,10 +63,15 @@ jobs:
6263
run: imake -I./config -DInstallInTopDir
6364

6465
- name: Build
65-
run: make World
66+
# The awk scripts that generate the dconvert headers write their
67+
# diagnostics to /dev/tty, which is fatal to gawk when there is no
68+
# controlling terminal, and silently costs us the himr and ge9800
69+
# converters. script(1), from util-linux, supplies a pseudo terminal;
70+
# -e passes the exit status of the command through.
71+
run: script -qec "make World" /dev/null
6672

6773
- name: Install
68-
run: make install
74+
run: script -qec "make install" /dev/null
6975

7076
- name: Bundle Cygwin runtime DLLs
7177
run: |

0 commit comments

Comments
 (0)