Opened 3 years ago
Closed 6 months ago
#63456 closed defect (fixed)
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)
Change History (8)
comment:1 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Attachment: | main.log.gz added |
---|
main.log for completed build affected by issue
comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
PR for temporary workaround opened: https://github.com/macports/macports-ports/pull/12108
comment:3 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
comment:4 Changed 3 years 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 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:7 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
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.