Opened 4 years ago

Last modified 2 years ago

#60275 closed defect

mysql57: file list for mysql_select is inaccurate, aborts selection. — at Version 2

Reported by: grumpybozo (Bill Cole) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
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 (2)

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
Note: See TracTickets for help on using tickets.