Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660972 - dev-db/mariadb-10.3.10: Broken symbolic link /usr/bin/wsrep_sst_rsync_wan
Summary: dev-db/mariadb-10.3.10: Broken symbolic link /usr/bin/wsrep_sst_rsync_wan
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-11 22:47 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-12-19 18:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-07-11 22:47:14 UTC
[ebuild   R    ] dev-db/mariadb-10.3.8:0/18::gentoo  USE="backup cracklib extraengine numa odbc pam server xml -bindist (-client-libs) -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -oqgraph -perl -profiling -rocksdb -selinux -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc {-test} -tokudb -yassl" ABI_MIPS="(-n32) (-n64) (-o32)" ABI_PPC="(-32) (-64)" ABI_S390="(-32) (-64)" ABI_X86="(64) -32 -x32" ELIBC="(-FreeBSD)" 0 KiB


 * QA Notice: Symbolic link /usr/bin/wsrep_sst_rsync_wan points to /usr/bin/wsrep_sst_rsync which does not exist.
Comment 1 Larry the Git Cow gentoo-dev 2018-12-18 02:40:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=912b2cf39807f29cb4428dfd09e42e2d7f40a246

commit 912b2cf39807f29cb4428dfd09e42e2d7f40a246
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-12-18 02:40:34 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-12-18 02:40:34 +0000

    dev-db/mariadb: Version bump for 10.3.11
    
    Includes fixes for dangling symlink QA report
    and pkg_config path for my_print_defaults
    
    Closes: https://bugs.gentoo.org/673348
    Closes: https://bugs.gentoo.org/673298
    Closes: https://bugs.gentoo.org/660972
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mariadb/Manifest                                             | 1 +
 .../mariadb/{mariadb-10.3.10-r1.ebuild => mariadb-10.3.11.ebuild}   | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2018-12-19 08:45:54 UTC
(In reply to Larry the Git Cow from comment #1)
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=912b2cf39807f29cb4428dfd09e42e2d7f40a246
> 
> commit 912b2cf39807f29cb4428dfd09e42e2d7f40a246
> Author:     Brian Evans <grknight@gentoo.org>
> AuthorDate: 2018-12-18 02:40:34 +0000
> Commit:     Brian Evans <grknight@gentoo.org>
> CommitDate: 2018-12-18 02:40:34 +0000
> 
>     dev-db/mariadb: Version bump for 10.3.11
>     
>     Includes fixes for dangling symlink QA report
>     and pkg_config path for my_print_defaults


This logic is broken:
	[[ -L "${ED}/usr/bin/wsrep_sst_rsync_wan" ]] && ! use galera \
		&& rm "${ED}/usr/bin/wsrep_sst_rsync_wan" || die
It results in call to 'die' when USE="galera" (or when "${ED}/usr/bin/wsrep_sst_rsync_wan" is not a symbolic link).

You should use:
	if [[ -L "${ED}/usr/bin/wsrep_sst_rsync_wan" ]] && ! use galera; then
		rm "${ED}/usr/bin/wsrep_sst_rsync_wan" || die
	fi
Comment 3 Larry the Git Cow gentoo-dev 2018-12-19 18:31:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b19130e3a08427e6defb885b53d8341134d21f6a

commit b19130e3a08427e6defb885b53d8341134d21f6a
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-12-19 18:30:44 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-12-19 18:30:44 +0000

    dev-db/mariadb: Fix up build condition syntax for 10.3.11
    
    Closes: https://bugs.gentoo.org/660972
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mariadb/mariadb-10.3.11.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)