I was trying to make Lazarus compile on Sparc64 for long time.
There was a bug in Free Pascal Compiler that prevented that: https://gitlab.com/freepascal.org/fpc/source/-/issues/40252
I manged to make upstream generate a patch for that and uploaded it to experimental: https://tracker.debian.org/news/1432268/accepted-fpc-322dfsg-21rc1-source-into-experimental/
I tried to connect to kyoto.debian.net to test it, but I got timout on SSH connection.
I've spent the day trying to update my QEMU VM or to install a new one, but it seems that QEMU version shipped with Bookworm is buggy on Sparc64.
So that to say I completely lost he day without any success.
https://wiki.debian.org/M68k/sbuildQEMU https://wiki.debian.org/SH4/sbuildQEMU
Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from experimental and let me know if that is OK?
Or at least provide access to a Sparc64 machine where I can do it myself?
PS: I'm not subscribed to this list, so please keep me in copy.
Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from experimental and let me know if that is OK?
I'll give it a try.
On May 28, 2023, at 10:13 AM, Abou Al Montacir <abou.almontacir@sfr.fr> wrote:
Hi Adrian,
On Sun, 2023-05-28 at 02:10 +0200, John Paul Adrian Glaubitz wrote:This fails because the build process pulled FPC 3.2.2+dfsg-20 from unstable instead of 3.2.2+dfsg-21~rc1 from experimental.
On Sun, 2023-05-28 at 01:25 +0200, John Paul Adrian Glaubitz wrote:
Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from
experimental and let me know if that is OK?
I'll give it a try.
Still fails, unfortunately.
See: https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build
One way would be to force FPC version either in the Lazarus control file or on the machine itself.
<br></div><div>Adrian</div></body></html> --Apple-Mail-BF855C7F-E73B-4E28-90C4-BC5A01D30D50--
On Sun, 2023-05-28 at 01:25 +0200, John Paul Adrian Glaubitz wrote:This fails because the build process pulled FPC 3.2.2+dfsg-20 from unstable instead of 3.2.2+dfsg-21~rc1 from experimental.
Can anyone please, try to rebuild Lazarus on Sparc64 with FPC from experimental and let me know if that is OK?
I'll give it a try.
Still fails, unfortunately.
See: https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build
I will try again later today.
[1] https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build.experimental
Hi Abou!This is great, at least it means that the compiler was fixed.
On Sun, 2023-05-28 at 10:27 +0200, John Paul Adrian Glaubitz wrote:
I will try again later today.
it fails with a different error now which indicates that the Lazarus
build system doesn't know about sparc64 as an architecture [1]:
(9009) Assembling lazbuild
(9022) Compiling resource ../units/sparc64-linux/nogui/lazbuild.or
Error: Unknown architecture 'sparc64'
Error: (9029) Error while compiling resources
Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Adrian
[1] https://people.debian.org/~glaubitz/lazarus_2.2.6+dfsg2-2_sparc64.build.experimental
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 13:47:50 |
Calls: | 6,667 |
Calls today: | 1 |
Files: | 12,214 |
Messages: | 5,336,557 |