Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36608 closed defect (fixed)

hs-pandoc-types @1.8 fails during configure

Reported by: michelle.lynn.gill@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: singingwolfboy@…, jendave@…, LenoreHorner, cdeil (Christoph Deil), wheezl@…, Superlokkus (Markus Klemm), kmichael.aye@…, jowens@…, bits@…, poemcode@…, cooljeanius (Eric Gallager), maehne (Torsten Maehne), steeves@…, a.sewall.ford@…
Port: hs-pandoc-types

Description

I encounter the following error on Mac OS X 10.8.2 with XCode 4.4.1 when attempting to install hs-pandoc-types:

:debug:configure Environment: CPATH='/Volumes/Files/macports/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/Volumes/Files/macports/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/Volumes/Files/macports/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/Volumes/Files/macports/lib -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd "/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/work/pandoc-types-1.8" && runhaskell Setup configure --prefix=/Volumes/Files/macports --with-compiler=/Volumes/Files/macports/bin/ghc'
:debug:configure Executing command line:  cd "/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/work/pandoc-types-1.8" && runhaskell Setup configure --prefix=/Volumes/Files/macports --with-compiler=/Volumes/Files/macports/bin/ghc
:info:configure Configuring pandoc-types-1.8...
:info:configure Setup: At least the following dependencies are missing:
:info:configure syb -any
:info:configure Command failed:  cd "/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/work/pandoc-types-1.8" && runhaskell Setup configure --prefix=/Volumes/Files/macports --with-compiler=/Volumes/Files/macports/bin/ghc
:info:configure Exit code: 1
:error:configure org.macports.configure for port hs-pandoc-types returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"

I have attached the log. Please let me know if I can provide other information.

Also, I noticed that clang is being used. I'm not entirely sure if that is correct since I have macports gcc 4.5 set as my default compiler:

% port select --list gcc
Available versions for gcc:
	llvm-gcc42
	mp-gcc45 (active)
	none

Attachments (1)

main.log (7.2 KB) - added by michelle.lynn.gill@… 12 years ago.

Download all attachments as: .zip

Change History (28)

Changed 12 years ago by michelle.lynn.gill@…

Attachment: main.log added

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

Cc: singingwolfboy@… removed
Owner: changed from macports-tickets@… to singingwolfboy@…

Yes, MacPorts uses clang for most ports, as long as you have Xcode 4.2 or later. MacPorts deliberately will not use whatever compiler you have selected (unless a port has a bug). The compiler you select is for your own use to compile your own projects outside of MacPorts.

comment:2 in reply to:  1 Changed 12 years ago by michelle.lynn.gill@…

Replying to ryandesign@…:

Yes, MacPorts uses clang for most ports, as long as you have Xcode 4.2 or later. MacPorts deliberately will not use whatever compiler you have selected (unless a port has a bug). The compiler you select is for your own use to compile your own projects outside of MacPorts.

I guess I never realized that. Thanks.

comment:3 Changed 12 years ago by jendave@…

Cc: jendave@… added

Cc Me!

comment:4 Changed 12 years ago by michelle.lynn.gill@…

Any update on this? Thanks.

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

Owner: changed from singingwolfboy@… to cal@…
Status: newassigned

It probably just needs an update. I'll try to have a look.

comment:6 Changed 12 years ago by rpgoldman

I see the same failure, but with more failed dependencies, FWIW:

:info:activate Reading package info from stdin ... done.
:info:activate pandoc-types-1.8: Warning: haddock-interfaces: /opt/local/share/doc/pandoc-types-1.8/html/pandoc-types.haddock doesn't exist or isn't a file
:info:activate pandoc-types-1.8: Warning: haddock-html: /opt/local/share/doc/pandoc-types-1.8/html doesn't exist or isn't a directory
:info:activate pandoc-types-1.8: missing id field
:info:activate pandoc-types-1.8: dependency "base-4.1.0.0" doesn't exist (use --force to override)
:info:activate pandoc-types-1.8: dependency "containers-0.2.0.1" doesn't exist (use --force to override)
:info:activate pandoc-types-1.8: dependency "syb-0.1.0.1" doesn't exist (use --force to override)
:info:activate Command failed: /opt/local/libexec/hs-pandoc-types/register.sh
:info:activate Exit code: 1

Since "base" is described in Mac Ports as a component of snort, an intrusion detection system, rather than a document formatter, there's probably something wrong here!

base @1.3.9 (security)
Basic Analysis and Security Engine - Snort web frontend

will selfupdate and try again.

comment:7 Changed 12 years ago by LenoreHorner

Cc: LenoreHorner@… added

Cc Me!

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Cc: singingwolfboy@… added

comment:9 Changed 12 years ago by cdeil (Christoph Deil)

Cc: Deil.Christoph@… added

Cc Me!

comment:10 Changed 12 years ago by wheezl@…

Cc: wheezl@… added

Cc Me!

comment:11 Changed 12 years ago by Superlokkus (Markus Klemm)

Cc: markus@… added

Cc Me!

comment:12 Changed 12 years ago by kmichael.aye@…

Cc: kmichael.aye@… added

Cc Me!

comment:13 Changed 12 years ago by jowens@…

Cc: jowens@… added

Cc Me!

comment:14 Changed 12 years ago by bits@…

Cc: bits@… added

Cc Me!

comment:15 Changed 12 years ago by scott@…

Sean Farley has 57 port patches to fix this problem. Basically, these just update many Haskell libraries to a more current version

https://bitbucket.org/seanfarley/scienceports/commits/all/b9179055555c/keyword(%22pandoc%22)%20or%20keyword(%22hs-%22)

comment:16 Changed 12 years ago by poemcode@…

Cc: poemcode@… added

Cc Me!

comment:17 Changed 12 years ago by bgschaid@…

Adding the dependency with

port install hs-platform-syb

solved the described problem for me (so I guess that should be in the dependencies for this port) but lead to #37403

comment:18 Changed 12 years ago by publicpein+macports@…

For anyone who, like me, needs pandoc up and running fairly soonish on OS X and is daunted by the scienceports patches, there's also a precompiled package that installs to /usr/local/bin/

https://code.google.com/p/pandoc/downloads/detail?name=pandoc-1.9.4.2.dmg&can=2&q=

comment:19 in reply to:  18 ; Changed 12 years ago by seanfarley (Sean Farley)

Replying to publicpein+macports@…:

For anyone who, like me, needs pandoc up and running fairly soonish on OS X and is daunted by the scienceports patches, there's also a precompiled package that installs to /usr/local/bin/

https://code.google.com/p/pandoc/downloads/detail?name=pandoc-1.9.4.2.dmg&can=2&q=

I just got write access (yay!) so I can hopefully push my patches soon! I'll try to clean them up and push by this weekend (or sooner if I miraculously find some more time).

comment:20 in reply to:  19 Changed 12 years ago by michelle.lynn.gill@…

Replying to sean@…:

I just got write access (yay!) so I can hopefully push my patches soon! I'll try to clean them up and push by this weekend (or sooner if I miraculously find some more time).

Was just thinking about starting the arduous task of patching everything myself. I'll hold off if you've already done this, though. (And thank you!) Happy to test them or help in any other way possible.

comment:21 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:22 Changed 12 years ago by maehne (Torsten Maehne)

Cc: Torsten.Maehne@… added

Cc Me!

comment:23 Changed 12 years ago by steeves@…

Cc: steeves@… added

Cc Me!

comment:24 Changed 12 years ago by a.sewall.ford@…

Cc: a.sewall.ford@… added

Cc Me!

comment:25 Changed 12 years ago by cooljeanius (Eric Gallager)

hs-pandoc-types was updated in r104338; not sure if that fixes this though

comment:26 in reply to:  25 ; Changed 12 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Replying to egall@…:

hs-pandoc-types was updated in r104338; not sure if that fixes this though

Yep, this should be fixed now. Thanks for finding all the tickets for me, egall :-)

comment:27 in reply to:  26 Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to sean@…:

Replying to egall@…:

hs-pandoc-types was updated in r104338; not sure if that fixes this though

Yep, this should be fixed now. Thanks for finding all the tickets for me, egall :-)

You're welcome. btw here's one more I found: #34104

Note: See TracTickets for help on using tickets.