[Webkit-unassigned] [Bug 113324] New: Revision for the internal jhbuild is too old
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 26 10:37:35 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113324
Summary: Revision for the internal jhbuild is too old
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mario at webkit.org
CC: gns at gnome.org, mrobinson at webkit.org
Today I found WebKitGTK is using a pretty old version of jhbuild for the internal libs, which has an important bug that makes the process to fail during the "make install" stage, in case it founds a symlink to a directory after moving it from the temporary place under _jhbuild/ to the final destination.
The problem comes from this part of the code in jhbuild (revision 1eedc423f75c605224b430579e4c303292199507). In file jhbuild/jhbuild/modtypes/__initi__.py:
if os.path.isdir(src_path):
if os.path.exists(dest_path):
if not os.path.isdir(dest_path):
os.unlink(dest_path)
os.mkdir(dest_path)
else:
os.mkdir(dest_path)
num_copied += self._process_install_files(installroot, src_path, prefix)
os.rmdir(src_path)
That will fail if src_path is a symlink to a dir, since os.path.isdir() follows links, but os.rmdir() does not.
So I think we should update the minimum required revision to some point where that issue is fixed, and I suggest ddb8b4e64bede55212c7590e2104daff92b72ce0 for that, since it's properly fixed there.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list