New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25023 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

DPKG different values architecture

Reported by: kibodmitry@… Owned by: landonf@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Tiger Cc:
Port: dpkg

Description

EXAMPLE:
[USER]$ sudo port dpkg apt
---> Computing dependencies for apt
---> Creating dpkg for apt-0.5.27

(apt_0.5.27-7_darwin-i386.deb in build/port/work directory)

[USER]$ sudo dpkg -i /apt_0.5.27-7_darwin-i386.deb
dpkg: error processing /apt_0.5.27-7_darwin-i386.deb (--install): package architecture (darwin-i386) does not match system (i686-darwin)
Errors were encountered while processing:
/apt_0.5.27-7_darwin-i386.deb

[USER]$ dpkg-architecture
dpkg-architecture: warning: Unknown gcc system type i686-apple-darwin8, falling back to default (native compilation)
dpkg-architecture: warning: Specified GNU system type does not match gcc system type i686-apple-darwin8.
DEB_BUILD_ARCH=i686-darwin
DEB_BUILD_GNU_CPU=
DEB_BUILD_GNU_SYSTEM=
DEB_BUILD_GNU_TYPE=
DEB_HOST_ARCH=i686-darwin
DEB_HOST_GNU_CPU=
DEB_HOST_GNU_SYSTEM=
DEB_HOST_GNU_TYPE=

It's true for ALL (installed by me) ports

How to change the architecture to a single value?

Attachments

dpkg-archtable.diff (871 bytes) - added by afb@… 3 years ago.

Change History

comment:1 Changed 3 years ago by jmr@…

  • Owner changed from macports-tickets@… to landonf@…
  • Port changed from DPKG to dpkg

comment:2 Changed 3 years ago by afb@…

Looks backwards ?

$ /opt/local/bin/dpkg-architecture          
dpkg-architecture: warning: Unknown gcc system type i686-apple-darwin8, falling back to default (native compilation)
dpkg-architecture: warning: Specified GNU system type i386-darwin does not match gcc system type i686-apple-darwin8.
DEB_BUILD_ARCH=darwin-i386
DEB_BUILD_GNU_CPU=i386
DEB_BUILD_GNU_SYSTEM=darwin
DEB_BUILD_GNU_TYPE=i386-darwin
DEB_HOST_ARCH=darwin-i386
DEB_HOST_GNU_CPU=i386
DEB_HOST_GNU_SYSTEM=darwin
DEB_HOST_GNU_TYPE=i386-darwin

comment:3 Changed 3 years ago by afb@…

Something must have changed in the build system (or patches), rebuilding the port does indeed reproduce the above failure. Easiest is adding "i686-darwin" to the archtable.

Changed 3 years ago by afb@…

comment:4 Changed 2 years ago by afb@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.