Red Hat Bugzilla – Bug 463857
python-pyblock no longer builds
Last modified: 2009-04-24 11:41:26 EDT
Created attachment 317627 [details]
patch to fix build error
Description of problem:
python-pyblock no longer builds:
gcc -g -I/usr/include/python2.4 -Wall -Werror -fPIC -DUSESELINUX=1 -c -o dmraid.o dmraid.c
cc1: warnings being treated as errors
dmraid.c: In function ‘pydmraid_ctx_discover_raidsets’:
dmraid.c:1248: warning: passing argument 2 of ‘group_set’ from incompatible pointer type
make: *** [dmraid.o] Error 1
I will attach a patch that doe what I think was intended.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I guess once you build it in RHEL5.3 it breaks. I built it in RHEL5.2 and had no problems. More over did a scratch build with build target "dist-5E-build".
We are currently in python-pyblock-0.26-4.el5 and it built for me in brew. I think we can safely close this bug.