Processing of cross-gcc_242_amd64.changes

2019-12-30 Thread Debian FTP Masters
cross-gcc_242_amd64.changes uploaded successfully to localhost
along with the files:
  cross-gcc_242.dsc
  cross-gcc_242.tar.xz
  cross-gcc_242_amd64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



Bug#927230: marked as done (cross-gcc-dev: gcc-9 patch application failure)

2019-12-30 Thread Debian Bug Tracking System
Your message dated Mon, 30 Dec 2019 22:49:14 +
with message-id 
and subject line Bug#927230: fixed in cross-gcc 242
has caused the Debian Bug report #927230,
regarding cross-gcc-dev: gcc-9 patch application failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
927230: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927230
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cross-gcc-dev
Version: 230
Tags: patch bullseye sid
Control: fixed 925950 230

When trying to apply the patched gcc-9 patches during a gcc-9 build, one
gets a patch application failure during cross-ma-install-location.diff.
It turns out that libmpx got removed in gcc-9, so it needs to be dropped
from cross-ma-install-location.diff as well. The attached patch does
just that.

It also seems like the fixed version in #925950 is not properly
recorded[1]. Using the opportunity to record the correct one.

Helmut

[1] Niels Thykier suggested that it was wrong when he closed the
relevant unblock. One can use "fixed 925950 230" or "fixed 925950
cross-gcc/230", but "fixed 925950 cross-gcc-dev/230" does not work.
You cannot fix something in a binary package.
--- a/patches/gcc-9/0004-added-multi-arch-specific-install-location-patch.patch
+++ b/patches/gcc-9/0004-added-multi-arch-specific-install-location-patch.patch
@@ -16,7 +16,7 @@
 index 000..7dd01d0
 --- /dev/null
 +++ b/debian/patches/cross-ma-install-location.diff
-@@ -0,0 +1,357 @@
+@@ -0,0 +1,337 @@
 +Index: b/src/libada/configure.ac
 +===
 +--- a/src/libada/configure.ac
@@ -340,26 +340,6 @@
 + toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
 + ;;
 +   no)
-+-if test -n "$with_cross_host" &&
-+-   test x"$with_cross_host" != x"no"; then
-+-  # Install a library built with a cross compiler in tooldir, not libdir.
-+-  toolexecdir='$(exec_prefix)/$(target_alias)'
-+-  toolexeclibdir='$(toolexecdir)/lib'
-+-else
-+-  toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
-+-  toolexeclibdir='$(libdir)'
-+-fi
-++toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
-++toolexeclibdir='$(libdir)'
-+ multi_os_directory=`$CC -print-multi-os-directory`
-+ case $multi_os_directory in
-+   .) ;; # Avoid trailing /.
-+--- a/src/libmpx/configure.ac
- b/src/libmpx/configure.ac
-+@@ -70,15 +70,8 @@
-+ toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
-+ ;;
-+   no)
 +-if test -n "$with_cross_host" &&
 +-   test x"$with_cross_host" != x"no"; then
 +-  # Install a library built with a cross compiler in tooldir, not libdir.
--- End Message ---
--- Begin Message ---
Source: cross-gcc
Source-Version: 242

We believe that the bug you reported is fixed in the latest version of
cross-gcc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 927...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dima Kogan  (supplier of updated cross-gcc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Mon, 30 Dec 2019 14:18:54 -0800
Source: cross-gcc
Binary: cross-gcc-dev
Architecture: source
Version: 242
Distribution: unstable
Urgency: medium
Maintainer: Debian Cross-Toolchain Team 
Changed-By: Dima Kogan 
Description:
 cross-gcc-dev - Tools for building cross-compilers and cross-compiler packages
Closes: 927230
Changes:
 cross-gcc (242) unstable; urgency=medium
 .
   * gcc-9, gcc-10: updated patches to reflect the removed libmpx (Closes:
 #927230)
Checksums-Sha1:
 0910714b6bca93e3d130be6106af0a267e5a7849 1666 cross-gcc_242.dsc
 f2e997c28041e9dacf68f6b97217a84dca3137b6 33168 cross-gcc_242.tar.xz
 b5f92deb54cf88ed8a8ba9c859f4177fdf7a4272 6021 cross-gcc_242_amd64.buildinfo
Checksums-Sha256:
 0a75c97b3a871791b398331470a1db5bbb8941a7716c71d2a06772a9e73373a6 1666 
cross-gcc_242.dsc
 5404fadbee4f3ad4b293cfec295a9203af795c9d1ecdf836f235cb45de3bf544 33168 
cross-gcc_242.tar.xz
 f4c5c78fd407f7f0c6d5fbdc5edad42e6081b5630ef92243225f5b580e14627a 6021 
cross-gcc_242_amd64.buildinfo
Files:
 219048e48a1de9c537995402972a1df7 1666 devel extra 

Bug#927230: cross-gcc-dev: gcc-9 patch application failure

2019-12-30 Thread Dima Kogan
I just uploaded cross-gcc-dev=242 to apply this patch. I did just try to
actually build a cross compiler using these patches (something I haven't
done in a long time), and this patch is clearly necessary.

The build still didn't complete, because some other patch in
gcc-9-source doesn't apply anymore. This has nothing to do with the
cross-building, and I suspect that your problem is fixed now. Please let
me know if you still have trouble building, and I can look more deeply,
if necessary.