ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Проблема с debugedit при сборке ghc-9.2.8 на aarch64
Date: Sat, 23 Sep 2023 01:51:59 +0300
Message-ID: <CAK42-GqBesEeOouYZyVuPAZmP6nB=RfDpAx4s9hoHkN-AGrgGQ@mail.gmail.com> (raw)

Доброй ночи,

хочу обратиться за помощью с проблемой с 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)

             reply	other threads:[~2023-09-22 22:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-22 22:51 Evgeny Sinelnikov [this message]
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

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='CAK42-GqBesEeOouYZyVuPAZmP6nB=RfDpAx4s9hoHkN-AGrgGQ@mail.gmail.com' \
    --to=sin@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