From: Jan Stary <hans@stare.cz>
To: sox-devel@lists.sourceforge.net
Subject: Re: -export-symbols-regex fails on MacOS 10.7
Date: Sat, 12 Aug 2017 10:57:16 +0200 [thread overview]
Message-ID: <20170812085716.GA64417@www.stare.cz> (raw)
In-Reply-To: <20170812085538.GA31730@www.stare.cz>
(This probably belongs to sox-devel, sorry.)
On Aug 12 10:55:38, hans@stare.cz wrote:
> 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-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel
parent reply other threads:[~2017-08-12 9:24 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20170812085538.GA31730@www.stare.cz>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.sourceforge.net/lists/listinfo/sox-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170812085716.GA64417@www.stare.cz \
--to=sox-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/sox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).