ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Проблема с debugedit при сборке ghc-9.2.8 на aarch64
@ 2023-09-22 22:51 Evgeny Sinelnikov
  2023-09-23  8:26 ` Vitaly Chikunov
  0 siblings, 1 reply; 9+ messages in thread
From: Evgeny Sinelnikov @ 2023-09-22 22:51 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Доброй ночи,

хочу обратиться за помощью с проблемой с debugedit при сборке
ghc-9.2.8 на aarch64.
_________________________

При сборке новой версии ghc на aarch64 отваливается
find-debuginfo-files. Для x86_64, i586 и ppc64le сборка прошла
успешно.

Из относительно понятного вижу только три строки:
debugedit: Cannot handle 8-byte build ID
getOutputFrom(): Broken pipe
Command exited with non-zero status 1

В скрипте не отрабатывает следующий кусок:
...
debugf=./usr/lib/debug$f.debug
...
id=$(debugedit -n -i "$debugf")
...

То есть на aarch64 debugedit отваливается в функции handle_build_id():
/* Compute a fresh build ID bit-string from the editted file contents.  */
...
Судя по всему для получившихся бинарей не поддерживается вычисление хеш-суммы:
  /* For now we only handle 16 byte (128 bits) with md5 or 20 bytes
     (160 bits) with sha1.  */
_________________________

Вопрос. Что с этим можно сделать?

_________________________

#330113 FAILING #1 [locked] sisyphus ghc.git=9.2.8-alt1

https://git.altlinux.org/tasks/330113/build/100/aarch64/log
...
[01:34:52] Requires(rpmlib): rpmlib(SetVersions)
[01:34:52] Requires(pre): haskell-filetrigger >= 0.0.5-alt3
[01:34:52] Requires(postun): haskell-filetrigger >= 0.0.5-alt3
[01:34:52] Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
[01:34:52] Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QXqo8S
[01:34:52] debugedit: Cannot handle 8-byte build ID
[01:34:52] getOutputFrom(): Broken pipe
[01:34:52] Command exited with non-zero status 1
[01:34:52] 31416.24user 1994.08system 1:34:46elapsed 587%CPU
(0avgtext+0avgdata 5536976maxresident)k
[01:34:52] 0inputs+0outputs (0major+361226973minor)pagefaults 0swaps
[01:34:52] hsh-rebuild: rebuild of `ghc9.2.8-9.2.8-alt1.src.rpm' failed.


-- 
Sin (Sinelnikov Evgeny)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-10-20  5:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-22 22:51 [devel] Проблема с debugedit при сборке ghc-9.2.8 на aarch64 Evgeny Sinelnikov
2023-09-23  8:26 ` Vitaly Chikunov
2023-09-23  9:36     ` Dmitry V. Levin
2023-09-23  9:44       ` Ilya Kurdyukov
2023-09-25 14:26         ` Evgeny Sinelnikov
2023-09-27 23:05         ` Arseny Maslennikov
2023-09-28  1:19           ` Ilya Kurdyukov
2023-10-19 22:40             ` Evgeny Sinelnikov
2023-10-20  5:28               ` Ivan A. Melnikov

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