Error creating man/man1/pandoc.1
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
Conal Elliott <co... @conal.net>
Date: Thu, 23 Jul 2009 07:52:55 -0700
Local: Thurs, Jul 23 2009 10:52 am
Subject: Error creating man/man1/pandoc.1
I'm getting an error from 'cabal install pandoc' on OS X, just after successful compile & link: [...] [29 of 30] Compiling Text.Pandoc ( src/Text/Pandoc.hs, dist/build/pandoc/pandoc-tmp/Text/Pandoc.o ) [30 of 30] Compiling Main ( src/pandoc.hs, dist/build/pandoc/pandoc-tmp/Main.o ) Linking dist/build/pandoc/pandoc ... Error creating man/man1/pandoc.1 cabal: Error: some packages failed to install: pandoc-1.2.1 failed during the building phase. The exception was: exit: ExitFailure 10
I'm just getting started with OS X, so perhaps there's something out of whack in my environment.
Any ideas?
- Conal
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
John MacFarlane <fiddlosop... @gmail.com>
Date: Thu, 23 Jul 2009 08:33:38 -0700
Local: Thurs, Jul 23 2009 11:33 am
Subject: Re: Error creating man/man1/pandoc.1
+++ Conal Elliott [Jul 23 09 07:52 ]:
> I'm getting an error from 'cabal install pandoc' on OS X, just after
> successful compile & link:
> [...] > [29 of 30] Compiling Text.Pandoc ( src/Text/Pandoc.hs, > dist/build/pandoc/pandoc-tmp/Text/Pandoc.o ) > [30 of 30] Compiling Main ( src/pandoc.hs, > dist/build/pandoc/pandoc-tmp/Main.o ) > Linking dist/build/pandoc/pandoc ... > Error creating man /man1/pandoc.1 > cabal: Error: some packages failed to install: > pandoc-1.2.1 failed during the building phase. The exception was: > exit: ExitFailure 10
> I'm just getting started with OS X, so perhaps there's something out of > whack in my environment.
> Any ideas?
> - Conal
I'm not sure, and I can't test on a Mac at the moment, because mine is in the shop. Can you try it this way? cabal unpack pandoc cd pandoc 1.2.1 cabal install
By the way, here's the function from Setup.hs that creates the man page by running pandoc on a markdown version of it:
-- | Build a man page from markdown source in man /man1. makeManPage manpage = do let manDir = "man " </> "man1" let pandoc = "dist" </> "build" </> "pandoc" </> "pandoc" let page = manDir </> manpage let source = manDir </> manpage <.> "md" modifiedDeps <- modifiedDependencies page [source] unless (null modifiedDeps) $ do ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w", "man ", "-o", page, source] Nothing Nothing Nothing Nothing (Just stderr) >>= waitForProcess case ec of ExitSuccess -> putStrLn $ "Created " ++ manDir </> manpage _ -> do putStrLn $ "Error creating " ++ manDir </> manpage exitWith ec
So, you could try running the command manually and seeing what happens:
dist/build/padoc/pandoc -s -S -r markdown -w man -o man /man1/pandoc.1 man /man1/pandoc.1.md
John
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Conal Elliott <co... @conal.net>
Date: Thu, 23 Jul 2009 08:58:20 -0700
Local: Thurs, Jul 23 2009 11:58 am
Subject: Re: Error creating man/man1/pandoc.1
I get a bus error and an empty pandoc.1:
bash-3.2$ dist/build/pandoc/pandoc -s -S -r markdown -w man -o
man/man1/pandoc.1 man/man1/pandoc.1.md
Bus error
bash-3.2$ ls -l man/man1/pandoc.1
-rw-r--r-- 1 conal staff 0 Jul 23 08:55 man/man1/pandoc.1
bash-3.2$
On Thu, Jul 23, 2009 at 8:33 AM, John MacFarlane <fiddlosop... @gmail.com>wrote:
> +++ Conal Elliott [Jul 23 09 07:52 ]:
> > I'm getting an error from 'cabal install pandoc' on OS X, just after
> > successful compile & link:
> > [...]
> > [29 of 30] Compiling Text.Pandoc ( src/Text/Pandoc.hs,
> > dist/build/pandoc/pandoc-tmp/Text/Pandoc.o )
> > [30 of 30] Compiling Main ( src/pandoc.hs,
> > dist/build/pandoc/pandoc-tmp/Main.o )
> > Linking dist/build/pandoc/pandoc ...
> > Error creating man/man1/pandoc.1
> > cabal: Error: some packages failed to install:
> > pandoc-1.2.1 failed during the building phase. The exception was:
> > exit: ExitFailure 10
> > I'm just getting started with OS X, so perhaps there's something out
> of
> > whack in my environment.
> > Any ideas?
> > - Conal
> I'm not sure, and I can't test on a Mac at the moment, because mine is
> in the shop. Can you try it this way?
> cabal unpack pandoc
> cd pandoc 1.2.1
> cabal install
> By the way, here's the function from Setup.hs that creates the man page
> by running pandoc on a markdown version of it:
> -- | Build a man page from markdown source in man/man1.
> makeManPage manpage = do
> let manDir = "man" </> "man1"
> let pandoc = "dist" </> "build" </> "pandoc" </> "pandoc"
> let page = manDir </> manpage
> let source = manDir </> manpage <.> "md"
> modifiedDeps <- modifiedDependencies page [source]
> unless (null modifiedDeps) $ do
> ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w", "man",
> "-o", page, source]
> Nothing Nothing Nothing Nothing (Just stderr) >>=
> waitForProcess
> case ec of
> ExitSuccess -> putStrLn $ "Created " ++ manDir </> manpage
> _ -> do putStrLn $ "Error creating " ++ manDir </>
> manpage
> exitWith ec
> So, you could try running the command manually and seeing what happens:
> dist/build/padoc/pandoc -s -S -r markdown -w man -o man/man1/pandoc.1
> man/man1/pandoc.1.md
> John
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Robin Green <gree... @gmail.com>
Date: Thu, 23 Jul 2009 17:04:11 +0100
Local: Thurs, Jul 23 2009 12:04 pm
Subject: Re: Error creating man/man1/pandoc.1
Are you using the latest version of GHC?
2009/7/23 Conal Elliott <co... @conal.net>
> I get a bus error and an empty pandoc.1:
> bash-3.2$ dist/build/pandoc/pandoc -s -S -r markdown -w man -o
> man/man1/pandoc.1 man/man1/pandoc.1.md
> Bus error
> bash-3.2$ ls -l man/man1/pandoc.1
> -rw-r--r-- 1 conal staff 0 Jul 23 08:55 man/man1/pandoc.1
> bash-3.2$
> On Thu, Jul 23, 2009 at 8:33 AM, John MacFarlane <fiddlosop... @gmail.com>wrote:
>> +++ Conal Elliott [Jul 23 09 07:52 ]:
>> > I'm getting an error from 'cabal install pandoc' on OS X, just after
>> > successful compile & link:
>> > [...]
>> > [29 of 30] Compiling Text.Pandoc ( src/Text/Pandoc.hs,
>> > dist/build/pandoc/pandoc-tmp/Text/Pandoc.o )
>> > [30 of 30] Compiling Main ( src/pandoc.hs,
>> > dist/build/pandoc/pandoc-tmp/Main.o )
>> > Linking dist/build/pandoc/pandoc ...
>> > Error creating man/man1/pandoc.1
>> > cabal: Error: some packages failed to install:
>> > pandoc-1.2.1 failed during the building phase. The exception was:
>> > exit: ExitFailure 10
>> > I'm just getting started with OS X, so perhaps there's something out
>> of
>> > whack in my environment.
>> > Any ideas?
>> > - Conal
>> I'm not sure, and I can't test on a Mac at the moment, because mine is
>> in the shop. Can you try it this way?
>> cabal unpack pandoc
>> cd pandoc 1.2.1
>> cabal install
>> By the way, here's the function from Setup.hs that creates the man page
>> by running pandoc on a markdown version of it:
>> -- | Build a man page from markdown source in man/man1.
>> makeManPage manpage = do
>> let manDir = "man" </> "man1"
>> let pandoc = "dist" </> "build" </> "pandoc" </> "pandoc"
>> let page = manDir </> manpage
>> let source = manDir </> manpage <.> "md"
>> modifiedDeps <- modifiedDependencies page [source]
>> unless (null modifiedDeps) $ do
>> ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w", "man",
>> "-o", page, source]
>> Nothing Nothing Nothing Nothing (Just stderr) >>=
>> waitForProcess
>> case ec of
>> ExitSuccess -> putStrLn $ "Created " ++ manDir </> manpage
>> _ -> do putStrLn $ "Error creating " ++ manDir </>
>> manpage
>> exitWith ec
>> So, you could try running the command manually and seeing what happens:
>> dist/build/padoc/pandoc -s -S -r markdown -w man -o man/man1/pandoc.1
>> man/man1/pandoc.1.md
>> John
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Conal Elliott <co... @conal.net>
Date: Thu, 23 Jul 2009 09:32:19 -0700
Local: Thurs, Jul 23 2009 12:32 pm
Subject: Re: Error creating man/man1/pandoc.1
Nearly latest:
bash-3.2$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.3
On Thu, Jul 23, 2009 at 9:04 AM, Robin Green <gree
... @gmail.com> wrote:
> Are you using the latest version of GHC?
> 2009/7/23 Conal Elliott <co... @conal.net>
> I get a bus error and an empty pandoc.1:
>> bash-3.2$ dist/build/pandoc/pandoc -s -S -r markdown -w man -o
>> man/man1/pandoc.1 man/man1/pandoc.1.md
>> Bus error
>> bash-3.2$ ls -l man/man1/pandoc.1
>> -rw-r--r-- 1 conal staff 0 Jul 23 08:55 man/man1/pandoc.1
>> bash-3.2$
>> On Thu, Jul 23, 2009 at 8:33 AM, John MacFarlane <fiddlosop... @gmail.com>wrote:
>>> +++ Conal Elliott [Jul 23 09 07:52 ]:
>>> > I'm getting an error from 'cabal install pandoc' on OS X, just after
>>> > successful compile & link:
>>> > [...]
>>> > [29 of 30] Compiling Text.Pandoc ( src/Text/Pandoc.hs,
>>> > dist/build/pandoc/pandoc-tmp/Text/Pandoc.o )
>>> > [30 of 30] Compiling Main ( src/pandoc.hs,
>>> > dist/build/pandoc/pandoc-tmp/Main.o )
>>> > Linking dist/build/pandoc/pandoc ...
>>> > Error creating man/man1/pandoc.1
>>> > cabal: Error: some packages failed to install:
>>> > pandoc-1.2.1 failed during the building phase. The exception was:
>>> > exit: ExitFailure 10
>>> > I'm just getting started with OS X, so perhaps there's something out
>>> of
>>> > whack in my environment.
>>> > Any ideas?
>>> > - Conal
>>> I'm not sure, and I can't test on a Mac at the moment, because mine is
>>> in the shop. Can you try it this way?
>>> cabal unpack pandoc
>>> cd pandoc 1.2.1
>>> cabal install
>>> By the way, here's the function from Setup.hs that creates the man page
>>> by running pandoc on a markdown version of it:
>>> -- | Build a man page from markdown source in man/man1.
>>> makeManPage manpage = do
>>> let manDir = "man" </> "man1"
>>> let pandoc = "dist" </> "build" </> "pandoc" </> "pandoc"
>>> let page = manDir </> manpage
>>> let source = manDir </> manpage <.> "md"
>>> modifiedDeps <- modifiedDependencies page [source]
>>> unless (null modifiedDeps) $ do
>>> ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w", "man",
>>> "-o", page, source]
>>> Nothing Nothing Nothing Nothing (Just stderr) >>=
>>> waitForProcess
>>> case ec of
>>> ExitSuccess -> putStrLn $ "Created " ++ manDir </> manpage
>>> _ -> do putStrLn $ "Error creating " ++ manDir </>
>>> manpage
>>> exitWith ec
>>> So, you could try running the command manually and seeing what happens:
>>> dist/build/padoc/pandoc -s -S -r markdown -w man -o man/man1/pandoc.1
>>> man/man1/pandoc.1.md
>>> John
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
John MacFarlane <fiddlosop... @gmail.com>
Date: Fri, 24 Jul 2009 13:20:13 -0700
Local: Fri, Jul 24 2009 4:20 pm
Subject: Re: Error creating man/man1/pandoc.1
I don't have a clue. Is it specific to pandoc?
Are you able to build other cabal packages?
John
+++ Conal Elliott [Jul 23 09 09:32 ]:
> Nearly latest:
> bash-3.2$ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.10.3
> On Thu, Jul 23, 2009 at 9:04 AM, Robin Green <gree... @gmail.com> wrote:
> Are you using the latest version of GHC?
> 2009/7/23 Conal Elliott <co... @conal.net>
> I get a bus error and an empty pandoc.1:
> bash-3.2$ dist/build/pandoc/pandoc -s -S -r markdown -w man -o
> man /man1/pandoc.1 man /man1/pandoc.1.md
> Bus error
> bash-3.2$ ls -l man /man1/pandoc.1
> -rw-r--r-- 1 conal staff 0 Jul 23 08:55 man /man1/pandoc.1
> bash-3.2$
> On Thu, Jul 23, 2009 at 8:33 AM, John MacFarlane
> <fiddlosop... @gmail.com> wrote:
> +++ Conal Elliott [Jul 23 09 07:52 ]:
> > I'm getting an error from 'cabal install pandoc' on OS X, just
> after
> > successful compile & link:
> > [...]
> > [29 of 30] Compiling Text.Pandoc ( src/Text/Pandoc.hs,
> > dist/build/pandoc/pandoc-tmp/Text/Pandoc.o )
> > [30 of 30] Compiling Main ( src/pandoc.hs,
> > dist/build/pandoc/pandoc-tmp/Main.o )
> > Linking dist/build/pandoc/pandoc ...
> > Error creating man /man1/pandoc.1
> > cabal: Error: some packages failed to install:
> > pandoc-1.2.1 failed during the building phase. The exception
> was:
> > exit: ExitFailure 10
> > I'm just getting started with OS X, so perhaps there's
> something out of
> > whack in my environment.
> > Any ideas?
> > - Conal
> I'm not sure, and I can't test on a Mac at the moment, because mine
> is
> in the shop. Can you try it this way?
> cabal unpack pandoc
> cd pandoc 1.2.1
> cabal install
> By the way, here's the function from Setup.hs that creates the man
> page
> by running pandoc on a markdown version of it:
> -- | Build a man page from markdown source in man /man1.
> makeManPage manpage = do
> let manDir = "man " </> "man1"
> let pandoc = "dist" </> "build" </> "pandoc" </> "pandoc"
> let page = manDir </> manpage
> let source = manDir </> manpage <.> "md"
> modifiedDeps <- modifiedDependencies page [source]
> unless (null modifiedDeps) $ do
> ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w",
> "man ", "-o", page, source]
> Nothing Nothing Nothing Nothing (Just stderr) >>=
> waitForProcess
> case ec of
> ExitSuccess -> putStrLn $ "Created " ++ manDir </> manpage
> _ -> do putStrLn $ "Error creating " ++ manDir </>
> manpage
> exitWith ec
> So, you could try running the command manually and seeing what
> happens:
> dist/build/padoc/pandoc -s -S -r markdown -w man -o
> man /man1/pandoc.1 man /man1/pandoc.1.md
> John
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Conal Elliott <co... @conal.net>
Date: Sat, 25 Jul 2009 16:39:31 -0700
Local: Sat, Jul 25 2009 7:39 pm
Subject: Re: Error creating man/man1/pandoc.1
Yes, so far I get this behavior only with pandoc, though I think pandoc is
unusual in running itself during the setup process.
I was able to get the build & install to go through other than these man
pages. The trick was to keep doing "cabal install" (I think) from the the
project directory until each empty .1 file had been created. Then it went
on to installation of the executable.
Has anyone else tried "cabal install pandoc" on Mac OS X? Results?
- Conal
On Fri, Jul 24, 2009 at 1:20 PM, John MacFarlane <fiddlosop... @gmail.com>wrote:
> I don't have a clue. Is it specific to pandoc?
> Are you able to build other cabal packages?
> John
> +++ Conal Elliott [Jul 23 09 09:32 ]:
> > Nearly latest:
> > bash-3.2$ ghc --version
> > The Glorious Glasgow Haskell Compilation System, version 6.10.3
> > On Thu, Jul 23, 2009 at 9:04 AM, Robin Green <gree... @gmail.com>
> wrote:
> > Are you using the latest version of GHC?
> > 2009/7/23 Conal Elliott <co... @conal.net>
> > I get a bus error and an empty pandoc.1:
> > bash-3.2$ dist/build/pandoc/pandoc -s -S -r markdown -w man -o
> > man/man1/pandoc.1 man/man1/pandoc.1.md
> > Bus error
> > bash-3.2$ ls -l man/man1/pandoc.1
> > -rw-r--r-- 1 conal staff 0 Jul 23 08:55 man/man1/pandoc.1
> > bash-3.2$
> > On Thu, Jul 23, 2009 at 8:33 AM, John MacFarlane
> > <fiddlosop... @gmail.com> wrote:
> > +++ Conal Elliott [Jul 23 09 07:52 ]:
> > > I'm getting an error from 'cabal install pandoc' on OS X,
> just
> > after
> > > successful compile & link:
> > > [...]
> > > [29 of 30] Compiling Text.Pandoc ( src/Text/Pandoc.hs,
> > > dist/build/pandoc/pandoc-tmp/Text/Pandoc.o )
> > > [30 of 30] Compiling Main ( src/pandoc.hs,
> > > dist/build/pandoc/pandoc-tmp/Main.o )
> > > Linking dist/build/pandoc/pandoc ...
> > > Error creating man/man1/pandoc.1
> > > cabal: Error: some packages failed to install:
> > > pandoc-1.2.1 failed during the building phase. The
> exception
> > was:
> > > exit: ExitFailure 10
> > > I'm just getting started with OS X, so perhaps there's
> > something out of
> > > whack in my environment.
> > > Any ideas?
> > > - Conal
> > I'm not sure, and I can't test on a Mac at the moment, because
> mine
> > is
> > in the shop. Can you try it this way?
> > cabal unpack pandoc
> > cd pandoc 1.2.1
> > cabal install
> > By the way, here's the function from Setup.hs that creates the
> man
> > page
> > by running pandoc on a markdown version of it:
> > -- | Build a man page from markdown source in man/man1.
> > makeManPage manpage = do
> > let manDir = "man" </> "man1"
> > let pandoc = "dist" </> "build" </> "pandoc" </> "pandoc"
> > let page = manDir </> manpage
> > let source = manDir </> manpage <.> "md"
> > modifiedDeps <- modifiedDependencies page [source]
> > unless (null modifiedDeps) $ do
> > ec <- runProcess pandoc ["-s", "-S", "-r", "markdown", "-w",
> > "man", "-o", page, source]
> > Nothing Nothing Nothing Nothing (Just stderr) >>=
> > waitForProcess
> > case ec of
> > ExitSuccess -> putStrLn $ "Created " ++ manDir </>
> manpage
> > _ -> do putStrLn $ "Error creating " ++ manDir
> </>
> > manpage
> > exitWith ec
> > So, you could try running the command manually and seeing what
> > happens:
> > dist/build/padoc/pandoc -s -S -r markdown -w man -o
> > man/man1/pandoc.1 man/man1/pandoc.1.md
> > John
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
John MacFarlane <fiddlosop... @gmail.com>
Date: Fri, 31 Jul 2009 23:45:00 -0700
Subject: Re: Error creating man/man1/pandoc.1
+++ Conal Elliott [Jul 25 09 16:39 ]:
> Yes, so far I get this behavior only with pandoc, though I think pandoc is
> unusual in running itself during the setup process.
> I was able to get the build & install to go through other than these man
> pages. The trick was to keep doing "cabal install" (I think) from the the
> project directory until each empty .1 file had been created. Then it went
> on to installation of the executable.
> Has anyone else tried "cabal install pandoc" on Mac OS X? Results?
I finally got my Mac back from the shop. I installed the latest Haskell
platform package, then used cabal install to install pandoc, and it all
went off without a hitch. I didn't run into the "bus error."
John
> - Conal
> On Fri, Jul 24, 2009 at 1:20 PM, John MacFarlane <fiddlosop... @gmail.com>
> wrote:
> I don't have a clue. Is it specific to pandoc?
> Are you able to build other cabal packages?
> John
> +++ Conal Elliott [Jul 23 09 09:32 ]:
> > Nearly latest:
> > bash-3.2$ ghc --version
> > The Glorious Glasgow Haskell Compilation System, version 6.10.3
> > On Thu, Jul 23, 2009 at 9:04 AM, Robin Green <gree... @gmail.com>
> wrote:
> > Are you using the latest version of GHC?
> > 2009/7/23 Conal Elliott <co... @conal.net>
> > I get a bus error and an empty pandoc.1:
> > bash-3.2$ dist/build/pandoc/pandoc -s -S -r markdown -w man -o
> > man /man1/pandoc.1 man /man1/pandoc.1.md
> > Bus error
> > bash-3.2$ ls -l man /man1/pandoc.1
> > -rw-r--r-- 1 conal staff 0 Jul 23 08:55 man /man1/pandoc.1
> > bash-3.2$
> > On Thu, Jul 23, 2009 at 8:33 AM, John MacFarlane
> > <fiddlosop... @gmail.com> wrote:
> > +++ Conal Elliott [Jul 23 09 07:52 ]:
> > > I'm getting an error from 'cabal install pandoc' on OS
> X, just
> > after
> > > successful compile & link:
> > > [...]
> > > [29 of 30] Compiling Text.Pandoc (
> src/Text/Pandoc.hs,
> > > dist/build/pandoc/pandoc-tmp/Text/Pandoc.o )
> > > [30 of 30] Compiling Main ( src/pandoc.hs,
> > > dist/build/pandoc/pandoc-tmp/Main.o )
> > > Linking dist/build/pandoc/pandoc ...
> > > Error creating man /man1/pandoc.1
> > > cabal: Error: some packages failed to install:
> > > pandoc-1.2.1 failed during the building phase. The
> exception
> > was:
> > > exit: ExitFailure 10
> > > I'm just getting started with OS X, so perhaps there's
> > something out of
> > > whack in my environment.
> > > Any ideas?
> > > - Conal
> > I'm not sure, and I can't test on a Mac at the moment,
> because mine
> > is
> > in the shop. Can you try it this way?
> > cabal unpack pandoc
> > cd pandoc 1.2.1
> > cabal install
> > By the way, here's the function from Setup.hs that creates
> the man
> > page
> > by running pandoc on a markdown version of it:
> > -- | Build a man page from markdown source in man /man1.
> > makeManPage manpage = do
> > let manDir = "man " </> "man1"
> > let pandoc = "dist" </> "build" </> "pandoc" </> "pandoc"
> > let page = manDir </> manpage
> > let source = manDir </> manpage <.> "md"
> > modifiedDeps <- modifiedDependencies page [source]
> > unless (null modifiedDeps) $ do
> > ec <- runProcess pandoc ["-s", "-S", "-r", "markdown",
> "-w",
> > "man ", "-o", page, source]
> > Nothing Nothing Nothing Nothing (Just stderr)
> >>=
> > waitForProcess
> > case ec of
> > ExitSuccess -> putStrLn $ "Created " ++ manDir </>
> manpage
> > _ -> do putStrLn $ "Error creating " ++
> manDir </>
> > manpage
> > exitWith ec
> > So, you could try running the command manually and seeing
> what
> > happens:
> > dist/build/padoc/pandoc -s -S -r markdown -w man -o
> > man /man1/pandoc.1 man /man1/pandoc.1.md
> > John
You must
Sign in before you can post messages.
You do not have the permission required to post.