[CentOS] OT: errors building packages from src.rpm (trying to rebuild RHELIPA)

Jim Perrin jperrin at gmail.com
Mon Jul 6 12:42:24 UTC 2009


On Mon, Jul 6, 2009 at 4:59 AM, C. L. Martinez<carlopmart at gmail.com> wrote:
> Hi all,
>
>  I am trying to rebuild RHELIPA packages downloaded from ftp.redhat.com. All
> goes ok except from python-psycopg2 package. When I try to rebuild, gives me
> these errors:


Translated:

> RPM build errors:
>     user brewbuilder does not exist - using root
>     group brewbuilder does not exist - using root

The user 'brewbuilder' is redhat's internal build user account. It's
not on your machine, so the system is assigning the build to a
different account. It's not really an error, so much as a legacy
warning. Why rpm even cares who created a src.rpm is something I don't
know.


>     File not found by glob:
> /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyc
>     File not found by glob:
> /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/*.pyo

The %files section of the spec file likely names these two files or
the directory specifically. Your build can't find these files. There
may be other errors causing them to not be built, or the spec file
erroneously wants them.

>  If I go to
> /var/tmp/python-psycopg2-2.0.6-1-root-carlos/usr/lib64/python2.4/site-packages/psycopg2/
> directory, it is right: there isn't exists any *.pyc or .pyo file ... Maybe
> be the problem is in .spec file?? somebody have this problem??

See above.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell



More information about the CentOS mailing list