[MacPorts] #25977: avr-gdb fails to install

MacPorts noreply at macports.org
Fri Aug 6 12:26:01 PDT 2010


#25977: avr-gdb fails to install
------------------------------------+---------------------------------------
 Reporter:  yasir.suhail@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.1                                
 Keywords:                          |        Port:  avr-gdb                              
------------------------------------+---------------------------------------

Comment(by yasir.suhail@…):

 Trying to do the make manually in the port directory, I get


 {{{
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_cross_avr-gdb/work/gdb-6.7.1
 dune:gdb-6.7.1 $ vi Makefile
 dune:gdb-6.7.1 $
 dune:gdb-6.7.1 $
 dune:gdb-6.7.1 $ which make
 /usr/bin/make
 dune:gdb-6.7.1 $ make -j2 all
 make[1]: Nothing to be done for `all-target'.
 make[2]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all'.
 for f in standards.info configure.info; do \
           if test -f .././etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
             if make "MAKEINFO=makeinfo --split-size=5000000 --split-
 size=5000000" $f; then \
               true; \
             else \
               exit 1; \
             fi; \
           fi; \
         done
 make[3]: `standards.info' is up to date.
 make[3]: `configure.info' is up to date.
 make[2]: Nothing to be done for `all'.
 Making info in doc
 make[3]: Nothing to be done for `info'.
 Making info in po
 make[3]: Nothing to be done for `info'.
 make[3]: Nothing to be done for `info-am'.
 make  all-recursive
 Making all in doc
 make[4]: Nothing to be done for `all'.
 Making all in po
 make[4]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all-am'.
 make  all-recursive
 Making all in po
 make[4]: Nothing to be done for `all'.
 /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H
 -I. -I.././opcodes -I. -I. -I.././opcodes -I../bfd
 -I.././opcodes/../include -I.././opcodes/../bfd     -W -Wall -Wstrict-
 prototypes -Wmissing-prototypes -Werror -pipe -O2 -arch x86_64 -c -o avr-
 dis.lo avr-dis.c
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././opcodes -I.
 -I. -I.././opcodes -I../bfd -I.././opcodes/../include
 -I.././opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Werror -pipe -O2 -arch x86_64 -c avr-dis.c -o avr-dis.o
 cc1: warnings being treated as errors
 avr-dis.c: In function 'avr_operand':
 avr-dis.c:112: warning: format not a string literal and no format
 arguments
 avr-dis.c:152: warning: format not a string literal and no format
 arguments
 avr-dis.c:161: warning: format not a string literal and no format
 arguments
 avr-dis.c:172: warning: format not a string literal and no format
 arguments
 {standard input}:unknown:FATAL:can't create output file: avr-dis.o
 make[4]: *** [avr-dis.lo] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-opcodes] Error 2
 make: *** [all] Error 2
 }}}

 The warnings/errors given here come from sprintf statements. I attach the
 avr-disc.c file in case people want to see.

-- 
Ticket URL: <http://trac.macports.org/ticket/25977#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list