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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 13 15:41:57 UTC 2014


#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 rl1987):

 I tried your changes. On Mac OS X 10.9.1 `make dist` fails with the
 following output:

 {{{
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 rm -rf dist/flashproxy-client- dist/flashproxy-client-.zip
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 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: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
 Traceback (most recent call last):
   File "setup-common.py", line 30, in <module>
     assert p.poll() == 0
 AssertionError
 make: *** [dist/flashproxy-client-] Error 1
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10846#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list