On Thu, 2018-04-12 at 23:02 +0100, Ben Hutchings wrote: > [Trimmed the cc list] > > On Thu, 2018-04-12 at 18:39 +0100, Ben Hutchings wrote: > > On Thu, 2018-04-12 at 17:00 +0100, Ben Hutchings wrote: > > [...] > > > I didn't know how it worked, only that it does work. Anyway, I've > > > looked now and I think you need to apply the following patch: > > > > > > --- gcc-4.9-4.9.2/debian/rules.conf > > > +++ gcc-4.9-4.9.2/debian/rules.conf > > > @@ -392,7 +392,7 @@ > > > # ensure that the common libs, built from the next GCC version are > > > available > > > ifeq ($(PKGSOURCE),gcc-$(BASE_VERSION)) > > > ifneq ($(with_common_libs),yes) > > > - BASE_BUILD_DEP = gcc-4.10-base, > > > + BASE_BUILD_DEP = gcc-4.7-base, > > > endif > > > endif > > > > > > --- gcc-4.9-4.9.2/debian/rules.defs > > > +++ gcc-4.9-4.9.2/debian/rules.defs > > > @@ -373,9 +373,9 @@ > > > # common things --------------- > > > # build common packages, where package names don't differ in different > > > # gcc versions (fixincludes, libgcj-common) ... > > > -with_common_pkgs := yes > > > +with_common_pkgs := no > > > # ... and some libraries, which do not change (libgcc1, libssp0). > > > -with_common_libs := yes > > > +with_common_libs := no > > > # XXX: should with_common_libs be "yes" only if this is the default > > > compiler > > > # version on the targeted arch? > > > > > > --- END --- > > > > Also, the libcloog-isl-dev build dependency needs to be changed in > > debian/rules.conf - not directly in debian/control. The other > > versioned build dependencies are updated automatically by: > > Bah, there are more changes needed to build the right set of binaries - > i.e. exactly the packages that are not built from gcc-4.7 in wheezy. I > will let you know when I think I have a complete solution.
I've pushed my version to: https://people.debian.org/~benh/packages/wheezy-security/ I believe this builds the right set of binary packages, and the files contained in them match the binaries built from 4.9.2-10+deb8u1 with a few exceptions that seem to make sense. I'm not sure whether the packages all work. There are some new test failures (I'm comparing with the build log for 4.9.2-10+b1). Some of these may be due to bugs in library packages built from gcc-4.7. I don't know how much effort we should put into investigating these. (The awful thing about these tests is that the different groups get run in a random order (directory order?) and the reports for each group don't give unique names. So just matching up the test results in two different runs takes an effort.) Ben. > Ben. > > > > and then run 'debian/rules control' to update debian/control etc. > > > > Ben. > > -- Ben Hutchings Hoare's Law of Large Problems: Inside every large problem is a small problem struggling to get out.
signature.asc
Description: This is a digitally signed message part