From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19733: disfunctional gcc binary when GCJ or gfortran is installed Date: Mon, 21 Dec 2015 22:30:31 +0100 Message-ID: <874mfbij60.fsf@gnu.org> References: <87wpuqonl3.fsf@gnu.org> <87si2yxr5h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB82r-0001Ms-IH for bug-guix@gnu.org; Mon, 21 Dec 2015 16:31:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB82o-0004cm-AK for bug-guix@gnu.org; Mon, 21 Dec 2015 16:31:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB82o-0004cX-6e for bug-guix@gnu.org; Mon, 21 Dec 2015 16:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aB82n-0001GK-Vz for bug-guix@gnu.org; Mon, 21 Dec 2015 16:31:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Ricardo Wurmus's message of "Mon, 21 Dec 2015 16:38:51 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: 19733@debbugs.gnu.org Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >> ludo@gnu.org (Ludovic Court=C3=A8s) skribis: >> >>> Ricardo Wurmus skribis: >>> >>>> Commit 5f6887e8 fixes this for GCJ, but we still have this problem for >>>> all variants of gfortran, gcc-objc, and gccgo, all of which are built >>>> using the =E2=80=98custom-gcc=E2=80=99 procedure. >>>> >>>> It=E2=80=99s probably safe to add a build phase like this to =E2=80=98= custom-gcc=E2=80=99: >>>> >>>> (add-after 'install 'remove-broken-or-conflicting-files >>>> (lambda* (#:key outputs #:allow-other-keys) >>>> (for-each delete-file >>>> (find-files (string-append (assoc-ref outputs "out") "/bin") >>>> ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)")) >>>> #t)) >>> >>> Sounds like it should work. The pattern should also include =E2=80=98g= cov=E2=80=99. >> >> Could you give it a try? >> >> Ludo=E2=80=99, trying to tidy up the bug database. :-) > > Wouldn=E2=80=99t this cause a rebuild of a very large number of packages? --8<---------------cut here---------------start------------->8--- $ GUIX_PACKAGE_PATH=3D guix refresh -l -e '(@@ (gnu packages gcc) gfortran)' Building the following 57 packages would ensure 144 dependent packages are = rebuilt: bless-1p02 fftw-openmpi-3.3.4 mumps-metis-5.0.1 mumps-5.0.1 r-grid= base-0.4-7 r-plotrix-3.6 r-servr-0.2 r-htmlwidgets-0.5 r-readr-0.2.2 r-latt= ice-0.20-33 r-data-table-1.9.6 r-dplyr-0.4.3 r-devtools-1.9.1 python2-rpy2-= 2.6.0 python-rpy2-2.6.0 r-qtl-1.37-11 rsem-1.2.20 python-ipython-3.2.1 pyth= on-numexpr-2.4.4 python-h5py-2.4.0 python-biopython-1.66 python-statsmodels= -0.6.1 python-scikit-learn-0.16.1 python-scikit-image-0.11.3 python-seaborn= -0.5.1 idr-2.0.0 python2-scikit-image-0.11.3 python2-numexpr-2.4.4 python2-= statsmodels-0.6.1 python2-seaborn-0.5.1 python2-ipython-3.2.1 enblend-enfus= e-4.1.3 libreoffice-5.0.3.2 macs-2.1.0.20140616 rseqc-2.6.1 crossmap-0.2.1 = deeptools-1.5.11 miso-0.5.3 grit-2.0.2 seqmagick-0.6.1 clipper-0.3.0 python= 2-warpedlmm-0.21 pbtranscript-tofu-2.2.3.8f5467fe6 superlu-dist-3.3 gmsh-2.= 8.4 mumps-openmpi-5.0.1 slepc-complex-openmpi-3.6.2 plink-1.07 apl-1.5 deal= ii-openmpi-8.2.1 dealii-8.2.1 flann-1.8.4 slepc-complex-3.6.2 slepc-3.6.2 s= hogun-4.0.0 couger-1.8.2 julia-0.3.10 $ GUIX_PACKAGE_PATH=3D guix refresh -l gfortran gccgo gcc-objc gcc-objc++=20 No dependents other than themselves: gcc-objc++-4.8.5 gcc-objc-4.8.5 gccgo-= 4.8.5 gfortran-5.3.0 --8<---------------cut here---------------end--------------->8--- So that=E2=80=99s mostly several GCC rebuilds and a LibreOffice rebuild. I think it=E2=80=99s not unreasonable to do on =E2=80=98master=E2=80=99 once = =E2=80=98security-updates=E2=80=99 has been merged (hopefully soon.) Ludo=E2=80=99.