Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61331 - [libmariadbclient] wrong value in pkg-config file

Attached to Project: Arch Linux
Opened by RoundCube (RoundCube) - Thursday, 10 January 2019, 00:39 GMT
Last edited by Christian Hesse (eworm) - Saturday, 12 January 2019, 22:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


/usr/share/pkgconf/mariadb.pc contains socket=/tmp/mysql.sock, albeit the socket is /run/mysqld/mysqld.sock

MYSQL_UNIX_ADDR isn't respected for generating the mariadb.pc file, one must set INSTALL_UNIX_ADDRDIR for it.

On that occasion, would the pc file be better in /usr/lib/pkgconf ?
This task depends upon

Closed by  Christian Hesse (eworm)
Saturday, 12 January 2019, 22:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  in SVN
Comment by Eli Schwartz (eschwartz) - Thursday, 10 January 2019, 01:01 GMT
The pc file is installed to /usr/share by the upstream cmake configuration, might want to ask them first. ;)

Also consider asking upstream why they use two variables to define the exact same thing. It seems quite odd and just asks for this sort of confusion.