ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] verify-elf: ERROR
@ 2009-09-28 17:10 kostya.hm
  2009-09-29  7:44 ` REAL
  2009-09-29  7:50 ` Andrey Rahmatullin
  0 siblings, 2 replies; 8+ messages in thread
From: kostya.hm @ 2009-09-28 17:10 UTC (permalink / raw)
  To: sisyphus

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

Пытаюсь собрать dekorator 0.4.4(он под kde4, dekorator 0.3 для kde3).

Verifying ELF objects in 
/home/kostya_hm/tmp/kde4-windeco-dekorator-buildroot 
(arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: ERROR: ./usr/lib/kde4/kwin_deKorator_config.so: RPATH ends 
with ":": /usr/lib/kde4/devel:::::::::
verify-elf: ERROR: ./usr/lib/kde4/kwin_deKorator_config.so: RPATH 
contains "::": /usr/lib/kde4/devel:::::::::
verify-elf: ERROR: ./usr/lib/kwin3_deKorator.so: RPATH ends with ":": 
/usr/lib/kde4/devel:::::::::
verify-elf: ERROR: ./usr/lib/kwin3_deKorator.so: RPATH contains "::": 
/usr/lib/kde4/devel:::::::::
ошибка: Неверный код возврата из /home/kostya_hm/tmp/rpm-tmp.17453 
(%install)

Прочитал http://www.altlinux.org/ProblemWithVerifyELFAndRPATH , но 
проблему решить не смог. Найти, где изменяется rpath тоже. Пробовал 
%set_verify_elf_method textrel=relaxed rpath=relaxed  -тоже не помогло. 
Спек прилагаю
                                                                         
                     С уважением ALtNovice


[-- Attachment #2: kde4-windeco-dekorator1.spec --]
[-- Type: text/plain, Size: 1641 bytes --]

Name:           kde4-windeco-dekorator
Group:          Graphics
Summary:        Themable and Customizable Window Decoration Engine for KDE 4
License:        GPL v2 or later
Url:            http://www.kde-look.org/content/show.php?content=87921
Version:        0.4.0.4
Release:        alt0.1
Source0:        87921-dekorator-%{version}.tar.bz2
BuildRequires:  cmake gcc-c++
BuildRequires:  kde4base-workspace-devel libqimageblitz-devel kde4libs-devel


%description
Неофициальный порт на kde4

Автор:
--------
    Moty Rahamim <moty.rahamim@gmail.com>

%description -l ru.UTF-8
Неофициальный порт на kde4

Автор:
--------
    Moty Rahamim <moty.rahamim@gmail.com>


%prep
%setup -q -n dekorator-%version

%build
cmake \
-DCMAKE_INSTALL_PREFIX=%_prefix \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags" \
-DLIB_DIR:STRING=%_lib



%install
rm -rf %{buildroot}
%make DESTDIR=%buildroot install
%__mkdir -p %buildroot%_datadir/
%__mkdir -p %buildroot%_libdir/

%__install -Dp -m 0644 client/config/deKoratorthemes.knsrc %buildroot%_datadir/kde4/config/deKoratorthemes.knsrc
%__install -Dp -m 0644 lib/kwin3_deKorator.so %buildroot%_libdir/kwin3_deKorator.so
%__install -Dp -m 0644 lib/kwin_deKorator_config.so %buildroot%_libdir/kde4/kwin_deKorator_config.so
%__install -Dp -m 0644 client/deKorator.desktop %buildroot%_desktopdir/kde4/deKorator.desktop
%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%_desktopdir/*
%_libdir/kde4/kwin3_deKorator.so
%_libdir/kde4/kwin_deKorator_config.so
%_datadir/kde4/config/deKoratorthemes.knsrc


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

* Re: [sisyphus] verify-elf: ERROR
  2009-09-28 17:10 [sisyphus] verify-elf: ERROR kostya.hm
@ 2009-09-29  7:44 ` REAL
  2009-09-29  7:50 ` Andrey Rahmatullin
  1 sibling, 0 replies; 8+ messages in thread
From: REAL @ 2009-09-29  7:44 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

kostya.hm пишет:
> Пытаюсь собрать dekorator 0.4.4(он под kde4, dekorator 0.3 для kde3).
> 
> verify-elf: ERROR: ./usr/lib/kde4/kwin_deKorator_config.so: RPATH ends 
> with ":": /usr/lib/kde4/devel:::::::::
> 
> Прочитал http://www.altlinux.org/ProblemWithVerifyELFAndRPATH , но 
> проблему решить не смог. Найти, где изменяется rpath тоже. Пробовал 
> %set_verify_elf_method textrel=relaxed rpath=relaxed  -тоже не помогло. 

Отключать такую проверку нежелательно, если есть способ обойти. 
Правда, я не знаю случаев, когда такого способа нет.

Самый простой способ исправить положение - использовать chrpath (из 
одноимённого пакета).

chrpath -r new_rpath файл

В new_rpath добавляете список (разделитель - двоеточие) нужных 
каталогов (исключая %_libdir, его нет смысла), и он заменяет тот, что 
уже есть. Правда, результирующий список должен быть не длиннее того, 
что есть в наличии.

Ну а непростой способ - это уже зарываться в сами исходники и искать, 
что там где накорёжено :) (обычно где-то в районе Makefile* или 
configure*).

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ


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

* Re: [sisyphus] verify-elf: ERROR
  2009-09-28 17:10 [sisyphus] verify-elf: ERROR kostya.hm
  2009-09-29  7:44 ` REAL
@ 2009-09-29  7:50 ` Andrey Rahmatullin
  2009-09-29 12:45   ` kostya.hm
  1 sibling, 1 reply; 8+ messages in thread
From: Andrey Rahmatullin @ 2009-09-29  7:50 UTC (permalink / raw)
  To: sisyphus


[-- Attachment #1.1: Type: text/plain, Size: 1221 bytes --]

On Mon, Sep 28, 2009 at 05:10:44PM +0000, kostya.hm wrote:
> Verifying ELF objects in 
> /home/kostya_hm/tmp/kde4-windeco-dekorator-buildroot 
> (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> verify-elf: ERROR: ./usr/lib/kde4/kwin_deKorator_config.so: RPATH ends 
> with ":": /usr/lib/kde4/devel:::::::::
> verify-elf: ERROR: ./usr/lib/kde4/kwin_deKorator_config.so: RPATH 
> contains "::": /usr/lib/kde4/devel:::::::::
> verify-elf: ERROR: ./usr/lib/kwin3_deKorator.so: RPATH ends with ":": 
> /usr/lib/kde4/devel:::::::::
> verify-elf: ERROR: ./usr/lib/kwin3_deKorator.so: RPATH contains "::": 
> /usr/lib/kde4/devel:::::::::
> ошибка: Неверный код возврата из /home/kostya_hm/tmp/rpm-tmp.17453 
> (%install)
Тут достаточно было применить правильные макросы (в которых уже есть
-DCMAKE_SKIP_RPATH:BOOL=yes).

> Спек прилагаю
Правильный спек прилагаю.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

А благодаря механизму, на основе которого работает vserver (по сути это
jail на стероидах, а никакая не полноценная виртуализация) этот механизм
для своей реализации требует минимальное количество ресурсов.
		-- mithraen in devel@

[-- Attachment #1.2: kde4-styles-windeco-dekorator.spec --]
[-- Type: text/plain, Size: 681 bytes --]

Name: kde4-styles-windeco-dekorator
Version: 0.4.0.4
Release: alt0.1

Summary: Themable and Customizable Window Decoration Engine for KDE 4
License: GPLv2+
Group: Graphical desktop/KDE

Url: http://www.kde-look.org/content/show.php?content=87921

Source: 87921-dekorator-%version.tar.bz2

BuildPreReq: cmake gcc-c++
BuildPreReq: kde4base-workspace-devel libqimageblitz-devel kde4libs-devel

%description
An unofficial port of the famous "deKorator" window decoration engine to KDE 4

%prep
%setup -n dekorator-%version

%build
%K4build

%install
%K4install

%files
%_K4lib/*.so
%_K4apps/kwin/*.desktop
%_K4conf/deKoratorthemes.knsrc
%doc AUTHORS ChangeLog README TODO themesStuff/

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

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

* Re: [sisyphus] verify-elf: ERROR
  2009-09-29 12:45   ` kostya.hm
@ 2009-09-29  8:52     ` Andrey Rahmatullin
  2009-09-29 10:43       ` Dmitry V. Levin
  2009-09-29 12:58       ` kostya.hm
  2009-09-29 11:02     ` Max Ivanov
  1 sibling, 2 replies; 8+ messages in thread
From: Andrey Rahmatullin @ 2009-09-29  8:52 UTC (permalink / raw)
  To: sisyphus

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

On Tue, Sep 29, 2009 at 12:45:31PM +0000, kostya.hm wrote:
> А где можно найти полный список макросов и их описание?
Нигде.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):

> Берём последний официально поддерживаемый дистрибутив, то есть
> Master-2.4, из коробки устанавливаем его каким-то произвольным
> образом [...]
Не надо устанавливать произвольным образом.
		-- ldv in community@

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

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

* Re: [sisyphus] verify-elf: ERROR
  2009-09-29  8:52     ` Andrey Rahmatullin
@ 2009-09-29 10:43       ` Dmitry V. Levin
  2009-09-29 12:58       ` kostya.hm
  1 sibling, 0 replies; 8+ messages in thread
From: Dmitry V. Levin @ 2009-09-29 10:43 UTC (permalink / raw)
  To: ALT Linux Sisyphus mailing list

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

On Tue, Sep 29, 2009 at 02:52:19PM +0600, Andrey Rahmatullin wrote:
> On Tue, Sep 29, 2009 at 12:45:31PM +0000, kostya.hm wrote:
> > А где можно найти полный список макросов и их описание?
> Нигде.

Полный список макросов и их описание -- это примерно как полный список
shell-переменных и их описание: какие-то вы найдёте в bash(1), конечно,
но ничто не помешает кому-нибудь привнести что-нибудь своё.  Так и здесь,
каждый пакет вида rpm-build-* может привнести пачку недокументированных
макросов.


-- 
ldv

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

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

* Re: [sisyphus] verify-elf: ERROR
  2009-09-29 12:45   ` kostya.hm
  2009-09-29  8:52     ` Andrey Rahmatullin
@ 2009-09-29 11:02     ` Max Ivanov
  1 sibling, 0 replies; 8+ messages in thread
From: Max Ivanov @ 2009-09-29 11:02 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

> А где можно найти полный список макросов и их описание?

Поставить rpm-build-*  и потом rpm --showrc , на документацию мало
похоже, но ознакомиться можно.

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

* Re: [sisyphus] verify-elf: ERROR
  2009-09-29  7:50 ` Andrey Rahmatullin
@ 2009-09-29 12:45   ` kostya.hm
  2009-09-29  8:52     ` Andrey Rahmatullin
  2009-09-29 11:02     ` Max Ivanov
  0 siblings, 2 replies; 8+ messages in thread
From: kostya.hm @ 2009-09-29 12:45 UTC (permalink / raw)
  To: sisyphus

29.09.2009 07:50, Andrey Rahmatullin пишет:
> On Mon, Sep 28, 2009 at 05:10:44PM +0000, kostya.hm wrote:
>    
> Тут достаточно было применить правильные макросы (в которых уже есть
> -DCMAKE_SKIP_RPATH:BOOL=yes)
А где можно найти полный список макросов и их описание?


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

* Re: [sisyphus] verify-elf: ERROR
  2009-09-29  8:52     ` Andrey Rahmatullin
  2009-09-29 10:43       ` Dmitry V. Levin
@ 2009-09-29 12:58       ` kostya.hm
  1 sibling, 0 replies; 8+ messages in thread
From: kostya.hm @ 2009-09-29 12:58 UTC (permalink / raw)
  To: sisyphus

29.09.2009 08:52, Andrey Rahmatullin пишет:
> On Tue, Sep 29, 2009 at 12:45:31PM +0000, kostya.hm wrote:
>    
>> А где можно найти полный список макросов и их описание?
>>      
> Нигде.
>    
Тогда спасибо за спек. Собрал. Буду смотреть, как работает


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

end of thread, other threads:[~2009-09-29 12:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-28 17:10 [sisyphus] verify-elf: ERROR kostya.hm
2009-09-29  7:44 ` REAL
2009-09-29  7:50 ` Andrey Rahmatullin
2009-09-29 12:45   ` kostya.hm
2009-09-29  8:52     ` Andrey Rahmatullin
2009-09-29 10:43       ` Dmitry V. Levin
2009-09-29 12:58       ` kostya.hm
2009-09-29 11:02     ` Max Ivanov

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