Opened 15 months ago

Last modified 7 months ago

#63456 assigned defect

mysql8 @8.0.26_0: broken symbolic link causes linking error

Reported by: chrstphrchvz (Christopher Chavez) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: xeron (Ivan Larionov), mascguy (Christopher Nielsen)
Port: mysql8

Description

As reported by @xeron: https://github.com/macports/macports-ports/pull/12089#issuecomment-913189155 https://github.com/macports/macports-ports/pull/12089#issuecomment-913203675

~$ sudo port -v rev-upgrade
--->  Scanning binaries for linking errors
Could not open /opt/local/lib/mysql8/plugin/libprotobuf-lite.3.11.4.dylib: Error opening or reading file (referenced from /opt/local/lib/mysql8/plugin/group_replication.so)
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: mysql8 @8.0.26
~$ ls -l /opt/local/lib/mysql8/plugin/libprotobuf-lite.3.11.4.dylib
lrwxr-xr-x  1 root  admin  41 Sep  5 10:28 /opt/local/lib/mysql8/plugin/libprotobuf-lite.3.11.4.dylib -> ../../mysql/libprotobuf-lite.3.11.4.dylib
~$ ls -l /opt/local/lib/mysql8/plugin/../../mysql/libprotobuf-lite.3.11.4.dylib
ls: /opt/local/lib/mysql8/plugin/../../mysql/libprotobuf-lite.3.11.4.dylib: No such file or directory
~$ ls -l /opt/local/lib/mysql8/plugin/../mysql/libprotobuf-lite.3.11.4.dylib
-rwxr-xr-x  1 root  admin  613504 Sep  5 10:28 /opt/local/lib/mysql8/plugin/../mysql/libprotobuf-lite.3.11.4.dylib

Attachments (1)

main.log.gz (648.2 KB) - added by chrstphrchvz (Christopher Chavez) 15 months ago.
main.log for completed build affected by issue

Download all attachments as: .zip

Change History (7)

comment:1 Changed 15 months ago by chrstphrchvz (Christopher Chavez)

I personally do not use this port. I apologize for not catching this issue before submitting the update.

Unless the cause of this issue can be identified quickly, I would be inclined have the portfile recreate the symlink correctly as a temporary workaround.

Changed 15 months ago by chrstphrchvz (Christopher Chavez)

Attachment: main.log.gz added

main.log for completed build affected by issue

comment:2 Changed 15 months ago by chrstphrchvz (Christopher Chavez)

PR for temporary workaround opened: https://github.com/macports/macports-ports/pull/12108

comment:3 Changed 15 months ago by chrstphrchvz (Christopher Chavez)

In 64c50d69b7142d19b02296cd43dff2d0ea3e3345/macports-ports (master):

mysql8: broken symlink workaround

See: #63456

comment:4 Changed 15 months ago by chrstphrchvz (Christopher Chavez)

The same broken symlink was present in 8.0.25 (and possibly earlier), but group_replication.so wasn’t linking to it, leaving port rev-upgrade with nothing to complain about.

comment:5 Changed 14 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:6 Changed 7 months ago by herbygillot (Herby Gillot)

This should be resolved

Note: See TracTickets for help on using tickets.