Opened 13 years ago

Closed 4 years ago

#1272 closed task (wontfix)

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 (5)

comment:1 by hamish, 13 years ago

(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

in reply to:  description ; comment:2 by neteler, 13 years ago

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?

in reply to:  2 comment:3 by hamish, 13 years ago

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 by hamish, 11 years ago

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

comment:5 by neteler, 4 years ago

Resolution: wontfix
Status: newclosed

Taking liberty to close it as mainstream 32bit binaries are of very low interest nowadays...

Note: See TracTickets for help on using tickets.