Discussion:
pkg: wrong architecture: freebsd:10:x86:64 instead of
Fabian Keil
2014-06-09 10:16:01 UTC
Permalink
I'm looking for a way to let "pkg add" install packages that are
known to work but supposedly have the "wrong" architecture:

***@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?

Fabian
Kurt Jaeger
2014-06-09 10:23:53 UTC
Permalink
Hi!
Post by Fabian Keil
I'm looking for a way to let "pkg add" install packages that are
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 ?
--
***@opsec.eu +49 171 3101372 6 years to go !
Baptiste Daroussin
2014-06-09 11:06:32 UTC
Permalink
Post by Fabian Keil
I'm looking for a way to let "pkg add" install packages that are
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?
Fabian
env ABI=freebsd:10:x86:64 pkg add

this will just work
regards,
Bapt
Fabian Keil
2014-06-09 13:55:07 UTC
Permalink
Post by Baptiste Daroussin
Post by Fabian Keil
I'm looking for a way to let "pkg add" install packages that are
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
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?
env ABI=freebsd:10:x86:64 pkg add
this will just work
Thanks a lot.

Unfortunately that causes the freebsd:11:x86:64 packages to be
rejected, but "env ABI= pkg add ..." just works.

Fabian

Loading...