From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3561 216.34.176.0/20 X-Spam-Status: No, score=-3.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 747091F667 for ; Sat, 12 Aug 2017 09:22:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1dgScm-0006gY-MR; Sat, 12 Aug 2017 09:22:28 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1dgSck-0006gS-QQ for sox-users@lists.sourceforge.net; Sat, 12 Aug 2017 09:22:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=/wOMsOlPp0khI8LYvkaa+iX326UxeT2HMQnZciDPD+U=; b=EQ5o/fZnjX9TObYixUz7Fsv5IA679tRCsFMrQ4yzwPAK49hlWrNXOx/HIxkSi6dxQffojH+9tiFqPgPc7RV/wF9XKCbGRR1V8momayymt7kzZMOYrROaB1ev1mnH45CYKNk1i8guRbR70Moo4R1LpLqoIFc9o4e1KxqVaEsczNU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=/wOMsOlPp0khI8LYvkaa+iX326UxeT2HMQnZciDPD+U=; b=jRIJje55qaM/mZ2v0yFQMCCnOY3eXFkCOOwKl0CeW0mJ05JRFdHFpSf4z7jgFXTmMn4xIEFXAQe6VVMioW1xJ8ZdUj6ojrBVLqvxqBlYz4OABhT0cu6Fqv6WLriaQov5ICDWBGNf29jKdKx8ymAQEZN0ivGW24hdIAbDNLWk9b4=; X-ACL-Warn: Received: from ns.stare.cz ([79.98.77.229] helo=mx.stare.cz) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dgSci-0007y4-Ug for sox-users@lists.sourceforge.net; Sat, 12 Aug 2017 09:22:26 +0000 Received: from www.stare.cz (localhost [127.0.0.1]) by www.stare.cz (OpenSMTPD) with ESMTP id 6d85a78a for ; Sat, 12 Aug 2017 10:55:39 +0200 (CEST) Date: Sat, 12 Aug 2017 10:55:38 +0200 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: <20170812085538.GA31730@www.stare.cz> Mail-Followup-To: sox-users@lists.sourceforge.net MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-Headers-End: 1dgSci-0007y4-Ug Subject: -export-symbols-regex fails on MacOS 10.7 X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net http://marc.info/?t=150223362500004&r=1&w=2 A build of the current git master (14.4.2 too) fails on MacOS 10.7. Thanks to Joshua Root of MacPorts, I have tracked the root cause to the following line in src/Makefile.am: -export-symbols-regex '^(sox_.*|lsx_(check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$' The problem is that the grep(1) that comes with MacOS 10.7 just cannot grep for that, resulting in /usr/bin/nm: no name list grep: Regular expression too big The grep provided by MacPorts works fine, so a workaround exists. But I would like to get rid of it at the source: can the above regexp be simplified or even discarded? Am I right at thinking that this is what an outut of nm(1) is grepped for to get a list of symbols? Is the list accurate and up to date? Looking at the history https://sourceforge.net/p/sox/code/ci/7e74b254b2a7c963be0bfce751fc5911fe681c12/log/?path=/src/Makefile.am it has last been touched about four years ago. If there are any SoX users on MacOS 10.7, can you please try to build SoX with the system grep, as opposed to some other grep provided by macport or brew or else? Can you please try to just grep the above line with both grep(1)s? Thank you Jan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users