On 2019/06/05 01:50, Jeremie Courreges-Anglas wrote:
>
> opensmtpd-extras fails to package on sparc64:
>
> http://build-failures.rhaalovely.net//sparc64/2019-05-14/mail/opensmtpd-extras%2C-main.log
>
> The problem is that ${COMPILER_LIBCXX} (libestdc++) is added
> automatically to WANTLIB but gcc-libs isn't registered in
> LIB_DEPENDS-main, so pkg_create rightfully complains.
>
> The weird thing is that opensmtpd-extras is a C-only port, it builds
> just fine on sparc64 using base-gcc. I don't know why the -mysql
> subpackage had ${COMPILER_LIBCXX} in WANTLIB. Maybe because of the dep
> on a previous libmysqlclient? make port-lib-depends-check/repackage
> says it is not needed any more, and COMPILER isn't needed either.
>
> So, ok for the diff below?
OK. Yes that is exactly why it had ${COMPILER_LIBCXX}.
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/opensmtpd-extras/Makefile,v
> retrieving revision 1.26
> diff -u -p -r1.26 Makefile
> --- Makefile 24 Nov 2018 11:27:49 -0000 1.26
> +++ Makefile 4 Jun 2019 23:34:25 -0000
> @@ -14,6 +14,7 @@ PKGNAME-pgsql= opensmtpd-extras-pgsql-$
> PKGNAME-python= opensmtpd-extras-python-${V}
> PKGNAME-redis= opensmtpd-extras-redis-${V}
> EPOCH= 0
> +REVISION= 0
>
> CATEGORIES= mail
>
> @@ -27,13 +28,11 @@ MULTI_PACKAGES= -main -mysql -pgsql -py
> # BSD
> PERMIT_PACKAGE_CDROM= Yes
>
> -WANTLIB= c crypto event m pthread ssl sqlite3 z
> -WANTLIB-mysql= c crypto event ssl m pthread ${COMPILER_LIBCXX} mysqlclient
> +WANTLIB-main= c crypto event m pthread ssl sqlite3 z
> +WANTLIB-mysql= c crypto event iconv ssl m pthread mysqlclient z
> WANTLIB-pgsql= c crypto event ssl pq
> WANTLIB-python= c crypto event ssl m util pthread ${MODPY_WANTLIB}
> WANTLIB-redis= c crypto event ssl hiredis
> -
> -COMPILER = base-clang ports-gcc base-gcc
>
> MASTER_SITES= ${HOMEPAGE}archives/
>
>
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
>
No comments:
Post a Comment