On Tue, Aug 13, 2013 at 02:21:08PM -0400, Cuauhtemoc Salazar wrote: > Dear Jack, Alexander and the Fink Community, > > GDB was successfully installed after updating texinfo_5.1-2, > thank you so much for your reply. > > Just out of curiosity, I have a couple of questions: > > 1) doing 'which make' I get > /usr/bin/make ( GNU Make 3.81 ) > i.e. not using Fink's make at /sw, would it better to use Fink's make?
The issue you ran into is completely orthogonal to which make is in use. > > 2) I regularly do 'fink self update' but I never do 'fink update-all', aside > from those occasions when I do a clean OSX upgrade, (last one was like a year > ago). I heard rumours that such update-all action can potentially cause some > packages to stop working due to incompatibilities with all the other updated > packages. I wonder how safe is to do update-all. I would expect the opposite as fink developers usually have their machine up to date in terms of the installed fink packages. Not doing a 'fink update-all', while it saves you time in not building the latest packages, does stress fink by testing corner cases (such as you ran into with gdb and the older texinfo). > > 3) After compiling a test c-program using > /sw/bin/gcc48 -g -save-temps -o factorial.x factorial.c > > and then code signing gdb following > http://sourceware.org/gdb/wiki/BuildingOnDarwin > > and finally running FINK's GDB, I get a lot of warnings, > > GNU gdb (GDB) 7.6 > Copyright (C) 2013 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 "x86_64-apple-darwin12.4.0". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from /Users/temok/gdbexample/factorial.x … > Reading symbols from /Users/temok/gdbexample/factorial.x > .dSYM/Contents/Resources/DWARF/factorial.x...done. > done. > (gdb) run > Starting program: /Users/temok/gdbexample/factorial.x > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/_muldi3_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/addtf3_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/cpuinfo_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/darwin-64_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/divtf3_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/emutls_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/enable-execute-stack_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/eqtf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/extenddftf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/extendsftf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/extendxftf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/fixtfdi_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/fixtfsi_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/fixtfti_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/fixunstfdi_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/fixunstfsi_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/fixunstfti_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/floatditf_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/floatsitf_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/floattitf_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/floatunditf_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/floatunsitf_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/floatuntitf_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/getf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/letf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/multf3_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/negtf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/sfp-exceptions_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/subtf3_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/trunctfdf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/trunctfsf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/trunctfxf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/unordtf2_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/unwind-c_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/unwind-dw2-fde-darwin_s.o': > can't open to read symbols: No such file or directory. > warning: > `/sw/src/fink.build/gcc48-4.8.1-1000/darwin_objdir/x86_64-apple-darwin12.4.0/libgcc/unwind-dw2_s.o': > can't open to read symbols: No such file or directory. On darwin, debug code is contained in the object files and not the shared libraries created from them (as is the case on linux). What you are seeing is gdb wanting to access the object files from shared libraries in gcc48-shlibs. Unless you need to debug into the gcc48 shared libraries, these warnings can be ignored. If you want to debug into the gcc48 shared libraries, the solution is trivial. Execute 'fink -k rebuild gcc48' to rebuild the gcc48 package but retain the build directory so the object files are available for gdb. > > All these warning messages are absent if I use the osx-packaged > /usr/bin/gcc (v 4.2.1 ) and > /usr/bin/gdb (v 6.3.50) > unfortunately this apple-version of gcc is old for my purposes. > > Thanks for your time, > Best, > Temok > > > -- > Cuauhtémoc* (Témok) Salazar > *kwaw-the-mok > ------------------------------ > > > > On 2013-08-13, at 10:59 AM, Alexander Hansen <[email protected]> > wrote: > > > On 8/13/13 6:05 AM, Jack Howarth wrote: > >> On Tue, Aug 13, 2013 at 01:13:12AM -0400, Cuauhtemoc Salazar wrote: > >>> Dear FINK Dev. and Users, > >>> > >>> Fink failed to install gdb-7.6-2 on OSX 10.8.4 and I would like to ask > >>> for advice on this forum. At the end of this message I am pasting the > >>> last lines I got from the installation process (I am also attaching the > >>> full log file). Please let me know if you have any suggestion. > >>> > >>> Best regards, > >>> Temok > >>> > >>> > >>> infofiles="1 2 3 4 5 6 7" > >>> for infofile in $infofiles ; do > >>> mv gdb.info-$infofile fsf-gdb.info-$infofile > >>> done > >>> mv: rename gdb.info-1 to fsf-gdb.info-1: No such file or directory > >>> ### execution of /tmp/fink.1y6v_ failed, exit code 1 > >>> ### execution of /tmp/fink.yFCBC failed, exit code 1 > >> > >> I notice that your build log doesn't show... > >> > >> /sw/bin/ginstall -c -m 644 ./gdb.info-1 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdb.info-1 > >> /sw/bin/ginstall -c -m 644 ./gdb.info-2 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdb.info-2 > >> /sw/bin/ginstall -c -m 644 ./gdb.info-3 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdb.info-3 > >> /sw/bin/ginstall -c -m 644 ./gdb.info-4 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdb.info-4 > >> /sw/bin/ginstall -c -m 644 ./gdb.info-5 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdb.info-5 > >> /sw/bin/ginstall -c -m 644 ./gdb.info-6 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdb.info-6 > >> /sw/bin/ginstall -c -m 644 ./gdb.info-7 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdb.info-7 > >> /sw/bin/ginstall -c -m 644 ./gdbint.info > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdbint.info > >> /sw/bin/ginstall -c -m 644 ./gdbint.info-1 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdbint.info-1 > >> /sw/bin/ginstall -c -m 644 ./gdbint.info-2 > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/gdbint.info-2 > >> /sw/bin/ginstall -c -m 644 ./stabs.info > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/stabs.info > >> /sw/bin/ginstall -c -m 644 ./annotate.info > >> /sw/src/fink.build/root-gdb-7.6-2/sw/share/info/annotate.info > >> > >> which leads to a few questions. Have you done a 'fink selfupdate' and > >> 'fink update-all' recently? What do you > >> get for 'which makeinfo'? Lastly, have you tried moving /usr/local aside > >> and/or /opt/local (if you have > >> MacPorts also installed)? > >> Jack > >> ps I also noticed that your log doesn't show... > >> > >> makeinfo: warning: error loading ./Config: Can't locate ./Config in @INC > >> (@INC contains: /sw/share/texinfo/lib/Text-Unidecode/lib > >> /sw/share/texinfo/lib/Unicode-EastAsianWidt > >> h/lib /sw/share/texinfo/lib/libintl-perl/lib /sw/share/texinfo > >> /sw/lib/perl5/5.12.4/darwin-thread-multi-2level /sw/lib/perl5/5.12.4 > >> /sw/lib/perl5/darwin-thread-multi-2level / > >> sw/lib/perl5 /sw/lib/perl5/darwin > >> /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 > >> /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl > >> /5.12 /Library/Perl/Updates/5.12.4 > >> /System/Library/Perl/5.12/darwin-thread-multi-2level > >> /System/Library/Perl/5.12 > >> /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level > >> /System/Library/Perl/Extras/5.12 .) at /sw/bin/makeinfo line 376. > >> > >> which makes me think you aren't using the new texinfo 5.x release in fink. > >> > >>> . > >>> . > >>> . > >>> Package manager version: 0.35.1 > >>> Distribution version: selfupdate-rsync Mon Aug 12 23:54:34 2013, 10.8, > >>> x86_64 > >>> Trees: local/main stable/main > >>> Xcode.app: 4.6 > >>> Xcode command-line tools: 4.6.0.0.1.1358221012 > >>> Max. Fink build jobs: 1 > >> > >> > >> > > > > I can confirm that I see the same error if I remove Fink's texinfo. Any > > reason why this isn't a BuildDepend? > > > > > > -- > > Alexander Hansen, Ph.D. > > Fink User Liaison > > My package updates: http://finkakh.wordpress.com/ > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
