From unknown Sat Jun 21 03:23:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55021 <55021@debbugs.gnu.org> To: bug#55021 <55021@debbugs.gnu.org> Subject: Status: parted 3.5 Build failure with --disable-nls on s390x alpine linux (musl libc) Reply-To: bug#55021 <55021@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:23:50 +0000 retitle 55021 parted 3.5 Build failure with --disable-nls on s390x alpine l= inux (musl libc) reassign 55021 parted submitter 55021 Natanael Copa severity 55021 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 19 07:00:59 2022 Received: (at submit) by debbugs.gnu.org; 19 Apr 2022 11:00:59 +0000 Received: from localhost ([127.0.0.1]:41788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nglbP-00012d-3A for submit@debbugs.gnu.org; Tue, 19 Apr 2022 07:00:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:47718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nglbN-00012V-Ji for submit@debbugs.gnu.org; Tue, 19 Apr 2022 07:00:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nglbN-0007S5-8H for bug-parted@gnu.org; Tue, 19 Apr 2022 07:00:57 -0400 Received: from nld3-dev1.alpinelinux.org ([147.75.101.119]:55932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nglbL-000062-4Z for bug-parted@gnu.org; Tue, 19 Apr 2022 07:00:56 -0400 Received: from ncopa-desktop.lan (67.63.200.37.customer.cdi.no [37.200.63.67]) (Authenticated sender: ncopa@alpinelinux.org) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPSA id 23F3778170D for ; Tue, 19 Apr 2022 11:00:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1650366053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OgTzqLBLcL4T7MZG7dJ8QvCVDxggOGUQfkSqjp37whw=; b=Pl4hUhKgKiZegesjDGjHUvSe7iEYHs1Uxf+I6AVRbMTv7Kne9Vf+k5cvi6TTEqVAD7geYz wgss4VtwNNPxLhn+n/ph/DLgc9SM7JZmO9UrGc3a6VpMpUZK+CqSk0M6ZD3X8Pi7wBa/Mv wKpP0JLj/OeBEM13cqnj86jJub3zKag= Date: Tue, 19 Apr 2022 13:00:51 +0200 From: Natanael Copa To: bug-parted@gnu.org Subject: parted 3.5 Build failure with --disable-nls on s390x alpine linux (musl libc) Message-ID: <20220419130051.21abc8a8@ncopa-desktop.lan> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=147.75.101.119; envelope-from=ncopa@alpinelinux.org; helo=nld3-dev1.alpinelinux.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi, I'd like to upstream a patch that we have had in Alpine Linux for a while. parted 3.5 fails to build on s390x with the following error: make[4]: Entering directory '/home/ncopa/aports/main/parted/src/parted-3.5/= libparted/labels' CC dasd.lo CC fdasd.lo CC vtoc.lo CC aix.lo CC atari.lo CC bsd.lo CC dos.lo dasd.c:44:10: fatal error: libintl.h: No such file or directory 44 | #include | ^~~~~~~~~~~ compilation terminated. fdasd.c:27:10: fatal error: libintl.h: No such file or directory 27 | #include | ^~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:1691: dasd.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [Makefile:1691: fdasd.lo] Error 1 vtoc.c:15:10: fatal error: libintl.h: No such file or directory 15 | #include | ^~~~~~~~~~~ compilation terminated. This is what we have used to solve it: =46rom 4b2a566a3e007184d3ee9ce5b399a63eebbdadc3 Mon Sep 17 00:00:00 2001 From: "Tuan M. Hoang" Date: Thu, 23 Feb 2017 07:53:02 +0000 Subject: [PATCH] main/parted: disable nls on s390x Because we build with --disable-nls by default, we need to remove libintl.h= in=20 these files on s390x. This is specific for DASD devices only on s390x. --- libparted/labels/dasd.c | 2 +- libparted/labels/fdasd.c | 2 +- libparted/labels/vtoc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libparted/labels/dasd.c b/libparted/labels/dasd.c index fa9414f..5acf844 100644 --- a/libparted/labels/dasd.c +++ b/libparted/labels/dasd.c @@ -40,8 +40,8 @@ #include #include =20 -#include #if ENABLE_NLS +# include # define _(String) dgettext (PACKAGE, String) #else # define _(String) (String) diff --git a/libparted/labels/fdasd.c b/libparted/labels/fdasd.c index 1f87937..e6a9086 100644 --- a/libparted/labels/fdasd.c +++ b/libparted/labels/fdasd.c @@ -24,8 +24,8 @@ =20 #include =20 -#include #if ENABLE_NLS +# include # define _(String) dgettext (PACKAGE, String) #else # define _(String) (String) diff --git a/libparted/labels/vtoc.c b/libparted/labels/vtoc.c index fdfa94f..64ba149 100644 --- a/libparted/labels/vtoc.c +++ b/libparted/labels/vtoc.c @@ -12,8 +12,8 @@ =20 #include =20 -#include #if ENABLE_NLS +# include # define _(String) dgettext (PACKAGE, String) #else # define _(String) (String) --=20 2.11.1