Re: Bug#1121530: libreoffice: Please build with -fPIE on sparc64 to fix FTBFS
John Paul Adrian Glaubitz <[email protected]> Sat, 29 Nov 2025 12:33:55 +0100
| Newsgroups | gmane.linux.debian.devel.openoffice,gmane.linux.debian.ports.sparc |
|---|---|
| Message-ID | <1cd7b19542ea5b8599e1193a7a22d5c8a2f23101.camel@physik.fu-berlin.de> |
Hi Rene, On Sat, 2025-11-29 at 09:20 +0100, Rene Engelhard wrote: > Am 28.11.25 12:02, schrieb John Paul Adrian Glaubitz: > >=20 > > The attached patch replaces "-fpic" with "-fPIC" in the lp-solve build = script which > > seems to be enough to fix this particular build issue on sparc64. >=20 > Can you please do some care in your "patches" so that one doesn't need to > replicate anything in them which makes the patch moot in the first place? I'm not familiar with the libreoffice as you are, so that patch was just a = suggestion. > Here even a new patch patching ccc is not needed at all. In this case > external/lpsolve/lp_solve_5.5.patch already adds > + pic=3D-fpic > itself. Which is used. >=20 > So the correct patch is > --- external/lpsolve/lp_solve_5.5.patch-old 2025-11-28 19:18:23.702374716= +0100 > +++ external/lpsolve/lp_solve_5.5.patch 2025-11-28 19:18:33.730426860 +01= 00 > @@ -28,7 +28,7 @@ > + a=3Da > + soprefix=3Dlib > + libs=3D"-lm" > -+ pic=3D-fpic > ++ pic=3D-fPIC > + ldflags=3D"-Wl,-Bsymbolic -Wl,-soname,liblpsolve55.$so" > fi That's great! Hope you can make this change as suggested. Once a new versio= n of the libreoffice package has been uploaded, I'll look into debugging possible te= stsuite failures on sparc64. Thanks, Adrian --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913