You are not logged in.

#1 2014-08-26 16:01:54

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,929
Website

Building i686 under x86_64 error

Have tried arch wiki guide on building i686 under x86_64 but am getting this error

--2014-08-26 17:01:13--  https://aur.archlinux.org/packages/br/broadcom-wl/broadcom-wl.tar.gz
Resolving aur.archlinux.org (aur.archlinux.org)... 5.9.250.164, 2a01:4f8:160:3033::2
Connecting to aur.archlinux.org (aur.archlinux.org)|5.9.250.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2528 (2.5K) [application/x-gzip]
Saving to: ‘STDOUT’

100%[==============================================================================================>] 2,528       --.-K/s   in 0s      

2014-08-26 17:01:13 (725 MB/s) - written to stdout [2528/2528]

==> Making package: broadcom-wl 6.30.223.248-1 (Tue 26 Aug 17:01:13 BST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: Unknown download protocol: http

My makepkg.i686.conf looks like this

CARCH="i686"
CHOST="i686-pc-linux-gnu"
CFLAGS="-m32 -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="${CFLAGS}"
BUILDENV=(fakeroot !distcc color !ccache check !sign)

An am using this command

linux32 makepkg -src --config /etc/makepkg.i686.conf

Would very much like to build i686 packages for my laptop under x86_64 (desktop is much faster) not sure what the problem is?


Mr Green

Offline

#2 2014-08-27 02:57:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,656

Re: Building i686 under x86_64 error

The problem is that you have no DLAGENTS defined in in that conf file.

Why not just use the extra-i686-build helper script?

Online

#3 2014-08-27 07:43:43

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,730
Website

Re: Building i686 under x86_64 error

Scimmia wrote:

The problem is that you have no DLAGENTS defined in in that conf file.

Why not just use the extra-i686-build helper script?

Or try ccm.

Offline

#4 2014-08-27 18:19:58

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,929
Website

Re: Building i686 under x86_64 error

Loaded ccm will read manual and take it for a spin. smile thanks


Mr Green

Offline

#5 2014-08-27 18:54:59

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,730
Website

Re: Building i686 under x86_64 error

YW.  I wrote ccm to minimize the number of commands I needed for building.  I find the local repo within the chroot very handy as well.  Lemme know how you like it.

EDIT:
icudo.jpg

Last edited by graysky (2014-08-27 19:00:53)

Offline

#6 2014-08-27 20:11:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,929
Website

Re: Building i686 under x86_64 error

I will post my progress in the community thread (just noticed I had tried once before). Been using virtualbox with a an arch i686 to do the work, but that is a real pain in the backside.


Mr Green

Offline

#7 2014-08-28 03:48:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,656

Re: Building i686 under x86_64 error

Wow, VirtualBox? Seriously, take a look at the dev-tools package. All of the packages in the repos are built with the {extra,testing}-<arch>-build helper scripts, including the i686 ones.

Last edited by Scimmia (2014-08-28 03:49:57)

Online

Board footer

Powered by FluxBB