ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] Вылетает ldd p5
  @ 2009-12-22 20:25 ` Alexey Tourbin
  2009-12-22 21:33 ` Alexey Tourbin
  1 sibling, 0 replies; 2+ messages in thread
From: Alexey Tourbin @ 2009-12-22 20:25 UTC (permalink / raw)
  To: ALT Linux Community general discussions

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

On Tue, Dec 22, 2009 at 11:15:28PM +0300, Anton Vinogradov wrote:
> Доброго времени суток!
> После длительного перерыва решил вновь пересобрать psi-plus :)
> 
> Оно собралось но в пакет заворачиваться отказывается:
> 
> Verifying ELF objects in /usr/src/tmp/psi-plus-buildroot
> 
> (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
>     statically linked
> /usr/lib/rpm/ldd: line 77: 16496 Segmentation fault

При сборке используется CMake?

> https://bugzilla.altlinux.org/show_bug.cgi?id=11271
> 
> Вопрос, помимо баги, один: проблема точно в ldd?
> Хотя сегфолтится оно однозначно не должно.

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

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

* Re: [Comm] Вылетает ldd p5
    2009-12-22 20:25 ` [Comm] Вылетает ldd p5 Alexey Tourbin
@ 2009-12-22 21:33 ` Alexey Tourbin
  1 sibling, 0 replies; 2+ messages in thread
From: Alexey Tourbin @ 2009-12-22 21:33 UTC (permalink / raw)
  To: ALT Linux Community general discussions

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

On Tue, Dec 22, 2009 at 11:15:28PM +0300, Anton Vinogradov wrote:
> Доброго времени суток!
> После длительного перерыва решил вновь пересобрать psi-plus :)
> 
> Оно собралось но в пакет заворачиваться отказывается:
> 
> Verifying ELF objects in /usr/src/tmp/psi-plus-buildroot
> 
> (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
>     statically linked
> /usr/lib/rpm/ldd: line 77: 16496 Segmentation fault

psi.debug это не бинарик а неизвестно что.
Выкидыш западных ценностей.

src/Makefile:
        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
        (test -z "$(DESTDIR)" || cd "$(DESTDIR)" ; targ=`basename $(TARGET)`; objcopy --only-keep-debug "$$targ" "$$targ.debug" && objcopy --strip-debug "$$targ" && objcopy --add-gnu-debuglink="$$targ.debug" "$$targ" && chmod -x "$$targ.debug" ) ; rm -f ../psi ; ln -s src/psi ../psi

Если его убрать то соберётся.

--- psi-plus.spec       2009-12-16 22:27:23 +0300
+++ psi-plus.spec       2009-12-23 00:29:29 +0300
@@ -182,6 +182,8 @@
 popd
 rm -Rf %buildroot%_datadir/psi/{README,COPYING,certs}
 
+rm %buildroot%_bindir/psi.debug
+
 %files
 %doc README COPYING INSTALL TODO
 %attr(0755,root,root) %_bindir/psi

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

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

end of thread, other threads:[~2009-12-22 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-22 20:25 ` [Comm] Вылетает ldd p5 Alexey Tourbin
2009-12-22 21:33 ` Alexey Tourbin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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