rpmbuild 的疑问
gugong
|
1#
gugong 发表于 2004-01-08 17:55
rpmbuild 的疑问rpmbuild --rebuild perl-TimeDate-1.1301-2.src.rpm 一台机器上失败: [code:1] /usr/lib/perl5/site_perl/5.8.0/Date/Language/French.pm /usr/man/man3/Date::Parse.3pm.gz /usr/man/man3/Date::Format.3pm.gz /usr/man/man3/Time::Zone.3pm.gzX' = X ']' + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/TimeDate-1.1301 0 blocks find: /var/tmp/perl-TimeDate-root/usr/lib/debug: No such file or directory + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump Processing files: perl-TimeDate-1.1301-2 Provides: perl(Date::Format) = 2.22 perl(Date::Format::Generic) perl(Date::Language) = 1.10 perl(Date::Language::Austrian) = 1.01 perl(Date::Language::Czech) = 1.01 perl(Date::Language::Dutch) = 1.01 perl(Date::Language::English) = 1.01 perl(Date::Language::French) = 1.04 perl(Date::Language::German) = 1.02 perl(Date::Language::Italian) = 1.01 perl(Date::Language::Norwegian) = 1.01 perl(Date::Parse) = 2.23 perl(Time::Zone) = 2.21 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: perl >= 0:5.000 perl >= 0:5.002 perl(Carp) perl(Date::Format) perl(Date::Language) perl(Date::Language::English) perl(Exporter) perl(Time::Local) perl(Time::Zone) perl(strict) perl(vars) Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/perl-TimeDate-root error: Installed (but unpackaged) file(s) found: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/TimeDate/.packlist /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/perllocal.pod RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/TimeDate/.packlist /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/perllocal.pod 2004年01月08日下午17时29分11秒[root@www perl]# 这里退出了。 [/code:1] 另外一台机器上成功: [code:1]/usr/man/man3/Date::Parse.3pm.gz /usr/man/man3/Date::Format.3pm.gz /usr/man/man3/Time::Zone.3pm.gzX' = X ']' + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/TimeDate-1.1301 0 blocks find: /var/tmp/perl-TimeDate-root/usr/lib/debug: No such file or directory + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump Processing files: perl-TimeDate-1.1301-2 Provides: perl(Date::Format) = 2.22 perl(Date::Format::Generic) perl(Date::Language) = 1.10 perl(Date::Language::Austrian) = 1.01 perl(Date::Language::Czech) = 1.01 perl(Date::Language::Dutch) = 1.01 perl(Date::Language::English) = 1.01 perl(Date::Language::French) = 1.04 perl(Date::Language::German) = 1.02 perl(Date::Language::Italian) = 1.01 perl(Date::Language::Norwegian) = 1.01 perl(Date::Parse) = 2.23 perl(Time::Zone) = 2.21 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: perl >= 0:5.000 perl >= 0:5.002 perl(Carp) perl(Date::Format) perl(Date::Language) perl(Date::Language::English) perl(Exporter) perl(Time::Local) perl(Time::Zone) perl(strict) perl(vars) Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/perl-TimeDate-root warning: Installed (but unpackaged) file(s) found: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/TimeDate/.packlist /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/perllocal.pod Wrote: /usr/src/redhat/RPMS/noarch/perl-TimeDate-1.1301-2.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.94881 + umask 022 + cd /usr/src/redhat/BUILD + cd TimeDate-1.1301 + rm -rf /var/tmp/perl-TimeDate-root + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.94881 + umask 022 + cd /usr/src/redhat/BUILD + rm -rf TimeDate-1.1301 + exit 0 2004年01月08日下午17时34分46秒[root@test perl]# [/code:1] 这两台机器可以说软件配置是一模一样的 !! 第一个说: RPM build errors: Installed (but unpackaged) file(s) found: 就没有写 /usr/src/redhat/RPMS/noarch/perl-TimeDate-1.1301-2.noarch.rpm ,就退出了。 第二个有错误,却还是写了 /usr/src/redhat/RPMS/noarch/perl-TimeDate-1.1301-2.noarch.rpm 文件。 奇怪 !!! |