#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)
Change History (28)
Changed 12 years ago by michelle.lynn.gill@…
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | singingwolfboy@… removed |
---|---|
Owner: | changed from macports-tickets@… to singingwolfboy@… |
comment:2 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:5 Changed 12 years ago by neverpanic (Clemens Lang)
Owner: | changed from singingwolfboy@… to cal@… |
---|---|
Status: | new → assigned |
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:8 Changed 12 years ago by jmroot (Joshua Root)
Cc: | singingwolfboy@… added |
---|
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
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 follow-up: 19 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 follow-up: 20 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 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:25 follow-up: 26 Changed 12 years ago by cooljeanius (Eric Gallager)
hs-pandoc-types was updated in r104338; not sure if that fixes this though
comment:26 follow-up: 27 Changed 12 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.