ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Degtyaryov <maga@beltel.ru>
To: Sisyphus@altlinux.ru
Subject: [sisyphus] rpm build
Date: Tue, 16 Sep 2003 18:16:41 +0400
Message-ID: <3F671B49.8070607@beltel.ru> (raw)

Доброго дня.

От чего может возникать такая ошибка при сборке RPM?

При обычном %configure в spec'е:
/bin/sh ../libtool --silent --mode=link --tag=CXX i586-alt-linux-g++ 
  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef 
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -O2 -pipe -Wall -O2 -fexpensive-optimizations 
-march=athlon -fno-exceptions -fno-check-new    -o ktctool 
-L/usr/X11R6/lib -L/usr/lib/qt3//lib -L/usr/lib  -R /usr/lib -R 
/usr/lib/qt3//lib -R /usr/X11R6/lib ktctool_list.o ktctool_window.o 
ktctool_shaper.o ktctool_qdisc.o ktctool_functions.o 
ktctool_filter.o ktctool_delete.o ktctool.o main.o ktctool.moc.o 
-lkdeui -lkdecore -lqt-mt  -lpng -lz -lm -lXext -lX11 -lresolv -lSM 
-lICE -lpthread -lresolv
libtool: unrecognized option `--tag=CXX'
Try `libtool --help' for more information.
make[2]: *** [ktctool] Error 1
make[2]: Leaving directory `/home/maga/RPM/BUILD/ktctool-0.2/ktctool'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/maga/RPM/BUILD/ktctool-0.2'
make: *** [all] Error 2
ошибка: Неверный код возврата из /home/maga/tmp/rpm-tmp.66404 (%build)

При замене на ./configure собирается, но:
Verifying ELF objects in /home/maga/tmp/ktctool-buildroot (normal)
./usr/bin/ktctool: RPATH contains ":": 
/usr/lib:/usr/lib/qt3//lib:/usr/X11R6/lib
ошибка: Неверный код возврата из /home/maga/tmp/rpm-tmp.36703 (%install)

Собираю ktctool (Summary:  Ktctool is a graphical interface for 
network bandwidth management in Linux.), но встречал и на какой-то 
другой kde'шной программе.

-- 
Сергей Дегтярев



             reply	other threads:[~2003-09-16 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 14:16 Sergey Degtyaryov [this message]
2003-09-16 14:39 ` Aristarh

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=3F671B49.8070607@beltel.ru \
    --to=maga@beltel.ru \
    --cc=Sisyphus@altlinux.ru \
    /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