From: Slava Dubrovskiy <dubrsl@altlinux.ru>
To: Devel@lists.altlinux.org
Subject: [devel] Ошибки при find-requires
Date: Thu, 23 Nov 2006 10:54:40 +0200
Message-ID: <456561D0.9000804@altlinux.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 1567 bytes --]
Здравствуйте.
В спеке smbldap-tools стоит AutoReq: noperl
Хочу от этого избавиться. Но не могу, т.к. получаю вот такую ошибку:
+ /usr/lib/rpm/find-requires
Unable to open /etc/smbldap-tools/smbldap.conf for reading !
Compilation failed in require at
/home/slava/tmp/smbldap-tools-buildroot/usr/sbin/smbldap-groupadd line 32.
BEGIN failed--compilation aborted at
/home/slava/tmp/smbldap-tools-buildroot/usr/sbin/smbldap-groupadd line 32.
# /home/slava/tmp/smbldap-tools-buildroot/usr/sbin/smbldap-groupadd:
deparse failed. isPerl=0.030561122244489.
ошибка: /bin/sh не удалось
ошибка: Невозможно найти Requires
В коде программы действительно есть вот такое (файл smbldap-groupadd):
28: use strict;
29: use FindBin;
30: use FindBin qw($RealBin);
31: use lib "$RealBin/";
32: use smbldap_tools;
В smbldap_tools.pm:
34: my $smbldap_conf;
35: if (-e "/etc/smbldap-tools/smbldap.conf") {
36: $smbldap_conf="/etc/smbldap-tools/smbldap.conf";
37: } else {
38: $smbldap_conf="/etc/smbldap-tools/smbldap.conf";
39: }
Причем естественно файл /etc/smbldap-tools/smbldap.conf идет в пакете.
Вопрос: как можно сделать так, чтобы find-requires правильно определял
такую ситуацию и не останавливался?
(Про AutoReq: noperl я знаю, но это не выход)
--
WBR,
Dubrovskiy Vyacheslav
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
reply other threads:[~2006-11-23 8:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=456561D0.9000804@altlinux.ru \
--to=dubrsl@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