[Pkg-haskell-maintainers] Bug#787304: uuagc: please bootstrap it onto arm64

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Sun May 31 07:45:57 UTC 2015


Source: uuagc
Version: 0.9.42.3-4

The package uuagc Build-Depends on itself so someone has to do an
initial binary upload on each architecture.

"The font end of the UUAG system has been bootstrapped using the UUAGC
system itself. As a consequence the distribution contains both a
generated UUAGC system, and the code to generate it from. Just to get
you up and running."

( http://foswiki.cs.uu.nl/foswiki/HUT/AttributeGrammarSystem )

Because of the above, one can easily build it manually from the
upstream source using the following recipe, which I include in case
someone unfamiliar with the package ends up doing it.

On a Debian unstable arm64 system (real or QEMU chroot):

sudo apt update

# Get the Debian source:
mkdir uuagc
cd uuagc
apt-get source uuagc
cd uuagc-0.9.42.3/

# Refer to debian/control and install the other Build-Depends:
sudo apt-get install build-essential debhelper haskell-devscripts \
 cdbs ghc libghc-uuagc-cabal-dev libghc-mtl-dev libghc-src-exts-dev

# Run the commands at the bottom of README:
ghc --make Setup.hs -o setup
./setup configure --user
./setup build
./setup sdist

# Put "uuagc" on your PATH:
mkdir ../bin
cp dist/build/uuagc/uuagc ../bin
PATH=`pwd`/../bin:$PATH

# Build the package with -d:
dpkg-buildpackage -b -d

# Just to be sure, install it and rebuild with the installed package:
sudo dpkg -i ../uuagc_0.9.42.3-4_arm64.deb
rm -r ../bin
dpkg-buildpackage -b

# Finally use DD magic to upload uuagc_0.9.42.3-4_arm64.deb



More information about the Pkg-haskell-maintainers mailing list