From owner-freebsd-ports@FreeBSD.ORG Mon Jun 9 10:23:55 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9349A4B for ; Mon, 9 Jun 2014 10:23:55 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAFA32566 for ; Mon, 9 Jun 2014 10:23:55 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1Wtwk5-000EcD-Us; Mon, 09 Jun 2014 12:23:53 +0200 Date: Mon, 9 Jun 2014 12:23:53 +0200 From: Kurt Jaeger To: Fabian Keil Subject: Re: pkg: wrong architecture: freebsd:10:x86:64 instead of freebsd:11:x86:64 Message-ID: <20140609102353.GN2341@home.opsec.eu> References: <20140609121601.36208635@fabiankeil.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140609121601.36208635@fabiankeil.de> Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 10:23:56 -0000 Hi! > I'm looking for a way to let "pkg add" install packages that are > known to work but supposedly have the "wrong" architecture: > > root@privoxy-jail / #pkg add /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz > Installing ImageMagick-6.8.0.7_7,1...Installing libXrender-0.9.8_2...Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6...pkg: wrong architecture: freebsd:10:x86:64 instead of freebsd:11:x86:64 > > Failed to install the following 1 package(s): /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz > > I prefer not to recompile the port just to bump a version field > that doesn't matter. > > Any suggestions? Have you tested, whether cd /tmp mkdir tt cd tt tar xf /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz and editing ./+COMPACT_MANIFEST and ./+MANIFEST to fix the version and packing again would work ? -- pi@opsec.eu +49 171 3101372 6 years to go !