Summary: | dev-db/mysql-connector-c-8.0.17-r1 file collisions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Gilbert <floppym> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch |
Description
Mike Gilbert
![]() Created attachment 587588 [details, diff]
Patch
This patch adds small code which generates all necessary blockers.
Checking result:
# portageq metadata / ebuild dev-db/mysql-connector-c-8.0.17-r1::gentoo RDEPEND
sys-libs/zlib:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ldap? ( dev-libs/cyrus-sasl:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) libressl? ( dev-libs/libressl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !libressl? ( dev-libs/openssl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !<dev-db/mysql-5.6.45-r1 !=dev-db/mysql-5.7.0* !=dev-db/mysql-5.7.1* !=dev-db/mysql-5.7.2* !=dev-db/mysql-5.7.3* !=dev-db/mysql-5.7.4* !=dev-db/mysql-5.7.5* !=dev-db/mysql-5.7.6* !=dev-db/mysql-5.7.7* !=dev-db/mysql-5.7.8* !=dev-db/mysql-5.7.9* !=dev-db/mysql-5.7.10* !=dev-db/mysql-5.7.11* !=dev-db/mysql-5.7.12* !=dev-db/mysql-5.7.13* !=dev-db/mysql-5.7.14* !=dev-db/mysql-5.7.15* !=dev-db/mysql-5.7.16* !=dev-db/mysql-5.7.17* !=dev-db/mysql-5.7.18* !=dev-db/mysql-5.7.19* !=dev-db/mysql-5.7.20* !=dev-db/mysql-5.7.21* !=dev-db/mysql-5.7.22* !=dev-db/mysql-5.7.23* !=dev-db/mysql-5.7.24* !=dev-db/mysql-5.7.25* !=dev-db/mysql-5.7.26* !=dev-db/mysql-5.7.27-r0
Thanks, but patch is wrong. The man pages were removed in latest version and all stable version (at least in latest one). I.e. =dev-db/mysql-5.7.26 is fine. And dev-db/mariadb was also patched... due to commit c50fef32cdf155707ff367f2990996be6c010b1f it's a little bit easier here but in theory we would also need soft-blocker for mariadb. (In reply to Thomas Deutschmann from comment #2) > Thanks, but patch is wrong. The man pages were removed in latest version and > all stable version (at least in latest one). I.e. =dev-db/mysql-5.7.26 is > fine. No, it is not. You might have confused it with another version. After `ebuild mysql-5.7.26.ebuild install` I see presence of these files: /var/tmp/portage/dev-db/mysql-5.7.26/image/usr/share/man/man1/my_print_defaults.1.bz2 /var/tmp/portage/dev-db/mysql-5.7.26/image/usr/share/man/man1/perror.1.bz2 /var/tmp/portage/dev-db/mysql-5.7.26/image/usr/share/man/man1/zlib_decompress.1.bz2 So the patch seems still correct. (Maybe you can extend it for dev-db/mariadb if necessary.) Still a problem with dev-db/mysql-5.7.27 and dev-db/mysql-connector-c-8.0.17-r1: * Detected file collision(s): * * /usr/share/man/man1/my_print_defaults.1.xz * /usr/share/man/man1/perror.1.xz * /usr/share/man/man1/zlib_decompress.1.xz * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-db/mysql-5.7.27:0::gentoo * /usr/share/man/man1/my_print_defaults.1.xz * /usr/share/man/man1/perror.1.xz * /usr/share/man/man1/zlib_decompress.1.xz * * Package 'dev-db/mysql-connector-c-8.0.17-r1' NOT merged due to file * collisions. If necessary, refer to your elog messages for the whole * content of the above message. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93dc56e0b40fe411ad82b3990f85bd5adf562dad commit 93dc56e0b40fe411ad82b3990f85bd5adf562dad Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-08-22 19:38:53 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-08-22 19:45:26 +0000 dev-db/mysql-connector-c: rev bump - Always install {lz4,zlib}_decompress - Avoid file collisions Closes: https://bugs.gentoo.org/692580 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> ...-8.0.17-always-build-decompress-utilities.patch | 22 ++++++++++++++++++++++ ...1.ebuild => mysql-connector-c-8.0.17-r2.ebuild} | 15 +++++++++++++-- 2 files changed, 35 insertions(+), 2 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ecc45f88b9837151fecb0fdc5fe425d153d80f commit 23ecc45f88b9837151fecb0fdc5fe425d153d80f Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-08-23 10:52:57 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-08-23 10:53:11 +0000 dev-db/mysql-connector-c: block prev. percona-server atoms Bug: https://bugs.gentoo.org/692580 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-db/mysql-connector-c/mysql-connector-c-8.0.17-r3.ebuild | 1 + 1 file changed, 1 insertion(+) |