On Tue, Feb 14, 2023 at 06:18:55AM +0100, Fabio M. Di Nitto wrote: > The process would have to look like: > > <deploy amd64 debian image and add to CI> (usual) > apt-get install <list of packages + 32 bit versions of them> > git clone gfs2-utils > export CFLAGS/LDFLAGS/CC or whatever env var > <normal build bits go here> > ./autogen.sh > ./configure.. > make > make <tests> > > Using other build tools like debbuild or mock has been problematic in the > past for other projects, might not be the case for gfs2-utils. > > so you can try that all in a local VM and let me know the steps, then we can > add it to CI.
Sure, the commands to build and test a 32-bit version look like this for me: dpkg --add-architecture i386 apt-get update apt-get install --yes build-essential crossbuild-essential-i386 autoconf automake autopoint autotools-dev bison flex check:i386 libblkid-dev:i386 libbz2-dev:i386 libncurses-dev:i386 libtool pkg-config:i386 zlib1g-dev:i386 ./configure --build=x86_64-linux-gnu --host=i686-linux-gnu make make check -- Valentin