ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeniy Kukhtinov <neurofreak-alt@yandex.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: lib.req: upgraded "library not found" warnings to errors
Date: Wed, 09 Feb 2022 03:11:32 +0000
Message-ID: <FD5955D8-32D2-423A-B5E6-3A6890775CFC@yandex.ru> (raw)
In-Reply-To: <20220206134111.GA14395@altlinux.org>

6 февраля 2022 г. 13:41:12 UTC, "Dmitry V. Levin" <ldv@altlinux.org> пишет:
>Hi,
>
>#100 rpm-build 4.0.4.180-alt1 -> 4.0.4.181-alt1
> Sun Feb 06 2022 Dmitry V. Levin <ldv@altlinux> 4.0.4.181-alt1
> - lib.req: upgraded "library not found" warnings to errors:
>   these warnings are real packaging errors,
>   they also cause further ldd errors down the line.
>
>Это изменение затрагивает нижеперечисленные пакеты:
>Source package             Not found
>--------------             ---------
>LibreOffice                libjawt.so
>LibreOffice-still          libjawt.so
 […]
>
>
>-- 
>ldv
>_______________________________________________
>Devel mailing list
>Devel@lists.altlinux.org
>https://lists.altlinux.org/mailman/listinfo/devel
Доброго времени суток, коллеги!

При пересборке LibreOffice-7.3.0.3-alt1
словил:

[...]
verify-elf: WARNING: ./usr/lib64/LibreOffice/program/libofficebean.so: not found: libjawt.so
[...]
lib.req: ERROR: /usr/src/tmp/LibreOffice-buildroot/usr/lib64/LibreOffice/program/libofficebean.so: library libjawt.so not found
[...]
find-requires: ERROR: /usr/lib/rpm/lib.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
29421.00user 2368.58system 1:15:03elapsed 705%CPU (0avgtext+0avgdata 1073108maxresident)k
4537264inputs+44118096outputs 
(7988major+663600961minor)pagefaults 0swaps
hsh-rebuild: rebuild of `pkg.tar' failed

Я так понимаю, это связано с недавним коммитом ldv@:

https://git.altlinux.org/gears/r/rpm-build.git?p=rpm-build.git;a=commitdiff;h=9db3eec288c45141435c38eaa1ea70397e9c373b

Всё бы ничего, полезное нововведение, но вот библиотека в сборочном окружении имеется,
хотя и по нестандартному пути:

[builder@localhost ~]$ find / -name libjawt\*
/usr/lib/jvm/java-11-openjdk-11.0.14.0.1-0.x86_64/lib/libjawt.so

Итог: нужный пакет не пакуется.

ldv@, коллеги, как избежать прерывания упаковки пакета, ведь в данном случае поведение lib.req неуместно?

--
С уважением, Евгений Кухтинов
<neurofreak@altlinux.org>


  parent reply	other threads:[~2022-02-09  3:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-06 13:41 Dmitry V. Levin
2022-02-06 22:44 ` Alexey V. Vissarionov
2022-02-06 23:01   ` Dmitry V. Levin
2022-02-07  3:18     ` Alexey V. Vissarionov
2022-02-08 20:50     ` Vitaly Lipatov
2022-02-09  0:11       ` Dmitry V. Levin
2022-02-09  0:54         ` Vitaly Lipatov
2022-04-28 11:39     ` Sergey Afonin
2022-02-09  3:11 ` Evgeniy Kukhtinov [this message]
2022-02-09 11:15   ` Dmitry V. Levin
2022-02-09 12:12     ` Vitaly Lipatov
2022-02-09 12:46       ` Dmitry V. Levin
2022-02-27 13:15         ` Yuri Sedunov

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=FD5955D8-32D2-423A-B5E6-3A6890775CFC@yandex.ru \
    --to=neurofreak-alt@yandex.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