Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2019 16:31:20 +0000
From:      Mark Linimon <linimon@lonesome.com>
To:        Kevin Smallman <pipeline79@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: build 32-bit binary on powerpc64
Message-ID:  <20191010163119.GC27310@lonesome.com>
In-Reply-To: <CAED5WM9pS-aDKjGxetoD5KehW4ByVp6ihzKDadiDWPoA%2BXpBcA@mail.gmail.com>
References:  <CAED5WM9pS-aDKjGxetoD5KehW4ByVp6ihzKDadiDWPoA%2BXpBcA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 10, 2019 at 03:05:01PM +0100, Kevin Smallman wrote:
> it naturally comes up with the error - 'This package is for i386 only,

IMHO this is usually an indication that you are looking at a _very_
old port, because this construct was often used around the time that
the amd64 arch was "new", in order to constrain it to "just the arch
that we know that works".  On a recent run, there were 54 of those.
If this is the case, then honestly, you're probably on your own to
figure out how to make the port work at all.

> Is there some way I could tell the ports system to build this for
> powerpc32 this one time?

Look for a line in the port Makefile corresponding to the above error.
It may be in a line such as ONLY_FOR_ARCHS or NOT_FOR_ARCHS.  Ensure
that the string 'powerpc' (sic) is added to the list of ARCHs.

> I think I could find a NetBSD .tgz package for it, but would that work?

I very much doubt it.

mcl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191010163119.GC27310>