Opened 12 months ago

Last modified 11 months ago

#67435 assigned defect

mysql5 build failure

Reported by: vicvv (Vicky) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mysql5

Description (last modified by kencu (Ken))

When running sudo port install bugzilla command the following occures:

-->  Configuring mysql5
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  atomic_cas_64: found in mysql-5.1.72/config.log
  pthread_yield: found in mysql-5.1.72/config.log
  atomic_cas_32: found in mysql-5.1.72/config.log
  printf: found in mysql-5.1.72/config.log
--->  Building mysql5
Error: Failed to build mysql5: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql5/mysql5/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port bugzilla failed

I understand that mysql5 port is deprecated. Can you suggest how to configure bugzilla install to use active mysql port? Thank you

Attachments (1)

main.log (90.2 KB) - added by vicvv (Vicky) 12 months ago.
error log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 months ago by kencu (Ken)

pretty helpful to include the log here in the ticket. it's here:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql5/mysql5/main.log

comment:2 Changed 12 months ago by kencu (Ken)

Description: modified (diff)

comment:3 Changed 12 months ago by jmroot (Joshua Root)

Owner: set to ryandesign
Port: mysql5 added; bugzilla removed
Status: newassigned
Summary: issues with installing sudo port install bugzillamysql5 build failure

comment:4 Changed 12 months ago by vicvv (Vicky)

Last edited 12 months ago by vicvv (Vicky) (previous) (diff)

Changed 12 months ago by vicvv (Vicky)

Attachment: main.log added

error log

comment:5 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

I agree there is a build failure but the log isn't very clear about what it thinks the problem is.

Do you really need the mysql5 port? It is obsolete and shouldn't be used anymore. If you need this ancient version of mysql, use the mysql51 port. Otherwise, use a newer mysql port, like mysql55, mysql56, mysql57, or mysql8.

comment:6 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Ah, I see: you are trying to install bugzilla which by default depends on the mysql5 port. However, if you check the output of port variants bugzilla, you'll see that it has a mysql57 variant which will use that port instead.

sudo port clean bugzilla mysql5
sudo port install bugzilla +mysql57

The bugzilla port doesn't have a maintainer so it is out of date in more ways than this. If you or anyone wishes to volunteer to bring it up to date, please do!

Note: See TracTickets for help on using tickets.