Debian Bug report logs - #1103938
curl FTCBFS: intentionally broken for cross compilation

version graph

Package: src:curl; Maintainer for src:curl is Debian Curl Maintainers <[email protected]>;

Reported by: Helmut Grohne <[email protected]>

Date: Wed, 23 Apr 2025 05:30:01 UTC

Severity: important

Tags: patch, pending, upstream

Found in version curl/8.13.0-1

Fixed in version curl/8.13.0-4

Done: Samuel Henrique <[email protected]>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Curl Maintainers <[email protected]>:
Bug#1103938; Package src:curl. (Wed, 23 Apr 2025 05:30:02 GMT) (full text, mbox, link).


Acknowledgement sent to Helmut Grohne <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Curl Maintainers <[email protected]>. (Wed, 23 Apr 2025 05:30:02 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Helmut Grohne <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: curl FTCBFS: intentionally broken for cross compilation
Date: Wed, 23 Apr 2025 07:25:27 +0200
[Message part 1 (text/plain, inline)]
Source: curl
Version: 8.13.0-1
Tags: patch upstream
Severity: important
Justification: architecture cross bootstrap regression
User: [email protected]
Usertags: rebootstrap
User: [email protected]
Usertags: ftcbfs

Hi,

curl intentionally broke cross compilation in its last upstream release.
It stopped installing fish/zsh completion files, because that's
impossible for cross compilation. Turns out, that's factually wrong and
skipping the files makes the build fail. I'm attaching a revert for your
convenience. Please include it at least in Debian even if it ends up not
being upstreamable.

Helmut
[cross.patch (text/x-diff, attachment)]

Information forwarded to [email protected], Debian Curl Maintainers <[email protected]>:
Bug#1103938; Package src:curl. (Wed, 23 Apr 2025 06:12:01 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Stenberg <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Curl Maintainers <[email protected]>. (Wed, 23 Apr 2025 06:12:01 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Daniel Stenberg <[email protected]>
To: Helmut Grohne <[email protected]>, [email protected]
Cc: Debian Bug Tracking System <[email protected]>, [email protected], Debian Curl Maintainers <[email protected]>
Subject: Re: Bug#1103938: curl FTCBFS: intentionally broken for cross compilation
Date: Wed, 23 Apr 2025 08:00:27 +0200 (CEST)
On Wed, 23 Apr 2025, Helmut Grohne wrote:

> curl intentionally broke cross compilation in its last upstream release.

This is a ridiculous and incorrect statement.

Before curl 8.13.0, the completion scripts would not be produced for 
cross-compiles because they required *executing* the curl executable to get 
generated.

Since curl 8.13.0, the completion scripts are generated fine even for 
cross-compiles since the dependency on the executable has been removed.

(There might still be bugs of course.)

 / daniel.haxx.se



Information forwarded to [email protected], Debian Curl Maintainers <[email protected]>:
Bug#1103938; Package src:curl. (Wed, 23 Apr 2025 06:12:01 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Stenberg <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Curl Maintainers <[email protected]>. (Wed, 23 Apr 2025 06:12:01 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Curl Maintainers <[email protected]>:
Bug#1103938; Package src:curl. (Wed, 23 Apr 2025 09:18:01 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Henrique <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Curl Maintainers <[email protected]>. (Wed, 23 Apr 2025 09:18:01 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Samuel Henrique <[email protected]>
To: Helmut Grohne <[email protected]>, [email protected]
Cc: Daniel Stenberg <[email protected]>, Debian Curl Maintainers <[email protected]>, [email protected]
Subject: Re: Bug#1103938: curl FTCBFS: intentionally broken for cross compilation
Date: Wed, 23 Apr 2025 10:15:21 +0100
Hello Helmut,

On Wed, 23 Apr 2025 at 06:30, Helmut Grohne <[email protected]> wrote:
> curl intentionally broke cross compilation in its last upstream release.
> It stopped installing fish/zsh completion files, because that's
> impossible for cross compilation. Turns out, that's factually wrong and
> skipping the files makes the build fail. I'm attaching a revert for your
> convenience. Please include it at least in Debian even if it ends up not
> being upstreamable.

I think you misunderstood the intentions and order of events here, we never
installed shell completions for curl [0] and upstream actually solved the root
of that problem on 8.13.0[1], they just forgot to update the makefiles.

Saying there's intention in that can be upsetting to upstream when that's not
true[2], but I know this was just a misunderstanding and not ill intended. I
appreciate your work and reporting this!

I have submitted this patch upstream at https://github.com/curl/curl/pull/17148


Regards,

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812965
[1] https://github.com/curl/curl/commit/795425f765389df8aa63c8b3fddd21ab2a3dc193
[2] Our words as Debian Developers carry a lot of weight some times.

-- 
Samuel Henrique <samueloph>



Information forwarded to [email protected], Debian Curl Maintainers <[email protected]>:
Bug#1103938; Package src:curl. (Wed, 23 Apr 2025 18:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to Helmut Grohne <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Curl Maintainers <[email protected]>. (Wed, 23 Apr 2025 18:48:01 GMT) (full text, mbox, link).


Message #25 received at [email protected] (full text, mbox, reply):

From: Helmut Grohne <[email protected]>
To: Daniel Stenberg <[email protected]>
Cc: [email protected]
Subject: Re: Bug#1103938: curl FTCBFS: intentionally broken for cross compilation
Date: Wed, 23 Apr 2025 20:11:07 +0200
Hello Daniel,

please accept apologies for my bad conduct. What I have written does not
meet Debian's code of conduct and its second item in particular.

I sent it in a hurry after having been faced with a multitude of
regressions in various packages while feeling pressured by Debian's
freeze timeline. This may serve as an explanation, but it does not
excuse what I wrote.

On Wed, Apr 23, 2025 at 08:00:27AM +0200, Daniel Stenberg wrote:
> On Wed, 23 Apr 2025, Helmut Grohne wrote:
> 
> > curl intentionally broke cross compilation in its last upstream release.
> 
> This is a ridiculous and incorrect statement.

It is. What is true, is that the curl Debian package used to cross build
three weeks ago and now fails. My premature conclusion and accusation is
not.

> Before curl 8.13.0, the completion scripts would not be produced for
> cross-compiles because they required *executing* the curl executable to get
> generated.

I did not look at the history indeed. Regularly, I am encountering
broken cross compilation specific branches where removing them fixes
things. I blindly assumed it to be the case here whereas that totally
was not the case as you rightly pointed out.

> Since curl 8.13.0, the completion scripts are generated fine even for
> cross-compiles since the dependency on the executable has been removed.

Thanks for making that work in a much better way than before. Indeed,
things just work after removing the left-over branches. What I did not
realize was that prior to 8.13.0, completion was not being installed
during cross compilation at all.

Quite certainly, the way I reported this problem did not help in fixing
it quickly.

Helmut




Message sent on to Helmut Grohne <[email protected]>:
Bug#1103938. (Wed, 23 Apr 2025 22:09:02 GMT) (full text, mbox, link).


Message #28 received at [email protected] (full text, mbox, reply):

From: Samuel Henrique <[email protected]>
To: [email protected]
Subject: Bug#1103938 marked as pending in curl
Date: Wed, 23 Apr 2025 22:07:36 +0000
Control: tag -1 pending

Hello,

Bug #1103938 in curl reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/curl/-/commit/b5a38c50595e209d4542d3a4bcb0602c61bff5e3

------------------------------------------------------------------------
d/p/autotools_install_shell_completion_files_on_cross_build: Fix FTCBFS, thanks to Helmut Grohne (closes: #1103938)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1103938



Added tag(s) pending. Request was from Samuel Henrique <[email protected]> to [email protected]. (Wed, 23 Apr 2025 22:09:02 GMT) (full text, mbox, link).


Reply sent to Samuel Henrique <[email protected]>:
You have taken responsibility. (Wed, 23 Apr 2025 23:21:02 GMT) (full text, mbox, link).


Notification sent to Helmut Grohne <[email protected]>:
Bug acknowledged by developer. (Wed, 23 Apr 2025 23:21:02 GMT) (full text, mbox, link).


Message #35 received at [email protected] (full text, mbox, reply):

From: Debian FTP Masters <[email protected]>
To: [email protected]
Subject: Bug#1103938: fixed in curl 8.13.0-4
Date: Wed, 23 Apr 2025 23:19:28 +0000
[Message part 1 (text/plain, inline)]
Source: curl
Source-Version: 8.13.0-4
Done: Samuel Henrique <[email protected]>

We believe that the bug you reported is fixed in the latest version of
curl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Henrique <[email protected]> (supplier of updated curl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 24 Apr 2025 00:02:26 +0100
Source: curl
Architecture: source
Version: 8.13.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Curl Maintainers <[email protected]>
Changed-By: Samuel Henrique <[email protected]>
Closes: 1103938
Changes:
 curl (8.13.0-4) unstable; urgency=medium
 .
   * d/tests/control: Install curl for the openssl tests
   * d/p/autotools_install_shell_completion_files_on_cross_build: Fix FTCBFS,
     thanks to Helmut Grohne (closes: #1103938)
Checksums-Sha1:
 5a1057e7866a6a207d7ce034ef8e57cce7078820 3231 curl_8.13.0-4.dsc
 fbd456d9458e9b2fe66270bff53a45757c7396fd 54724 curl_8.13.0-4.debian.tar.xz
 e7f2a6c7b87c2d94eb1ce1a9ee02497a38c66653 11970 curl_8.13.0-4_amd64.buildinfo
Checksums-Sha256:
 513231959f1528ffa2664496494f9d3b9117a0b6bb5df671670cbdaab19e1815 3231 curl_8.13.0-4.dsc
 420c7cb2178aee0ab9a2df300df7811fa1dfc997be053253a4ed6944efd9b26a 54724 curl_8.13.0-4.debian.tar.xz
 77abea0d95a9eab903683858e28a058fbfd5e63a1165d019bebc7ca07633baaf 11970 curl_8.13.0-4_amd64.buildinfo
Files:
 663f50b250cb115a3c080425cdd42500 3231 web optional curl_8.13.0-4.dsc
 132968aee34d3571ca1801ef5b77988e 54724 web optional curl_8.13.0-4.debian.tar.xz
 36f5af4054b683f81b31b921700ebd97 11970 web optional curl_8.13.0-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEBdtqg34QX0sdAsVfu6n6rcz7RwcFAmgJctMACgkQu6n6rcz7
Rwf3yw//cgOP+7mFdD6fUkeTcei8ccK41mAoNUL6/XnEaSAyfdLOSs6nbUP6fn3d
4706f3kFxBzMNqpXTtuzod4ZXHW7onW0cvU7KPuZDCgd0+bg92S+amQ0yEFdbnAY
0WY+UOnzVlR+5lyZDs2hm4AoddXeYwLkZn8H4Nkbr9pho9VW5N/0eedrFaCAS/7N
wWmaWRUhTxv6BlhkTzRT0RyXBEF2G2jxhOFlUlEKXyc3NFrt4fNaOTFE8MXGfFKx
lBUW1tZX9hxB8ZDXqzQgicgsFEmfB8MI4FBA8mhX7/StJJWgUZvgn20YjfXnv6su
gMUI9Zvw/WNKvGn6g4RK86KubjO4rLVJdDHCXQW+935lijbOeDi/aAjFNtbpa3oD
R2oA6uHVVDc2VO2kix8vIOmFmJric/aUMc+P/2g9rH5ytcv5fpcNf0EI0IFjzQL8
QWEgaobVoyQ82BFDHzoy4tt6l3PrX1wBOoLyw4B+i33HMS7BWZSRCo8AETBQBTDk
ANzx9b2RdAIPf46NmPdhiEaGaAt1J6NloyUnF9taOtS9mZSwGt7NjQOEZOwlqu3s
UmHFLXIm/I9MYX34CDjjyeiXXuPFczR1QItrFD6F2e0C/33PxW9NvMme/eNU1d2R
uKZi5UZhZy2vmutw2MkM2JarM6Df8atA1jhfpn7eYIVC52qTLj0=
=7f0v
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Message sent on to Helmut Grohne <[email protected]>:
Bug#1103938. (Wed, 23 Apr 2025 23:24:02 GMT) (full text, mbox, link).


Message #38 received at [email protected] (full text, mbox, reply):

From: Samuel Henrique <[email protected]>
To: [email protected]
Subject: Bug#1103938 marked as pending in curl
Date: Wed, 23 Apr 2025 23:20:45 +0000
Control: tag -1 pending

Hello,

Bug #1103938 in curl reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/curl/-/commit/b5a38c50595e209d4542d3a4bcb0602c61bff5e3

------------------------------------------------------------------------
d/p/autotools_install_shell_completion_files_on_cross_build: Fix FTCBFS, thanks to Helmut Grohne (closes: #1103938)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1103938



Added tag(s) pending. Request was from Samuel Henrique <[email protected]> to [email protected]. (Wed, 23 Apr 2025 23:24:02 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <[email protected]> to [email protected]. (Tue, 03 Jun 2025 07:26:22 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Wed Sep 3 01:10:58 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.