ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] bad paths in rpm packages
Date: Tue, 25 Mar 2008 02:42:54 +0300
Message-ID: <20080324234253.GG31135@solemn.turbinal> (raw)
In-Reply-To: <20080324230751.GD31135@solemn.turbinal>

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

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!!

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2008-03-24 23:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24 23:07 Alexey Tourbin
2008-03-24 23:13 ` Dmitry V. Levin
2008-03-24 23:17   ` Alexey Tourbin
2008-03-24 23:20     ` Dmitry V. Levin
2008-03-25  2:50       ` Alexey Tourbin
2008-03-25  3:08         ` Alexey Tourbin
2008-03-25 22:29         ` Alexey Tourbin
2008-03-25  4:04       ` Alexey Tourbin
2008-03-25  0:05   ` Alexey Tourbin
2008-03-24 23:13 ` Alexey Tourbin
2008-03-24 23:42 ` Alexey Tourbin [this message]
2008-03-24 23:44   ` Alexey Tourbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080324234253.GG31135@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git