Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394679 - dev-vcs/darcs-2.4.4-r1 with mtl-1.1.1.1 - package hashed-storage-0.4.13 is broken due to missing package mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177
Summary: dev-vcs/darcs-2.4.4-r1 with mtl-1.1.1.1 - package hashed-storage-0.4.13 is br...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 12:13 UTC by CaptainBlood
Modified: 2011-12-14 19:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2011-12-14 12:13:29 UTC
emerge -uDN world 

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-vcs/darcs-2.4.4-r1
 * darcs-2.4.4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                    [ ok ]
>>> Unpacking source...
>>> Unpacking darcs-2.4.4.tar.gz to /var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work
>>> Source unpacked in /var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work
>>> Preparing source in /var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4 ...
/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4/contrib /var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4
 * Applying darcs-1.0.9-bashcomp.patch ...                               [ ok ]
/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4
 * Applying darcs-2.4.4-issue1770-curl_multi_perform-no-running-handles.patch ...                                                                        [ ok ]
 * Applying darcs-2.4.4-tests-emailformat.patch ...                      [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4 ...
 * darcs-2.4.4 will be built with threads support
 * Using cabal-1.8.0.6.
[1 of 2] Compiling Distribution.ShellHarness ( Distribution/ShellHarness.hs, Distribution/ShellHarness.o )

Distribution/ShellHarness.hs:21:0:
    Warning: Module `Control.OldException' is deprecated:
               Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Distribution/ShellHarness.hs:21:0:
    Warning: In the use of `catch'
             (imported from Control.OldException):
             Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[2 of 2] Compiling Main             ( /var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4/Setup.lhs, /var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4/Setup.o )

/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4/Setup.lhs:58:0:
    Warning: Module `Control.OldException' is deprecated:
               Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4/Setup.lhs:58:0:
    Warning: In the use of `Exception.catch'
             (imported from Control.OldException):
             Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
Linking setup ...
Configuring darcs-2.4.4...
Flags chosen: deps-only=False, hpc=False, test=False, mmap=True, color=True,
type-witnesses=False, threaded=True, terminfo=True, static=False, http=False,
curl-pipelining=True, curl=True
Dependency array >=0.1 && <0.4: using array-0.3.0.1
Dependency base ==3.*: using base-3.0.3.2
Dependency bytestring >=0.9.0 && <0.10: using bytestring-0.9.1.7
Dependency containers >=0.1 && <0.4: using containers-0.3.0.0
Dependency directory ==1.0.*: using directory-1.0.1.1
Dependency filepath ==1.1.*: using filepath-1.1.0.4
Dependency hashed-storage ==0.4.*: using hashed-storage-0.4.13
Dependency haskeline >=0.6.1 && <0.7: using haskeline-0.6.2.2
Dependency html ==1.0.*: using html-1.0.1.2
Dependency mmap >=0.2 && <0.5: using mmap-0.4.1
Dependency mtl >=1.0 && <1.2: using mtl-1.1.1.1
Dependency old-time ==1.0.*: using old-time-1.0.0.5
Dependency parsec >=2.0: using parsec-2.1.0.1
Dependency process ==1.0.*: using process-1.0.1.3
Dependency random ==1.0.*: using random-1.0.0.2
Dependency regex-compat >=0.71 && <0.94: using regex-compat-0.92
Dependency terminfo ==0.3.*: using terminfo-0.3.1.1
Dependency unix >=1.0 && <2.5: using unix-2.4.0.2
Dependency utf8-string ==0.3.*: using utf8-string-0.3.6
Dependency zlib >=0.5.1.0 && <0.6.0.0: using zlib-0.5.2.0
setup: The following installed packages are broken because other packages they
depend on are missing. These broken packages must be rebuilt before they can
be used.
package hashed-storage-0.4.13 is broken due to missing package
mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177
package haskeline-0.6.2.2 is broken due to missing package
mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177
package regex-base-0.93.1 is broken due to missing package
mtl-1.1.0.2-336254fecf8a77054f76cb33671a5177
 * ERROR: dev-vcs/darcs-2.4.4-r1 failed (configure phase):
 *   setup configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 3124:  Called cabal_src_configure '--flags=curl' '--flags=-http' '--flags=curl-pipelining' '--flags=color' '--flags=terminfo' '--flags=mmap' '--flags=threaded' '--flags=-test'
 *   environment, line  813:  Called haskell-cabal_src_configure '--flags=curl' '--flags=-http' '--flags=curl-pipelining' '--flags=color' '--flags=terminfo' '--flags=mmap' '--flags=threaded' '--flags=-test'
 *   environment, line 2446:  Called cabal-configure '--flags=curl' '--flags=-http' '--flags=curl-pipelining' '--flags=color' '--flags=terminfo' '--flags=mmap' '--flags=threaded' '--flags=-test'
 *   environment, line  692:  Called die
 * The specific snippet of code:
 *       ./setup configure --ghc --prefix="${EPREFIX}"/usr --with-compiler="$(ghc-getghc)" --with-hc-pkg="$(ghc-getghcpkg)" --prefix="${EPREFIX}"/usr --libdir="${EPREFIX}"/usr/$(get_libdir) --libsubdir=${P}/ghc-$(ghc-version) --datadir="${EPREFIX}"/usr/share/ --datasubdir=${P}/ghc-$(ghc-version) ${cabalconf} ${CABAL_CONFIGURE_FLAGS} ${CABAL_EXTRA_CONFIGURE_FLAGS} "$@" || die "setup configure failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-vcs/darcs-2.4.4-r1',
 * the complete build log and the output of 'emerge -pqv =dev-vcs/darcs-2.4.4-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/work/darcs-2.4.4'

>>> Failed to emerge dev-vcs/darcs-2.4.4-r1, Log file:

>>>  '/var/tmp/portage/dev-vcs/darcs-2.4.4-r1/temp/build.log'



Maybe a simple ebuild patch should suffice. Haven't tried it though.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2011-12-14 16:35:42 UTC
does running haskell-updater help?
Comment 2 Gordon Pettey 2011-12-14 16:55:32 UTC
I didn't think to isolate the problem, but
emerge -av $(eix --only-names -C dev-haskell) darcs
made the errors go away.
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2011-12-14 17:45:23 UTC
Problem always arises when you update one of intermediate libraries used by others. In this case mtl was updated recently (bug #391591) and broke hashed-storage.

haskell-updater is a haskellish twin of revdep-rebuild for C library.
Comment 4 CaptainBlood 2011-12-14 19:29:14 UTC
Finally made it. Here's how:
initial state
mtl-1.1.0.2 installed.
darcs compiled because of flag update.

steps:
mtl update to 1.1.1.1
execute haskell-updater program.
=> along with other packages darcs is successfully rebuilt.
Done.


Thanks to all of you.
N.B. Initially I've tried revdep-rebuild without any parameter which didn't help.
I guess Gordon Pettey's way of revdep-rebuild would have made it.