C. L. Martinez
2009-Jul-06 08:59 UTC
[CentOS] OT: errors building packages from src.rpm (trying to rebuild RHELIPA)
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: + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python-psycopg2 = 2.0.6-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/python-psycopg2-2.0.6-1-root-carlos RPM build errors: user brewbuilder does not exist - using root group brewbuilder does not exist - using root user brewbuilder does not exist - using root group brewbuilder does not exist - using root 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 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?? -- CL Martinez carlopmart {at} gmail {d0t} com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090706/390f3903/attachment-0003.html>
Andrew Colin Kissa
2009-Jul-06 09:04 UTC
[CentOS] OT: errors building packages from src.rpm (trying to rebuild RHELIPA)
I suspect it is a problem with the spec file under the %files section. On 06 Jul 2009, at 10:59 AM, C. L. Martinez 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: > > + exit 0 > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Requires: python-psycopg2 = 2.0.6-1 > Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/ > python-psycopg2-2.0.6-1-root-carlos > > > RPM build errors: > user brewbuilder does not exist - using root > group brewbuilder does not exist - using root > user brewbuilder does not exist - using root > group brewbuilder does not exist - using root > 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 > > 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?? > > > -- > CL Martinez > carlopmart {at} gmail {d0t} com > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090706/e8ce0c1b/attachment-0003.html>
Jim Perrin
2009-Jul-06 12:42 UTC
[CentOS] OT: errors building packages from src.rpm (trying to rebuild RHELIPA)
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 rootThe 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/*.pyoThe %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