Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39472 closed defect (fixed)

pandoc install fails

Reported by: veedeehjay@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: hs-citeproc

Description

port install pandoc fails. the trailing part of the log file reads as follows:

...
:notice:configure --->  Configuring pandoc
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (pandoc)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
:info:configure Configuring pandoc-1.11.1...
:info:configure Setup: At least the following dependencies are missing:
:info:configure HTTP >=4000.0.5 && <4000.3, citeproc-hs >=0.3.7 && <0.4
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
:info:configure Exit code: 1
:error:configure org.macports.configure for port pandoc returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for pandoc: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port pandoc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/main.log

Attachments (1)

main.log (83.8 KB) - added by veedeehjay@… 11 years ago.
main.log of failed pandoc install

Download all attachments as: .zip

Change History (16)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cal@… added

comment:2 Changed 11 years ago by mf2k (Frank Schima)

As always, please attach the complete main.log after cleaning the port.

Changed 11 years ago by veedeehjay@…

Attachment: main.log added

main.log of failed pandoc install

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Status: newassigned

It seems I forgot to revbump hs-http. I've fixed that in r107204. Please run selfupdate, clean pandoc and try again. If it fails again, please also provide the output of

port -v installed hs-citeproc hs-http

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Cc: cal@… removed

comment:5 in reply to:  4 Changed 11 years ago by veedeehjay@…

Replying to cal@…: still no luck. trailing part of `main.log' now reads (let me know if the complete main.log should be uploaded again):

:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (pandoc)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
:info:configure Configuring pandoc-1.11.1...
:info:configure Setup: At least the following dependencies are missing:
:info:configure citeproc-hs >=0.3.7 && <0.4
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
:info:configure Exit code: 1
:error:configure org.macports.configure for port pandoc returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for pandoc: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install

and `port -v installed hs-citeproc hs-http' gives

 hs-citeproc @0.3.8_3 (active) platform='darwin 12' archs='x86_64'
  hs-http @4000.2.8_2 platform='darwin 12' archs='x86_64'
  hs-http @4000.2.8_3 (active) platform='darwin 12' archs='x86_64'

comment:6 Changed 11 years ago by neverpanic (Clemens Lang)

What's the output of sudo ghc-pkg check? Does sudo port -f deactivate hs-citeproc; sudo port activate hs-citeproc help?

comment:7 Changed 11 years ago by egon.geerardyn@…

Cc: egon.geerardyn@… added
sudo port -f deactivate hs-citeproc; sudo port activate hs-citeproc

does the trick for me.

Last edited 11 years ago by egon.geerardyn@… (previous) (diff)

comment:8 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

I'm going to assume it was a temporary problem then.

comment:9 in reply to:  7 ; Changed 11 years ago by Superlokkus (Markus Klemm)

Replying to egon.geerardyn@…:

sudo port -f deactivate hs-citeproc; sudo port activate hs-citeproc

does the trick for me.

Same here with version 1.11.1_3

comment:10 in reply to:  9 Changed 11 years ago by gorticus (Jason Mitchell)

Replying to markus@…:

Replying to egon.geerardyn@…:

sudo port -f deactivate hs-citeproc; sudo port activate hs-citeproc

does the trick for me.

Same here with version 1.11.1_3

+1 for me on @1.11.1_3

comment:11 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: closedreopened

OK, 3 independent reports convince me to rev-bump hs-citeproc for everybody. I'll do that as soon as possible.

comment:12 Changed 11 years ago by neverpanic (Clemens Lang)

Port: hs-citeproc added; pandoc removed
Resolution: fixed
Status: reopenedclosed

comment:19 Changed 11 years ago by ryan@…

Resolution: fixed
Status: closedreopened

I'm having the same problem. I've selfupdated, deactivated/activated hs-citeproc, clean installed, etc.

 port install pandoc
--->  Computing dependencies for pandoc
--->  Configuring pandoc
Error: org.macports.configure for port pandoc returned: configure failure: command execution failed
Please see the log file for port pandoc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc/pandoc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pandoc failed

The end of main.log has:

:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
:info:configure Configuring pandoc-1.11.1...
:info:configure Setup: At least the following dependencies are missing:
:info:configure tagsoup >=0.12.5 && <0.13
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang

but

# port installed hs-tagsoup
The following ports are currently installed:
  hs-tagsoup @0.13_0 (active)

Here's the full list:

# port installed hs-*
The following ports are currently installed:
  hs-base64-bytestring @1.0.0.1_2 (active)
  hs-bibutils @5.0_0 (active)
  hs-binary @0.7.1.0_1 (active)
  hs-blaze-builder @0.3.1.1_0 (active)
  hs-blaze-html @0.6.1.1_2 (active)
  hs-blaze-markup @0.5.1.5_3 (active)
  hs-citeproc @0.3.8_4 (active)
  hs-data-default @0.5.3_0 (active)
  hs-data-default-class @0.0.1_0 (active)
  hs-data-default-instances-base @0.0.1_0 (active)
  hs-data-default-instances-containers @0.0.1_0 (active)
  hs-data-default-instances-dlist @0.0.1_0 (active)
  hs-data-default-instances-old-locale @0.0.1_0 (active)
  hs-digest @0.0.1.2_2 (active)
  hs-dlist @0.5_2 (active)
  hs-extensible-exceptions @0.1.1.4_0 (active)
  hs-highlighting-kate @0.5.5_0 (active)
  hs-http @4000.2.8_3 (active)
  hs-json @0.7_2 (active)
  hs-mtl @2.1.2_2 (active)
  hs-network @2.4.1.2_1 (active)
  hs-pandoc-types @1.10_3 (active)
  hs-parsec @3.1.3_3 (active)
  hs-pcre-light @0.4_2 (active)
  hs-random @1.0.1.1_2 (active)
  hs-sha @1.6.1_3 (active)
  hs-syb @0.4.0_2 (active)
  hs-tagsoup @0.13_0 (active)
  hs-temporary @1.1.2.4_2 (active)
  hs-texmath @0.6.1.5_0 (active)
  hs-text @0.11.3.1_0 (active)
  hs-transformers @0.3.0.0_2 (active)
  hs-utf8-string @0.3.7_2 (active)
  hs-xml @1.3.13_0 (active)
  hs-zip-archive @0.1.3.4_3 (active)
  hs-zlib @0.5.4.1_1 (active)

comment:20 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: reopenedclosed

Not the same problem. See #40193 for your problem.

comment:21 Changed 11 years ago by egon.geerardyn@…

Cc: egon.geerardyn@… removed
Last edited 11 years ago by egon.geerardyn@… (previous) (diff)
Note: See TracTickets for help on using tickets.