[Mono-bugs] [Bug 425647] New: resgen2 fails to compile resx without a working X display

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 11 16:31:01 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=425647


           Summary: resgen2 fails to compile resx without a working X
                    display
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: D.Mierzejewski at icm.edu.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


resgen2 fails to compile resx file if $DISPLAY is unset or if it is set to a
non-existent DISPLAY

Steps to reproduce:
Download cs_obexftp sources from
http://cs-obexftp.svn.sourceforge.net/viewvc/cs-obexftp/trunk/Cs-ObexFtp/Cs-ObexFtp.tar.gz
unset DISPLAY
/configure && make

It fails as below:

[mockbuild at host Cs-ObexFtp]$ unset DISPLAY
[mockbuild at host Cs-ObexFtp]$ make Forms/About.resources
resgen2 -usesourcepath 'Forms/About.resx' 'Forms/About.resources'
Error: Invalid ResX input.
Inner exception: An exception was thrown by the type initializer for
System.Windows.Forms.TableLayoutPanel  Line 230, position 5.
**
ERROR:../../mono/io-layer/handles-private.h:160:_wapi_handle_set_signal_state:
assertion failed: (thr_ret == 0)
make: *** [Forms/About.resources] Aborted
[mockbuild at host Cs-ObexFtp]$ export DISPLAY=:0.0
[mockbuild at host Cs-ObexFtp]$ make Forms/About.resources
resgen2 -usesourcepath 'Forms/About.resx' 'Forms/About.resources'
Read in 129 resources from
'/builddir/build/BUILD/Cs-ObexFtp/Cs-ObexFtp/Forms/About.resx'
Writing resource file...  Done.

This behaviour prevents me from building cs_obexftp package in an automated
fashion in a minimal build environment (in mock, to be precise).

This is Fedora rawhide (F-10 beta):
$ mono -V
Mono JIT compiler version 2.0 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
$ rpm -qa mono\*
mono-core-2.0-6.fc10.i386
mono-data-sqlite-2.0-6.fc10.i386
mono-devel-2.0-6.fc10.i386
mono-data-2.0-6.fc10.i386
mono-extras-2.0-6.fc10.i386
mono-winforms-2.0-6.fc10.i386
mono-web-2.0-6.fc10.i386


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list