Opened 9 years ago

Last modified 5 years ago

#46233 assigned defect

zinc is not noarch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: zinc

Description

The zinc port claims to be noarch:

$ port -qv installed zinc
  zinc @0.3.5.3_0 (active) platform='darwin 14' archs='noarch'

However it does install architecture-specific files:

$ lipo -info /opt/local/share/zinc/bin/ng/darwin{32,64}/ng
Non-fat file: /opt/local/share/zinc/bin/ng/darwin32/ng is architecture: i386
Non-fat file: /opt/local/share/zinc/bin/ng/darwin64/ng is architecture: x86_64

Oddly, they are installed into ${prefix}/share, which is defined not to contain architecture-specific files. Also oddly, one file is i386 and one file is x86_64.

Change History (3)

comment:1 Changed 9 years ago by blair (Blair Zajac)

I think it provides pre-compiled binaries for all major platorms:

$ ls /opt/local/share/zinc/bin/ng/
darwin32  darwin64  linux32  linux64  win32

So does this count as noarch?

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Owner: blair deleted
Status: newassigned

comment:3 Changed 5 years ago by mf2k (Frank Schima)

FTR, noarch is meant for something like a script.

Note: See TracTickets for help on using tickets.