Please backport gcc-mingw-w64 20.2 (universe) from bionic-proposed

Bug #1748945 reported by michagogo
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Xenial Backports
Won't Fix
Undecided
Unassigned

Bug Description

Please backport gcc-mingw-w64 20.2 (universe) from bionic-proposed to xenial.

Reason for the backport:
========================
The version in Xenial is broken, resulting in broken results when building e.g. Bitcoin Core.

Testing:
========
Mark off items in the checklist [X] as you test them, but please leave the checklist so that backporters can quickly evaluate the state of testing.

You can test-build the backport in your PPA with backportpackage:
$ backportpackage -u ppa:<lp username>/<ppa name> -s bionic -d xenial gcc-mingw-w64

* xenial:
[ ] Package builds without modification
[ ] gnat-mingw-w64-i686 installs cleanly and runs
[ ] gnat-mingw-w64-i686-dbgsym installs cleanly and runs
[ ] g++-mingw-w64-x86-64 installs cleanly and runs
[ ] gobjc-mingw-w64 installs cleanly and runs
[ ] gcc-mingw-w64-base installs cleanly and runs
[ ] gnat-mingw-w64-x86-64 installs cleanly and runs
[ ] gobjc++-mingw-w64-x86-64-dbgsym installs cleanly and runs
[ ] gcc-mingw-w64-i686-dbgsym installs cleanly and runs
[ ] gfortran-mingw-w64 installs cleanly and runs
[ ] gobjc++-mingw-w64-i686-dbgsym installs cleanly and runs
[ ] gcc-mingw-w64-x86-64 installs cleanly and runs
[ ] gfortran-mingw-w64-i686 installs cleanly and runs
[ ] g++-mingw-w64-i686-dbgsym installs cleanly and runs
[ ] gcc-mingw-w64-i686 installs cleanly and runs
[ ] gnat-mingw-w64-x86-64-dbgsym installs cleanly and runs
[ ] g++-mingw-w64 installs cleanly and runs
[ ] gobjc++-mingw-w64-x86-64 installs cleanly and runs
[ ] gcc-mingw-w64-x86-64-dbgsym installs cleanly and runs
[ ] gobjc++-mingw-w64-i686 installs cleanly and runs
[ ] gobjc-mingw-w64-x86-64 installs cleanly and runs
[ ] gobjc++-mingw-w64 installs cleanly and runs
[ ] gnat-mingw-w64 installs cleanly and runs
[ ] gfortran-mingw-w64-x86-64 installs cleanly and runs
[ ] gfortran-mingw-w64-i686-dbgsym installs cleanly and runs
[ ] gobjc-mingw-w64-i686-dbgsym installs cleanly and runs
[ ] g++-mingw-w64-i686 installs cleanly and runs
[ ] gobjc-mingw-w64-i686 installs cleanly and runs
[ ] g++-mingw-w64-x86-64-dbgsym installs cleanly and runs
[ ] gcc-mingw-w64 installs cleanly and runs
[ ] gobjc-mingw-w64-x86-64-dbgsym installs cleanly and runs
[ ] gfortran-mingw-w64-x86-64-dbgsym installs cleanly and runs

Reverse dependencies:
=====================
The following reverse-dependencies need to be tested against the new version of gcc-mingw-w64. For reverse-build-dependencies (-Indep), please test that the package still builds against the new gcc-mingw-w64. For reverse-dependencies, please test that the version of the package currently in the release still works with the new gcc-mingw-w64 installed. Reverse- Recommends, Suggests, and Enhances don't need to be tested, and are listed for completeness-sake.

gnat-mingw-w64-i686
-------------------

gnat-mingw-w64-i686-dbgsym
--------------------------

g++-mingw-w64-x86-64
--------------------
* libnb-platform18-java
  [ ] xenial (Reverse-Build-Depends)

gobjc-mingw-w64
---------------

gcc-mingw-w64-base
------------------

gnat-mingw-w64-x86-64
---------------------

gobjc++-mingw-w64-x86-64-dbgsym
-------------------------------

gcc-mingw-w64-i686-dbgsym
-------------------------

gfortran-mingw-w64
------------------

gobjc++-mingw-w64-i686-dbgsym
-----------------------------

gcc-mingw-w64-x86-64
--------------------
* mingw-w64
  [ ] xenial (Reverse-Build-Depends-Indep)

gfortran-mingw-w64-i686
-----------------------

g++-mingw-w64-i686-dbgsym
-------------------------

gcc-mingw-w64-i686
------------------
* mingw-w64
  [ ] xenial (Reverse-Build-Depends-Indep)

gnat-mingw-w64-x86-64-dbgsym
----------------------------

g++-mingw-w64
-------------
* mingw-w64
  [ ] xenial (Reverse-Depends)

gobjc++-mingw-w64-x86-64
------------------------

gcc-mingw-w64-x86-64-dbgsym
---------------------------

gobjc++-mingw-w64-i686
----------------------

gobjc-mingw-w64-x86-64
----------------------

gobjc++-mingw-w64
-----------------

gnat-mingw-w64
--------------

gfortran-mingw-w64-x86-64
-------------------------

gfortran-mingw-w64-i686-dbgsym
------------------------------

gobjc-mingw-w64-i686-dbgsym
---------------------------

g++-mingw-w64-i686
------------------
* libnb-platform18-java
  [ ] xenial (Reverse-Build-Depends)
* android
  [ ] xenial (Reverse-Build-Depends)

gobjc-mingw-w64-i686
--------------------

g++-mingw-w64-x86-64-dbgsym
---------------------------

gcc-mingw-w64
-------------
* libz-mingw-w64
  [ ] xenial (Reverse-Build-Depends-Indep)
* mingw-w64-x86-64-dev
  [ ] xenial (Reverse-Breaks)
* mingw-w64
  [ ] xenial (Reverse-Depends)
* mingw-w64-i686-dev
  [ ] xenial (Reverse-Breaks)
* gdb-mingw-w64
  [ ] xenial (Reverse-Build-Depends-Indep)

gobjc-mingw-w64-x86-64-dbgsym
-----------------------------

gfortran-mingw-w64-x86-64-dbgsym
--------------------------------

Revision history for this message
michagogo (michagogo) wrote :

I tried to push this up to my PPA, but ran into dependency issues... It wants the following: binutils-mingw-w64-i686 (>= 2.28~), binutils-mingw-w64-x86-64 (>= 2.28~), g++-7, gcc-7-source (>= 7.2.0-20), gnat-7

I tried backporting binutils-mingw-w64 to the PPA, that then wanted binutils-source, which comes from src:binutils. When I tried binutils, I got a weird error:

# Pastebin dFgEDKXz
 dpkg-source -b binutils-xenial
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building binutils using existing ./binutils_2.30.orig.tar.xz
dpkg-source: info: building binutils in binutils_2.30-4ubuntu1~ubuntu16.04.1~ppa1.debian.tar.xz
dpkg-source: info: building binutils in binutils_2.30-4ubuntu1~ubuntu16.04.1~ppa1.dsc
 dpkg-genchanges -S -sa -v2.26.1-1ubuntu1~16.04.6 >../binutils_2.30-4ubuntu1~ubuntu16.04.1~ppa1_source.changes
dpkg-genchanges: warning: debian/changelog(l395): found change data where expected next heading or end of file
LINE: *
dpkg-genchanges: warning: debian/changelog(l7258): invalid abbreviated month name 'Sept'
LINE: -- Christopher C. Chimelis <email address hidden> Sat, 18 Sept 1999 01:21:05 -0400
dpkg-genchanges: warning: debian/changelog(l7258): cannot parse non-comformant date '18 Sept 1999 01:21:05 -0400'
LINE: -- Christopher C. Chimelis <email address hidden> Sat, 18 Sept 1999 01:21:05 -0400
dpkg-genchanges: warning: 'since' option specifies non-existing version
dpkg-genchanges: warning: use newest entry that is earlier than the one specified
dpkg-genchanges: error: unknown1 is not a valid version
dpkg-buildpackage: error: dpkg-genchanges gave error exit status 255
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -d -us -uc -S -nc -sa -v2.26.1-1ubuntu1~16.04.6 failed
backportpackage: Error: debuild returned 29.

And when I tried g++-7, all kinds of other stuff started popping up, causing me to suspect that I'm going down a rabbit hole I shouldn't be. Is there something else I should be doing?

Thanks!

Revision history for this message
michagogo (michagogo) wrote :

Update: I tried pushing a backport from artful, and that only blocked on gcc-6. I found ppa:ubuntu-toolchain-r/test which has a gcc-6 for Xenial, and am now trying a build. Maybe this will work better?

Dan Streetman (ddstreet)
Changed in xenial-backports:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.