Opened 3 years ago

Closed 20 months ago

#63471 closed defect (fixed)

mariadb @5.5.68 Failed to build due to VERSION file conflict with version header

Reported by: TomDev234 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: chrstphrchvz (Christopher Chavez), cgilles (HumanDynamo), ShadSterling (Shad Sterling)
Port: mariadb

Description

:info:build Command failed:  cd "/Volumes/WORK_HDD/Data/MacPorts/var/macports/build/_Volumes_WORK_HDD_Data_MacPorts_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/build" && /usr/bin/make -j16 -w all VERBOSE=ON 
:info:build Exit code: 2

Attachments (1)

main.log.bz2 (34.6 KB) - added by TomDev234 3 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 3 years ago by TomDev234

Port: mariadb added

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

Tom, if you have a main.log to upload that would help a lot.

If you don't see one, you could clean and rebuild and should get a reference to one then.

sudo port clean mariadb
sudo port -v install mariadb

Changed 3 years ago by TomDev234

Attachment: main.log.bz2 added

comment:3 Changed 3 years ago by TomDev234

Oh sorry, after some tries it is installing now. But building with -s failed.

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

mariadb/work/mariadb-5.5.68/version:1:1: error: C++ requires a type specifier for all declarations
:info:build MYSQL_VERSION_MAJOR=5
:info:build ^

we know this error. mariadb has a file called "VERSION" that interferes with a header called "version" on case-insensitive file systems.

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

Cc: michaelld@… removed
Keywords: mariadb removed
Summary: mariadb @5.5.68 Failed to buildmariadb @5.5.68 Failed to build due to VERSION file conflict with version header

comment:6 Changed 3 years ago by jmroot (Joshua Root)

Owner: changed from michaelld@… to michaelld

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

Cc: chrstphrchvz added

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

#64154 looks like a duplicate of this ticket.

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

Cc: cgilles added

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

Here is the commit where the mariadb developers fixed this problem:

https://github.com/MariaDB/server/commit/e788738e18bd5cedb21f75b21f902f1bbcc34719

It landed in mariadb 10.2.38.

I'm not sure if that is the only change needed.

The MacPorts mariadb-10.0 and mariadb-10.1 ports may be affected as well. If so, we should fix them too.

comment:11 Changed 3 years ago by cgilles (HumanDynamo)

A work around the duplicate bug #64154 for me is to install qt5-mysql-plugin with "+mariadb10_5" variant.

comment:12 Changed 2 years ago by ShadSterling (Shad Sterling)

Cc: ShadSterling added

comment:13 Changed 20 months ago by kencu (Ken)

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