Build Problem on arm
Matthias Klose
doko at debian.org
Wed Feb 12 11:07:16 GMT 2025
this is #1094995. Please address this in ghc. For trixie, it seems to be
safe to just add the gold dependency. For trixie+1, please just use the
default linker.
On 12.02.25 11:57, Adrian Bunk wrote:
> On Wed, Feb 12, 2025 at 10:52:54AM +0100, Dirk Hünniger wrote:
>> Hi,
>
> Hi Dirk,
>
>> my name is Dirk Hünniger, I am the maintainer of a package called
>> mediawiki2latex. It has status "Build-Attempted" on the architectures armel
>> and armhf while compiling properly on all other officially supported
>> architectures. From the error message I assume that the linker is missing in
>> the build environment. What can I do to resolve the issues. Georges
>> Khaznadar has already issued a giveback a few days ago, which didn't resolve
>> the situation. I think at first the problem in the build environment has to
>> be fixed and after that another giveback is needed.
>
> this is due to
> https://tracker.debian.org/news/1612189/accepted-binutils-244-1-source-into-unstable/
>
> combined with
>
> ghc (9.6.6-1~exp5) experimental; urgency=medium
> * Use gold on arm{el,hf}
>
> This should be fixed on the binutils or ghc side.
>
>> Yours Dirk
>
> cu
> Adrian
>
>> PS: See build log below
>>
>>> debian/rules override_dh_auto_configure
>>> make[1]: Entering directory '/build/reproducible-path/mediawiki2latex-8.26'
>>> ghc /build/reproducible-path/mediawiki2latex-8.26/Setup.lhs
>>> [1 of 2] Compiling Main ( /build/reproducible-path/mediawiki2latex-8.26/Setup.lhs, /build/reproducible-path/mediawiki2latex-8.26/Setup.o )
>>> [2 of 2] Linking /build/reproducible-path/mediawiki2latex-8.26/Setup
>>>
>>> <no location info>: error:
>>> Warning: Couldn't figure out linker information!
>>> Make sure you're using GNU ld, GNU gold or the built in OS X linker, etc.
>>> collect2: fatal error: cannot find ‘ld’
>>> compilation terminated.
>>> ghc-9.6.6: `arm-linux-gnueabi-gcc' failed in phase `Linker'. (Exit code: 1)
>>> make[1]: *** [debian/rules:5: override_dh_auto_configure] Error 1
>>> make[1]: Leaving directory '/build/reproducible-path/mediawiki2latex-8.26'
>>> make: *** [debian/rules:14: binary-arch] Error 2
>
More information about the Pkg-haskell-maintainers
mailing list