ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] linscope-0.3.2-alt3: Sisyphus/x86_64 test rebuild failed [4]
  @ 2010-03-15  8:59 ` Vladimir V. Kamarzin
  2010-03-15 21:32   ` Alexey Tourbin
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir V. Kamarzin @ 2010-03-15  8:59 UTC (permalink / raw)
  To: devel

>>>>> On 15 Mar 2010 at 13:41 "Ab" == ALT beekeeper writes:

Ab> g++ -c -pipe -Wall -W -pipe -Wall -Os -DGLX_GLXEXT_LEGACY -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib64/qt3/mkspecs/default -I. -I. -I/usr/lib64/qt3//include -o iplistviewitem.o ../iplistviewitem/iplistviewitem.cpp
Ab> /usr/lib64/qt3//bin/uic form1.ui -i form1.h -o form1.cpp
Ab> /usr/lib64/qt3//bin/uic: symbol lookup error: /usr/lib64/libkdecore.so.4: undefined symbol: _ZN7KGlobal20deleteStaticDeletersEv
Ab> make: *** [form1.cpp] Error 127
Ab> make: Leaving directory `/usr/src/RPM/BUILD/Linscope/linscope'
Ab> error: Bad exit status from /usr/src/tmp/rpm-tmp.45152 (%build)

Есть идеи, почему такое происходит?

[builder@vvk linscope]$ nm -D /usr/lib/libkdecore.so.4 |grep _ZN7KGlobal20deleteStaticDeletersEv
0008b504 T _ZN7KGlobal20deleteStaticDeletersEv


Ab> RPM build errors:
Ab>     Bad exit status from /usr/src/tmp/rpm-tmp.45152 (%build)
Ab> Command exited with non-zero status 1
Ab> 5.07user 0.52system 0:05.65elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
Ab> 0inputs+0outputs (0major+82608minor)pagefaults 0swaps
Ab> hsh-rebuild: rebuild of `linscope-0.3.2-alt3.src.rpm' failed.
Ab> Command exited with non-zero status 1

-- 
vvk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] linscope-0.3.2-alt3: Sisyphus/x86_64 test rebuild failed [4]
  2010-03-15  8:59 ` [devel] linscope-0.3.2-alt3: Sisyphus/x86_64 test rebuild failed [4] Vladimir V. Kamarzin
@ 2010-03-15 21:32   ` Alexey Tourbin
  2010-03-16  6:33     ` Vladimir V. Kamarzin
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Tourbin @ 2010-03-15 21:32 UTC (permalink / raw)
  To: devel

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

On Mon, Mar 15, 2010 at 01:59:07PM +0500, Vladimir V. Kamarzin wrote:
> >>>>> On 15 Mar 2010 at 13:41 "Ab" == ALT beekeeper writes:
> 
> Ab> g++ -c -pipe -Wall -W -pipe -Wall -Os -DGLX_GLXEXT_LEGACY -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib64/qt3/mkspecs/default -I. -I. -I/usr/lib64/qt3//include -o iplistviewitem.o ../iplistviewitem/iplistviewitem.cpp
> Ab> /usr/lib64/qt3//bin/uic form1.ui -i form1.h -o form1.cpp
> Ab> /usr/lib64/qt3//bin/uic: symbol lookup error: /usr/lib64/libkdecore.so.4: undefined symbol: _ZN7KGlobal20deleteStaticDeletersEv
> Ab> make: *** [form1.cpp] Error 127
> Ab> make: Leaving directory `/usr/src/RPM/BUILD/Linscope/linscope'
> Ab> error: Bad exit status from /usr/src/tmp/rpm-tmp.45152 (%build)
> 
> Есть идеи, почему такое происходит?
> 
> [builder@vvk linscope]$ nm -D /usr/lib/libkdecore.so.4 |grep _ZN7KGlobal20deleteStaticDeletersEv
> 0008b504 T _ZN7KGlobal20deleteStaticDeletersEv

Дело темное.

[builder@people linscope]$ /usr/lib64/qt3//bin/uic form1.ui -i form1.h -o form1.cpp 
/usr/lib64/qt3//bin/uic: symbol lookup error: /usr/lib64/libkdecore.so.4: undefined symbol: _ZN7KGlobal20deleteStaticDeletersEv
[builder@people linscope]$ 

Прежде всего, /usr/lib64/qt3//bin/uic не слинкован и не загружает
/usr/lib64/libkdecore.so.4.

[builder@people linscope]$ ldd -r /usr/lib64/qt3//bin/uic |grep libkdecore
[builder@people linscope]$

Скорее всего, libkdecore подцепляется через
/usr/lib64/kde3/plugins/designer/kdewidgets.so.

Далее, не понятно, откуда вызывается
_ZN7KGlobal20deleteStaticDeletersEv.
По базе символов подходящих пакетов не видно.

[at@people perl-qa-rpmelfsym]$ ./perl rpmelfsym.pl /ALT/Sisyphus/files/x86_64/RPMS/ |grep _ZN7KGlobal20deleteStaticDeletersEv
kdelibs-3.5.10-alt12.x86_64.rpm /usr/lib64/libkdecore.so.4.2.0  T       _ZN7KGlobal20deleteStaticDeletersEv
python-module-PyKDE-3.16.3-alt1.1.x86_64.rpm    /usr/lib64/python2.6/site-packages/kdecore.so   U       _ZN7KGlobal20deleteStaticDeletersEv
ruby-korundum-3.5.10-alt3.x86_64.rpm    /usr/lib64/libsmokekde.so.1.2.2 U       _ZN7KGlobal20deleteStaticDeletersEv
[at@people perl-qa-rpmelfsym]$ 

То есть либо кто-то вызывает его через dlsym, либо происходит вызов из
самой библиотеки.

Видимо проблема возникает на стадии завершения работы, поскольку файл
form1.cpp создается нормально.  С опцией -nounload (Don't unload plugins
after processing) uic работает нормально.

[builder@people linscope]$ /usr/lib64/qt3//bin/uic -nounload form1.ui -i form1.h -o form1.cpp
[builder@people linscope]$ /usr/lib64/qt3//bin/uic form1.ui -i form1.h -o form1.cpp
/usr/lib64/qt3//bin/uic: symbol lookup error: /usr/lib64/libkdecore.so.4: undefined symbol: _ZN7KGlobal20deleteStaticDeletersEv
[builder@people linscope]$ 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] linscope-0.3.2-alt3: Sisyphus/x86_64 test rebuild failed [4]
  2010-03-15 21:32   ` Alexey Tourbin
@ 2010-03-16  6:33     ` Vladimir V. Kamarzin
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir V. Kamarzin @ 2010-03-16  6:33 UTC (permalink / raw)
  To: devel

>>>>> On 16 Mar 2010 at 02:32 "AT" == Alexey Tourbin writes:

AT> [at@people perl-qa-rpmelfsym]$ ./perl rpmelfsym.pl /ALT/Sisyphus/files/x86_64/RPMS/ |grep _ZN7KGlobal20deleteStaticDeletersEv
AT> kdelibs-3.5.10-alt12.x86_64.rpm /usr/lib64/libkdecore.so.4.2.0  T       _ZN7KGlobal20deleteStaticDeletersEv
AT> python-module-PyKDE-3.16.3-alt1.1.x86_64.rpm    /usr/lib64/python2.6/site-packages/kdecore.so   U       _ZN7KGlobal20deleteStaticDeletersEv
AT> ruby-korundum-3.5.10-alt3.x86_64.rpm    /usr/lib64/libsmokekde.so.1.2.2 U       _ZN7KGlobal20deleteStaticDeletersEv
AT> [at@people perl-qa-rpmelfsym]$ 

AT> То есть либо кто-то вызывает его через dlsym, либо происходит вызов из
AT> самой библиотеки.

AT> Видимо проблема возникает на стадии завершения работы, поскольку файл
AT> form1.cpp создается нормально.  С опцией -nounload (Don't unload plugins
AT> after processing) uic работает нормально.

Спасибо, так и сделаю.

-- 
vvk


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-16  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15  8:59 ` [devel] linscope-0.3.2-alt3: Sisyphus/x86_64 test rebuild failed [4] Vladimir V. Kamarzin
2010-03-15 21:32   ` Alexey Tourbin
2010-03-16  6:33     ` Vladimir V. Kamarzin

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