From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 25 Mar 2008 02:42:54 +0300 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20080324234253.GG31135@solemn.turbinal> Mail-Followup-To: devel@lists.altlinux.org References: <20080324230751.GD31135@solemn.turbinal> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/8Xxy37xq6kDVsli" Content-Disposition: inline In-Reply-To: <20080324230751.GD31135@solemn.turbinal> Subject: Re: [devel] bad paths in rpm packages X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 23:43:05 -0000 Archived-At: List-Archive: List-Post: --/8Xxy37xq6kDVsli Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 25, 2008 at 02:07:51AM +0300, Alexey Tourbin wrote: > $ rpmpeek /ALT/Sisyphus/files/SRPMS/pear-core-1.6.2-alt6.src.rpm fgrep /. pear-core.spec > %pear_dir/.* > $ Oh my gosh! Here's a nice way to pacakge your %_tmppath! $ cat test.spec Name: test Version: 1.0 Release: alt1 Summary: test License: GPL Group: Development/Other %install mkdir -p %buildroot %description %files /.* $ time rpm -bb test.spec ... /tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/08dash-in-name.t syntax OK Can't stat blib/lib: No such file or directory at /usr/lib/perl5/vendor_perl/File/Find/Rule.pm line 593 You said to run 0 tests at /tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/99-pod.t line 15. BEGIN failed--compilation aborted at /tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/99-pod.t line 15. # /tmp/.private/at/test-buildroot/../BUILD/DateTime-Locale-0.35/t/99-pod.t: deparse failed. isPerl=0.0386266094420601. error: /bin/sh failed error: Failed to find Requires RPM build errors: /bin/sh failed Failed to find Requires rpm -bb test.spec 97.86s user 15.26s system 54% cpu 3:26.50 total $ Now go try '/.*/.*/.*'. What a marvellous back system!! --/8Xxy37xq6kDVsli Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkfoPH0ACgkQfBKgtDjnu0a3IwCgy3G1cZ/tTPr+MLk09kYQ0bUL 3ksAoMSmoCg4TeXEZOOEQjw2vAuVbcZA =+CfB -----END PGP SIGNATURE----- --/8Xxy37xq6kDVsli--