A change introduced in 5.4.33 ebuild leads to breakage with mariadb config: ---------- /usr/portage/net-mail/vpopmail/vpopmail-5.4.33.ebuild:80: authopts="$(mysql_config --include)" ---------- Command outputs: # mysql_config --include -I/usr/include/mysql -I/usr/include/mysql/.. # emerge -av1 virtual/mysql dev-db/mariadb [ebuild R ] dev-db/mariadb-10.0.14-r1 USE="community pam perl ssl -cluster -debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -odbc -oqgraph -profiling (-selinux) -sphinx -static -static-libs -systemtap -tcmalloc {-test} -tokudb -xml" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] virtual/mysql-5.6-r2:0/18 USE="-embedded -minimal -static -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB # emerge -av1 vpopmail [ebuild R ] net-mail/vpopmail-5.4.33-r1 USE="mysql -clearpasswd -ipalias -maildrop -postgres -spamassassin" 0 KiB
Please attach the entire build log to this bug report.
Created attachment 387362 [details] build.log
Created attachment 387364 [details, diff] possible change to ebuild
> mysqlinc=$(mysql_config --include) > authopts="--enable-incdir=${mysqlinc#-I}" This is not very portable when more than one directory appears like in this bug. With >=virtual/mysql-5.5, use $(mysql_config --variable=pkgincludedir)
I just want to confirm this bug - don't have canconfirm permission though. Thanks to Brian Evans comment about mysql_config, I was able to patch the ebuild in my own overlay, and have it compile again.
Created attachment 530038 [details, diff] proposed patch for stable ebuild
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66059885d224eca79b8ede013342cef091704566 commit 66059885d224eca79b8ede013342cef091704566 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2018-06-08 05:09:20 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2018-06-08 05:11:42 +0000 net-mail/vpopmail: cleanup some outstanding bugs - Compile fix: MySQL include dir (#526590) - Remove ebeep (#646174) - Repoman warnings for dosym - EAPI=6 ebuild Closes: https://bugs.gentoo.org/526590 Closes: https://bugs.gentoo.org/646174 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Package-Manager: Portage-2.3.33, Repoman-2.3.9 net-mail/vpopmail/files/vpopmail-double-free.patch | 4 +- net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild | 13 ++-- net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild | 75 ++++++++++++++++++---- net-mail/vpopmail/vpopmail-5.4.33.ebuild | 11 ++-- 4 files changed, 80 insertions(+), 23 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce73e9fc91ec8bdf6e238987ee4f765f64bcd73d commit ce73e9fc91ec8bdf6e238987ee4f765f64bcd73d Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2018-06-06 21:16:26 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2018-06-08 05:11:40 +0000 net-mail/vpopmail: fix linking Bug: https://bugs.gentoo.org/526590 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Package-Manager: Portage-2.3.33, Repoman-2.3.9 net-mail/vpopmail/vpopmail-5.4.33-r1.ebuild | 15 +- net-mail/vpopmail/vpopmail-5.4.33-r2.ebuild | 254 ++++++++++++++++++++++++++++ net-mail/vpopmail/vpopmail-5.4.33.ebuild | 15 +- 3 files changed, 270 insertions(+), 14 deletions(-)