Bug#1027564: haskell-curl: FTBFS: from curlc.c:10:0: error:
Scott Talbert
swt at techie.net
Tue Jan 3 19:05:38 GMT 2023
Control: reassign -1 src:curl 7.87.0-1
Control: affects -1 src:haskell-curl
Control: forwarded -1 https://github.com/curl/curl/issues/10148
On Sun, 1 Jan 2023, Lucas Nussbaum wrote:
> Source: haskell-curl
> Version: 1.3.8-13
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20230101 ftbfs-bookworm
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
>> debian/rules binary
>> test -x debian/rules
>> dh_testroot
>> dh_prep
>> dh_installdirs -A
>> mkdir -p "."
>> CDBS WARNING: DEB_DH_STRIP_ARGS is deprecated since 0.4.85
>> CDBS WARNING: DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
>> Adding cdbs dependencies to debian/libghc-curl-doc.substvars
>> dh_installdirs -plibghc-curl-doc \
>>
>> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
>> -E 'make_setup_recipe'
>> Running ghc --make Setup.hs -o debian/hlibrary.setup
>> [1 of 1] Compiling Main ( Setup.hs, Setup.o )
>> Linking debian/hlibrary.setup ...
>> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
>> -E 'configure_recipe'
>> Running find . ! -newer /tmp/lTGCgHLmiB -exec touch -d 1998-01-01 UTC {} ;
>> Running dh_listpackages
>> libghc-curl-dev
>> libghc-curl-prof
>> libghc-curl-doc
>> Running dh_listpackages
>> libghc-curl-dev
>> libghc-curl-prof
>> libghc-curl-doc
>> Running dpkg-buildflags --get LDFLAGS
>> -Wl,-z,relro
>> Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl,-z,relro --haddockdir=/usr/lib/ghc-doc/haddock/curl-1.3.8/ --datasubdir=curl --htmldir=/usr/share/doc/libghc-curl-doc/html/ --enable-library-profiling
>> Using Parsec parser
>> Configuring curl-1.3.8...
>> Flags chosen: new-base=True
>> Dependency base >=3 && <5: using base-4.15.1.0
>> Dependency bytestring >=0.9: using bytestring-0.10.12.1
>> Dependency containers: using containers-0.6.4.1
>> Source component graph: component lib
>> Configured component graph:
>> component curl-1.3.8-A0wPVE8VAFIAErUUBZVdib
>> include base-4.15.1.0
>> include bytestring-0.10.12.1
>> include containers-0.6.4.1
>> Linked component graph:
>> unit curl-1.3.8-A0wPVE8VAFIAErUUBZVdib
>> include base-4.15.1.0
>> include bytestring-0.10.12.1
>> include containers-0.6.4.1
>> Network.Curl=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl,Network.Curl.Code=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl.Code,Network.Curl.Debug=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl.Debug,Network.Curl.Easy=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl.Easy,Network.Curl.Info=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl.Info,Network.Curl.Opts=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl.Opts,Network.Curl.Post=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl.Post,Network.Curl.Types=curl-1.3.8-A0wPVE8VAFIAErUUBZVdib:Network.Curl.Types
>> Ready component graph:
>> definite curl-1.3.8-A0wPVE8VAFIAErUUBZVdib
>> depends base-4.15.1.0
>> depends bytestring-0.10.12.1
>> depends containers-0.6.4.1
>> Using Cabal-3.4.1.0 compiled by ghc-9.0
>> Using compiler: ghc-9.0.2
>> Using install prefix: /usr
>> Executables installed in: /usr/bin
>> Libraries installed in:
>> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/curl-1.3.8-A0wPVE8VAFIAErUUBZVdib
>> Dynamic Libraries installed in:
>> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2
>> Private executables installed in: /usr/lib/x86_64-linux-ghc-9.0.2/curl-1.3.8
>> Data files installed in: /usr/share/curl
>> Documentation installed in: /usr/share/doc/x86_64-linux-ghc-9.0.2/curl-1.3.8
>> Configuration files installed in: /usr/etc
>> No alex found
>> Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
>> No c2hs found
>> No cpphs found
>> No doctest found
>> Using gcc version 12 found on system at: /usr/bin/x86_64-linux-gnu-gcc
>> Using ghc version 9.0.2 found on system at: /usr/bin/ghc
>> Using ghc-pkg version 9.0.2 found on system at: /usr/bin/ghc-pkg
>> No ghcjs found
>> No ghcjs-pkg found
>> No greencard found
>> Using haddock version 2.25.1 found on system at: /usr/bin/haddock
>> No happy found
>> Using haskell-suite found on system at: haskell-suite-dummy-location
>> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
>> No hmake found
>> Using hpc version 0.68 found on system at: /usr/bin/hpc
>> Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs
>> Using hscolour version 1.24 found on system at: /usr/bin/HsColour
>> No jhc found
>> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
>> No pkg-config found
>> Using runghc version 9.0.2 found on system at: /usr/bin/runghc
>> Using strip version 2.39 found on system at: /usr/bin/strip
>> Using tar found on system at: /bin/tar
>> No uhc found
>> touch configure-ghc-stamp
>> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
>> -E 'build_recipe'
>> Running dh_listpackages
>> libghc-curl-dev
>> libghc-curl-prof
>> libghc-curl-doc
>> Preprocessing library for curl-1.3.8..
>> Building library for curl-1.3.8..
>> [1 of 8] Compiling Network.Curl.Code ( Network/Curl/Code.hs, dist-ghc/build/Network/Curl/Code.o, dist-ghc/build/Network/Curl/Code.dyn_o )
>> [2 of 8] Compiling Network.Curl.Debug ( Network/Curl/Debug.hs, dist-ghc/build/Network/Curl/Debug.o, dist-ghc/build/Network/Curl/Debug.dyn_o )
>> [3 of 8] Compiling Network.Curl.Types ( Network/Curl/Types.hs, dist-ghc/build/Network/Curl/Types.o, dist-ghc/build/Network/Curl/Types.dyn_o )
>> [4 of 8] Compiling Network.Curl.Post ( Network/Curl/Post.hs, dist-ghc/build/Network/Curl/Post.o, dist-ghc/build/Network/Curl/Post.dyn_o )
>> [5 of 8] Compiling Network.Curl.Opts ( Network/Curl/Opts.hs, dist-ghc/build/Network/Curl/Opts.o, dist-ghc/build/Network/Curl/Opts.dyn_o )
>> [6 of 8] Compiling Network.Curl.Info ( Network/Curl/Info.hs, dist-ghc/build/Network/Curl/Info.o, dist-ghc/build/Network/Curl/Info.dyn_o )
>> [7 of 8] Compiling Network.Curl.Easy ( Network/Curl/Easy.hs, dist-ghc/build/Network/Curl/Easy.o, dist-ghc/build/Network/Curl/Easy.dyn_o )
>>
>> Network/Curl/Easy.hs:27:1: warning: [-Wtabs]
>> Tab character found here, and in two further locations.
>> Please use spaces instead.
>> |
>> 27 |
>> | ^^^^^^^^
>> [8 of 8] Compiling Network.Curl ( Network/Curl.hs, dist-ghc/build/Network/Curl.o, dist-ghc/build/Network/Curl.dyn_o )
>>
>> Network/Curl.hs:278:1: warning: [-Wtabs]
>> Tab character found here, and in 8 further locations.
>> Please use spaces instead.
>> |
>> 278 | -> IO (CurlResponse_ hdrTy bufTy)
>> | ^^^^^^^^
>> [1 of 8] Compiling Network.Curl.Code ( Network/Curl/Code.hs, dist-ghc/build/Network/Curl/Code.p_o )
>> [2 of 8] Compiling Network.Curl.Debug ( Network/Curl/Debug.hs, dist-ghc/build/Network/Curl/Debug.p_o )
>> [3 of 8] Compiling Network.Curl.Types ( Network/Curl/Types.hs, dist-ghc/build/Network/Curl/Types.p_o )
>> [4 of 8] Compiling Network.Curl.Post ( Network/Curl/Post.hs, dist-ghc/build/Network/Curl/Post.p_o )
>> [5 of 8] Compiling Network.Curl.Opts ( Network/Curl/Opts.hs, dist-ghc/build/Network/Curl/Opts.p_o )
>> [6 of 8] Compiling Network.Curl.Info ( Network/Curl/Info.hs, dist-ghc/build/Network/Curl/Info.p_o )
>> [7 of 8] Compiling Network.Curl.Easy ( Network/Curl/Easy.hs, dist-ghc/build/Network/Curl/Easy.p_o )
>>
>> Network/Curl/Easy.hs:27:1: warning: [-Wtabs]
>> Tab character found here, and in two further locations.
>> Please use spaces instead.
>> |
>> 27 |
>> | ^^^^^^^^
>> [8 of 8] Compiling Network.Curl ( Network/Curl.hs, dist-ghc/build/Network/Curl.p_o )
>>
>> Network/Curl.hs:278:1: warning: [-Wtabs]
>> Tab character found here, and in 8 further locations.
>> Please use spaces instead.
>> |
>> 278 | -> IO (CurlResponse_ hdrTy bufTy)
>> | ^^^^^^^^
>> In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3195,
>>
>> from curlc.c:10:0: error:
>> curlc.c: In function ‘curl_easy_getinfo_long’:
>>
>> curlc.c:14:12: error:
>> error: void value not ignored as it ought to be
>> 14 | return curl_easy_getinfo(curl, CURLINFO_LONG+tg, pl);
>> | ^
>> |
>> 14 | return curl_easy_getinfo(curl, CURLINFO_LONG+tg, pl);
>> | ^
>> curlc.c: In function ‘curl_easy_getinfo_string’:
>>
>> curlc.c:19:12: error:
>> error: void value not ignored as it ought to be
>> 19 | return curl_easy_getinfo(curl, CURLINFO_STRING+tg, s);
>> | ^
>> |
>> 19 | return curl_easy_getinfo(curl, CURLINFO_STRING+tg, s);
>> | ^
>> curlc.c: In function ‘curl_easy_getinfo_double’:
>>
>> curlc.c:24:12: error:
>> error: void value not ignored as it ought to be
>> 24 | return curl_easy_getinfo(curl, CURLINFO_DOUBLE+tg, d);
>> | ^
>> |
>> 24 | return curl_easy_getinfo(curl, CURLINFO_DOUBLE+tg, d);
>> | ^
>> curlc.c: In function ‘curl_easy_getinfo_slist’:
>>
>> curlc.c:29:12: error:
>> error: void value not ignored as it ought to be
>> 29 | return curl_easy_getinfo(curl, CURLINFO_SLIST+tg, s);
>> | ^
>> |
>> 29 | return curl_easy_getinfo(curl, CURLINFO_SLIST+tg, s);
>> | ^
>> `x86_64-linux-gnu-gcc' failed in phase `C Compiler'. (Exit code: 1)
>> -e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
>> at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 880.
>> Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build --builddir=dist-ghc returned exit"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 610
>> Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 473
>> Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 650
>> Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
>> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
>
>
> The full build log is available from:
> http://qa-logs.debian.net/2023/01/01/haskell-curl_1.3.8-13_unstable.log
>
> All bugs filed during this archive rebuild are listed at:
> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lucas@debian.org
> or:
> https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> If you reassign this bug to another package, please mark it as 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects
>
> If you fail to reproduce this, please provide a build log and diff it with mine
> so that we can identify if something relevant changed in the meantime.
This appears to be a regression in curl.
It is fixed by this commit:
https://github.com/curl/curl/commit/e2aed004302e51cfa5b6ce8c8ab65ef92aa83196
Regards,
Scott
More information about the Pkg-haskell-maintainers
mailing list