From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: Sisyphus status -- perl packages
Date: Fri, 26 Sep 2003 18:43:33 +0400
Message-ID: <20030926144333.GO12987@julia.office.altlinux.ru> (raw)
In-Reply-To: <20030925144340.GT12987@julia.office.altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]
On Thu, Sep 25, 2003 at 06:43:40PM +0400, Alexey Tourbin wrote:
> > faces-1.6.1-ipl15mdk
>
> Can't emulate -P on #! line at /usr/src/RPM/tmp/faces-buildroot/usr/bin/from.faces line 1.
> /usr/src/RPM/tmp/faces-buildroot/usr/bin/from.faces: deparse failed.
>
> Специфическая ошибка, над которой я подумаю.
Для этого пункта исправление готово (rpm-build-perl).
faces теперь собирается.
PS: всё-таки хочется иметь отдельное кэширование в hasher'е
для --no-stuff и собственно stuff.
* Fri Sep 26 2003 Alexey Tourbin <at@altlinux> 0.1-alt3
- handling of #!perl command line options implemented
--- /usr/lib/rpm/perl.req 2003-09-23 15:25:25 +0400
+++ RPM/SOURCES/rpm-perl.req 2003-09-26 18:24:15 +0400
@@ -251,8 +251,21 @@
# use Fcntl;
# fcntl(STDERR, F_SETFD, 1) if !$debug && $method eq 'relaxed';
+# look for #!/usr/bin/perl command line options
+ open (FILE, "<", $fname) or die;
+ my $shebang = <FILE>;
+ chomp $shebang;
+ close FILE;
+ my @argv;
+ if ($shebang =~ s/^#!\s*\S*perl\S*\s*// && $shebang) {
+ local $_ = $shebang;
+ @argv = grep { $_ ne "--" } split;
+ }
+
# deparse
- open(PIPE, "-|", $^X, "-t", "-MO=Deparse", (map { "-I$_" } @inc), "--", $fname) or die;
+ my @pipe = ($^X, @argv, "-MO=Deparse", (map { "-I$_" } @inc), "--", $fname);
+ debug("pipe: @pipe");
+ open(PIPE, "-|", @pipe) or die;
while (<PIPE>) {
last if /^__(DATA|END)__/;
process_line($_);
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-09-26 14:43 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 14:18 [devel] " Alexey Tourbin
2003-09-05 11:08 ` Andrey Brindeew
2003-09-05 12:15 ` [devel] " Alexey Tourbin
2003-09-07 21:38 ` [devel] packages Dmitry V. Levin
2003-09-08 8:05 ` Anatoly A. Yakushin
2003-09-08 8:16 ` [devel] hasher docs Dmitry V. Levin
2003-09-08 8:35 ` Anatoly A. Yakushin
2003-09-08 8:47 ` Dmitry V. Levin
2003-09-08 9:05 ` Gerasimov Dmitry
2003-09-08 10:37 ` [devel] " Michael Shigorin
2003-09-08 10:43 ` Dmitry V. Levin
2003-09-08 13:05 ` Michael Shigorin
2003-09-08 13:27 ` Sviatoslav Sviridov/Lintec Project
2003-09-08 14:15 ` Dmitry V. Levin
2003-09-12 12:47 ` Viktor S. Grishchenko
2003-09-12 17:23 ` Vitaly Lipatov
2003-09-08 8:23 ` [devel] packages Andrey Brindeew
2003-09-08 8:46 ` Dmitry V. Levin
2003-09-08 9:03 ` Alexey I. Froloff
2003-09-08 18:04 ` Вячеслав Диконов
2003-09-08 19:48 ` Dmitry V. Levin
2003-09-11 15:06 ` [devel] Sisyphus status Dmitry V. Levin
2003-09-11 15:16 ` Alex Murygin
2003-09-11 15:28 ` Dmitry V. Levin
2003-09-11 15:33 ` [devel] " Alexey Tourbin
2003-09-11 15:36 ` [devel] " Alex Murygin
2003-09-11 15:47 ` [devel] " Alexey Tourbin
2003-09-11 17:09 ` [devel] " Dmitry V. Levin
2003-09-11 17:36 ` Вячеслав Диконов
2003-09-11 17:50 ` Phoenix
2003-09-11 18:07 ` [devel] " Alexey Tourbin
2003-09-11 17:52 ` [devel] " Вячеслав Диконов
2003-09-11 18:14 ` Denis Ovsienko
2003-09-11 18:15 ` Вячеслав Диконов
2003-09-12 9:11 ` Anton Farygin
2003-09-11 19:21 ` [devel] " Michael Shigorin
2003-09-12 12:25 ` Michael Shigorin
2003-09-18 16:37 ` Anton Farygin
2003-09-24 16:14 ` Dmitry V. Levin
2003-09-25 8:48 ` Michael Shigorin
2003-09-25 8:51 ` Denis Ovsienko
2003-09-11 21:32 ` [devel] " Andrey Orlov
2003-09-12 3:56 ` Alexander Belov
2003-09-12 8:06 ` Stanislav Ievlev
2003-09-12 12:13 ` Anatoly A. Yakushin
2003-09-12 12:25 ` Dmitry V. Levin
2003-09-15 11:48 ` Dmitry V. Levin
2003-09-15 13:29 ` [devel] " Michael Shigorin
2003-09-16 8:04 ` Stanislav Ievlev
2003-09-16 4:10 ` [devel] " Albert R. Valiev
2003-09-16 8:05 ` Stanislav Ievlev
2003-09-16 15:46 ` Вячеслав Диконов
2003-09-24 16:18 ` Dmitry V. Levin
2003-09-25 8:03 ` Alexey I. Froloff
2003-09-25 13:41 ` [devel] " Alexey Tourbin
2003-09-25 15:06 ` Alexey I. Froloff
2003-09-25 15:17 ` Alexey Tourbin
2003-09-25 8:07 ` [devel] q: xmms maintainership (was: Sisyphus status) Michael Shigorin
2003-09-25 8:36 ` [devel] Re: Sisyphus status Michael Shigorin
2003-09-25 9:02 ` [devel] " Denis Ovsienko
2003-09-26 11:41 ` Вячеслав Диконов
2003-09-27 7:14 ` Alexander Bokovoy
2003-09-25 9:31 ` [devel] кажется, нашел (was: Sisyphus status) Michael Shigorin
2003-09-25 15:01 ` [devel] " Alexey Tourbin
2003-09-25 9:38 ` [devel] Sisyphus status Yura Zotov
2003-09-25 14:43 ` [devel] Re: Sisyphus status -- perl packages Alexey Tourbin
2003-09-25 17:07 ` Michael Shigorin
2003-09-26 14:43 ` Alexey Tourbin [this message]
2003-09-26 14:48 ` Dmitry V. Levin
2003-09-08 10:34 ` [devel] typo (was: perl packages) Michael Shigorin
2003-09-08 11:11 ` [devel] " 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=20030926144333.GO12987@julia.office.altlinux.ru \
--to=at@altlinux.ru \
--cc=devel@altlinux.ru \
/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