Opened 8 years ago

Last modified 6 years ago

#1272 new task

build weekly binary snapshots for generic 32bit linux

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: Website
Component: Packaging Version: svn-trunk
Keywords: Cc: neteler
CPU: x86-32 Platform: Linux

Description

Hi,

I didn't see an existing bug report for this known problem, so I'll start a new one for it.

right now we only provide 64 bit binaries for the weekly generic linux builds, as that's what the build server is. we haven't been able to figure out how to cross-compile to output 32bit binaries from a 64bit system.

short of doing that properly/directly from the ./configure line (suggestions welcome), following in this bug report are some notes for setting up "schroot" on Debian to set up a 32 bit Ubuntu/Lucid? change-root environment.

to decide: run it on the projects or adhoc server?

Hamish

Change History (4)

comment:1 Changed 8 years ago by hamish

(replace "lucid" in the steps with debian release used on the server. make sure release is uncommented in /etc/schroot/schroot.conf and debootstrap release,mirror site are set appropriately)

aptitude install schroot debootstrap

mkdir -p /var/chroot

cd /etc/schroot/
vi schroot.conf

debootstrap --arch i386 --variant=buildd lucid \
   /var/chroot/lucid http://ucmirror.canterbury.ac.nz/ubuntu

mv lucid/ lucid_32bit

cd lucid_32bit/etc/

cd apt
mv sources.list sources.list.orig
cp /etc/apt/sources.list .
cd

mount -t proc proc-chroot /var/chroot/lucid_32bit/proc
mount -t devpts devpts-chroot /var/chroot/lucid_32bit/dev/pts

chroot /var/chroot/lucid_32bit
# edit /etc/fstab while in there?

# copy stuff into the chroot world
cp ~hamish/.inputrc /var/chroot/lucid_32bit/home/hamish/
cp -r /usr/local/src/grass/ /var/chroot/lucid_32bit/usr/local/src/

# copy stuff out of the 32bit chroot back into the native 64bit enviro
cp /var/chroot/lucid_32bit/home/hamish/bin/program.32bit .

Hamish

comment:2 in reply to:  description ; Changed 8 years ago by neteler

Replying to hamish: ...

to decide: run it on the projects or adhoc server?

Perhaps set up a test installation on the adhoc server, if running, repeat on projectsVM?

comment:3 in reply to:  2 Changed 8 years ago by hamish

hamish:

to decide: run it on the projects or adhoc server?

Replying to neteler:

Perhaps set up a test installation on the adhoc server, if running, repeat on projectsVM?

sounds good.

comment:4 Changed 6 years ago by hamish

fwiw Alex asked some weeks ago that we not put any new strain on the VMs for a little while. But a locally controlled build-bot system is still on the wish list.

For nightly Ubuntu packages we can make use of Timmie's recipes on the Ubuntu Team-GRASS PPA.

Hamish

Note: See TracTickets for help on using tickets.