ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Вылетает ldd p5
Date: Wed, 23 Dec 2009 00:33:27 +0300
Message-ID: <20091222213327.GV9864@altlinux.org> (raw)
In-Reply-To: <c34e520d0912221215v42dca4c1wbf6442bba3de1a4f@mail.gmail.com>

[-- 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 --]

      parent reply	other threads:[~2009-12-22 21:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 20:25 ` Alexey Tourbin
2009-12-22 21:33 ` Alexey Tourbin [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=20091222213327.GV9864@altlinux.org \
    --to=at@altlinux.ru \
    --cc=community@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 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