Opened 10 years ago
Closed 9 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)
Change History (15)
Changed 10 years ago by Ralf+MacPorts@…
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Ralf+MacPorts@… removed |
---|---|
Keywords: | compiler removed |
Owner: | changed from macports-tickets@… to pixilla@… |
Priority: | High → Normal |
Summary: | Cannot compile, no valid compiler found → mysql5: Cannot compile, no valid compiler found |
Please use a newer version of mysql, such as mysql55 or mysql56.
comment:3 follow-up: 14 Changed 10 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 installedllvm-3.6
, same thing.
llvm-gcc42 and llvm-3.6 are not the same software.
llvm-gcc42 is not supported on Yosemite, sorry.
comment:5 Changed 10 years ago by robertoschwald (Robert Oschwald)
Cc: | robertoschwald@… added |
---|
Cc Me!
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:14 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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).
Build logfile