From owner-svn-ports-head@freebsd.org Tue Jun 4 21:25:42 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 488F315BDAF9; Tue, 4 Jun 2019 21:25:42 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2BBA86BB9; Tue, 4 Jun 2019 21:25:41 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B96D8233AF; Tue, 4 Jun 2019 21:25:41 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x54LPfF8025786; Tue, 4 Jun 2019 21:25:41 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x54LPf0e025785; Tue, 4 Jun 2019 21:25:41 GMT (envelope-from se@FreeBSD.org) Message-Id: <201906042125.x54LPf0e025785@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: Stefan Esser Date: Tue, 4 Jun 2019 21:25:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503492 - head/math/gh-bc X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: head/math/gh-bc X-SVN-Commit-Revision: 503492 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E2BBA86BB9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2019 21:25:42 -0000 Author: se Date: Tue Jun 4 21:25:41 2019 New Revision: 503492 URL: https://svnweb.freebsd.org/changeset/ports/503492 Log: Try to fix a package build error that I cannot reproduce on my system. Even though "poudriere testport" completed without error, I have received a failure message from the build cluster. Since I cannot reproduce the problem, I can only guess that it is caused by a symbolic link in the share/nls directory that connects nls/C to nls/en_US.US-ASCII. I had problems with the nls/C directory disappearing due to that link before (it is deleted as empty when the last catalog file is deleted on package deinstallation, but then missing when a new file is installed into en_US.US-ASCII, which is just a symbolic link to C which does not exist at that time anymore). I think this is a bug in "pkg" and have opened a PR. It is possible that the port will still fail to build in the cluster, but without access to the work directory (or rather the stage directory) of the build host I can only guess what's exactly going on. IMHO there should not be any magic conenction between nls/en_US.US-ASCII and nls/C, since this breaks assumptions made in pkg and in the qa check performed by poudriere. Approved by: antoine (implicit) Modified: head/math/gh-bc/Makefile Modified: head/math/gh-bc/Makefile ============================================================================== --- head/math/gh-bc/Makefile Tue Jun 4 21:24:52 2019 (r503491) +++ head/math/gh-bc/Makefile Tue Jun 4 21:25:41 2019 (r503492) @@ -2,6 +2,7 @@ PORTNAME= bc PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= math PKGNAMEPREFIX= gh- @@ -26,10 +27,11 @@ do-install: ${LN} ${STAGEDIR}${PREFIX}/bin/bc ${STAGEDIR}${PREFIX}/bin/dc ${INSTALL_MAN} ${WRKSRC}/manuals/bc.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/manuals/dc.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${PREFIX}/share/nls/C ${WRKSRC}/locale_install.sh ${STAGEDIR}${PREFIX}/share/nls/%L/%N.cat ${PORTNAME} ${RM} ${STAGEDIR}${PREFIX}/share/nls/en_US/bc.cat ${RMDIR} ${STAGEDIR}${PREFIX}/share/nls/en_US - ${LN} ${STAGEDIR}${PREFIX}/share/nls/en_US.US-ASCII/bc.cat ${STAGEDIR}${PREFIX}/share/nls/C/ + ${LN} ${STAGEDIR}${PREFIX}/share/nls/en_US.ISO8859-1/bc.cat ${STAGEDIR}${PREFIX}/share/nls/C/ do-test: ${MAKE} -C ${WRKSRC} test