[Bug 1876293] Re: libphobos: std.net.curl does not understand HTTP/2 status lines
Launchpad Bug Tracker
1876293 at bugs.launchpad.net
Wed Oct 7 11:42:03 UTC 2020
This bug was fixed in the package gcc-10 - 10.2.0-5ubuntu1~20.04
---------------
gcc-10 (10.2.0-5ubuntu1~20.04) focal-proposed; urgency=medium
* SRU: LP: #1879481. Update to the GCC 10.2.0 release.
gcc-10 (10.2.0-5ubuntu1) groovy; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-10 (10.2.0-5) unstable; urgency=medium
* Update to git 20200808 from the gcc-10 branch.
- Fix PR target/96191 (ARM), PR target/96191 (AArch64),
PR tree-optimization/96483, PR middle-end/96426, PR debug/96354,
PR target/95435 (x86), PR tree-optimization/96058, PR middle-end/96335,
PR lto/45375, PR c/96377, PR c++/96082, PR c++/95591, PR c++/95599,
PR c++/95823, PR c++/95824, PR c++/95895, PR d/96140,
PR fortran/96319, PR fortran/95612, PR fortran/95585.
gcc-10 (10.2.0-3ubuntu1) groovy; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
- Don't run the tests on riscv64.
gcc-10 (10.2.0-3) unstable; urgency=medium
* Update to git 20200725 from the gcc-10 branch.
- Fix PR target/96190 (SPARC), PR target/96236 (PPC), PR target/96260,
PR fortran/95980, PR fortran/95980, PR fortran/96086, PR fortran/89574,
PR fortran/96220, PR fortran/96018.
* Re-enable gm2, disabled by accident in 10.2.0-1.
* Refresh gm2 patches.
* Apply proposed gdc patch (Iain Buclaw). Closes: #966026.
* Apply proposed patch for PR bootstrap/96203, add -fcf-protection=check.
gcc-10 (10.2.0-1ubuntu1) groovy; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
- Don't run the tests on riscv64.
gcc-10 (10.2.0-1) unstable; urgency=medium
* GCC 10.2.0 release.
- Fix PR target/95726 (AArch64), PR target/96174 (x86), PR middle-end/95114,
PR tree-optimization/96146, PR middle-end/96194, PR c++/95789,
PR c++/96104, PR c++/96179.
- Fix missing dependencies for selftests which occasionally causes
failed builds. Closes: #960913.
* Update gm2 from the gm2 gcc-10 branch.
* Update the patch for PR lto/95604, replacing the error with a warning.
* Build the GC enabled libobjc on arm64, mips and mipsel as well.
* libgo: Merge the 1.14.6 changes, taken from the trunk.
* Fix ASAN_INTERCEPT_VFORK related symbols. (Helmut Grohne). Closes: #965246.
gcc-10 (10.1.0-6ubuntu1) groovy; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
- Don't run the tests on riscv64.
gcc-10 (10.1.0-6) unstable; urgency=medium
* Update to git 20200714 from the gcc-10 branch.
- Fix PR lto/95604, PR target/94891 (AArch64), PR target/94791 (AArch64),
PR ipa/96130, PR middle-end/94600, PR middle-end/95270, PR c++/96063,
PR c++/96077.
* Also package the nvptx offload compiler on arm64.
gcc-10 (10.1.0-5) unstable; urgency=medium
* Update to git 20200713 from the gcc-10 branch.
- Fix PR bootstrap/94998, PR tree-optimization/94969, PR target/95018 (PPC),
PR target/95347 (PPC), PR target/95347 (PPC), PR target/95713,
PR target/94735 (ARM), PR target/94959 (ARM), PR c++/95505, PR c++/95508,
PR fortran/95707, PR fortran/95688, PR fortran/95687, PR fortran/95689,
PR fortran/95587, PR fortran/95088, PR lto/94848, PR c/95141, PR c++/95711,
PR c++/95736, PR c++/95519, PR c++/95518, PR c++/95813, PR c++/95477,
PR c++/95719, PR d/95250, PR fortran/95978, PR fortran/71706,
PR fortran/95743, PR fortran/95340, PR fortran/95880, PR fortran/95881,
PR fortran/95826, PR fortran/95828, PR fortran/95827, PR fortran/95812,
PR fortran/95708, PR target/95105 (AArch64), PR tree-optimization/96075,
PR ipa/96040, PR debug/95343, PR fortran/95709, PR fortran/93337,
PR fortran/95366, PR fortran/88379, PR fortran/9582 libstdc++/91807,
PR libstdc++/91153, PR target/93224, PR libstdc++/95282, PR libstdc++/94627,
PR tree-optimization/95857, PR target/95581 (PPC), PR target/96125 (PPC),
PR tree-optimization/96133, PR tree-optimization/95804,
PR tree-optimization/95638, PR target/95683 (RISCV), PR c++/96105,
PR c++/96052, PR c++/95976, PR libstdc++/95322, PR libstdc++/94936,
PR libstdc++/94087.
* distro-defaults.h: Don't define for offload compilers.
* Build the nvptx offload compiler on arm64.
* Update the patch for PR lto/95604.
gcc-10 (10.1.0-4) unstable; urgency=medium
* Update to git 20200616 from the gcc-10 branch.
- Fix PR ipa/95113, PR target/95525 (x86), PR target/95420 (ARM),
PR target/94591 (ARM), PR gcov-profile/95332, PR testsuite/95361,
PR target/95355 (x86), PR web/95380, PR c++/95346, PR c++/95562,
PR c++/95345, PR c++/95050, PR c++/94817, PR c++/94829, PR c++/95087,
PR c++/93310, PR c++/95158, PR c++/92103, PR c++/92633, PR c++/92838,
PR c++/95020, PR c++/95386, PR c++/92652, PR c++/93698, PR c++/94128,
PR c++/95241, PR c++/95181, PR c++/95371, PR c++/95319, PR c++/95222,
PR c++/90212, PR c++/90479, PR c++/91529, PR c++/93822,
PR libfortran/95390, PR libfortran/95104, PR libfortran/95104,
PR libfortran/95191, PR libgomp/92854, PR libgomp/92854,
PR libstdc++/95322, PR libstdc++/77691, PR lto/94848, PR middle-end/95551,
PR target/95528, PR c++/95197, PR middle-end/95108, PR debug/95080,
PR sanitizer/95634, PR sanitizer/94910, PR c/95580, PR c++/95328,
PR c++/95197, PR c++/95440, PR c++/93467, PR c++/95350, PR c++/95560,
PR c++/95066, PR c++/94937, PR c++/95344, PR c++/94955, PR c++/90915,
PR c++/90915, PR c++/95137, PR fortran/95544, PR fortran/93366,
PR fortran/95503, PR fortran/94109, PR fortran/95611, PR fortran/95091,
PR libstdc++/95578.
* Fix PR lto/95604, proposed patch.
* Reorganize the distro defaults patches.
gcc-10 (10.1.0-3ubuntu1) groovy; urgency=medium
*
gcc-10 (10.1.0-4ubuntu2) groovy; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
- Don't run the tests on riscv64.
gcc-10 (10.1.0-4) unstable; urgency=medium
* Update to git 20200616 from the gcc-10 branch.
- Fix PR ipa/95113, PR target/95525 (x86), PR target/95420 (ARM),
PR target/94591 (ARM), PR gcov-profile/95332, PR testsuite/95361,
PR target/95355 (x86), PR web/95380, PR c++/95346, PR c++/95562,
PR c++/95345, PR c++/95050, PR c++/94817, PR c++/94829, PR c++/95087,
PR c++/93310, PR c++/95158, PR c++/92103, PR c++/92633, PR c++/92838,
PR c++/95020, PR c++/95386, PR c++/92652, PR c++/93698, PR c++/94128,
PR c++/95241, PR c++/95181, PR c++/95371, PR c++/95319, PR c++/95222,
PR c++/90212, PR c++/90479, PR c++/91529, PR c++/93822,
PR libfortran/95390, PR libfortran/95104, PR libfortran/95104,
PR libfortran/95191, PR libgomp/92854, PR libgomp/92854,
PR libstdc++/95322, PR libstdc++/77691, PR lto/94848, PR middle-end/95551,
PR target/95528, PR c++/95197, PR middle-end/95108, PR debug/95080,
PR sanitizer/95634, PR sanitizer/94910, PR c/95580, PR c++/95328,
PR c++/95197, PR c++/95440, PR c++/93467, PR c++/95350, PR c++/95560,
PR c++/95066, PR c++/94937, PR c++/95344, PR c++/94955, PR c++/90915,
PR c++/90915, PR c++/95137, PR fortran/95544, PR fortran/93366,
PR fortran/95503, PR fortran/94109, PR fortran/95611, PR fortran/95091,
PR libstdc++/95578.
* Fix PR lto/95604, proposed patch.
* Reorganize the distro defaults patches.
gcc-10 (10.1.0-3ubuntu1) groovy; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-10 (10.1.0-3) unstable; urgency=medium
* Update to git 20200525 from the gcc-10 branch.
- Fix PR target/95255 (x86), PR target/95258 (x86), PR lto/95190,
PR target/95169 (x86), PR target/95212 (x86), PR middle-end/94635,
PR middle-end/94940, PR d/94970, PR fortran/39695, PR libfortran/95119,
PR libstdc++/95289, PR libstdc++/93983.
* Configure --with-arch=i686 for the Hurd. Closes: #960929.
* Remove the last powerpcspe packaging bits, it's finally gone.
* Update watch file.
gcc-10 (10.1.0-2ubuntu1) groovy; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
gcc-10 (10.1.0-2) unstable; urgency=medium
* Update to git 20200515 from the gcc-10 branch.
- Fix PR ipa/94947, PR c/95040, PR middle-end/94724,
PR target/94950 (RISCV), PR target/94942 (x86), PR c/94968, PR c/94842,
PR c++/95003, PR c++/94885, PR c++/94938, PR c++/94951, PR c++/94907,
PR fortran/93497, PR fortran/94672, PR fortran/59107, PR libstdc++/94906,
PR libstdc++/94933, PR libstdc++/92894.
[ Matthias Klose ]
* Remove the unmaintained neon packaging bits.
* Add build dependency on unzip to fix libphobos test failures.
* libphobos: Fix issue 19861 - core.cpuid reports the wrong number of
threads. Closes: #960150.
* Build using GCC 10 on recent distro versions.
* Fix gnat tests to find the libgnat_utils shared library. Closes: #960270.
* Run the testsuite with the offload compilers installed into the temporary
install location.
* Don't require root for the temp installation of the offload compilers.
* Use LLVM 10 for the amdgcn assembler and linker tools.
* Don't override the libstdc++ test results when running the libstdc++ abi
check.
* Update debian/TODO, remove obsolete items, add some testsuite items.
* Override some lintian warnings for snapshot builds.
* Include jit test results into the summary and the gcc-test-results package.
* Fix some lintian warnings.
* Don't strip the target object files for the amdgcn offload build.
* Stop building the libgcc compat packages for bullseye/sid.
[ Nicolas Boulenguez ]
* Enable gnat autopkg tests.
gcc-10 (10.1.0-1ubuntu1) groovy; urgency=medium
* GCC 10.1.0 release.
gcc-10 (10.1.0-1) unstable; urgency=medium
* GCC 10.1.0 release.
* lib*stdc++6: Depend on lib*gcc-sN instead of lib*gccN.
* Build libphobos on hppa-linux-gnu.
* Update NEWS files for GCC 10.
* Refresh patches.
gcc-10 (10-20200502-1ubuntu1) groovy; urgency=medium
* Stop building libgccN.
gcc-10 (10-20200502-1) unstable; urgency=medium
* GCC 10.1 release candidate.
* GCC snapshot, taken from the gcc-10 branch (20200502, 0118d0397f9).
- Fix PR objc/94637, @selector() broken for selectors containing repeated
colons. Closes: #959127.
* Increase the testsuite timeout on riscv64.
* Fix sparc64 multilib cross build (Helmut Grohne). Closes: #958909.
* Fix GDC Issue 19367 - std.net.curl does not understand HTTP/2 status lines.
LP: #1876293.
* Update libgphobos symbols files.
gcc-10 (10-20200425-1ubuntu2) groovy; urgency=medium
* GCC snapshot, taken from the trunk (20200425, cf3f7b309ffd).
gcc-10 (10-20200425-1) unstable; urgency=medium
* GCC snapshot, taken from the trunk (20200425, cf3f7b309ffd).
- Fix PR middle-end/94647. Closes: #958062.
* Fix local patch for PR jit/87808. Closes: #954898.
* gcc-snapshot: Depend on nvptx-tools with the nvptx offload compiler.
* Provide symlinks for the offload target tools in <gcclibdir>/accel/<target>.
* Don't include lib*gomp1 and libgcc4 in the control file, when not building
the common libraries.
* Build libphobos on powerpc*, libdruntime only.
gcc-10 (10-20200418-1ubuntu1) focal; urgency=medium
* GCC snapshot, taken from the trunk (20200417, b835645c7a5).
* libgcc-sN: Don't add the libgcc-N-dev breaks for backports.
* Fix typo, configure with --with-tune=z15 on Ubuntu/s390x for the
g-series, but don't enable it for the focal release.
gcc-10 (10-20200418-1) unstable; urgency=medium
* GCC snapshot, taken from the trunk (20200418, c5bac7d127f2).
- Fix PR lto/94612, offloading support.
- Fix PR rtl-optimization/93974, ICE on ppc64el with -O3.
[ Nicolas Boulenguez ]
* Remove ada-lib-info-file-prefix-map.diff (see #87972).
[ Matthias Klose ]
* libgcc-sN: Don't add the libgcc-N-dev breaks for backports.
* Include the complete offload compilers in the gcc-snapshot builds.
gcc-10 (10-20200411-1) unstable; urgency=medium
* GCC snapshot, taken from the trunk (20200411, f883c46b487).
* Fix gnat cross builds.
* Strip again the compiler executables.
-- Matthias Klose <doko at ubuntu.com> Sat, 08 Aug 2020 14:12:50 +0200
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-10 in Ubuntu.
https://bugs.launchpad.net/bugs/1876293
Title:
libphobos: std.net.curl does not understand HTTP/2 status lines
Status in gcc-10 package in Ubuntu:
Fix Released
Status in gcc-10 source package in Focal:
Fix Released
Bug description:
The GDC runtime access to the libcurl is broken. CURL operations abort
with unexpected error codes.
Test programm:
```
import std.net.curl;
import std.stdio;
void main()
{
HTTP http = HTTP();
auto data = get("https://acme-staging-v02.api.letsencrypt.org/directory", http);
writeln(data);
}
```
Compile this program and run it.
$ gdc curldownload.d -o curldownload -g
$ ./curldownload
std.net.curl.HTTPStatusException@/usr/lib/gcc/aarch64-linux-gnu/10/include/d/std/net/curl.d(1071): HTTP request returned status code 0 ()
----------------
??:? pure @safe bool std.exception.enforce!(bool).enforce(bool, lazy object.Throwable) [0xffff7faf82d3]
??:? char[] std.net.curl._basicHTTP!(char)._basicHTTP(const(char)[], const(void)[], std.net.curl.HTTP) [0xaaaad4d9384b]
??:? char[] std.net.curl.get!(std.net.curl.HTTP, char).get(const(char)[], std.net.curl.HTTP) [0xaaaad4d92833]
??:? _Dmain [0xaaaad4d9272f]
??:? ???[0xffff7fc808bb]
??:? ???[0xffff7fc80c2f]
??:? _d_run_main [0xffff7fc80d9f]
??:? main [0xaaaad4d927a3]
??:? __libc_start_main [0xffff7f6da08f]
??:? ???[0xaaaad4d92603]
The same issue also impacts the 'dub' package. It is *not* possible to
update/fetch packages from code.dlang.org.
I compiled 'ldc2' from sources in its latest version. The code snippet
works fine, when compiled with ldc- Also 'dub', when recompiled with
ldc2, works fine.
So there is some problem with gdc and its access to libcurl. Maybe
broken library bindungs? Some issue with ARM32 and ARM64 archs (same
problem with ARM32(gnueabihf))?
Issue also reported on dlang.org :
https://issues.dlang.org/show_bug.cgi?id=20380
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gdc-10 10-20200411-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-1008.8-raspi 5.4.29
Uname: Linux 5.4.0-1008-raspi aarch64
ApportVersion: 2.20.11-0ubuntu27
Architecture: arm64
CasperMD5CheckResult: skip
Date: Fri May 1 12:19:49 2020
SourcePackage: gcc-10
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/1876293/+subscriptions
More information about the foundations-bugs
mailing list