Bug 256743 - multimedia/kodi: pkg-static: mariadb105-client-10.5.10_1 conflicts with mysql57-client-5.7.34
Summary: multimedia/kodi: pkg-static: mariadb105-client-10.5.10_1 conflicts with mysql...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-21 09:18 UTC by O. Hartmann
Modified: 2022-02-01 13:35 UTC (History)
3 users (show)

See Also:
yzrh: maintainer-feedback+


Attachments
testport log (82.54 KB, application/x-bzip)
2021-06-23 20:04 UTC, yzrh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2021-06-21 09:18:12 UTC
Building port multimedia/kodi and sibblings fail due to an error, shown below, regarding the conflict between mariadb-client and mysql-client, although MYSQL is set OFF explicitely.

pkg-static: mariadb105-client-10.5.10_1 conflicts with mysql57-client-5.7.34 (installs files into the same place).  Problematic file: /usr/local/bin/mysql

[...]
=>> Building multimedia/kodi
build started at Sun Jun 20 00:01:27 UTC 2021
port directory: /usr/ports/multimedia/kodi
package name: kodi-19.1_2
building for: FreeBSD ptr1.gdr.de  13.0-RELEASE-p2 FreeBSD 13.0-RELEASE-p2 1300139 amd64
maintained by: yzrh@noema.org
Makefile ident: 
Poudriere version: 3.3.6
Host OSVERSION: 1400023
Jail OSVERSION: 1300139
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p2 1300139
UNAME_r=13.0-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.6
MAKEOBJDIRPREFIX=/pool/sources/13.0-RELENG/obj/
MASTERMNT=/pool/poudriere/data/.m/130amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/130amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/130amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for kodi-19.1_2:
     AIRPLAY=on: AirPlay support
     AVAHI=on: Zeroconf support via Avahi
     CEC=on: CEC adapter support
     DBUS=off: D-Bus IPC system support
     DOCS=on: Build and/or install documentation
     DVD=on: DVD support
     DVDCSS=on: Encrypted DVD support via libdvdcss
     LCMS2=on: Little CMS 2.x support
     LIBBLURAY=on: Blu-ray discs support via libbluray
     LIRC=on: Infrared remote control support
     NFS=on: Network File System support
     SMB=on: SMB network protocol support
     TEST=off: Build and/or run tests
     UDEV=on: Use libudev-devd
     UPNP=on: UPnP protocol support
     VAAPI=on: VAAPI (GPU video acceleration) support
     VDPAU=on: VDPAU (GPU video acceleration) support
     WEBSERVER=on: Build and/or install internal web server
     XSLT=on: Use libxslt
====> Sound (audio) support
     PULSEAUDIO=on: PulseAudio sound server support
     SNDIO=off: Sndio audio support
====> X86 CPU feature
     SSE=on: Use SSE optimized routines
     SSE2=on: Use SSE2 optimized routines
     SSE3=on: Use SSE3 optimized routines
     SSSE3=on: Use SSSE3 optimized routines
     SSE4_1=on: Use SSE4.1 optimized routines
     SSE4_2=on: Use SSE4.2 optimized routines
     AVX=on: Use AVX optimized routines
     AVX2=off: Use AVX2 optimized routines
====> Kodi platform
     GBM=off: GBM support
     WAYLAND=off: Wayland (graphics) support
     X11=on: X11 (graphics) support
====> Render system: you have to select exactly one of them
     GL=on: OpenGL
     GLES=off: OpenGL ES
====> Database: you can only select none or one of them
     MARIADB=on: MariaDB database support
     MYSQL=off: MySQL database support
===> Use 'make config' to modify these settings
---End OPTIONS List---
Comment 1 yzrh 2021-06-23 20:02:50 UTC
Hi, sorry for delay.  I did a testport (log attached) and there was no
error.  There must be something else pulling in mysql57-client-5.7.34.

If you want to use mariadb, the simple solution is to set

DEFAULT_VERSIONS+=      mysql=10.5m

in make.conf and select MYSQL option when building kodi.
Comment 2 yzrh 2021-06-23 20:03:20 UTC
Hi, sorry for delay.  I did a testport (log attached) and there was no
error.  There must be something else pulling in mysql57-client-5.7.34.

If you want to use mariadb, the simple solution is to set

DEFAULT_VERSIONS+=      mysql=10.5m

in make.conf and select MYSQL option when building kodi.
Comment 3 yzrh 2021-06-23 20:04:00 UTC
Created attachment 226015 [details]
testport log
Comment 4 Jason W. Bacon freebsd_committer freebsd_triage 2022-01-29 17:05:32 UTC
Is this still an issue since the update to 19.3?  If not, please close the PR with status "Overcome by Events" in the second menu.
Comment 5 O. Hartmann 2022-02-01 10:13:11 UTC
I do not follow the KODI track on FreeBSD anymore due to issues with the video streaming related stuff, so I do as requested, "closed due to overcome by events".
That doesn't mean the problem is solved/fixed or gone away.

Kind regards
Comment 6 Jason W. Bacon freebsd_committer freebsd_triage 2022-02-01 13:35:37 UTC
Thanks for the feedback.  I have not encountered any build issues on bare metal or under poudriere, so I suspect the issue is in fact resolved.