Dear Alexander,

Let me reply below your comments:

On Thu, Mar 3, 2016 at 8:12 PM, Alexander Hansen <
alexanderk.han...@gmail.com> wrote:

> <switching to plain text>
>
> > On Mar 3, 2016, at 14:07, Roseli Wedemann <rose.wedem...@gmail.com>
> wrote:
> >
> > Hello,
> >
> > I tried to install fsf-gdb and gdb via fink today on OS X El Capitan
> 10.11.3.
> >
>
> There is no “fsf-gdb” Fink package.  I can only assume that you mean the
> “fsf-gdb” executable in the “gdb” package, and that “gdb” refers to the
> “gdb” executable from the “apple-gdb” package.
>

​You are right, sorry for the confusion.​


>
> When filing bug reports with us use the _package_ names, not just the
> _executable_ names.
>
> > First of all, a dependency is missing (libtool needed to be installed
> manually for fsf-gdb [perhaps also for gdb]).
> >
>
> What error did you get?  The packages build OK for me without libtool2
> (there  is no “libtool" for 10.11).  If you got a build or linker error
> that pertains to some other package then that only impacts (apple-)gdb
> indirectly and should be filed as a bug against _that_ package.
>

​After more thorough investigation, the problem was in fact the abse​nce of
libtool2-shlibs (which is installed as a dependency of libtool2). The
libtool2-shlibs seems to provide libltdl.7.dylib.

​Without libtool2-shlibs the error I got when executing the fsf-gdb command
was:

dyld: Library not loaded: /sw/lib/libltdl.7.dylib
  Referenced from: /sw/lib/libguile-2.0.22.dylib
  Reason: image not found
Trace/BPT trap: 5

​(I installed the binary version of the gdb package via fink, i.e. the
above is not related to the build process. You might have built
successfully without libtool2 but you perhaps have libtool2-shlibs
installed)​

Please note that the apple-gdb package (in contrast to the gdb package) can
run properly even with libtool2-shlibs absent.



>
> > Secondly, gdb runs ok via sudo, but not without sudo (I did the code
> signing as described in the package description). For the error see below:
> >
> > gdb IntFokkerPlanck
> > GNU gdb 6.3.50.20050815-cvs (Thu Oct 15 12:32:49 UTC 2015)
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you
> are
> > welcome to change it and/or distribute copies of it under certain
> conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> > This GDB was configured as "i686-apple-darwin15.0.0"...Reading symbols
> for shared libraries .. done
> >
> > (gdb) break 154
> > Breakpoint 1 at 0x10000080f: file IntFokkerPlanck.c, line 154.
> > (gdb) run
> > Starting program:
> /Users/roseliwedemann/tudo/Neural/FokkerPlanckModel/Program/IntFokkerPlanck
> > Unable to find Mach task port for process-id 1257: (os/kern) failure
> (0x5).
> > (gdb)
> >
> >
> > Thirdly, fsf-gdb does not run via sudo nor without sudo.
> >
> > error with sudo:
> >
> > sudo fsf-gdb IntFokkerPlanck
> > Password:
> > Throw without catch before boot:
> > Throw to key misc-error with args ("primitive-load-path" "Unable to find
> file ~S in load path" ("ice-9/boot-9") #f)Aborting.
> >
> >
> > error without sudo:
> >
> > fsf-gdb IntFokkerPlanck
> > Throw without catch before boot:
> > Throw to key misc-error with args ("primitive-load-path" "Unable to find
> file ~S in load path" ("ice-9/boot-9") #f)Aborting.
> > Abort trap: 6
> >
> > Can you please help me solve the above problems / fix the missing
> dependency?
> >
> > Cheers,
> >
> > --
> > Roseli S. Wedemann
> > Instituto de Matemática e Estatística
> > Coordenadora do Programa de Pós-graduação em Ciências Computacionais
> > Head of the Computational Science Graduate Program
> > Universidade do Estado do Rio de Janeiro
> > R. São Francisco Xavier 524, 6 andar
> > 20550-900, Rio de Janeiro, RJ
> > ros...@ime.uerj.br
>
> I don’t reproduce these errors when I try an executable here.  However,
> please don’t assume that we are experts in the details of every package.
> Since you’ve built something from outside of Fink, it’s hard for us to
> reproduce what you’ve done.  If you can provide a test case (sources and
> build procedure) that might help us.
>

​The error occurs also when running ​just the fsb-gdb binary (installed as
a binary via fink, i.e. not a custom compiled version) without any
arguments (i.e. without anything outside of fink).

without sudo:
fsf-gdb
Throw without catch before boot:
Throw to key misc-error with args ("primitive-load-path" "Unable to find
file ~S in load path" ("ice-9/boot-9") #f)Aborting.
Abort trap: 6

with sudo:
sudo fsf-gdb
Password:
Throw without catch before boot:
Throw to key misc-error with args ("primitive-load-path" "Unable to find
file ~S in load path" ("ice-9/boot-9") #f)Aborting.


I am sending the fsf-gdb executable attached as a file.


Cheers,

Peter

and


> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
>
>


-- 
Roseli S. Wedemann
Instituto de Matemática e Estatística
Coordenadora do Programa de Pós-graduação em Ciências Computacionais
Head of the Computational Science Graduate Program
Universidade do Estado do Rio de Janeiro
R. São Francisco Xavier 524, 6 andar
20550-900, Rio de Janeiro, RJ
ros...@ime.uerj.br

Attachment: fsf-gdb
Description: Binary data

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to