From owner-freebsd-ppc@freebsd.org Thu Oct 10 16:31:23 2019 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA4171434DA for ; Thu, 10 Oct 2019 16:31:23 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pxRb3Jjtz4JYx for ; Thu, 10 Oct 2019 16:31:23 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 857302A7CB; Thu, 10 Oct 2019 16:31:22 +0000 (UTC) Date: Thu, 10 Oct 2019 16:31:20 +0000 From: Mark Linimon To: Kevin Smallman Cc: freebsd-ppc@freebsd.org Subject: Re: build 32-bit binary on powerpc64 Message-ID: <20191010163119.GC27310@lonesome.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 46pxRb3Jjtz4JYx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of linimon@lonesome.com has no SPF policy when checking 18.222.6.11) smtp.mailfrom=linimon@lonesome.com X-Spamd-Result: default: False [-1.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.962,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.26)[ip: (0.02), ipnet: 18.220.0.0/14(0.13), asn: 16509(-1.41), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2019 16:31:23 -0000 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