Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the MySQL-Sandbox CPAN distribution.

Report information
The Basics
Id: 59879
Status: open
Priority: 0/
Queue: MySQL-Sandbox

Owner: Nobody in particular
Requestors: cosimo [...]

Bug Information
Severity: Important
Broken in: 3.0.12
Fixed in: (no value)

Subject: make_sandbox_from_installed script fails due to duplicate lib/lib64 links
Download (untitled) / with headers
text/plain 1.5k
Hello Giuseppe, We're using MySQL::Sandbox to create mysql instances for functional test runs. It's working great, using 'make_sandbox_from_installed' to set up a new mysql sandbox from the installed system mysql. Apparently, the script fails in systems where /usr/lib64 is symlinked to /usr/lib, causing it to try to create a $sandbox_root/lib link twice, one for 'lib64' and one for 'lib'. For now we're overwriting the script with a patched version, but that's messy and less than awesome. I'm not sure what the appropriate fix is, but these two strategies work: 1) Comment out the 'lib64' line from @binaries, line 64. 2) Apply the following diff: --- make_sandbox_from_installed.3.0.12 2010-07-30 16:18:32.000000000 +0200 +++ make_sandbox_from_installed.cosimo 2010-07-30 16:19:39.000000000 +0200 @@ -61,7 +61,7 @@ {files => 'my*', from => 'bin/', to => 'bin'}, {files => 'resolveip', from => 'bin/', to => 'bin'}, {files => 'mysql_install_db', from => 'scripts/', to => 'bin', optional => 1}, - {files => 'mysql*', from => 'lib64/', to => 'lib', optional => 1}, + {files => 'mysql*', from => 'lib64/', to => 'lib64', optional => 1}, {files => 'mysql*', from => 'lib/', to => 'lib', optional => 1}, {files => 'mysql*', from => 'libexec/', to => 'bin', optional =>1}, {files => 'mysql*', from => 'sbin/', to => 'bin', optional =>1}, Please let me know if you can do something about this.
Any updates on this?
From: icestar [...]
I've faced exactly the same problem.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to