Bug #49094 make bin-dist failing with ./configure --with-prefix=/
Submitted: 25 Nov 2009 11:01
Reporter: Bernd Ocklin Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server: Packaging Severity:S4 (Feature request)
Version:5.1 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[25 Nov 2009 11:01] Bernd Ocklin
Description:
make bin-dist fails with the following error

mv: cannot move `/tmp/my_dist/' to a subdirectory of itself, `/tmp/my_dist/mysql-7.0.10-linux-x86_64'

How to repeat:
$ ./configure --prefix=/
$ make bin-dist

issue being the following code in scripts/make_binary_distribution.sh around line 278:

  # ----------------------------------------------------------------------
  # Rename top directory, and set DEST to the new directory
  # ----------------------------------------------------------------------
  mv $BASE@prefix@ $BASE/$NEW_NAME
  DEST=$BASE/$NEW_NAME
[25 Nov 2009 11:11] Lars Heill
Initial assign.