Opened 4 years ago

Closed 3 years ago

#60379 closed defect (wontfix)

mysql8 fails to build on 10.5.8 PPC

Reported by: bryancn Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: leopard powerpc Cc: khepler
Port: mysql8

Description (last modified by kencu (Ken))

---> Building mysql8

Error: Failed to build mysql8: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mysql8 failed
3955	:info:build Undefined symbols for architecture ppc:
3956	:info:build   "___atomic_fetch_add_8", referenced from:
3957	:info:build       google::protobuf::internal::ArenaImpl::Init()  in arena.cc.o
3958	:info:build ld: symbol(s) not found for architecture ppc

Attachments (1)

main.log (913.2 KB) - added by bryancn 4 years ago.
Log

Download all attachments as: .zip

Change History (10)

Changed 4 years ago by bryancn

Attachment: main.log added

Log

comment:1 Changed 4 years ago by kencu (Ken)

would appear you will need manually link against libatomic

$ nm /opt/local/lib/gcc6/libatomic.1.dylib | grep fetch_add_8
0000368c T ___atomic_fetch_add_8

something like

configure.ldflags-append -latomic

might be sufficient, if you're lucky.

And then who knows where the next error might come up, but ...

comment:2 Changed 4 years ago by kencu (Ken)

Keywords: leopard powerpc added; ppc 10.5.8 mysql mysql8 removed

comment:3 Changed 4 years ago by kencu (Ken)

Description: modified (diff)

comment:4 Changed 4 years ago by kencu (Ken)

You might say that you should not have to manually link in -latomic , and it appears the gcc developers agree with you, but have not yet fixed this issue <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358>

comment:5 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to herbygillot
Status: newassigned

comment:6 Changed 4 years ago by herbygillot (Herby Gillot)

I cannot assist on this issue. I don't have access to a PPC or 10.5 platform. Additionally, I don't think MySQL 8 officially supports 10.5

comment:7 Changed 4 years ago by khepler

Cc: khepler added

comment:8 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

As of [1cdb3d250f/macports-ports] this port requires macOS 10.13. The idea to use newer stdlib (i.e. one capable of C++17) was rejected. This ticket can be closed.

Last edited 3 years ago by chrstphrchvz (Christopher Chavez) (previous) (diff)

comment:9 Changed 3 years ago by Schamschula (Marius Schamschula)

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.