Closed
Bug 914476
Opened 11 years ago
Closed 11 years ago
mozilla-python27 RPM package should symlink python -> python2.7 binary
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhopkins, Assigned: jhopkins)
References
Details
Attachments
(1 file)
1.40 KB,
patch
|
Callek
:
review+
jhopkins
:
checked-in+
|
Details | Diff | Splinter Review |
Our mozilla-python27 package does not symlink python -> python2.7 which breaks scripts that use a shebang line referencing 'python':
#!/usr/bin/env python
Contents of current package's bin directory:
# ls -l /tools/python27/bin/
total 44
-rwxr-xr-x 1 root root 106 Apr 10 12:39 2to3
-rwxr-xr-x 1 root root 104 Apr 10 12:39 idle
-rwxr-xr-x 1 root root 89 Apr 10 12:39 pydoc
-rwxr-xr-x 1 root root 4896 Apr 10 12:40 python2.7
-rwxr-xr-x 1 root root 1629 Apr 10 12:39 python2.7-config
-rwxr-xr-x 1 root root 18552 Apr 10 12:39 smtpd.py
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → jhopkins
Status: NEW → ASSIGNED
Attachment #802540 -
Flags: review?(bugspam.Callek)
Comment 2•11 years ago
|
||
Comment on attachment 802540 [details] [diff] [review]
[puppet] updated mozilla-python27 RPM spec file which creates a symlink from python->python2.7
Review of attachment 802540 [details] [diff] [review]:
-----------------------------------------------------------------
::: modules/packages/manifests/mozilla/python27.spec
@@ +62,2 @@
> ln -s %{_prefix}/bin/python%{pyver} $RPM_BUILD_ROOT/usr/local/bin/python%{pyver}
> +ln -s %{_prefix}/bin/python%{pyver} $RPM_BUILD_ROOT%{_prefix}/bin/python
Nit: Can you move this symlink above to just under the make call, the comment here and the other ln -s confused me at first.
Attachment #802540 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 802540 [details] [diff] [review]
[puppet] updated mozilla-python27 RPM spec file which creates a symlink from python->python2.7
Deployed packages to yum repo. I've left the patch nits for now as I wanted to to avoid another build/test cycle.
Spec file submitted in:
https://hg.mozilla.org/build/puppet/rev/05aea507cd59
Attachment #802540 -
Flags: checked-in+
Assignee | ||
Comment 4•11 years ago
|
||
Triggered mock scrub in https://hg.mozilla.org/build/puppet/rev/908cf7da1358
Assignee | ||
Comment 5•11 years ago
|
||
Also bumped $repoflag to trigger a yum cache clear in https://hg.mozilla.org/build/puppet/rev/5ccca7162034
Assignee | ||
Comment 6•11 years ago
|
||
I'm seeing green builds with the new package.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•