Bug 51935

Summary: building mysql for sparc 6.2 dies
Product: [Retired] Red Hat Public Beta Reporter: Neil McNeight <mcneight>
Component: mysqlAssignee: Patrick Macdonald <patrickm>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: roswell   
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-17 04:39:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neil McNeight 2001-08-17 04:39:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010725

Description of problem:
Rebuilding the mysql package for RedHat/SPARC 6.2, rpm dies in the build
stage with 'make test'.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rpm -ba mysql.spec
2.
3.
	

Actual Results:  + make test
cd mysql-test ; ./mysql-test-run
Installing Test Databases
Removing Stale Files
Installing Master Databases
010814 20:28:44  ../sql/mysqld: Shutdown Complete

Installing Slave Databases
010814 20:28:46  ../sql/mysqld: Shutdown Complete

Starting MySQL daemon
Loading Standard Test Databases
Starting Tests

 TEST                         USER   SYSTEM  ELAPSED        RESULT
------------------------------------------------------------------------
alias                         ....     ....     ....       [ fail ]

lt-mysqltest: Failed in mysql_real_connect(): Can't connect to local MySQL
server through socket
'/usr/src/redhat/BUILD/mysql-3.23.40/mysql-test/var/tmp/mysql-mas' (61)
Command exited with non-zero status 1 real 2.92 user 2.31 sys 0.56 
Aborting. To continue, re-run with '--force'.

Ending Tests
Shutting-down MySQL daemon

lt-mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/usr/src/redhat/BUILD/mysql-3.23.40/mysql-test/var/tmp/mysql-mas' (61)'
Check that mysqld is running and that the socket:
'/usr/src/redhat/BUILD/mysql-3.23.40/mysql-test/var/tmp/mysql-master.sock'
exists!
Master shutdown finished
lt-mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/usr/src/redhat/BUILD/mysql-3.23.40/mysql-test/var/tmp/mysql-sla' (61)'
Check that mysqld is running and that the socket:
'/usr/src/redhat/BUILD/mysql-3.23.40/mysql-test/var/tmp/mysql-slave.sock'
exists!
Slave shutdown finished
make: *** [test] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.92393 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.92393 (%build)


Expected Results:  Clean build.

Additional info:

I can build the SRPMS directly from MySQL, including 3.23.40, without
modification.

Comment 1 Trond Eivind Glomsrxd 2001-08-17 14:17:48 UTC
MySQL (or anything else 7.x) is not supported on the sparc. 

If you believe the problems are related too the toolchain and not with MySQL
(which would be likely), file a more specific bug against those