[Mono-bugs] [Bug 576825] New: monotools must require rpm-build rpm on RHEL/CentOS

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 3 17:50:38 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=576825

http://bugzilla.novell.com/show_bug.cgi?id=576825#c0


           Summary: monotools must require rpm-build rpm on RHEL/CentOS
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 2.0
          Platform: Other
        OS/Version: RHEL 5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: ajorgensen at novell.com
        ReportedBy: mchristensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: jpobst at novell.com
          Found By: Component Test
           Blocker: ---


Description of Problem:

Redhat breaks RPM into at least two RPMs now.  One for managing packages and
one for building them.  The command 'rpmbuild' is now in the RPM 'rpm-build'
rather than in the 'rpm' RPM.  It is needed to build packages which target
RHEL/CentOS.

A dependency on 'rpm-build' must be added to the monotools RPM which is built
for RHEL/CentOS.

When the rpmbuild command is not installed, a dialog box appears on Windows
with the following message:

---------------------------

---------------------------
System.ComponentModel.Win32Exception: ApplicationName='rpmbuild',
CommandLine='--define '_topdir
/tmp/monovs-c2af209a-3e72-4c4d-96ef-aad9d047a8ce' --define '_rpmdir
/tmp/monovs-c2af209a-3e72-4c4d-96ef-aad9d047a8ce' --define '_specdir
/tmp/monovs-c2af209a-3e72-4c4d-96ef-aad9d047a8ce' -bb
/tmp/monovs-c2af209a-3e72-4c4d-96ef-aad9d047a8ce/webapplication1.spec',
CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00352] in
/usr/src/redhat/BUILD/mono-2.4.2.3/mcs/class/System/System.Diagnostics/Process.cs:1113 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00096] in
/usr/src/redhat/BUILD/mono-2.4.2.3/mcs/class/System/System.Diagnostics/Process.cs:1187 
  at System.Diagnostics.Process.Start () [0x0002c] in
/usr/src/redhat/BUILD/mono-2.4.2.3/mcs/class/System/System.Diagnostics/Process.cs:1197 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at Mono.Packager.PackageBuilder.BuildRpms () [0x000d5] in
/usr/src/redhat/BUILD/monotools-server-1.1/Mono.Packager/Mono.Packager/PackageBuilder.cs:122 
  at Mono.Packager.PackageBuilder.Build () [0x00228] in
/usr/src/redhat/BUILD/monotools-server-1.1/Mono.Packager/Mono.Packager/PackageBuilder.cs:197 
  at (wrapper remoting-invoke-with-check) Mono.Packager.PackageBuilder:Build ()
  at
Mono.VisualStudio.Mdb.DebuggerManager.Mono.VisualStudio.Mdb.IMdbManager.RunPackager
(Mono.VisualStudio.Mdb.DebuggingSession session) [0x00059] in
/usr/src/redhat/BUILD/monotools-server-1.1/MonoVS.DebugServer/DebuggerManager.cs:172 
---------------------------
OK   
---------------------------

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


More information about the mono-bugs mailing list