Build Problem on arm

Dirk Hünniger dirk.hunniger at googlemail.com
Fri Feb 14 09:05:42 GMT 2025


Hi Ilias Tsitsimpis,

Hi Matthias Klose,

there is a problem with the linked ld with ghc on armel and armhf. It is 
caused by malfunction related to the packages binutils and ghc. Can you 
fix it or should I try to remove these two architectures from my 
mediawiki2latex package? I am looking forward to any response even if 
negative. See detailed description below.

Yours Dirk

On 2/12/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