Re: Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory

2017-10-19 Thread Ben Hutchings
On Thu, 2017-10-19 at 22:18 +0200, John Paul Adrian Glaubitz wrote: > Hi Mathieu! > > I'm now running into exactly this problem when trying to build the SPL library > on a native ppc64 system for ZFS-on-Linux, see below. > > Can you give me a pointer on how to resolve this issue? > > configure:1

Re: Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory

2017-10-19 Thread John Paul Adrian Glaubitz
On 10/19/2017 10:18 PM, John Paul Adrian Glaubitz wrote: > I'm now running into exactly this problem when trying to build the SPL library > on a native ppc64 system for ZFS-on-Linux, see below. Addtional note: It works fine on a powerpc installation, so I'm confident it's a packaging issue. Adria

Re: Bug#823224: ld: arch/powerpc/lib/crtsavres.o: No such file: No such file or directory

2017-10-19 Thread John Paul Adrian Glaubitz
Hi Mathieu! I'm now running into exactly this problem when trying to build the SPL library on a native ppc64 system for ZFS-on-Linux, see below. Can you give me a pointer on how to resolve this issue? configure:15763: checking whether modules can be built configure:15786: cp conftest.c build &&

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
Hi! On 10/19/2017 02:17 PM, Frank Scheiner wrote: On 10/19/2017 01:04 PM, John Paul Adrian Glaubitz wrote: [...] The patch for d-i/partman-auto increases the size of the NewWorld boot partition to 10 MB for all selections. I just looked at your changes: --- a/recipes-powerpc-powermac_newwo

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
Hi Adrian, On 10/19/2017 01:04 PM, John Paul Adrian Glaubitz wrote: [...] The patch for d-i/partman-auto increases the size of the NewWorld boot partition to 10 MB for all selections. I just looked at your changes: --- a/recipes-powerpc-powermac_newworld/atomic +++ b/recipes-powerpc-powermac

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
On 10/19/2017 01:00 PM, Frank Scheiner wrote: just a pointer: I used "UNRELEASED" instead of "unstable" in the changelogs, but I forgot that `sbuild` won't build a udeb then - at least not for me. Should I better use "unstable" in the future when providing patches? No, UNRELEASED is the correct

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
Hi Frank! On 10/19/2017 12:42 PM, Frank Scheiner wrote: (snipping off the first part as I would like to comment the patches first) Ok then, attached are two patches (one for d-i/partman-auto and one for d-i/grub-installer). The patch for d-i/partman-auto increases the size of the NewWorld boo

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
Hi again, just a pointer: I used "UNRELEASED" instead of "unstable" in the changelogs, but I forgot that `sbuild` won't build a udeb then - at least not for me. Should I better use "unstable" in the future when providing patches? Cheers, Frank

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
Hi Adrian, On 10/19/2017 11:19 AM, John Paul Adrian Glaubitz wrote: * Modifying the NVRAM to automatically boot GRUB. But this can be done easily from OF itself, e.g. with `boot hd:2,BootX` with my modifications. How does yaboot-installer do it? It uses the `nvsetenv` tool via `ybin`, but t

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
Hi Frank! On 10/19/2017 11:03 AM, Frank Scheiner wrote: I'd like to provide an update on d-i/grub-installer for NewWorld Power Macs: Great \o/. Sadly I didn't find the time to follow this until yesterday morning and today in the morning, but I am now closer to a solution, I believe. :-) N

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
Hi all, I'd like to provide an update on d-i/grub-installer for NewWorld Power Macs: Sadly I didn't find the time to follow this until yesterday morning and today in the morning, but I am now closer to a solution, I believe. :-) ## What works ## * Installing `hfsutils` now works automaticall