Opened 2 years ago

Closed 2 years ago

#65695 closed defect (fixed)

dzip @2.9 doesn't use arch flags when compiling

Reported by: RobK88 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: dzip

Description

I am unable to build the universal variant for dzip. (I can compile the non-universal x86_64 build).

Undefined symbols for architecture i386:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [dzip] Error 1

Attachments (1)

main.log (41.5 KB) - added by RobK88 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by RobK88

Attachment: main.log added

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

Summary: dzip - ld: symbol(s) not found for architecture i386dzip @2.9 doesn't use arch flags when compiling

comment:2 Changed 2 years ago by kencu (Ken)

the portfile already tries to reinplace the arch flags into the CFLAGS, but the "reinplace doesn't change anything."

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In e4d9ec3a199f93a744a80cdd8e7bbe11258e791f/macports-ports (master):

dzip: fix universal archflags

Closes: #65695

Note: See TracTickets for help on using tickets.