devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] Не собираются не-х86 архитектуры
Date: Sun, 5 Dec 2021 02:16:35 +0300
Message-ID: <20211204231635.GA1682@altlinux.org> (raw)
In-Reply-To: <sogm5s$dmi$1@ciao.gmane.io>

Hi,

On Sun, Dec 05, 2021 at 12:22:04AM +0300, Alexei V. Mezin wrote:
> Захотелось собрать xfishtank
> https://www.ratrabbit.nl/ratrabbit/software/xfishtank/index.html
> 
> Программа-то из 5 файлов по сути, Makefile и configure легко 
> пересоздаются autoreconf'ом, ничего в них экзотического не обнаружено. 
> Но я не программист, наверняка что-то упустил. В спеке все линейно
> 
> %prep
> %setup
> 
> %build
> %autoreconf
> %configure
> %make

А почему не %make_build?

> %install
> %makeinstall_std
> 
> При этом сборочница в task#291405 за 30 секунд собирает x86, а на все 
> другие архитектуры отваливается с одинаковым диагнозом
> 
> [i586] Verifying ELF objects in /usr/src/tmp/xfishtank-buildroot 
> (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> [i586] ldd: ERROR: ./usr/games/xfishtank: program interpreter 
> /lib64/ld-linux-x86-64.so.2 not found
> [i586] verify-elf: ERROR: ./usr/games/xfishtank: ldd failed
> 
> Откуда на всех архитектурах берется ld-linux-x86-64.so.2?

У вас в git-репозитории не только исходники, но и бинарники, собранные
пользователем по имени alexei на хосте по имени bigbear.localdomain,
которых в апстримном тарболле по адресу
https://www.ratrabbit.nl/downloads/xfishtank/xfishtank-3.0.0.tar.gz
конечно же нет совсем.  Никогда так не делайте.  Никогда не пакуйте
собранные вами бинарники под видом апстримных исходников.

В результате во время сборки пакета собственно сборки не было ни на одной
архитектуре, что мы все и увидели.


-- 
ldv


  parent reply	other threads:[~2021-12-04 23:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04 21:22 Alexei V. Mezin
2021-12-04 21:42 ` Grigory Ustinov
2021-12-04 23:16 ` Dmitry V. Levin [this message]
2021-12-05 10:18   ` Alexei Mezin

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=20211204231635.GA1682@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git