From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.pdinc.us (mail.pdinc.us [67.90.184.27]) by sourceware.org (Postfix) with ESMTPS id 6183C3848403 for ; Sun, 9 May 2021 21:12:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6183C3848403 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=pdinc.us Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jpyeron@pdinc.us Received: from lovegrove (nsa1.pdinc.us [67.90.184.2]) (authenticated bits=0) by mail1.pdinc.us (8.14.4/8.14.4) with ESMTP id 149LCekH019293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 9 May 2021 17:12:41 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 mail1.pdinc.us 149LCekH019293 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default; t=1620594761; bh=f9REYD6eGfrqRaArtcMRA+68ZcZKTWFgLYUOuvGiFl8=; h=From:To:References:In-Reply-To:Subject:Date:From; b=YWvWX6J3Dy/uFQTiuQlkQVRNulsqyD9weJRPqiZgkezUouw9ZRZ6G95Swzw/qITlQ TdCQLM1D0BP5QPk6e/gvjm7pGTziCtTBEYZnP8XPAhQ5PJM0w3ElxkoWZc1cLEv1FS L5GdtZHyg64OV8ofvHL9qV1b1P5RlKFwYxDM71+Onj4sVAU/h8Stq2sz6E83FVAAKf HivCtJVKD+lIx+Ho+qlxCeDAqd3Zguos8im+NWX/ay9+udWYR2d9KbZ0DY30/zTs2N 99RinrG3z9YiOJGO5ILeCXfLAl8446vee0QWdqth6weHtD6GFE9uswgbxHm2CXEmbd OqME4hWPwB92A== From: "Jason Pyeron" To: References: <000401d7404f$faa32970$efe97c50$@pdinc.us> <877dkf7hep.fsf@Rainer.invalid> <001001d74052$710751c0$5315f540$@pdinc.us> <017801d74500$4c5eb270$e51c1750$@pdinc.us> <4003269c-9c8b-7707-d3a8-8f6f5c2cd333@gmail.com> In-Reply-To: <4003269c-9c8b-7707-d3a8-8f6f5c2cd333@gmail.com> Subject: RE: pdfgrep [ITA] Date: Sun, 9 May 2021 17:12:51 -0400 Message-ID: <01af01d74518$12273510$36759f30$@pdinc.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Content-Language: en-us Thread-Index: AQG4V8CdSbQBl0rMiCygpDYums9AuAGpNmX+AaJepVsCG+fARwHKHopoAXVvafwCEbkx8w== X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2021 21:12:42 -0000 (resending, accidentally sent direct to Marco) > -----Original Message----- > From: Marco Atzeri > Sent: Sunday, May 9, 2021 4:05 PM > > On 09.05.2021 21:54, Marco Atzeri wrote: > > On 09.05.2021 20:22, Jason Pyeron wrote: > > > > > > > $ ./pdfgrep.exe --help > > terminate called after throwing an instance of 'std::runtime_error' > > what(): locale::facet::_S_create_c_locale name not valid > > Aborted (core dumped) > > > > Same for your binary > > > > it seems the program does not like a locale different from C > > $ LC_ALL=C bin/pdfgrep.exe > Usage: bin/pdfgrep [OPTION]... PATTERN FILE... > > See 'bin/pdfgrep --help' for more information > > $ LC_ALL="en_US.UTF-8" bin/pdfgrep.exe > terminate called after throwing an instance of 'std::runtime_error' > what(): locale::facet::_S_create_c_locale name not valid > Aborted (core dumped) Testing is on my list - hence the CI build infra... That being said - I cannot reproduce your core dumps for 1.4.1, I can for 2.1.2 jenkinsoss-ci-cygwin ~ $ cd ./workspace/oss-cygwin-pdfgrep-1.4.1-x64/pdfgrep-1.4.1-2.x86_64/inst/usr/bin/ jenkinsoss-ci-cygwin ~/workspace/oss-cygwin-pdfgrep-1.4.1-x64/pdfgrep-1.4.1-2.x86_64/inst/usr/bin $ ./pdfgrep.exe --help Usage: ./pdfgrep [OPTION]... PATTERN FILE... Search for PATTERN in each FILE. PATTERN is, by default, an extended regular expression. Options: -i, --ignore-case Ignore case distinctions -P, --pcre Use Perl compatible regular expressions (PCRE) -H, --with-filename Print the file name for each match -h, --no-filename Suppress the prefixing of file name on output -n, --page-number Print page number with output lines -c, --count Print only a count of matches per file -C, --context NUM Print at most NUM chars of context --color WHEN Use colors for highlighting; WHEN can be `always', `never' or `auto' -p, --page-count Print only a count of matches per page -m, --max-count NUM Stop reading after NUM matching lines (per file) -q, --quiet Suppress normal output -r, --recursive Search directories recursively -R, --dereference-recursive Likewise, but follow all symlinks --help Print this help -V, --version Show version information jenkinsoss-ci-cygwin ~/workspace/oss-cygwin-pdfgrep-1.4.1-x64/pdfgrep-1.4.1-2.x86_64/inst/usr/bin $ cd .. jenkinsoss-ci-cygwin ~/workspace/oss-cygwin-pdfgrep-1.4.1-x64/pdfgrep-1.4.1-2.x86_64/inst/usr $ LC_ALL="en_US.UTF-8" bin/pdfgrep.exe Usage: bin/pdfgrep [OPTION]... PATTERN FILE... See 'bin/pdfgrep --help' for more information jenkinsoss-ci-cygwin ~/workspace/oss-cygwin-pdfgrep-1.4.1-x64/pdfgrep-1.4.1-2.x86_64/inst/usr $ Upstream bugs: https://gitlab.com/pdfgrep/pdfgrep/-/issues/45 and https://gitlab.com/pdfgrep/pdfgrep/-/issues/47 -Jason