Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Ziegler <br025@umbiko.net>
To: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Cc: buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH 1/2] boot/syslinux: Bump to 6.04-pre2
Date: Sun, 06 Sep 2026 05:55:08 +0000	[thread overview]
Message-ID: <0b863079fdd5738b4becfcc11e86c93f@umbiko.net> (raw)
In-Reply-To: <mailman.5079.1788156070.3179391.buildroot@buildroot.org>

Hi Alexander,

I was curious if I could replace the syslinux host package and tried 
this patch; unfortunately I ran into various issues.

> 
> And change the source URL to use new upstream GIT repo:
> http://repo.or.cz/syslinux.git
> The revision to build comes from Archlinux syslinux package.
> 
> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> ---
>  ...bios-Fix-alignment-change-with-gcc-5.patch |  82 ---
>  ...Use-the-host-toolchain-for-prepcore.patch} |   8 +-
>  ...-Disable-PIE-to-avoid-FTBFS-on-amd64.patch |  30 -
>  ...nux-Use-the-host-toolchain-to-build.patch} |   0
>  ...-binutils-note-gnu-property-section.patch} |   0
>  ...sk-Force-ld-output-format-to-32-bits.patch |  32 -
>  ...0004-efi-main.c-include-efisetjmp.h.patch} |   0
>  ...tils-Use-the-host-toolchain-to-build.patch |  60 --
>  ...ition-is-now-part-of-the-exports-of-.patch |  37 --
>  ...ump-calls-to-fit-the-new-declaration.patch |  37 --
>  ...per-build-it-with-the-host-toolchain.patch |  32 -
>  ...-try-to-guess-the-sections-alignment.patch | 295 ---------
>  ...10-core-Clean-up-the-i386-bios-build.patch | 622 ------------------
>  ...-sysmacros-h-for-major-minor-makedev.patch |  34 -
>  ...multiple-definition-of-symbol-errors.patch |  25 +-

utils/check-package shows warnings; you should add "Upstream:" tags for 
the patches you add.

>  boot/syslinux/syslinux.hash                   |   3 +-
>  boot/syslinux/syslinux.mk                     |   6 +-

Building syslinux ran into some errors; this was the sequence:

ERROR: No hash found for syslinux-bf6db5b4-git4.tar.gz

Applying 0004-efi-main.c-include-efisetjmp.h.patch using patch:
patching file efi/main.c
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to file efi/main.c.rej

Applying 0013-Fix-build-with-gnu-efi-version-3.0.9.patch using patch:
patching file mk/lib.mk
Hunk #1 FAILED at 186.
1 out of 2 hunks FAILED -- saving rejects to file mk/lib.mk.rej

Applying 0021-load_linux-correct-a-type.patch using patch:
patching file com32/lib/syslinux/load_linux.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file 
com32/lib/syslinux/load_linux.c.rej

Applying 0024-efi-main.c-fix-incorrect-type-of-load_error_buf.patch 
using patch:
patching file efi/main.c
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file efi/main.c.rej

make[6]: *** No rule to make target 'setjmp.o', needed by 
'libcom32core.a'.  Stop.
make[5]: *** 
[/home/data/buildroot.x86_64/build/syslinux-6.04/com32/Makefile:8: lib] 
Error 2
make[4]: *** 
[/home/data/buildroot.x86_64/build/syslinux-6.04/Makefile:288: com32] 
Error 2
make[3]: *** 
[/home/data/buildroot.x86_64/build/syslinux-6.04/Makefile:257: bios] 
Error 2
make[2]: *** [Makefile:102: bios] Error 2
make[1]: *** [package/pkg-generic.mk:273: 
/home/data/buildroot.x86_64/build/syslinux-6.04/.stamp_built] Error 2

(this and the patch error with 0013 look as if a patch is missing before 
0013)

I gave up after this one.

<...>

> diff --git a/boot/syslinux/syslinux.hash b/boot/syslinux/syslinux.hash
> index 9bec3a20e7..2a98641da5 100644
> --- a/boot/syslinux/syslinux.hash
> +++ b/boot/syslinux/syslinux.hash
> @@ -1,4 +1,3 @@
> -# From 
> https://www.kernel.org/pub/linux/utils/boot/syslinux/sha256sums.asc
> -sha256  
> 26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e  
> syslinux-6.03.tar.xz
>  # Locally computed
> +sha256  
> d6d6ed482ff30358ce203d74d4e35413185485ebb315e89db24790e769e23e4c  
> syslinux-bf6db5b4-br1.tar.gz
>  sha256  
> dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa  
> COPYING
> diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk
> index f938634c35..3d24869e59 100644
> --- a/boot/syslinux/syslinux.mk
> +++ b/boot/syslinux/syslinux.mk
> @@ -4,9 +4,9 @@s
>  #
>  
> ################################################################################
> 
> -SYSLINUX_VERSION = 6.03
> -SYSLINUX_SOURCE = syslinux-$(SYSLINUX_VERSION).tar.xz
> -SYSLINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux
> +SYSLINUX_VERSION = bf6db5b4
> +SYSLINUX_SITE = http://repo.or.cz/syslinux.git
> +SYSLINUX_SITE_METHOD = git

You could also use the Debian archive for this version, it would save 
cloning ~50 MB of repository:

https://snapshot.debian.org/archive/debian/20260905T023709Z/pool/main/s/syslinux/syslinux_6.04~git20190206.bf6db5b4%2Bdfsg1.orig.tar.xz

>  SYSLINUX_LICENSE = GPL-2.0+
>  SYSLINUX_LICENSE_FILES = COPYING
> --
> 2.55.0
> 

Kind regards,
Andreas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

       reply	other threads:[~2026-09-06  5:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5079.1788156070.3179391.buildroot@buildroot.org>
2026-09-06  5:55 ` Andreas Ziegler [this message]
2026-09-19 16:58   ` [Buildroot] [PATCH 1/2] boot/syslinux: Bump to 6.04-pre2 Alexander Sverdlin
2026-09-06  6:38 ` Andreas Ziegler
2026-08-30 18:19 Alexander Sverdlin
2026-09-19 16:23 ` Thomas Petazzoni via buildroot

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

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

  git send-email \
    --in-reply-to=0b863079fdd5738b4becfcc11e86c93f@umbiko.net \
    --to=br025@umbiko.net \
    --cc=alexander.sverdlin@gmail.com \
    --cc=buildroot@buildroot.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox