From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: 01/01: gnu: custom-gcc: Delete broken or conflicting executables. Date: Wed, 16 Mar 2016 14:13:00 +0100 Message-ID: References: <20160311151441.0543ca4d@debian-netbook> 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]:54939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agBGQ-00043z-Kt for guix-devel@gnu.org; Wed, 16 Mar 2016 09:13:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agBGM-0004H2-CQ for guix-devel@gnu.org; Wed, 16 Mar 2016 09:13:26 -0400 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:35256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agBGM-0004Go-0S for guix-devel@gnu.org; Wed, 16 Mar 2016 09:13:22 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Efraim Flashner Cc: guix-devel@gnu.org Ricardo Wurmus writes: > Efraim Flashner writes: > >> https://lists.gnu.org/archive/html/guix-commits/2016-03/msg00229.html >> >> This patch seems to have broken slepc[1], slepc-complex[2] and >> randomjungle[3]. >> >> >> [1] http://hydra.gnu.org/build/1084459 >> [2] http://hydra.gnu.org/build/1084166 >> [3] http://hydra.gnu.org/build/1084474 > > For randomjungle the config.log tells me this: > >> configure:19068: gcc -o conftest -g -O2 -I/usr/include -L/usr/lib -l= z conftest.c -lgsl -lm -lgslcblas -lxml2 -lpthread -lgfortran -lz >&5 >> ld: cannot find -lgfortran >> collect2: error: ld returned 1 exit status >> configure:19068: $? =3D 1 >> configure: failed program was: >> | /* confdefs.h */ >> | #define PACKAGE_NAME "randomjungle" >> | #define PACKAGE_TARNAME "randomjungle" >> | #define PACKAGE_VERSION "2.0.0" >> | #define PACKAGE_STRING "randomjungle 2.0.0" >> | #define PACKAGE_BUGREPORT "" >> | #define PACKAGE_URL "" >> | #define PACKAGE "randomjungle" >> | #define VERSION "2.0.0" >> | #define STDC_HEADERS 1 >> | #define HAVE_SYS_TYPES_H 1 >> | #define HAVE_SYS_STAT_H 1 >> | #define HAVE_STDLIB_H 1 >> | #define HAVE_STRING_H 1 >> | #define HAVE_MEMORY_H 1 >> | #define HAVE_STRINGS_H 1 >> | #define HAVE_INTTYPES_H 1 >> | #define HAVE_STDINT_H 1 >> | #define HAVE_UNISTD_H 1 >> | #define HAVE_DLFCN_H 1 >> | #define LT_OBJDIR ".libs/" >> | #define HAVE_MATH_H 1 >> | #define HAVE_STDLIB_H 1 >> | #define HAVE_STRING_H 1 >> | #define HAVE_SYS_TIME_H 1 >> | #define HAVE_GETOPT_H 1 >> | #define HAVE__BOOL 1 >> | #define HAVE_STDBOOL_H 1 >> | #define SIZEOF_VOID_P 8 >> | #define HAVE_LIBZ 1 >> | #define HAVE_BOOST_DYNAMIC_BITSET_HPP 1 >> | /* end confdefs.h. */ >> | #include >> | int >> | main () >> | { >> | error_at_line (0, 0, "", 0, "an error occurred"); >> | ; >> | return 0; >> | } >> configure:19076: result: no > > I=E2=80=99ll investigate this. It=E2=80=99s odd that =E2=80=9C-lgfortr= an=E2=80=9D cannot be found only > because we deleted useless wrappers. I found that for randomjungle the native inputs must now also include ("gfortran" ,gfortran "lib") in *addition* to the usual ("gfortran" ,gfortran) I can prepare a patch for the three broken packages, but I wonder why this is necessary. =E2=80=9Cgfortran=E2=80=9D alone does not install =E2= =80=9Clibgfortran.so=E2=80=9D, only the =E2=80=9Clib=E2=80=9D output does. ~~ Ricardo