On Fri, May 08, 2009 at 07:21:16PM +0200, Ludovic Brenta wrote: > Unfortunately, the log file you provided doesn't tell me much more; it > only contains: > > configure:4943: checking whether compiler driver understands Ada > configure:4966: result: no > > On my machine which also runs testing, I get: > > configure:4943: checking whether compiler driver understands Ada > configure:4966: result: yes > > and the bootstrap succeeds.
Good point, but please recall what I've already said. I still can't upgrade to testing because I can't rebuild gcc-defaults_1.81 -- it requires rebuilding gcc-4.3_4.3.3-3, gcj-4.3_4.3.3-3, and gnat-4.3_4.3.3-2. gcj-4.3 FTBFSed first, then I discovered that gcc-4.3 FTBFSes too; then I've found upstream requirement of autoconf_2.59, and that there's gcc-4.3_4.3.3-7 (those days) in unstable, what can't migrate. I've attempted 7th revision and it succeeded. Than I've found #523509, contributed to it (I would like to think that my contribution had some value), and then gcj-4.3_4.3.3-8 succeeded too. Let's back to gnat-4.3_4.3.3-2 for now. > Since I cannot reproduce your problem, I'm afraid I can't help much > more. I can however explain how this works so you can try to > investigate further on your side. *SKIP* (please don't consider me ranting, just for clarity) A long time ago I had sex (let's call that process what it was) upgrading BlackCatLinux 6.1 (RHL-6.0 in background) to RHL-7.3 Slackware-way. So I have some minor understanding what "./configure-make-make_install" charm is. > The test which you can see at line 4943 in .../src/configure calls > "gnatgcc -c conftest.adb" (where conftest.adb is a generated, > minimalistic Ada source file) and then checks for the existence of the > corresponding object file. In your case, something went wrong; either > gnatgcc failed to produce an object file, or it emitted an error message > on stderr. On my machine, the test succeeds. > > I hope you can take it from there to see what's wrong. Thus that clear (and hopefully useful for someone else) explanation motivated me to recall old practicies. That's what I've found. Since I build with pdebuild-internal, C-hook isn't an option for me. I've --login'ed, and installed gnat-4.3 . It pulled obvious dependencies, except gnat (because gnat is the reverese depends). ${CC} -c conftest.adb That ${CC} I've decoded as 'gnatgcc' from 247line of config.log ac_cv_prog_CC=gnatgcc Attempt to run gnatgcc -c conftest.adb then obviously fail because gnatgcc is missing. It's in gnat package, that's uninstalled. Attempt to install plain gnat fails, because gnat: Depends: gnat-4.3 (>= 4.3.3-2) but 4.3.2-1 is to be installed Then after installing gnat_4.3.2-2 (I don't understand from where that 4.3.2-1 was pulled) compiling that conftest.adb thingy succeedes. Then I've checked if installed dependecies happen to be the same as while build fails. Then I've found that gcc-4.3_4.3.2-1.1 is installed. I've upgraded it to gcc-4.3_4.3.3-7, and... fatal error, run-time library not installed correctly cannot locate file system.ads compilation abandoned Obviously none could complain that gnat_4.3.2 fails with gcc_4.3.3. Why they don't conflict each other is another issue going beyond the scope of this bugreport... Or gnat_4.3.2 should work with gcc_4.3.2 and nothing else... And everything that doesn't matter. I've tried to preinstall gcc-4.3 and gcc-defaults binaries -- for unknown reason gcc-4.3 happened always to be upgraded up to version 4.3.3-7. And the reason is this: gnat-4.3 build-depends on gcc-4.3-source. And that gcc-4.3-source_4.3.3-7 depends on gcc-4.3-base (>= 4.3.3-1). Fin. I think none would be able to build gnat-4.3_4.3.3 off gcc-4.3-source_4.3.2. Is there a way to make gnat-4.3_4.3.2 to work with gcc-4.3_4.3.3? Is there a way to make gcc-4.3_4.3.3 and gcc-4.3_4.3.2 coexist? All that is done by tweaking debian/control behind the scene? What I have to pull off mirror of gnat-4.3_4.3.3 packages to build gnat-4.3_4.3.3? So my request is still in effect -- is it possible to apply the black magic already applied on gcc-4.3 and gcj-4.3 on gnat-4.3 too? Please, that's the only hope. -- Torvalds' goal for Linux is very simple: World Domination Stallman's goal for GNU is even simpler: Freedom -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org