Le 16/06/2016 à 16:39, Gianfranco Costamagna a écrit : > Hi, > > >> # CC=gcc-6 \> # CPP=cpp-6 >> # >> # RICHARD, IS IT CORRECT ? > > nope :) > > anyway, I did > create a chroot with the build dependencies > check if the library was not installed (the one you didn't like) > git clone > dpkg-buildpackage &> ../log > > installed gcc-6 stuff > your workaround in configure > dpkg-buildpackage &> ../log2 > > well, gcc-6 was detected, but not used during build > > so I did export CC=gcc-6 CPP=cpp-6 > dpkg-buildpackage &> ../log3 > > here I can see that gcc-6 and gpp-6 are called in configure, build and test. > > Attached logs for the last try and the three log log2 and log3 > > G. May I ask you another test, please ?
# Clone gnustep-base git clone https://anonscm.debian.org/git/pkg-gnustep/gnustep-base.git # Enter in gnsutep-base dir cd gnustep-base # Install build-dependencies # (libffcall1-dev IS REPLACING libffi-dev) apt-get --no-install-recommends install debhelper gnustep-make gobjc-5 libxml2-dev libxslt1-dev libgnutls28-dev zlib1g-dev m4 libavahi-client-dev libicu-dev dh-autoreconf dh-exec texinfo texlive-latex-base texlive-fonts-recommended xml-core build-essential libffcall1-dev # 1- gcc-5 with libffcall1-dev # Make sure libffi is NOT installed apt remove libffi-dev libffi6 libffi6-dbg # Replace libffi-dev by liffcall1-dev # in debian/control AND debian/templates/control.m4 # Edit debian debian/rules, # in the override_dh_auto_configure target: # #dh_auto_configure -- \ # ac_cv_lib_kvm_kvm_getenvv=no \ # --disable-bfd \ # --disable-libffi \ # --enable-ffcall # build package with default compiler # Send me the Tests/tests.log file 2 -gcc-6 with libffcall1-dev #rebuild package with gcc-6 # Send me the Tests/tests.log file Thanks Eric