* [devel] Re: perl-Glade-0.61-alt1.1: rebuild failed
2003-11-14 20:39 ` [devel] Re: perl-Glade-0.61-alt1.1: rebuild failed Konstantin Lepikhov
@ 2003-11-16 13:26 ` Alexey Tourbin
2003-11-16 19:44 ` Konstantin Lepikhov
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Tourbin @ 2003-11-16 13:26 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 8096 bytes --]
On Fri, Nov 14, 2003 at 11:39:37PM +0300, Konstantin Lepikhov wrote:
> И что теперь ему не нравится? Ничего не понимаю :( Или в Perl-GTK что-то
> опять поменялось?
$ diff =(sed 's,rpm-tmp\.[0-9]\+,rpm-tmp.XXX,g' 1110/error/perl-Glade-0.61-alt1.1) =(sed 's,rpm-tmp\.[0-9]\+,rpm-tmp.XXX,g' 1114/success/perl-Glade-0.61-alt1.1)
--- /home/at/tmp/zshUDD4kM 2003-11-16 13:13:47 +0000
+++ /home/at/tmp/zsh62L7eX 2003-11-16 13:13:47 +0000
@@ -9,8 +9,8 @@
fontconfig-2.2.1-alt3
libdb4.1-4.1.25-alt1
libgdbm-1.8.3-alt1
-perl-Storable-5.8.1-alt7
-perl-DBM-5.8.1-alt7
+perl-Storable-5.8.2-alt1
+perl-DBM-5.8.2-alt1
perl-HTML-Tagset-3.03-alt4
perl-libnet-1.17-alt1
perl-URI-1.27-alt1
@@ -21,12 +21,12 @@
libpng3-1.2.5-alt1
libjpeg-6b-ipl18mdk
libtiff-3.5.7-alt4
-libaudiofile-0.2.3-alt4
+libaudiofile-0.2.4-alt1
esound-0.2.32-alt1
libdb1-1.85-alt2
perl-Unicode-CharName-2.07-alt1
perl-Unicode-String-2.07-alt1
-perl-devel-5.8.1-alt7
+perl-devel-5.8.2-alt1
freetype-1.3.1-alt3
XFree86-libs-4.3.0-alt6
gtk+-1.2.10-alt8
@@ -36,7 +36,7 @@
gnome-libs-1.4.2-alt4
perl-HTML-Tree-3.18-alt1
perl-HTML-Format-2.03-alt2
-perl-libwww-perl-5.72-alt1
+perl-libwww-perl-5.75-alt1
perl-XML-Parser-2.34-alt1
perl-GTK-0.7009-alt0.2
perl-GTK-GdkImlib-0.7009-alt0.2
@@ -52,8 +52,8 @@
+ rm -rf Glade-Perl-0.61
+ echo 'Source #0 (Glade-Perl-0.61.tar.bz2):'
Source #0 (Glade-Perl-0.61.tar.bz2):
-+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/Glade-Perl-0.61.tar.bz2
+ /bin/tar -xf -
++ /bin/bzip2 -dc /usr/src/RPM/SOURCES/Glade-Perl-0.61.tar.bz2
+ cd Glade-Perl-0.61
+ /bin/chmod -Rf u+rwX,go-w .
+ perl -pi -e '/CCCMD/ && s|/m;|/mg;|' Makefile.PL
@@ -165,33 +165,38 @@
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /usr/lib/rpm/find-requires
-Global symbol "$CList_column" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 736.
-Global symbol "$CList_column" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 737.
-Global symbol "$CTree_column" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 751.
-Global symbol "$CTree_column" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 752.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 799.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 799.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 814.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 814.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 819.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 819.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 821.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 826.
-Global symbol "$nb" requires explicit package name at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm line 827.
-Compilation failed in require at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlProject.pm line 31.
-BEGIN failed--compilation aborted at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlProject.pm line 31.
-Compilation failed in require at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlGenerate.pm line 25.
-BEGIN failed--compilation aborted at /usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlGenerate.pm line 25.
-/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlGenerate.pm: deparse failed. prefix=/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl
-error: /bin/sh failed
-error: Failed to find Requires
-
-
-RPM build errors:
- /bin/sh failed
- Failed to find Requires
-3.16user 0.58system 0:05.00elapsed 74%CPU (0avgtext+0avgdata 0maxresident)k
-0inputs+0outputs (44707major+27421minor)pagefaults 0swaps
-rebuild: rebuild of `perl-Glade-0.61-alt1.1.src.rpm' failed.
-13.33user 9.30system 0:44.83elapsed 50%CPU (0avgtext+0avgdata 0maxresident)k
-0inputs+0outputs (136258major+86387minor)pagefaults 0swaps
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlGenerate.pm syntax OK
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlProject.pm syntax OK
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlRun.pm syntax OK
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlSource.pm syntax OK
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUI.pm syntax OK
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUIExtra.pm syntax OK
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlUIGtk.pm syntax OK
+/usr/src/RPM/tmp/perl-Glade-buildroot/usr/lib/perl5/vendor_perl/Glade/PerlXML.pm syntax OK
++ exit 0
+Provides: perl(Glade/PerlGenerate.pm) = 0:0.61 perl(Glade/PerlProject.pm) = 0:0.61 perl(Glade/PerlRun.pm) = 0:0.61 perl(Glade/PerlSource.pm) = 0:0.61 perl(Glade/PerlUI.pm) = 0:0.61 perl(Glade/PerlUIExtra.pm) = 0:0.61 perl(Glade/PerlUIGtk.pm) = 0:0.61 perl(Glade/PerlXML.pm) = 0:0.61
+PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(VersionedDependencies) <= 3.0.3-1
+Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(VersionedDependencies) <= 3.0.3-1
+Requires: perl-XML-Parser perl-Unicode-String perl-GTK perl-GTK-Gnome perl(Cwd.pm) perl(Data/Dumper.pm) perl(File/Basename.pm) perl(File/Copy.pm) perl(File/Path.pm) perl(Glade/PerlProject.pm) perl(Glade/PerlRun.pm) perl(Glade/PerlSource.pm) perl(Glade/PerlUI.pm) perl(Glade/PerlUIExtra.pm) perl(Glade/PerlUIGtk.pm) perl(Glade/PerlXML.pm) perl(Gtk.pm) perl(Gtk/Keysyms.pm) perl(POSIX.pm) perl(Sys/Hostname.pm) perl(Text/Wrap.pm) perl(UNIVERSAL.pm) perl(XML/Parser.pm) perl(subs.pm)
+Finding unpackaged files (using /usr/lib/rpm/check-files)
+Executing(check-files): /bin/sh -e /usr/src/RPM/tmp/rpm-tmp.XXX
++ umask 022
++ /bin/mkdir -p /usr/src/RPM/BUILD
++ cd /usr/src/RPM/BUILD
++ /usr/lib/rpm/check-files
++ exit 0
+warning: Installed (but unpackaged) file(s) found:
+ /usr/bin/glade2perl
+Wrote: /usr/src/RPM/RPMS/noarch/perl-Glade-0.61-alt1.1.noarch.rpm
+Executing(--clean): /bin/sh -e /usr/src/RPM/tmp/rpm-tmp.XXX
++ umask 022
++ /bin/mkdir -p /usr/src/RPM/BUILD
++ cd /usr/src/RPM/BUILD
++ rm -rf Glade-Perl-0.61
++ /bin/chmod -Rf u+rwX -- /usr/src/RPM/tmp/perl-Glade-buildroot
++ /bin/rm -rf -- /usr/src/RPM/tmp/perl-Glade-buildroot
++ exit 0
+28.20user 1.78system 0:32.79elapsed 91%CPU (0avgtext+0avgdata 0maxresident)k
+0inputs+0outputs (53747major+42826minor)pagefaults 0swaps
+46.45user 15.64system 2:09.06elapsed 48%CPU (0avgtext+0avgdata 0maxresident)k
+0inputs+0outputs (168886major+101502minor)pagefaults 0swaps
РАССОСАЛОСЬ. 8|
Замечания:
1) запустите cleanup_spec
2) уберите Requries, они вычисляются автоматически (как видно выше);
Unicode::String не вычисляется, потому что он завернут в eval:
Glade/PerlXML.pm: eval "use Unicode::String qw(utf8 latin1)";
То же самое с Gnome:
Glade/PerlGenerate.pm: eval "use Gnome;";
3) используйте %perl_vendor_build; если этого не удается сделать,
напишите автору; кстати, параметры этим макросам теперь можно давать в
любом виде, т.к. автор завернул их в shell функции.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread