Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681556 - dev-ml/findlib-1.7.1 - src_configure(): Detecting compiler arguments: FAILED (see the file ocargs.log for details)
Summary: dev-ml/findlib-1.7.1 - src_configure(): Detecting compiler arguments: FAILED ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 16:20 UTC by ernsteiswuerfel
Modified: 2020-11-28 18:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (findlib-1.7.1:20190323-161642.log,3.31 KB, text/plain)
2019-03-23 16:20 UTC, ernsteiswuerfel
Details
emerge --info (file_681556.txt,5.91 KB, text/plain)
2019-03-23 16:20 UTC, ernsteiswuerfel
Details
ocargs.log (ocargs.log,156 bytes, text/plain)
2019-03-24 20:56 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2019-03-23 16:20:25 UTC
Created attachment 570440 [details]
build.log

[...]
spacetime: not found
Configuration for dynlink written to site-lib-src/dynlink/META
Configuration for graphics written to site-lib-src/graphics/META
Configuration for num written to site-lib-src/num/META
Configuration for num-top written to site-lib-src/num-top/META
Configuration for str written to site-lib-src/str/META
Configuration for threads written to site-lib-src/threads/META
Configuration for unix written to site-lib-src/unix/META
Configuration for stdlib written to site-lib-src/stdlib/META
Configuration for bigarray written to site-lib-src/bigarray/META
Configuration for ocamldoc written to site-lib-src/ocamldoc/META
Configuration for compiler-libs written to site-lib-src/compiler-libs/META
Configuration for bytes written to site-lib-src/bytes/META
Detecting compiler arguments: FAILED (see the file ocargs.log for details)
 * ERROR: dev-ml/findlib-1.7.1::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_configure
 *   environment, line 1862:  Called die
 * The specific snippet of code:
 *       ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man -sitelib ${ocamlfind_destdir} -config ${ocamlfind_destdir}/findlib/findlib.conf -no-custom ${myconf} || die "configure failed"
Comment 1 ernsteiswuerfel archtester 2019-03-23 16:20:54 UTC
Created attachment 570442 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-24 12:25:59 UTC
Perhaps you should attach ocargs.log as well.
Comment 3 ernsteiswuerfel archtester 2019-03-24 20:56:45 UTC
Created attachment 570678 [details]
ocargs.log

           PID: 4075 (ocamlc)
           UID: 250 (portage)
           GID: 250 (portage)
        Signal: 11 (SEGV)
     Timestamp: Sun 2019-03-24 21:51:57 CET (2min 11s ago)
  Command Line: ocamlc -o extract_args str.cma extract_args.ml
    Executable: /usr/bin/ocamlc.opt
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (ef)
       Boot ID: c3d61a8de32d4970b86e5ca478751b1d
    Machine ID: 3f89104fd8e846edb53c46af433b901e
      Hostname: T1000
       Storage: /var/lib/systemd/coredump/core.ocamlc.250.c3d61a8de32d4970b86e5ca478751b1d.4075.1553460717000000.xz
       Message: Process 4075 (ocamlc) of user 250 dumped core.
                
                Stack trace of thread 95:
                #0  0x00000000f7816fd8 elf_machine_rela_relative (ld.so.1)
                #1  0x00000000f781e654 dl_open_worker (ld.so.1)
                #2  0x0000000000605cd4 __GI__dl_catch_exception (libc.so.6)
                #3  0x00000000f781df3c _dl_open (ld.so.1)
                #4  0x0000000000697dd0 dlopen_doit (libdl.so.2)
                #5  0x0000000000605cd4 __GI__dl_catch_exception (libc.so.6)
                #6  0x0000000000605d60 __GI__dl_catch_error (libc.so.6)
                #7  0x0000000000698718 _dlerror_run (libdl.so.2)
                #8  0x0000000000697ea8 __dlopen (libdl.so.2)
                #9  0x0000000000c654a4 caml_dlopen (ocamlc.opt)
                #10 0x0000000000c66f4c caml_dynlink_open_lib (ocamlc.opt)
                #11 0x0000000000c672f0 caml_c_call (ocamlc.opt)
                #12 0x0000000000a73ba4 camlDll__open_dll_1219 (ocamlc.opt)
                #13 0x0000000000c03920 camlList__iter_1252 (ocamlc.opt)
                #14 0x0000000000a78170 camlBytelink__link_bytecode_2118 (ocamlc.opt)
                #15 0x0000000000a672b8 camlMain__main_2231 (ocamlc.opt)
                #16 0x0000000000a89951 camlTimings__time_1384 (ocamlc.opt)
                #17 0x0000000000a68115 camlMain__entry (ocamlc.opt)
                #18 0x0000000000a62a8d caml_program (ocamlc.opt)
                #19 0x0000000000c674cd caml_start_program (ocamlc.opt)
                #20 0x0000000000c67bd0 caml_main (ocamlc.opt)
                #21 0x0000000000a61d60 main (ocamlc.opt)
                #22 0x00000000004e4f1c generic_start_main (libc.so.6)
                #23 0x00000000004e50d0 __libc_start_main (libc.so.6)

GNU gdb (Gentoo 8.1 p1) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/ocamlc.opt...(no debugging symbols found)...done.

warning: core file may not match specified executable file.
[New LWP 95]
Core was generated by `ocamlc -o extract_args str.cma extract_args.ml'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  elf_machine_rela_relative (
    reloc_addr_arg=<error reading variable: Cannot access memory at address 0x0>, reloc=0x0, 
    l_addr=<optimized out>) at ../sysdeps/powerpc/powerpc32/dl-machine.h:448
448	  *reloc_addr = l_addr + reloc->r_addend;