Opened 14 years ago

Closed 14 years ago

#25977 closed defect (fixed)

avr-gdb fails to install

Reported by: yasir.suhail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: avr-gdb

Description

avr-gdb fails to install.

I run

sudo port selfupdate
sudo port clean --all  -f avr-gdb
sudo port -v install avr-gdb >buildout.txt 2>builderror.txt

I attach the build and log files.

Attachments (4)

buildout.txt (103.5 KB) - added by yasir.suhail@… 14 years ago.
Build Output file
builderror.txt (586 bytes) - added by yasir.suhail@… 14 years ago.
Build Error file
main.log (139.9 KB) - added by yasir.suhail@… 14 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gdb/main.log
avr-dis.c (8.5 KB) - added by yasir.suhail@… 14 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gdb/work/gdb-6.7.1/opcodes/acr-disc.c

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by yasir.suhail@…

Attachment: buildout.txt added

Build Output file

Changed 14 years ago by yasir.suhail@…

Attachment: builderror.txt added

Build Error file

Changed 14 years ago by yasir.suhail@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gdb/main.log

comment:1 Changed 14 years ago 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.

Changed 14 years ago by yasir.suhail@…

Attachment: avr-dis.c added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-gdb/work/gdb-6.7.1/opcodes/acr-disc.c

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.