ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] FAILED srpm=texlive-common-0.1-alt1.src.rpm ...
Date: Fri, 27 Feb 2009 15:22:06 +0300
Message-ID: <20090227122205.GS31985@altlinux.org> (raw)
In-Reply-To: <20090227055810.GQ31985@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 2278 bytes --]

On Fri, Feb 27, 2009 at 08:58:10AM +0300, Alexey Tourbin wrote:
> On Fri, Feb 27, 2009 at 01:38:03AM +0300, Grigory Batalov wrote:
> > On Fri, Feb 27, 2009 at 01:18:22AM +0300, Alexey Tourbin wrote:
> > > > > i586-alt-linux-gcc -o .libs/xdvi-xaw browser.o dl_list.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o exit-handlers.o filehist.o font-open.o gf.o string_list.o hypertex.o image-magick.o main.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o -Wl,--allow-multiple-definition  ./gui/libgui.a ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a ../kpathsea/.libs/libkpathsea.so -L/usr/lib -lXaw -lXmu -lXt -lXpm -lX11 -lm
> > > > > /usr/bin/ld: cannot find -lXpm
> > > > > collect2: ld returned 1 exit status
> > > > 
> > > > Интересно, почему на x86_64 пакет texlive-bin собирается удачно,
> > > > а на i586 не хватает libXpm?
> > > 
> > > Значит, зависимости пакетов на x86_64 и i586 значительно отличаются. :(
> > > 
> > > Рецепт такой.  Надо взять список BuildReuqires и попробовать его
> > > раскрыть/установить на обеих архитектурах.
> > > 
> > > i586 hsh --no-stuff --initroot && i586 hsh-install $BuildRequires
> > > i586 hsh-run -- rpm -e --test libXpm-devel
> > > 
> > > аналогично
> > > 
> > > x86_64 hsh --no-stuff --initroot && x86_64 hsh-install $BuildRequires
> > > x86_64 hsh-run -- rpm -e --test libXpm-devel
> > > 
> > > Это должно показать, почему на одной архитектуре libXpm-devel
> > > вытягивается а на другой не вытягивается.
> > 
> > Спасибо за наводку. Оказывается, и в x86_64 libXpm нет. Вероятно, она
> > там не используется, потому и сборка проходит удачно. Пойду ковырять
> > исходники.
> 
> Логи сборки ещё можно сравнить, чтобы попробовать понять, почему в одном
> месте -lXpm есть а в другом нет.

И ещё один быстрый способ попытаться найти различие по libXpm --
это сравнить упомининя Xpm в сборочных чрутах.

i586 hsh --no-stuff --initroot && i586 hsh-install $BuildRequires
i586 hsh-run -- grep -r Xpm /usr

x86_64 hsh --no-stuff --initroot && x86_64 hsh-install $BuildRequires
x86_64 hsh-run -- grep -r Xpm /usr

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-02-27 12:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26 21:57 ` [devel] [#1662] " Grigory Batalov
2009-02-26 22:18   ` [devel] " Alexey Tourbin
2009-02-26 22:38     ` Grigory Batalov
2009-02-27  5:58       ` Alexey Tourbin
2009-02-27 12:22         ` Alexey Tourbin [this message]
2009-02-27 12:56           ` Grigory Batalov

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=20090227122205.GS31985@altlinux.org \
    --to=at@altlinux.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