Opened 12 years ago

Closed 12 years ago

#34552 closed defect (fixed)

mysql55 - using builtin readline breaks building

Reported by: BjarneDMat Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), larryv (Lawrence Velázquez)
Port: mysql55

Description (last modified by ryandesign (Ryan Carsten Schmidt))

r93312

--->  Installing mysql55 à5.5.24_2+system_readline
The mysql55 client has been installed.
To install the mysql55 server, install the mysql55-server port.
--->  Activating mysql55 à5.5.24_2+system_readline
--->  Cleaning mysql55
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
pro17:MacPorts root# port -n -f upgrade --force --enforce-variants mysql55 -system_readline
--->  Computing dependencies for mysql55
--->  Fetching distfiles for mysql55
--->  Verifying checksum(s) for mysql55
--->  Extracting mysql55
--->  Applying patches to mysql55
--->  Configuring mysql55
--->  Building mysql55
Error: org.macports.build for port mysql55 returned: command execution failed
Please see the log file for port mysql55 for details:
    /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/main.log
Error: Unable to upgrade port: 1
[ 71%] Built target mysql_client_test
make[1]: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24'
make: *** [all] Error 2
make: Leaving directory `/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24'
Command failed:  cd "/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/work/mysql-5.5.24" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: org.macports.build for port mysql55 returned: command execution failed
DEBUG: Error code: CHILDSTATUS 59063 2
DEBUG: Backtrace: command execution failed
Warning: targets not executed for mysql55: org.macports.install org.macports.build org.macports.destroot
Please see the log file for port mysql55 for details:

Attachments (3)

main.log (1.1 MB) - added by BjarneDMat 12 years ago.
mysql55_main.log (1.5 MB) - added by larryv (Lawrence Velázquez) 12 years ago.
mysql55.ryandesign.main.log.bz2 (22.4 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.

Change History (15)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; pixilla@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to pixilla@…

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Can you clean and build; attaching a log in the event of failure?

sudo port sync
sudo port clean mysql55
sudo port build mysql55

Changed 12 years ago by BjarneDMat

Attachment: main.log added

comment:3 Changed 12 years ago by pixilla (Bradley Giesbrecht)

BTW, the MacPorts buildbot succeeds in building mysql55 defaults AND with r93312 the binaries are now distributable. mysql55 packages

I performed some limited and successful mysql command line tests on both Snow Leopard and Lion with mysql packaged readline before committing r93312.

comment:4 Changed 12 years ago by BjarneDMat

log attaced :

pro17:MacPorts root# port sync
--->  Updating the ports tree
pro17:MacPorts root# port clean --all mysql55
--->  Cleaning mysql55
pro17:MacPorts root# port build mysql55
--->  Computing dependencies for mysql55
--->  Fetching distfiles for mysql55
--->  Attempting to fetch mysql-5.5.24.tar.gz from http://lil.fr.distfiles.macports.org/mysql55
--->  Verifying checksum(s) for mysql55
--->  Extracting mysql55
--->  Applying patches to mysql55
--->  Configuring mysql55
--->  Building mysql55
Error: org.macports.build for port mysql55 returned: command execution failed
Please see the log file for port mysql55 for details:
    /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55/mysql55/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mysql55 failed

comment:5 Changed 12 years ago by BjarneDMat

I'm seeing this exact same problem on two different computers :

This is my test computer :
still running Lion 10.7.3 / latest Xcode w/ commandline tools

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro8,3
      Processor Name: Intel Core i7
      Processor Speed: 2,2 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 8 GB
      Boot ROM Version: MBP81.0047.B24
      SMC Version (system): 1.70f5
      Serial Number (system): *************
      Hardware UUID: **********
      Sudden Motion Sensor:
          State: Enabled

This is my production server
running Snow Leopard 10.6.8

    Hardware Overview:

      Model Name: Mac mini
      Model Identifier: Macmini1,1
      Processor Name: Intel Core Duo
      Processor Speed: 1,83 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 2 MB
      Memory: 2 GB
      Bus Speed: 667 MHz
      Boot ROM Version: MM11.0055.B08
      SMC Version (system): 1.3f4
      Serial Number (system): **********
      Hardware UUID: *********

comment:6 Changed 12 years ago by larryv (Lawrence Velázquez)

I can't build mysql55@5.5.24_2 from source either.

OS X 10.7.4 (11E53), Xcode 4.3.2 (4E2002), MacPorts 2.1.1.

Changed 12 years ago by larryv (Lawrence Velázquez)

Attachment: mysql55_main.log added

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

I'm attaching my main.log file created on OS X 10.6.8 x86_64 with Xcode 3.2.6 using

sudo port clean mysql55
sudo port build mysql55 -universal configure.ccache=no build.jobs=1

Bradley, if you do the same on your system where it works, it should be easier to diff the two logs.

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

comment:8 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Deactivating readline should allow mysql55 to build.

sudo port -f deactivate readline
sudo port clean mysql55
sudo port install mysql55
sudo port activate readline

A patch is needed to stop mysql55 from picking up prefix/readline unless the variant +system_readline is used.

comment:9 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: larry.velazquez@… added

Cc Me!

comment:10 Changed 12 years ago by larryv (Lawrence Velázquez)

r93521 has fixed the source install for me.

comment:11 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Larry: thanks for reporting.

comment:12 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r93521

Note: See TracTickets for help on using tickets.