Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397565 - dev-haskell/curl Error: .size expression for curlzm1zi3zi5_NetworkziCurlziDebug_debug1_entry does not evaluate to a constant
Summary: dev-haskell/curl Error: .size expression for curlzm1zi3zi5_NetworkziCurlziDeb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 22:28 UTC by Janusz
Modified: 2012-01-04 07:22 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 Janusz 2012-01-03 22:28:08 UTC
I'm trying to install Ganeti with htools and unfortunately it fails on dev-haskell/curl-1.3.5.


>>> Emerging (1 of 6) dev-haskell/curl-1.3.5
 * curl-1.3.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking curl-1.3.5.tar.gz to /var/tmp/portage/dev-haskell/curl-1.3.5/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/curl-1.3.5/work
>>> Compiling source in /var/tmp/portage/dev-haskell/curl-1.3.5/work/curl-1.3.5 ...
 * Using cabal-1.8.0.6.
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/curl-1.3.5/work/curl-1.3.5/Setup.hs, /var/tmp/portage/dev-haskell/curl-1.3.5/work/curl-1.3.5/Setup.o )
Linking setup ...
Configuring curl-1.3.5...
Flags chosen: new-base=True
Dependency base ==3.*: using base-3.0.3.2
Dependency bytestring -any: using bytestring-0.9.1.7
Dependency containers -any: using containers-0.3.0.0
Using Cabal-1.8.0.6 compiled by ghc-6.12
Using compiler: ghc-6.12.3
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/curl-1.3.5/ghc-6.12.3
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/curl-1.3.5/ghc-6.12.3
Documentation installed in: /usr/share/doc/curl-1.3.5
No alex found
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.5.3 found on system at: /usr/bin/gcc
Using ghc version 6.12.3 given by user at: /usr/bin/ghc
Using ghc-pkg version 6.12.3 given by user at: /usr/bin/ghc-pkg
No greencard found
No haddock found
No happy found
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Preprocessing library curl-1.3.5...
Building curl-1.3.5...
[1 of 8] Compiling Network.Curl.Debug ( Network/Curl/Debug.hs, dist/build/Network/Curl/Debug.o )
/var/tmp/portage/dev-haskell/curl-1.3.5/temp/ghc27757_0/ghc27757_0.s: Assembler messages:
/var/tmp/portage/dev-haskell/curl-1.3.5/temp/ghc27757_0/ghc27757_0.s: Error: .size expression for curlzm1zi3zi5_NetworkziCurlziDebug_debug1_entry does not evaluate to a constant
/var/tmp/portage/dev-haskell/curl-1.3.5/temp/ghc27757_0/ghc27757_0.s: Error: .size expression for curlzm1zi3zi5_NetworkziCurlziDebug_debug_entry does not evaluate to a constant
 * ERROR: dev-haskell/curl-1.3.5 failed (compile phase):
 *   setup build failed
 *
 * Call stack:
 *     ebuild.sh, line   75:  Called src_compile
 *   environment, line 2762:  Called haskell-cabal_src_compile
 *   environment, line 2127:  Called cabal_src_compile
 *   environment, line  538:  Called cabal-build
 *   environment, line  394:  Called die
 * The specific snippet of code:
 *       ./setup build || die "setup build failed"
 *
 * If you need support, post the output of 'emerge --info =dev-haskell/curl-1.3.5',
 * the complete build log and the output of 'emerge -pqv =dev-haskell/curl-1.3.5'.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/curl-1.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/curl-1.3.5/temp/environment'.
 * S: '/var/tmp/portage/dev-haskell/curl-1.3.5/work/curl-1.3.5'

As an workaround dev-haskell/curl-1.3.7 can be used.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2012-01-04 07:22:37 UTC
Pushed as:

>  04 Jan 2012; Sergei Trofimovich <slyfox@gentoo.org>
>  +files/curl-1.3.5-ghc-7.patch, curl-1.3.5.ebuild:
>  Fix build failure against ghc-6.12+binutils-22.1 (bug #397565 reported by
>  Janusz)

Thanks Janusz!