Patrick Masotta
2014-Dec-22 17:11 UTC
[syslinux] check-gnu-efi.sh: print the output of build-gnu-efi.sh
I really think we should not take chances; Syslinux source should include (probably as an optional download tarball) the gnu-efi used to build the particular Syslinux version. Pat -------------------------------------------- On Mon, 12/22/14, Ady <ady-sf at hotmail.com> wrote: Subject: Re: [syslinux] check-gnu-efi.sh: print the output of build-gnu-efi.sh To: syslinux at zytor.com Date: Monday, December 22, 2014, 9:29 AM > Syslinux depended on too many bleeding edge commits of gnu-efi to > make it viable. That _seems_ to be no longer accurate. The official 6.03 release (2014Oct06) was built based on the gnu-efi commit: ab54e2b40e914d0ca01dc3d44c8d4eb8517bf999 from 2014Feb13. At the time Syslinux 6.03 was released, the build was no longer using a "bleeding edge" commit of gnu-efi (it was several months old and dozens of commits old). By the time I am writing this email, the Syslinux source code is still pointing to the same "old" commit and there are more than 50 newer ones in gnu-efi. Although at some point there were reports (maybe it was just one, or two) that building with a specific newer commit of gnu-efi would fail, I believe that there should be a new attempt to build Syslinux with a newer gnu-efi commit / version, as to at least try to reduce the reported problems about syslinux.efi failing in certain VM environments (OVMF, KVM, whatever). I'm not saying it has to be now, but it might be worth testing this matter before the next pre-release (whenever it might occur). In particular, the *gnu-efi.sh scripts in Syslinux should be tested with the new gnu-efi git tree (changed, 2014Nov25). > It also levels the field such that everyone has the same version. Using a consistent version / commit of gnu-efi makes sense. Otherwise, the resulting behavior could be changing (or the build might fail for some reason), according to whichever version / commit is "freely" used. As I said above, it might be worth pointing the gnu-efi submodule to a newer "consistent" commit (or version) and resolve any potential issues with it before the next Syslinux pre-release.? Regards, Ady. _______________________________________________ Syslinux mailing list Submissions to Syslinux at zytor.com Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux
Ady
2014-Dec-22 17:47 UTC
[syslinux] check-gnu-efi.sh: print the output of build-gnu-efi.sh
> I really think we should not take chances; > Syslinux source should include (probably as an optional download tarball) > the gnu-efi used to build the particular Syslinux version.> > apt-get is awesome but after running > LANG=C apt-get source syslinux > on my Ubuntu 14.04 I just got Syslinux 4.05> The sources of a package like syslinux should not depend on > uncontrolled repositories, specially when part of the included code > is particularly sensitive to versioning.> I really do not care having duplicated gnu-efi on my system if I > know that one of them is the one that really works with Syslinux > 6.03 Today getting Syslinux 6.03 compiled for the first time is > becoming a real PITA.> PatYou asked what else is needed. Patches are welcome. Debian already does what it needs: http://sources.debian.net/src/syslinux/3:6.03%2Bdfsg-4/debian/patches/00 04-gnu-efi-git.patch/ As an additional example, Mageia solves it for its development environment: http://svnweb.mageia.org/packages/cauldron/syslinux/current/SOURCES/sysl inux-nogit.patch?view=markup&pathrev=600959 If you are using Ubuntu 14.04 and you want to use Syslinux 6.03, then either: _ use the Debian relevant packages related to Syslinux 6.03; or, _ use the built-in binaries already included in the official upstream distribution archives from kernel.org. Official upstream Syslinux will still be built with a specific commit of gnu-efi and using git. Regards, Ady.
Patrick Masotta
2014-Dec-22 19:50 UTC
[syslinux] check-gnu-efi.sh: print the output of build-gnu-efi.sh
> Debian already does what it needs:not quite: http://sources.debian.net/src/syslinux/3:6.03%2Bdfsg-4/debian/patches/0004-gnu-efi-git.patch/ only patches "clean-gnu-efi.sh"; applying that patch only does not solve the building error. But removing the same lines removed from "clean-gnu-efi.sh" at "build-gnu-efi.sh" does in fact solve the issue and I was able to build syslinux. The gnu-efi code was already there. Thanks guys for your help Pat -------------------------------------------- On Mon, 12/22/14, Ady <ady-sf at hotmail.com> wrote: Subject: Re: [syslinux] check-gnu-efi.sh: print the output of build-gnu-efi.sh To: syslinux at zytor.com Date: Monday, December 22, 2014, 10:47 AM You asked what else is needed. Patches are welcome. Debian already does what it needs: http://sources.debian.net/src/syslinux/3:6.03%2Bdfsg-4/debian/patches/00 04-gnu-efi-git.patch/ As an additional example, Mageia solves it for its development environment: http://svnweb.mageia.org/packages/cauldron/syslinux/current/SOURCES/sysl inux-nogit.patch?view=markup&pathrev=600959 If you are using Ubuntu 14.04 and you want to use Syslinux 6.03, then either: _ use the Debian relevant packages related to Syslinux 6.03; or, _ use the built-in binaries already included in the official upstream distribution archives from kernel.org. Official upstream Syslinux will still be built with a specific commit of gnu-efi and using git. Regards, Ady. _______________________________________________ Syslinux mailing list Submissions to Syslinux at zytor.com Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux
Gene Cumm
2014-Dec-23 17:40 UTC
[syslinux] check-gnu-efi.sh: print the output of build-gnu-efi.sh
On Mon, Dec 22, 2014 at 12:11 PM, Patrick Masotta <masottaus at yahoo.com> wrote:> I really think we should not take chances; > Syslinux source should include (probably as an optional download tarball) > the gnu-efi used to build the particular Syslinux version.It does, presuming you download the binary/source archive file. -- -Gene