[Bug 179852] /dev/std* missing in mock - FE buildsystem

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 21 19:22:10 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: /dev/std* missing in mock - FE buildsystem


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179852





------- Additional Comments From toshio at tiki-lounge.com  2006-03-21 14:21 EST -------
Michael,

Do you have a plague set up somewhere to get your trace or did you instrument
the wine-docs spec and push it through the buildsys?  Clark Williams just sent
this patch to buildsys-list to see if it can be tested before committing.

Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.37
diff -u -r1.37 mock.py
- --- mock.py     15 Mar 2006 22:14:38 -0000      1.37
+++ mock.py     21 Mar 2006 19:12:40 -0000
@@ -555,6 +555,14 @@
         if not os.path.exists(devpath):
             os.symlink('../proc/self/fd', devpath)
        
+        fd = 0
+        for item in ('stdin', 'stdout', 'stderr'):
+            devpath =  os.path.join(self.rootdir, 'dev', item)
+            if not os.path.exists(devpath):
+                fdpath = os.path.join('../proc/self/fd', str(fd))
+                os.symlink(fdpath, devpath)
+            fd += 1
+
         for item in [os.path.join(self.rootdir, 'etc', 'mtab'),
                      os.path.join(self.rootdir, 'etc', 'fstab'),
                      os.path.join(self.rootdir, 'var', 'log',
'yum.log')]:


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list