From: Ivan Zakharyaschev <imz@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Странное сообщение при локальной сборке Date: Sun, 29 May 2016 22:13:26 +0300 (MSK) Message-ID: <alpine.LFD.2.20.1605292208190.1850@imap.altlinux.org> (raw) In-Reply-To: <201605291450.22150@ruslandh> [-- Attachment #1: Type: text/plain, Size: 2327 bytes --] On Sun, 29 May 2016, Hihin Ruslan wrote: > Пытаюсь собрать локально в хэшере новую версию wallpapoz, > прикладываю потихоньку патчи от Федоры, но тут получил странное > сообщение (см ниже). Ну переменную в 229-й строке я посмитрю, но > что означает: > "find-requires: ERROR: /usr/lib/rpm/python.req failed > error: /bin/sh failed > error: Failed to find Requires" Применяемый (для поиска зависимостей) парсер питона не смог распарсить успешно исходник из собираемого пакета. Конкретнее: ошибка вызвана 229-ой строкой /usr/bin/wallpapoz . Там отступ плохой оказался. (Возможно, /usr/bin/python так же не сможет исполнить файл /usr/bin/wallpapoz .) > Кусочек лога: > > "Finding Provides (using /usr/lib/rpm/find-provides) > Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8WUdxa > find-provides: running scripts > (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) > Finding Requires (using /usr/lib/rpm/find-requires) > Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kgkpho > find-requires: running scripts > (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) > python.req: > ERROR: /usr/src/tmp/wallpapoz-buildroot/usr/bin/wallpapoz: > unexpected indent (line 229) > Traceback (most recent call last): > File "/usr/lib/rpm/python.req.py", line 222, in <module> > lis = parser.suite('\n'.join(lines)+'\n').tolist(line_info=1) > File "<string>", line 229 > if (not pathlist) or (not length_of_path_list) : > ^ > IndentationError: unexpected indent Вот здесь оно. Best regards, Ivan > find-requires: ERROR: /usr/lib/rpm/python.req failed > error: /bin/sh failed > error: Failed to find Requires > > > RPM build errors: > /bin/sh failed > Failed to find Requires > Command exited with non-zero status 1 > 0.45user 0.27system 0:02.52elapsed 28%CPU (0avgtext+0avgdata > 31092maxresident)k > 0inputs+0outputs (0major+76769minor)pagefaults 0swaps > hsh-rebuild: rebuild of `pkg.tar' failed."
next prev parent reply other threads:[~2016-05-29 19:13 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-05-29 11:50 Hihin Ruslan 2016-05-29 19:13 ` Ivan Zakharyaschev [this message] 2016-05-29 21:05 ` Hihin Ruslan
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=alpine.LFD.2.20.1605292208190.1850@imap.altlinux.org \ --to=imz@altlinux.org \ --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