Opened 11 years ago

Closed 10 years ago

#25023 closed defect (fixed)

DPKG different values architecture

Reported by: kibodmitry@… Owned by: landonf (Landon Fuller)
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 (1)

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

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to landonf@…
Port: dpkg added; DPKG removed

comment:2 Changed 11 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 11 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 11 years ago by afb@…

Attachment: dpkg-archtable.diff added

comment:4 Changed 10 years ago by afb@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.