From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 2C4C03856DF2 for ; Wed, 27 Sep 2023 15:21:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2C4C03856DF2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695828077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eumo5ZdIWe4vjz6Z4bZpKwl+UN+FaH075boPX/E41Ec=; b=jLmYEIXhNxKD+2O6rWVdBaelR0gobTGL5JvyqAkcMYacjW5dyJpbPN7OhXufxum9+fFvxV J1B6wfd4TSg47FRGINNkhx1P61dkNjFQGbHJxAxpHPnqF5ITd5QE/e1S0CiipzbC2n9dZR wuEYfpqSs5Tr1d9adVhi0qkHWso/XFM= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-84-284LTBX0MgW132aA-TX2gw-1; Wed, 27 Sep 2023 11:21:16 -0400 X-MC-Unique: 284LTBX0MgW132aA-TX2gw-1 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-65b1c33bf59so86655196d6.3 for ; Wed, 27 Sep 2023 08:21:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695828075; x=1696432875; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eumo5ZdIWe4vjz6Z4bZpKwl+UN+FaH075boPX/E41Ec=; b=CEDHjENcGPupFqiI4qWTSzdpMiLCaZBpq5g2W21WMzhtBT9b2yL5uKKpG/e9OJCiYF AwEafU5XYumhRPNRWhmYQ8JAokKHX7+haF8oDoGyv/8cInsVSTjPYXK07dcSHHBmPEYk a+6cAPA+5iGEyGEGT+3unk8b+k4tWicqa9XeVI2dbeUgAkUGB6OFxhrs5PdJ3JyTxBrz HOWbcFSVg5Gwnm8lUU2sMZ5xiUz6sNCozSzf2ZsvV5pAAx2PhV9JFbrj1c1tV2f34aXQ S6Js7up0cyijo1zTTMn2VaGFjTTPj03EcBg6sfM6wI03pdyH6a3RZJHM/4uTs8NBsBNv 9IEQ== X-Gm-Message-State: AOJu0Yz4liftlH+p5haeES+0A2EUdg1QL54UhJNnFEtmKBtxJJYgr5nQ c5fVyXZ3tcRyLL0Qqni6qwfME+A2yD3KkonvuVBOLDzWyW5A4SBqIqenjuvuItQy+3Su7z1O1XZ XgjAHzDbC1fcMWzuiOA== X-Received: by 2002:a0c:da14:0:b0:658:f415:2db2 with SMTP id x20-20020a0cda14000000b00658f4152db2mr2291361qvj.27.1695828075706; Wed, 27 Sep 2023 08:21:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFteF86ZTUy4JFLUHURKMTm3nVdEQyBUPwYH/EHY6s0Jxko6cRFb5p7v5z/uYgLnu/juWKPoA== X-Received: by 2002:a0c:da14:0:b0:658:f415:2db2 with SMTP id x20-20020a0cda14000000b00658f4152db2mr2291350qvj.27.1695828075427; Wed, 27 Sep 2023 08:21:15 -0700 (PDT) Received: from [192.168.1.11] ([80.168.197.243]) by smtp.gmail.com with ESMTPSA id v16-20020a05620a0a9000b0077413b342e9sm4960999qkg.128.2023.09.27.08.21.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Sep 2023 08:21:15 -0700 (PDT) Message-ID: <9ede46ef-f5cb-d6e0-3abb-6b77252f8ead@redhat.com> Date: Wed, 27 Sep 2023 16:21:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2 2/2] *: suppress xgettext 0.22 charset name error To: =?UTF-8?Q?Arsen_Arsenovi=c4=87?= , gdb-patches@sourceware.org, binutils@sourceware.org Cc: Bruno Haible , Iain Sandoe References: <20230926004300.1716711-2-arsen@aarsen.me> <20230926004300.1716711-4-arsen@aarsen.me> From: Nick Clifton In-Reply-To: <20230926004300.1716711-4-arsen@aarsen.me> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Arsen, > bfd.po: warning: Charset "CHARSET" is not a portable encoding name. > Message conversion to user's charset might not work. > /usr/bin/xgettext: present charset "CHARSET" is not a portable encoding name > > As Bruno Haible suggested: >>> Perhaps it'd be good to use -o to suppress this warning anyway >> >> Yes, regardless of gettext version, you profit of the .pot suffix handling by >> replacing >> >> --default-domain=$(PACKAGE) >> >> with >> >> -o $(PACKAGE)-tmp.pot >> >> (twice) and >> >> < $(PACKAGE).po > $@-t >> >> with >> >> < $(PACKAGE)-tmp.pot > $@-t > > bfd/ChangeLog: > > * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot > temporary file, to suppress xgettext checking charset names. > > binutils/ChangeLog: > > * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot > temporary file to suppress xgettext checking charset names. > > gas/ChangeLog: > > * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot > temporary file to suppress xgettext checking charset names. > > gold/ChangeLog: > > * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot > temporary file to suppress xgettext checking charset names. > > gprof/ChangeLog: > > * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot > temporary file to suppress xgettext checking charset names. > > ld/ChangeLog: > > * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot > temporary file to suppress xgettext checking charset names. > > opcodes/ChangeLog: > > * po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot > temporary file to suppress xgettext checking charset names. This part of the patch set is approved as well. Cheers Nick