git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: PEEX Gamer <czupux@gmail.com>, git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>,
	Masaya Suzuki <masayasuzuki@google.com>
Subject: Re: Unable to cross compile git. http.c generating errors.
Date: Thu, 11 May 2023 10:39:46 +0700	[thread overview]
Message-ID: <ZFxjglvEHz9ESyRE@debian.me> (raw)
In-Reply-To: <CALpgS-OQzoopjKd2a3NBkaefHoqR_wLop5x3Y7U8e0eVUO7XJQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1438 bytes --]

On Sat, May 06, 2023 at 08:38:40PM +0200, PEEX Gamer wrote:
> I was trying to compile git for x86_64 FreeBSD 13.2 on x86_64 linux
> without any success.
> I was using clang toolchain that worked for native Freebsd 13.2 compilation.
> The errors i had:
> First thing was that config.mak.uname was trying to include sysinfo
> because of host machine being linux which was weird. I ommited this
> error by replacing linux section with freebsd and everythink was
> smooth until http.c which generates output attached in email. Why
> would somethink like this happen when same code was compiled with
> success on FreeBSD machine but for some reason it can't cross compile.
> stdio.h come from official FreeBSD 13.2 base. I checked also when was
> http.c modified but this part is like that for last 5 years. Looks
> like i might have done somethink wrong with my toolchain but the same
> toolchain generated working tests (i ran them on FreeBSD machine,
> worth noting that this tests were using stdio.h) and also built
> working curl from source.

I don't see the error message unless I open this email on Thunderbird
(you attach it as image instead of copy-paste from terminal). Please
show us the error.

Anyway, the culprit line is introduced by e6cf87b12d (http: enable
keep_error for HTTP requests, 2019-01-10), so I Cc: the commit author.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2023-05-11  3:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-06 18:38 Unable to cross compile git. http.c generating errors PEEX Gamer
2023-05-11  3:39 ` Bagas Sanjaya [this message]
2023-05-11  6:28 ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZFxjglvEHz9ESyRE@debian.me \
    --to=bagasdotme@gmail.com \
    --cc=czupux@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=masayasuzuki@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).