Opened 10 months ago

Last modified 10 months ago

#69203 assigned defect

msodbcsql17 @17.10.2.1_2 has broken linking on Sonoma 14.3 M3 with Arm64 and Universal options

Reported by: aberezin (Alan Berezin) Owned by: roederja
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Arm64 Cc:
Port: msodbcsql17

Description

In my macports.conf

build_arch arm64 universal_archs x86_64 arm64

I run:

sudo port rev-upgrade

And get this:

--->  Found 1 broken file, matching files to ports
Error: Port msodbcsql17 is still broken after rebuilding it more than 3 times.
Error: Please run port -d -y rev-upgrade and use the output to report a bug.
Error: rev-upgrade failed: Port msodbcsql17 still broken after rebuilding 3 times
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

I then ran:

sudo port -d -y rev-upgrade |tee /tmp/port-issue.txt

See attached output

Attachments (2)

port-issue.txt (311 bytes) - added by aberezin (Alan Berezin) 10 months ago.
output from: sudo port -d -y rev-upgrade |tee /tmp/port-issue.txt
port-issue-error.txt (1.5 MB) - added by aberezin (Alan Berezin) 10 months ago.
ran $sudo port -d rev-upgrade > /tmp/port-issue-error.txt 2>&1

Download all attachments as: .zip

Change History (6)

Changed 10 months ago by aberezin (Alan Berezin)

Attachment: port-issue.txt added

output from: sudo port -d -y rev-upgrade |tee /tmp/port-issue.txt

comment:1 Changed 10 months ago by jmroot (Joshua Root)

Owner: set to roederja
Status: newassigned
Summary: msodbcsql17 @17.10.2.1_2 fails to build on Sonoma 14.3 M3 with Arm64 and Universal optionsmsodbcsql17 @17.10.2.1_2 has broken linking on Sonoma 14.3 M3 with Arm64 and Universal options

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

The file you attached only contains the output from stdout which isn't very interesting. We need to see the output from stderr as well.

comment:3 Changed 10 months ago by aberezin (Alan Berezin)

Output attached from $sudo port -d rev-upgrade > /tmp/port-issue-error.txt 2>&1 Also removed -y flag relative to last cmd

Looks the same to me.

Changed 10 months ago by aberezin (Alan Berezin)

Attachment: port-issue-error.txt added

ran $sudo port -d rev-upgrade > /tmp/port-issue-error.txt 2>&1

comment:4 Changed 10 months ago by jmroot (Joshua Root)

The important part is

DEBUG: Missing architecture x86_64 in file /opt/local/lib/libodbcinst.2.dylib
DEBUG: Marking /opt/local/lib/libmsodbcsql.17.dylib as broken
Note: See TracTickets for help on using tickets.