From: Fabio M. Di Nitto Date: Wed, 15 Feb 2023 05:55:36 +0100 Subject: [Cluster-devel] [ClusterLabs] gfs2-utils 3.5.0 released In-Reply-To: References: <27e6ad15-381b-12b9-3c3a-310bd886a94a@redhat.com> <417a9b47-f893-2a9e-25f1-bb7e9feb20e2@redhat.com> Message-ID: <46f838d2-96d5-5109-95c5-9e7056bee87c@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 14/02/2023 21.17, Valentin Vidic wrote: > On Tue, Feb 14, 2023 at 06:18:55AM +0100, Fabio M. Di Nitto wrote: >> The process would have to look like: >> >> (usual) >> apt-get install >> git clone gfs2-utils >> export CFLAGS/LDFLAGS/CC or whatever env var >> >> ./autogen.sh >> ./configure.. >> make >> make >> >> 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 doh.. didn?t think of cross compilation. > 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 > ack perfect, we already have a Debian CI builder dedicated to arm cross compilation, we can tweak it to add i386 as well. Thanks Fabio