Bug 661769
Summary: | ekiga can't be rebuild in mock because of opal bug | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Levente Farkas <lfarkas> | ||||
Component: | opal | Assignee: | Benjamin Otte <otte> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.0 | CC: | merlinchenx, mishu, riehecky, salmy, sisharma, tis | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-10-05 14:24:59 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Levente Farkas
2010-12-09 16:02:33 UTC
any news on this error? it seems the problem is with opal's header /usr/include/opal/opal/buildopts.h can't find the definition of __WORDSIZE which means your patch opal-3.6.6-buildopts.patch not working on rhel-6 (which is strange since it's not on fedora:-) --------------------------------- /* This only works on Fedora/RHEL. * It is required to avoid multilib conflicts */ #if __WORDSIZE == 64 #define OPAL_PLUGIN_DIR "/usr/lib64/opal-" OPAL_VERSION #elif __WORDSIZE == 32 #define OPAL_PLUGIN_DIR "/usr/lib/opal-" OPAL_VERSION #else #error "define a proper libdir" #endif --------------------------------- from where this __WORDSIZE should have to come? may be you'd have to include it. (In reply to comment #3) > it seems the problem is with opal's header /usr/include/opal/opal/buildopts.h > can't find the definition of __WORDSIZE > > which means your patch opal-3.6.6-buildopts.patch not working on rhel-6 (which > is strange since it's not on fedora:-) > > --------------------------------- > /* This only works on Fedora/RHEL. > * It is required to avoid multilib conflicts */ > #if __WORDSIZE == 64 > #define OPAL_PLUGIN_DIR "/usr/lib64/opal-" OPAL_VERSION > #elif __WORDSIZE == 32 > #define OPAL_PLUGIN_DIR "/usr/lib/opal-" OPAL_VERSION > #else > #error "define a proper libdir" > #endif > --------------------------------- > from where this __WORDSIZE should have to come? may be you'd have to include > it. __WORDSIZE comes from /usr/include/bits/wordsize.h which included by sys/types.h,I temporarily solve the problem by including sys/types.h to ekiga/src/common.h.But the ware thing is opal itself compiled without an error in the same mock environment. but as the new patch use __WORDSIZE and buildopts.h do NOT include types.h so it's a bug in opal. ie. opal-3.6.6-buildopts.patch should have to add #include <types.h> to the buildopts.h file. i mean: #include <sys/types.h> This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. Created attachment 549057 [details]
This should fix the bug
I've attached a patch which seems to correct the problem
already fixed |