[Mono-bugs] [Bug 425661] New: resgen2 fails to build resx files if DISPLAY is unset or set to a non-existent DISPLAY

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 11 17:26:59 EDT 2008


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


           Summary: resgen2 fails to build resx files if DISPLAY is unset or
                    set to a non-existent DISPLAY
           Product: Mono: Compilers
           Version: 2.0
          Platform: Other
               URL: https://bugzilla.redhat.com/show_bug.cgi?id=462005
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Other.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: paul at all-the-johnsons.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


To recreate this problem

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

What I'm seeing is this

make[1]: Entering directory `/builddir/build/SOURCES/Cs-ObexFtp/Cs-ObexFtp'
resgen2 -usesourcepath 'Forms/About.de.resx' 'Forms/About.de.resources'
Read in 13 resources from
'/builddir/build/SOURCES/Cs-ObexFtp/Cs-ObexFtp/Forms/About.de.resx'
Writing resource file...  Done.
resgen2 -usesourcepath 'Forms/About.fr.resx' 'Forms/About.fr.resources'
Read in 9 resources from
'/builddir/build/SOURCES/Cs-ObexFtp/Cs-ObexFtp/Forms/About.fr.resx'
Writing resource file...  Done.
resgen2 -usesourcepath 'Forms/About.it.resx' 'Forms/About.it.resources'
Read in 15 resources from
'/builddir/build/SOURCES/Cs-ObexFtp/Cs-ObexFtp/Forms/About.it.resx'
Writing resource file...  Done.
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.
make[1]: *** [Forms/About.resources] Error 1
make[1]: Leaving directory `/builddir/build/SOURCES/Cs-ObexFtp/Cs-ObexFtp'
make: *** [all-recursive] Error 1

If DISPLAY is set correctly, the compile works fine.

Using Mono 2.0 RC 1


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