Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#60275 closed defect (duplicate)

mysql57: file list for mysql_select is inaccurate, aborts selection.

Reported by: grumpybozo (Bill Cole) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), michaelld (Michael Dickens), herbygillot (Herby Gillot)
Port: mysql_select mysql57

Description (last modified by grumpybozo (Bill Cole))

After installing mysql57:

# port select mysql mysql57
Selecting 'mysql57' for 'mysql' failed: could not create new link "/opt/local/man/man1/mysql-stress-test.pl.1.gz": target "/opt/local/share/man/mysql57/man1/mysql-stress-test.pl.1.gz" doesn't exist

Indeed, /opt/local/share/man/mysql57/man1/mysql-stress-test.pl.1.gz does not exist and 'port contents mysql57' does not show it. This would be harmless if the single missing file was tolerated and the 'select' procedure continued, but instead this appears to abort the whole process, leaving everything after the missing file in the list unlinked. Ultimately there are 6 missing files, so a really ugly workaround is to create them before running 'port select mysql mysql57' :

touch /opt/local/share/man/mysql57/man1/mysql-stress-test.pl.1.
touch /opt/local/share/man/mysql57/man1/mysql-test-run.pl.1.gz
touch /opt/local/share/man/mysql57/man1/mysql_client_test.1.gz
touch /opt/local/share/man/mysql57/man1/mysql_client_test_embedded.1.gz
touch /opt/local/share/man/mysql57/man1/mysqltest.1.gz
touch /opt/local/share/man/mysql57/man1/mysqltest_embedded.1.gz

I have not figured out which port this problem is in or whether it is in the underlying build failing to create the files.

Change History (6)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Port: mysql_select, mysql57mysql_select mysql57

comment:2 Changed 4 years ago by grumpybozo (Bill Cole)

Description: modified (diff)
Port: mysql_select mysql57mysql_select, mysql57

comment:3 Changed 4 years ago by grumpybozo (Bill Cole)

Port: mysql_select, mysql57mysql_select mysql57

comment:4 Changed 4 years ago by jmroot (Joshua Root)

Cc: ryandesign michaelld herbygillot added

Cc maintainers of other ports that use mysql_select.

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #58197.

comment:6 Changed 2 years ago by jonnybradley (jonny Bradley)

Just found the same here, after attempting to install mysql8 hosed my server (so i was trying to revert to v5.7), touching all the non-existent man files worked eventually, thanks!

Note: See TracTickets for help on using tickets.