Opened 9 years ago

Closed 8 years ago

#45455 closed defect (fixed)

mysql5: Cannot compile, no valid compiler found

Reported by: Ralf+MacPorts@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), robertoschwald (Robert Oschwald), anddam (Andrea D'Amore), schnide (Joe Schnide), patrick.sizun@…
Port: mysql5

Description

Port cannot be upgraded due to no compiler found:

$ sudo port -c upgrade outdated
Password:
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for mysql5
--->  Building mysql5
Error: org.macports.build for port mysql5 returned: command execution failed
Please see the log file for port mysql5 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log
Error: Unable to upgrade port: 1

Previously I had llvm-gcc42 installed, but got the same error. So I uninstalled this compiler and installed llvm-3.6, same thing.

I'm on Yosemite, using Xcode 6.1 (release).

Attachments (1)

main.log (6.8 KB) - added by Ralf+MacPorts@… 9 years ago.
Build logfile

Download all attachments as: .zip

Change History (15)

Changed 9 years ago by Ralf+MacPorts@…

Attachment: main.log added

Build logfile

comment:1 Changed 9 years ago by Ralf+MacPorts@…

Cc: Ralf+MacPorts@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: Ralf+MacPorts@… removed
Keywords: compiler removed
Owner: changed from macports-tickets@… to pixilla@…
Priority: HighNormal
Summary: Cannot compile, no valid compiler foundmysql5: Cannot compile, no valid compiler found

Please use a newer version of mysql, such as mysql55 or mysql56.

comment:3 in reply to:  description ; Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to Ralf+MacPorts@…:

Previously I had llvm-gcc42 installed, but got the same error. So I uninstalled this compiler and installed llvm-3.6, same thing.

llvm-gcc42 and llvm-3.6 are not the same software.

llvm-gcc42 is not supported on Yosemite, sorry.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #45513.

comment:5 Changed 9 years ago by robertoschwald (Robert Oschwald)

Cc: robertoschwald@… added

Cc Me!

comment:6 Changed 9 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:7 Changed 9 years ago by schnide (Joe Schnide)

Cc: jschnide@… added

Cc Me!

comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #45677.

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

Has duplicate #45771.

comment:10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #45855.

comment:11 Changed 9 years ago by jmroot (Joshua Root)

Cc: ryandesign@… added

Wouldn’t marking mysql5 replaced_by mysql51 be the best way to resolve this?

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

Sure, but all ports currently depending on mysql5 would need to be updated to depend on mysql51 instead, and to adapt to the changed location of files in mysql51 vs mysql5, and ideally variants should be added to select different MySQLs (#39961).

comment:13 Changed 9 years ago by patrick.sizun@…

Cc: patrick.sizun@… added

Cc Me!

comment:14 in reply to:  3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

llvm-gcc42 is not supported on Yosemite, sorry.

This was fixed by #45449 (which made llvm-gcc42 compile on Yosemite and later) and the release of MacPorts 2.3.4 (which re-enables llvm-gcc42 as a supported fallback compiler on Yosemite and later).

Note: See TracTickets for help on using tickets.