GNU bug report logs - #71029
single-binary build broken on systems with separate libintl

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: Audrey Dutcher <audrey@HIDDEN>; dated Sat, 18 May 2024 09:51:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at 71029 <at> debbugs.gnu.org:


Received: (at 71029) by debbugs.gnu.org; 18 May 2024 11:14:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 18 07:14:01 2024
Received: from localhost ([127.0.0.1]:32857 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8I0n-0001un-75
	for submit <at> debbugs.gnu.org; Sat, 18 May 2024 07:14:01 -0400
Received: from mail-wm1-f42.google.com ([209.85.128.42]:46239)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pixelbeat@HIDDEN>) id 1s8I0k-0001uc-TR
 for 71029 <at> debbugs.gnu.org; Sat, 18 May 2024 07:13:59 -0400
Received: by mail-wm1-f42.google.com with SMTP id
 5b1f17b1804b1-41fd5dc0439so8616435e9.0
 for <71029 <at> debbugs.gnu.org>; Sat, 18 May 2024 04:13:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1716030770; x=1716635570; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :sender:from:to:cc:subject:date:message-id:reply-to;
 bh=oY41g/2dHkwH+9muHQfkoc0I1XC/5sfeGkLLnmXPd1Q=;
 b=UcIPqZPM/l7SCNGX9HkPgjRKgGfUJlndAQyCiQJ23+momuUZBoUGowLkQu+NaZ3zrh
 QmonHCcos0LEPk72qRPVgFZF64fyyjDLe/FaXSAl4y2aYMyNVsJOVQfHCI1SbcE2/W8w
 +Po/376YOv+ro1rqUlJ97kY5EicqYommOpSq5Lfpr9CCqeoR6OLYPCrN3fXCKcAIs6c1
 illaUOIkEzM0+lZ76bWbLO0Wly7Wa4oSAb4Fy7nnx1yS4UZA8hGjqZhDIF3fK9zvQTbm
 7d5rFD+Uair3oXv+K79K6ioP6E00M6GRPL1eNU+IGg1NUkKYQ5F41/H2dnULOKn8EqtE
 K+rQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1716030770; x=1716635570;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :sender:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=oY41g/2dHkwH+9muHQfkoc0I1XC/5sfeGkLLnmXPd1Q=;
 b=lQrk+UCuzLo7N+I0M+c78KOy6gQaz85rMh1YkrrSB4+/++MQMUPxtY4SGvigGhCRFr
 GmCZZ2An8qg34gmaP5zWN7Y0r8gTTfOlNyqyMiNBIfY2EDUt0kjy0BAs7tUouHljMsx2
 9UblKoNQGsB9TrFhH9LRg14yObMIJPpYBold/VUWtQ8lrbi9fk9o+FRkrhhHim87NreJ
 ygGBxgko+5t2BEfSPykz+CLxlycshJpVsokN/OkJlVCCc9QNEclpnSotyWEGYnxLy251
 yUISJIaGmOPeb/ONotWmDi7AQtyPICwnVaieGiXMeNhm3K8H9QtmyJmaUiGZsrEkKttJ
 pBeg==
X-Forwarded-Encrypted: i=1;
 AJvYcCWY3ZbuFLgvoP1GsNMp0XPPkUbF58vuNzoxvwfmDSIVcDEHEEdQnTpiEJ8dkvTsn8bM3T7C4sas2/qde6v8AQLb40ZMC5g=
X-Gm-Message-State: AOJu0YxEfH8psCTQWY25WdSB4zwomzPwcim82egFYe+WapTLFAFb2D5I
 pOh2YU0iBk14cbZpLwPWVxWJ5TcmHUTeyZB8IEVfX5fg4UlDAyp5wfX0ew==
X-Google-Smtp-Source: AGHT+IEKD9PA2+qZz61FxrXqhdUQvZXLcG4R0i+yq4jpfVAEb7KzGQ8xVxc30roWa7X6n4iUkcs4fQ==
X-Received: by 2002:a05:600c:3594:b0:41f:c12e:f5ab with SMTP id
 5b1f17b1804b1-41fea927e74mr203572315e9.6.1716030769445; 
 Sat, 18 May 2024 04:12:49 -0700 (PDT)
Received: from [192.168.1.67]
 (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146])
 by smtp.googlemail.com with ESMTPSA id
 5b1f17b1804b1-420e142f501sm20869675e9.0.2024.05.18.04.12.48
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 18 May 2024 04:12:48 -0700 (PDT)
Message-ID: <46403a0d-0490-4d9a-b721-377cf316c798@HIDDEN>
Date: Sat, 18 May 2024 12:12:46 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird Beta
Subject: Re: bug#71029: single-binary build broken on systems with separate
 libintl
To: Audrey Dutcher <audrey@HIDDEN>, 71029 <at> debbugs.gnu.org
References: <CADanSV2ipwFg6s0TVWKiYs9RDaMw9oKYze17Wy6GZAD8VJ62Rg@HIDDEN>
Content-Language: en-US
From: =?UTF-8?Q?P=C3=A1draig_Brady?= <P@HIDDEN>
In-Reply-To: <CADanSV2ipwFg6s0TVWKiYs9RDaMw9oKYze17Wy6GZAD8VJ62Rg@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 71029
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On 17/05/2024 17:11, Audrey Dutcher wrote:
> On my FreeBSD system, downloading coreutils-9.5.tar.xz, then building
> with `./configure --enable-single-binary && make` does not succeed,
> with the error message `don't know how to make -Wl,-rpath. Stop`
> 
> I believe the root cause of this is
> https://github.com/coreutils/coreutils/blob/52e024b/src/local.mk#L485,
> which mixes DEPENDENCIES and LDADD. This seems bad, for very relevant
> reasons!

I presume you have the same issue with coreutils 9.4 ?

I presume the problematic flags are propagated through LIBINTL or MBRTOWC_LIB.
What are those set to for reference in your Makefile?

I'll have a look at cleaning this up.

thanks,
Pádraig




Information forwarded to bug-coreutils@HIDDEN:
bug#71029; Package coreutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 May 2024 09:50:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 18 05:50:07 2024
Received: from localhost ([127.0.0.1]:60678 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s8Gha-0000ej-GF
	for submit <at> debbugs.gnu.org; Sat, 18 May 2024 05:50:07 -0400
Received: from lists.gnu.org ([209.51.188.17]:58386)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <audrey@HIDDEN>) id 1s80B9-0000k9-3y
 for submit <at> debbugs.gnu.org; Fri, 17 May 2024 12:11:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <audrey@HIDDEN>) id 1s80B2-0007si-5O
 for bug-coreutils@HIDDEN; Fri, 17 May 2024 12:11:25 -0400
Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <audrey@HIDDEN>) id 1s80Az-0002Y6-C3
 for bug-coreutils@HIDDEN; Fri, 17 May 2024 12:11:23 -0400
Received: by mail-il1-x12b.google.com with SMTP id
 e9e14a558f8ab-36c947ff642so7837955ab.2
 for <bug-coreutils@HIDDEN>; Fri, 17 May 2024 09:11:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=rhelmot-io.20230601.gappssmtp.com; s=20230601; t=1715962276; x=1716567076;
 darn=gnu.org; 
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=4IqFk5xawypYQyJw05/uZiA9fYzWBT+w815JuADJrJM=;
 b=0FjR52Sqkoj70cUcDwjP7Ss2AAKFqFx4T71Jbax5Q0sS6r+jZ3zGdn96eszS0mudqz
 szGKmDSJU5ojDUqNlD+Pq7itnT53v5WoQzWxUjjuwDu3zCIht0GdXWUR/bfiREoo6K/v
 m8tMvNNxF4ufPeelgajux5mer/3uu33rdhS5zRu0PcCXmrM9W61Tv5lDNIzBtqfQ+Yh4
 72fDvhdzcaAomtnw9gk7kHYu6VEYerjFRgKi/TtE+ubNmtd6WWDJcwlW3JeIf5px/q6n
 hLo2+nKG8P87epFfPvRu3y4klTodr055RfvBqO0DRWoBI3N2nDrmgijoR5JhXxRQUK5H
 QxmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1715962276; x=1716567076;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=4IqFk5xawypYQyJw05/uZiA9fYzWBT+w815JuADJrJM=;
 b=TtonAIEHNLd7zcnBpNQaNbJDT45JSPBwk3ZkLvRKEOrcCHoa76cv0UfbzG/YHdAD+/
 elmvotinNFcaBWHRNdQq1K89fXCzqHtBFvpFjPcbEVlZ5/RkK25/lanZy6iU1ne/+jJE
 NaV5aIlzuo8xbWWBx1QWHe09AZAxMrANa17gtLrKzCBPpiFu6e0NlW1+GxVm6N6TQB34
 nzhmeeWfHof0fknCyX+tjRU0UezTEJakkZhyul5QJ4QkQk6xPSA8YRtf3C5gD7w49V1B
 QfOj5zb4o4n10IOtIfBtCYhMRH8346mWpgXHAxopAD5rXiVsC8Ru1JyzhkeogkP8/FBn
 JvKA==
X-Gm-Message-State: AOJu0YyBTpfNjyI/xLvXsS8er/GJxw0rvRJ8p8pZ3kryyXHvGsGUOTNR
 D/lEDCn8nv5vZSitvQOob9CFknYy9glEgqrGk9y0/IM1wrVGwFzz1/75DCQ4NQNzUlHwMks0nN8
 iyskDR+6IyAI7IrxqMGspSWiOQW1m6xP9yoxrKPZFEYANGrpfJe4=
X-Google-Smtp-Source: AGHT+IEHrsOB9A0feGM2Bf2/QpB6ZFxCtiHBepWGPN5M1TyN9+AkGqQdEhN0DpioYfP5HP8yUhBNalzR1JQaSeyNt6s=
X-Received: by 2002:a05:6e02:1648:b0:36a:686:b3bf with SMTP id
 e9e14a558f8ab-36cc148e3c2mr267607575ab.17.1715962276276; Fri, 17 May 2024
 09:11:16 -0700 (PDT)
MIME-Version: 1.0
From: Audrey Dutcher <audrey@HIDDEN>
Date: Fri, 17 May 2024 09:11:05 -0700
Message-ID: <CADanSV2ipwFg6s0TVWKiYs9RDaMw9oKYze17Wy6GZAD8VJ62Rg@HIDDEN>
Subject: single-binary build broken on systems with separate libintl
To: bug-coreutils@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=2607:f8b0:4864:20::12b;
 envelope-from=audrey@HIDDEN; helo=mail-il1-x12b.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 18 May 2024 05:50:05 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On my FreeBSD system, downloading coreutils-9.5.tar.xz, then building
with `./configure --enable-single-binary && make` does not succeed,
with the error message `don't know how to make -Wl,-rpath. Stop`

I believe the root cause of this is
https://github.com/coreutils/coreutils/blob/52e024b/src/local.mk#L485,
which mixes DEPENDENCIES and LDADD. This seems bad, for very relevant
reasons!

-- 
Audrey Dutcher
she/her/hers
https://rhelmot.io/




Acknowledgement sent to Audrey Dutcher <audrey@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#71029; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 18 May 2024 11:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.