Source: ghc
Version: 9.0.2-4
Severity: normal
User: helm...@debian.org
Usertags: rebootstrap
X-Debbugs-Cc: helm...@debian.org

Hi!

The debian/rules file for GHC has the following section:

# Sort out the binaries                                                         
                                                                                
   
if inplace/bin/ghc-stage2 --info | grep '"Have interpreter","NO"'; then \
    cd debian/tmp/usr/bin ;rm -f ghci* runghc* runhaskell*; \
fi

This will obviously fail when performing a cross-build.

Hence, this part should only be run if the condition "ifeq (NO,$(BUILD_CROSS))" 
is met.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to