public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: <Mark.Bravington@csiro.au>
To: <insight@sourceware.org>
Subject: Windows installation bugs
Date: Sat, 05 Mar 2016 04:40:00 -0000	[thread overview]
Message-ID: <b234890d37414e3d885e8585fa2d65c6@exch2-cdc.nexus.csiro.au> (raw)

Hi folks

I was going to report this as a bug, but there's a bug in the Insight bug-reporting system ... :) at least with the link on your Bugs page

https://www.sourceware.org/cgi-bin/gnatsweb.pl?database=insight&user=guest&password=guest&cmd=login

Anyway. I was trying to install Insight 6.8-1 on Windows 7 32bit, after first installing Cygwin. I ran into two types of bug, the first of which I could hack round and the second of which I couldn't:

The first one relates to "bfd.info". Here's the excerpt that appears on-screen during 'make':

rm -rf $backupdir; exit $rc
../../../insight-6.8-1/bfd/doc/bfd.texinfo:326: unknown command `colophon'
../../../insight-6.8-1/bfd/doc/bfd.texinfo:337: unknown command `cygnus'
../../../insight-6.8-1/bfd/doc/elf.texi:11: raising the section level of @subsubsection which is too low
Makefile:390: recipe for target 'bfd.info' failed
make[3]: *** [bfd.info] Error 1
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd/doc'
Making info in po
make[3]: Entering directory '/cygdrive/c/insight/insight-6.8-1-built/bfd/po'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd/po'
make[3]: Entering directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:1090: recipe for target 'info-recursive' failed
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:3065: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built'
Makefile:705: recipe for target 'all' failed
make: *** [all] Error 2

The problem seems to be triggered by having @-signs inside the relevant comment lines in "bfd.texinfo". For "elf.texi" I manually changed the @subsubsection into @subsection (again, I found out that @-signs inside a comment line would cause woe).

The second bug comes when 'make' tries to process "opncls.c":

1/bfd -I../../insight-6.8-1/bfd/../include  -I./../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -
O2 -c -o init.lo ../../insight-6.8-1/bfd/init.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-1/bfd -I../../insight-6
.8-1/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../insight-6.8-1/
bfd/init.c -o init.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-
1/bfd -I../../insight-6.8-1/bfd/../include  -I./../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -
O2 -c -o libbfd.lo ../../insight-6.8-1/bfd/libbfd.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-1/bfd -I../../insight-6
.8-1/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../insight-6.8-1/
bfd/libbfd.c -o libbfd.o
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-
1/bfd -I../../insight-6.8-1/bfd/../include  -I./../intl   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -
O2 -c -o opncls.lo ../../insight-6.8-1/bfd/opncls.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../insight-6.8-1/bfd -I. -I. -I../../insight-6.8-1/bfd -I../../insight-6
.8-1/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../insight-6.8-1/
bfd/opncls.c -o opncls.o
In file included from ../../insight-6.8-1/bfd/opncls.c:26:0:
../../insight-6.8-1/bfd/opncls.c: In function 'bfd_fopen':
./bfd.h:586:65: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
 #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
                                                                 ^
../../insight-6.8-1/bfd/opncls.c:235:5: note: in expansion of macro 'bfd_set_cacheable'
     bfd_set_cacheable (nbfd, TRUE);
     ^
cc1: all warnings being treated as errors
Makefile:1071: recipe for target 'opncls.lo' failed
make[4]: *** [opncls.lo] Error 1
make[4]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:1090: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:985: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built/bfd'
Makefile:3065: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/cygdrive/c/insight/insight-6.8-1-built'
Makefile:705: recipe for target 'all' failed
make: *** [all] Error 2


At this point I will probably just give up and stick to "print" statements in my code, 1973-style :/  I freely admit to knowing nothing about texinfo/bash/cygwin/make/configure/this kinda installation thing (and I'm very happy to keep it that way--- there's a reason I use Windows despite its aggravations)! Still, hopefully this report will help y'all track the bugs down...

Mark Bravington
CSIRO Marine Lab
Hobart
Australia

             reply	other threads:[~2016-03-05  4:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05  4:40 Mark.Bravington [this message]
2016-04-06 13:51 ` Patrick Monnerat
2016-04-06 16:30   ` Could help with errors building on Ubuntu 15.10? Fabio D'Alfonso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b234890d37414e3d885e8585fa2d65c6@exch2-cdc.nexus.csiro.au \
    --to=mark.bravington@csiro.au \
    --cc=insight@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).