[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #10846 [Flashproxy]: Make sed commands compatible with OS X (no -r option)



#10846: Make sed commands compatible with OS X (no -r option)
----------------------------+-----------------
     Reporter:  dcf         |      Owner:  dcf
         Type:  defect      |     Status:  new
     Priority:  minor       |  Milestone:
    Component:  Flashproxy  |    Version:
   Resolution:              |   Keywords:
Actual Points:              |  Parent ID:
       Points:              |
----------------------------+-----------------

Comment (by dcf):

 Here is sample output for `make dist` and `make test`.

 {{{
 ~/flashproxy$ make dist
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 rm -rf dist/flashproxy-client- dist/flashproxy-client-.zip
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 mkdir -p dist/flashproxy-client-
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.client
 PYTHON="python" DESTDIR=dist/flashproxy-client- bindir=/ docdir=/
 man1dir=/doc/ \
           REBUILD_MAN="0" install
 mkdir -p dist/flashproxy-client-/
 for i in flashproxy-client flashproxy-reg-appspot flashproxy-reg-email
 flashproxy-reg-http flashproxy-reg-url; do install "$i" dist/flashproxy-
 client-/; done
 mkdir -p dist/flashproxy-client-/
 for i in README LICENSE ChangeLog torrc; do install -m 644 "$i" dist
 /flashproxy-client-/; done
 mkdir -p dist/flashproxy-client-/doc/
 for i in doc/flashproxy-client.1 doc/flashproxy-reg-appspot.1 doc
 /flashproxy-reg-email.1 doc/flashproxy-reg-http.1 doc/flashproxy-reg-
 url.1; do install -m 644 "$i" dist/flashproxy-client-/doc/; done
 python setup-common.py build_py -d dist/flashproxy-client-
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 Traceback (most recent call last):
   File "setup-common.py", line 30, in <module>
     assert p.poll() == 0
 AssertionError
 make: *** [dist/flashproxy-client-] Error 1
 }}}

 {{{
 ~/flashproxy$ make test
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.client
 PYTHON="python" check
 for i in flashproxy-client-test.py; do python "$i"; done
 ..........................
 ----------------------------------------------------------------------
 Ran 26 tests in 0.006s

 OK
 python setup-common.py test
 sed: illegal option -- r
 usage: sed script [-Ealn] [-i extension] [file ...]
        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
 [file ...]
 Traceback (most recent call last):
   File "setup-common.py", line 30, in <module>
     assert p.poll() == 0
 AssertionError
 make: *** [check] Error 1
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10846#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs