[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some generated header files are messed up on Alpine
From: |
Bruno Haible |
Subject: |
Re: Some generated header files are messed up on Alpine |
Date: |
Sat, 01 Jan 2022 20:41:41 +0100 |
Hi Tim,
> Some generated header files look like
>
> bash-5.1# head -3 lib/uniwidth.h
> /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
> 2001-2002, 2005, 2007, 2009-2021 Free Software Foundation,
> Inc.
>
> This obviously won't compile.
I reproduce it on Alpine Linux 3.14, with a tarball created on a glibc
system:
./gnulib-tool --create-testdir --dir=../testdir uniwidth/width
The consequence is severe:
No tarball created with the current gnulib will build on Alpine Linux!
The problem originates in the commit from 2021-12-25 that introduced
module 'gen-header'. I had tested it on several platforms [1], but Alpine
Linux was not among them.
Alpine Linux ships with many buggy/deficient utilities, and 'sed' is
apparently one of them. You find its source code here: [2].
Paul, can you think of alternate ways to define SED_HEADER_TO_AT_t ?
Bruno
[1] https://lists.gnu.org/archive/html/bug-gnulib/2021-12/msg00147.html
[2] https://git.busybox.net/busybox/tree/editors/sed.c