trunk build errors?

13 views
Skip to first unread message

Jon

unread,
Nov 1, 2010, 10:17:39 AM11/1/10
to rubyin...@googlegroups.com
Using the dk32-451 branch to build trunk (with 1.9.2-p0 as baseruby) on Win7 32-bit, I get the following build failure this morning. Anyone able to replicate?

Jon


...
gcc -I. -I../../.ext/include/i386-mingw32 -I../../../../../ruby-trunk/include -I../..
/../../../ruby-trunk/ext/curses -DRUBY_EXTCONF_H=\"extconf.h\" -O3 -g -Wextra -Wno
-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field
-initializers -Wno-long-long -o curses.o -c ../../../../../ruby-trunk/ext/curses/cur
ses.c
In file included from ../../../../../ruby-trunk/ext/curses/curses.c:31:0:
C:\Users\Jon\Documents\RubyDev\rubyinstaller-trunk\sandbox\pdcurses\include/curses.h:
162:0: warning: "MOUSE_MOVED" redefined
c:\users\jon\documents\rubydev\rubyinstaller-trunk\sandbox\devkit\mingw\bin\../lib/gc
c/mingw32/4.5.1/../../../../include/wincon.h:58:0: note: this is the location of the
previous definition
gcc -shared -s -o ../../.ext/i386-mingw32/curses.so curses.o -L. -L../.. -L. -Wl,--e
nable-auto-image-base,--enable-auto-import curses-i386-mingw32.def -lmsvcrt-ruby191
-lcurses -lshell32 -lws2_32 -limagehlp
make[1]: Leaving directory `/c/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbo
x/ruby19_build/ext/curses'
compiling dbm
make: *** [mkmain.sh] Error 1

Luis Lavena

unread,
Nov 1, 2010, 10:19:41 AM11/1/10
to rubyin...@googlegroups.com
On Mon, Nov 1, 2010 at 11:17 AM, Jon <jon.f...@gmail.com> wrote:
> Using the dk32-451 branch to build trunk (with 1.9.2-p0 as baseruby) on Win7 32-bit, I get the following build failure this morning.  Anyone able to replicate?
>

4.5.1 uses newer versions of mingw-w64 headers, that could be the problem.

We might need to update pdcurses to newer version or even build it
ourselves as I'm not aware of the project binary state.

Will check that later tonight.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Jon

unread,
Nov 1, 2010, 11:06:40 AM11/1/10
to rubyin...@googlegroups.com
> > Using the dk32-451 branch to build trunk (with 1.9.2-p0 as baseruby) on Win7 32-bit, I get the following build failure this morning.  Anyone able to replicate?
> >
>
> 4.5.1 uses newer versions of mingw-w64 headers, that could be the problem.

Interesting.

It may also be due to trying to build with 1.9.0-p0 as I successfully built trunk with baseruby == 1.8.7-p302 using 4.5.1 (same MOUSE_MOVED redefinition warning) but it was able to build dbm and the rest. The actual failure may be when the recipe tries to build dbm rather than ruby's curses extension.

The build failed with baseruby == 1.9.2-p0 using 4.5.0 (no MOUSE_MOVED redefinition warning) by failing to build curses instead of failing to build dbm.

Will try to build via llvm-gcc and a few other scenarios later today, time permitting.


> We might need to update pdcurses to newer version or even build it
> ourselves as I'm not aware of the project binary state.

We're using an older pdc33dll.zip. I will try the newer pdc34dll.zip from http://sourceforge.net/projects/pdcurses/files/ to see if it has any effect, and may update the config on the dk32-451 branch appropriately. Have you heard of any issues with the 3.4 version?

Jon

Luis Lavena

unread,
Nov 1, 2010, 1:09:24 PM11/1/10
to rubyin...@googlegroups.com
On Mon, Nov 1, 2010 at 12:06 PM, Jon <jon.f...@gmail.com> wrote:
>
> We're using an older pdc33dll.zip.  I will try the newer pdc34dll.zip from http://sourceforge.net/projects/pdcurses/files/ to see if it has any effect, and may update the config on the dk32-451 branch appropriately.  Have you heard of any issues with the 3.4 version?
>

None so far, but didn't had the time to test it (just finished
RubyConf Uruguay yesterday and I'm exhausted)

Jon

unread,
Nov 1, 2010, 1:30:27 PM11/1/10
to rubyin...@googlegroups.com
Thought this was a baseruby 1.9 only issue but just got back from a meeting and saw that my 1.8.7-p302 and 4.5.0 build failed in the same way...have to see if it's a repeatable fail.

Sigh...my morning Arch build of trunk using trunk-previous worked...apples-n-oranges I know :(

> > We're using an older pdc33dll.zip.  I will try the newer pdc34dll.zip from http://sourceforge.net/projects/pdcurses/files/ to see if it has any effect, and may update the config on the dk32-451 branch appropriately.  Have you heard of any issues with the 3.4 version?
> >

Good...I'll play with it a bit.



> None so far, but didn't had the time to test it (just finished
> RubyConf Uruguay yesterday and I'm exhausted)

Well, from recent ruby-core posts, it looks like you better get rested up ;) Congratulations if I'm reading the posts correctly!

Jon

unread,
Nov 1, 2010, 3:10:30 PM11/1/10
to rubyin...@googlegroups.com
> Will try to build via llvm-gcc and a few other scenarios later today, time permitting.

it seems my Win7 32-bit system has become flaky...i suspect my update to avg free 2011...the following fail to build trunk using 1.8.7-p302 or 1.9.2-p0 as baseruby:

* tdm-32-4.5.0 fails at curses or dbm extension build
* tdm-32-4.5.1 fails at curses or dbm extension build
* llvm-32-2.8 fails at openssl extension build

while i suspect my system is the problem, can anyone replicate the failures?

jon

Luis Lavena

unread,
Nov 1, 2010, 4:24:34 PM11/1/10
to rubyin...@googlegroups.com

tdm-32-4.5.1 compiles everything from latest trunk at r29552

Don't have the time to test the other combination but was supposedly
working a few days ago.

Jon

unread,
Nov 2, 2010, 10:47:57 AM11/2/10
to rubyin...@googlegroups.com
> > it seems my Win7 32-bit system has become flaky...i suspect my update to avg free 2011...the following fail to build trunk using 1.8.7-p302 or 1.9.2-p0 as baseruby:
> >
> > * tdm-32-4.5.0 fails at curses or dbm extension build
> > * tdm-32-4.5.1 fails at curses or dbm extension build
> > * llvm-32-2.8 fails at openssl extension build
> >
> > while i suspect my system is the problem, can anyone replicate the failures?
> >
>
> tdm-32-4.5.1 compiles everything from latest trunk at r29552

temporarily disabling avg free 2011 allows tdm-32-4.5.1 to build trunk at r29669 using a pdcurses 3.4 override. seems a bit of av spelunking is unfortunately on the menu.

Reply all
Reply to author
Forward
0 new messages