ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Grigory Batalov <bga@altlinux.org>
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:56:02 +0300
Message-ID: <20090227125601.GA5286@imap.altlinux.org> (raw)
In-Reply-To: <20090227122205.GS31985@altlinux.org>

On Fri, Feb 27, 2009 at 03:22:06PM +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 libXpm нет. Вероятно, она
> > > там не используется, потому и сборка проходит удачно. Пойду ковырять
> > > исходники.
> > 
> > Логи сборки ещё можно сравнить, чтобы попробовать понять, почему в одном
> > месте -lXpm есть а в другом нет.

Там оказался хитроумный confgiure: он находит libXpm.so.x.y и делает
вывод, что библиотека есть, но код линкуется с libXpm.so, который у нас
в пакете -devel, а его нету. Про /usr/lib этот configure знает, а про
/usr/lib64 - нет.

Так что я просто добавил libXpm-devel в сборочные зависимости.

> И ещё один быстрый способ попытаться найти различие по 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


      reply	other threads:[~2009-02-27 12:56 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
2009-02-27 12:56           ` Grigory Batalov [this message]

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=20090227125601.GA5286@imap.altlinux.org \
    --to=bga@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