After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 341604 - lsb_release doesn't exist on solaris
lsb_release doesn't exist on solaris
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other opensolaris
: Normal normal
: ---
Assigned To: James Henstridge
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2006-05-13 02:59 UTC by James Andrewartha
Modified: 2006-05-13 07:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
patch to fix CommandError exception (585 bytes, patch)
2006-05-13 03:00 UTC, James Andrewartha
none Details | Review

Description James Andrewartha 2006-05-13 02:59:26 UTC
When checking for the distro, tinderbox.py calls lsb_release, which doesn't exist on (open)solaris, causing a CommandError.
Comment 1 James Andrewartha 2006-05-13 03:00:17 UTC
Created attachment 65360 [details] [review]
patch to fix CommandError exception

Just a one-line fix.
Comment 2 James Henstridge 2006-05-13 07:53:59 UTC
I changed get_distro() to catch CommandError rather than OSError now.  That should solve the problem (I think the only case where OSError would be expected to occur now raises CommandError).

Thanks for the bug report.