ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>,
	Michael Shigorin <mike@osdn.org.ua>
Subject: Re: [sisyphus] thunderbird и seamonkey: дружба по soname'ам
Date: Tue, 13 Dec 2005 04:38:02 +0300
Message-ID: <439E25FA.1040906@altlinux.ru> (raw)
In-Reply-To: <439E05F7.7030407@nm.ru>

Artem пишет:
> # Add fake RPATH
> rpath="/$(printf %%s '%mozilla_home' |tr '[:print:]' '_')"
> export LDFLAGS="$LDFLAGS -Wl,-rpath,$rpath"
> 
> это в .spec от seamonkey содержится. или я опять неправильно понял? :-(
>

Если есть верхняя часть этого костыля, то нужно смотреть его ответную
часть в секции %install. Она там должна быть... что-то с chrpath.

Я не смог выкачать исходники этой морской макаки, но посмотрел на
бинарник и увидел ай-яй-яй:

[legion@legion seamonkey-1.0a]$ find -type f | while read f; do if
file "$f" |grep -qs "ELF"; then chrpath -l "$f"; fi  done | grep -v
/usr/lib/seamonkey| wc -l
82

[legion@legion seamonkey-1.0a]$ find -type f | while read f; do if
file "$f" |grep -qs "ELF"; then chrpath -l "$f"; fi  done | grep
/_______________________ |wc -l
72

2mike: У вас в продакшен системе есть такой каталог ? :)

Для сравнения:

[legion@legion firefox-1.5]$ find -type f | while read f; do if file
"$f" |grep -qs "ELF"; then chrpath -l "$f"; fi  done | grep -v
/usr/lib/firefox-1.5| wc -l
0

А дело в том, что в этой сбокре seamonkey ответная часть костыля
старая ... нужно вот так:

# Add real RPATH
rpath="/$(printf %%s '%firefox_prefix' |tr '[:print:]' '_')"
find "%buildroot/%firefox_prefix" -type f |
while read f; do
  %__file "$f" | grep -qs ELF || continue
  if chrpath -l "$f" | fgrep -qs "RPATH=$rpath"; then
    chrpath -r "%firefox_prefix" "$f"
  fi
done

Вот этот ай-яй-яй и пересекается с библиотеками thunderbird и
получается ой-ёй-ёй.

Кстати, спасибо вам за поднятую тему ... я нашёл багу в thunderbird.

-- 
Rgrds, legion


  reply	other threads:[~2005-12-13  1:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-09 17:01 [sisyphus] thunderbird и seamonkey: вражда продолжается Artem
2005-12-09 19:26 ` [sisyphus] " Michael Shigorin
2005-12-09 19:54   ` Artem
2005-12-09 19:59     ` Michael Shigorin
2005-12-09 22:26     ` Alexei V. Mezin
2005-12-10 10:32       ` Artem
2005-12-10 21:39         ` Arioch
2005-12-09 21:46 ` [JT] sim-im (was: Re: [sisyphus] thunderbirdи seamonkey: вражда продолжается) Igor Zubkov
2005-12-11 11:02 ` [sisyphus] thunderbird и seamonkey: вражда продолжается Alexey Gladkov
2005-12-11 21:24   ` Artem
2005-12-12  1:15     ` [sisyphus] thunderbird и seamonkey: дружба по soname'ам Alexey Gladkov
2005-12-12 17:45       ` Artem
2005-12-12 18:41         ` Alexey Gladkov
2005-12-12 18:44           ` Artem
2005-12-12 19:23             ` Alexey Gladkov
2005-12-12 21:41               ` Michael Shigorin
2005-12-12 23:21               ` Artem
2005-12-13  1:38                 ` Alexey Gladkov [this message]
2005-12-13  6:53                   ` Michael Shigorin
2005-12-15 21:10                   ` Mikhail Zabaluev

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=439E25FA.1040906@altlinux.ru \
    --to=legion@altlinux.ru \
    --cc=mike@osdn.org.ua \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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