all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 01/01: gnu: custom-gcc: Delete broken or conflicting executables.
@ 2016-03-11 13:14 Efraim Flashner
  2016-03-16 11:37 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2016-03-11 13:14 UTC (permalink / raw)
  To: rekado, guix-devel

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

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
-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 01/01: gnu: custom-gcc: Delete broken or conflicting executables.
  2016-03-11 13:14 01/01: gnu: custom-gcc: Delete broken or conflicting executables Efraim Flashner
@ 2016-03-16 11:37 ` Ricardo Wurmus
  2016-03-16 13:13   ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-03-16 11:37 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel


Efraim Flashner <efraim@flashner.co.il> 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 -lz conftest.c -lgsl -lm -lgslcblas -lxml2 -lpthread -lgfortran -lz  >&5
> ld: cannot find -lgfortran
> collect2: error: ld returned 1 exit status
> configure:19068: $? = 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 <error.h>
> | int
> | main ()
> | {
> | error_at_line (0, 0, "", 0, "an error occurred");
> |   ;
> |   return 0;
> | }
> configure:19076: result: no

I’ll investigate this.  It’s odd that “-lgfortran” cannot be found only
because we deleted useless wrappers.

~~ Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 01/01: gnu: custom-gcc: Delete broken or conflicting executables.
  2016-03-16 11:37 ` Ricardo Wurmus
@ 2016-03-16 13:13   ` Ricardo Wurmus
  2016-03-17 21:51     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2016-03-16 13:13 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel


Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:

> Efraim Flashner <efraim@flashner.co.il> 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 -lz conftest.c -lgsl -lm -lgslcblas -lxml2 -lpthread -lgfortran -lz  >&5
>> ld: cannot find -lgfortran
>> collect2: error: ld returned 1 exit status
>> configure:19068: $? = 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 <error.h>
>> | int
>> | main ()
>> | {
>> | error_at_line (0, 0, "", 0, "an error occurred");
>> |   ;
>> |   return 0;
>> | }
>> configure:19076: result: no
>
> I’ll investigate this.  It’s odd that “-lgfortran” 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.  “gfortran” alone does not install “libgfortran.so”,
only the “lib” output does.

~~ Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 01/01: gnu: custom-gcc: Delete broken or conflicting executables.
  2016-03-16 13:13   ` Ricardo Wurmus
@ 2016-03-17 21:51     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-03-17 21:51 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:

[...]

>> I’ll investigate this.  It’s odd that “-lgfortran” 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.  “gfortran” alone does not install “libgfortran.so”,
> only the “lib” output does.

For GCC we hack the “lib” spec (as show by ‘gcc -dumpspecs’) so that it
has an extra -L for libgcc_s (search for ‘GNU_USER_TARGET_LIB_SPEC’ in
gcc.scm).

Should something similar be done here?

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-17 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-11 13:14 01/01: gnu: custom-gcc: Delete broken or conflicting executables Efraim Flashner
2016-03-16 11:37 ` Ricardo Wurmus
2016-03-16 13:13   ` Ricardo Wurmus
2016-03-17 21:51     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.