public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Windows installation bugs
@ 2016-03-05  4:40 Mark.Bravington
  2016-04-06 13:51 ` Patrick Monnerat
  0 siblings, 1 reply; 3+ messages in thread
From: Mark.Bravington @ 2016-03-05  4:40 UTC (permalink / raw)
  To: insight

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-06 16:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-05  4:40 Windows installation bugs Mark.Bravington
2016-04-06 13:51 ` Patrick Monnerat
2016-04-06 16:30   ` Could help with errors building on Ubuntu 15.10? Fabio D'Alfonso

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).