[GHC] #13711: uname: illegal option -- o when running make clean in nofib
#13711: uname: illegal option -- o when running make clean in nofib -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: NoFib | Version: 8.0.1 benchmark suite | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- When running `make clean` in nofib, there are lots of warnings/errors like the following. I don't know if this is serious or not. I am on OS X. {{{ uname: illegal option -- o usage: uname [-amnprsv] rm -f Main.o *.CKP *.ln *.BAK *.bak .*.bak *.o core a.out errs ,* *.a .emacs_* tags TAGS *.ind *.ilg *.idx *.idx-prev *.aux *.aux-prev *.dvi *.log *.toc *.lot *.lof *.blg *.cb *_stub.c *_stub.h *.raw_s *.a.list a.out ./*.hi Main.hc reverse-complement Finished making clean in reverse-complement: 0 ------------------------------------------------------------------------ == /Applications/Xcode.app/Contents/Developer/usr/bin/make clean - --no- print-directory; in /Users/matt/Documents/haskell/ghc/nofib/shootout/spectral-norm ------------------------------------------------------------------------ uname: illegal option -- o usage: uname [-amnprsv] }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13711> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13711: uname: illegal option -- o when running make clean in nofib -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: NoFib benchmark | Version: 8.0.1 suite | Resolution: | Keywords: Operating System: MacOS X | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * os: Unknown/Multiple => MacOS X Comment: Hmm, indeed the only `uname` options defined by the POSIX specification are `mnrsva`. There are two mentions of `uname -o` in `nofib`, {{{ mk/boilerplate.mk:ifeq ($(shell uname -o), Msys) runstdtest/runstdtest.prl:if ( `uname -o | grep Msys` ) { }}} I suppose we should replace these. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13711#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13711: uname: illegal option -- o when running make clean in nofib -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: Component: NoFib benchmark | Version: 8.0.1 suite | Resolution: | Keywords: Operating System: MacOS X | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3594 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D3594 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13711#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13711: uname: illegal option -- o when running make clean in nofib -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: Component: NoFib benchmark | Version: 8.0.1 suite | Resolution: | Keywords: Operating System: MacOS X | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3594 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"7debffc19e17ceec7a5fc4bde9aa9780847dda17/nofib" 7debffc/nofib]: {{{ #!CommitTicketReference repository="nofib" revision="7debffc19e17ceec7a5fc4bde9aa9780847dda17" Don't use uname -o Summary: It's not required by the POSIX specification and OS X doesn't support it; instead use uname -s. Test Plan: V Reviewers: O26 nofib, michalt, mpickering Reviewed By: O26 nofib, michalt, mpickering Subscribers: mpickering GHC Trac Issues: #13711 Differential Revision: https://phabricator.haskell.org/D3594 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13711#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#13711: uname: illegal option -- o when running make clean in nofib -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: NoFib benchmark | Version: 8.0.1 suite | Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3594 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed * milestone: => 8.4.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13711#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC