From owner-svn-ports-all@freebsd.org Fri Apr 7 23:16:16 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C2ABD3289B; Fri, 7 Apr 2017 23:16:16 +0000 (UTC) (envelope-from sunpoet@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 mx1.freebsd.org (Postfix) with ESMTPS id 6E12015F; Fri, 7 Apr 2017 23:16:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v37NGFxh012901; Fri, 7 Apr 2017 23:16:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v37NGFnk012900; Fri, 7 Apr 2017 23:16:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201704072316.v37NGFnk012900@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 7 Apr 2017 23:16:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437963 - head/dns/libpsl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 23:16:16 -0000 Author: sunpoet Date: Fri Apr 7 23:16:15 2017 New Revision: 437963 URL: https://svnweb.freebsd.org/changeset/ports/437963 Log: Use UTF-8 locale to ensure psl-make-dafsa processing The error message using C locale is as follows: ./psl-make-dafsa --output-format=cxx+ "/usr/local/share/public_suffix_list/public_suffix_list.dat" suffixes_dafsa.c Traceback (most recent call last): File "./psl-make-dafsa", line 695, in sys.exit(main()) File "./psl-make-dafsa", line 689, in main outfile.write(converter(parser(infile, utf_mode, codecs), utf_mode, codecs)) File "./psl-make-dafsa", line 559, in parse_psl for line in infile: File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7619: ordinal not in range(128) Modified: head/dns/libpsl/Makefile Modified: head/dns/libpsl/Makefile ============================================================================== --- head/dns/libpsl/Makefile Fri Apr 7 22:32:01 2017 (r437962) +++ head/dns/libpsl/Makefile Fri Apr 7 23:16:15 2017 (r437963) @@ -29,6 +29,7 @@ CONFIGURE_ARGS= --enable-man \ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes +USE_LOCALE= en_US.UTF-8 USES= autoreconf libtool localbase:ldflags pathfix pkgconfig python:build shebangfix GH_ACCOUNT= rockdaboot