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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.