From: Igor Tertishny <ilar@altlinux.ru> To: devel@altlinux.ru Subject: [devel] Неясности в сборке пакетов Date: Thu, 17 Oct 2002 10:50:09 +0400 Message-ID: <200210171050.09253.ilar@altlinux.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 1552 bytes --] Прошу помощи. При сборке каждого второго пакета у меня происходят странные вещи. Например, собираю пакет ogle (при чем три дня назад он собирался!!! кое-чего не хватало, не стал выкладывать и имею проблему. И это не только с этим пакетом стало): + mkdir -p ./usr/lib/menu/ogle + cat /var/tmp/rpm-tmp.73410: line 69: ./usr/lib/menu/ogle: Is a directory + /usr/lib/rpm/find-lang ogle + /usr/lib/rpm/brp-alt Cleaning files in /var/tmp/ogle-buildroot (auto) Verifying and fixing files in /var/tmp/ogle-buildroot (binconfig,pkgconfig,libtool) /usr/lib/ogle/libmsgevents.la: dependency_libs: ' -lrt' --> '-lrt' /usr/lib/ogle/libdvdcontrol.la: dependency_libs: ' /usr/lib/ogle/libmsgevents.la -lrt' --> '/usr/lib/ogle/libmsgevents.la -lrt' Compressing files in /var/tmp/ogle-buildroot (auto) Verifying ELF objects in /var/tmp/ogle-buildroot (normal) ./usr/lib/ogle/ogle_vout: RPATH contains ":": /usr/lib/ogle:/usr/lib ./usr/lib/ogle/ogle_mpeg_ps: RPATH contains ":": /usr/lib/ogle:/usr/lib ./usr/lib/ogle/ogle_audio: RPATH contains ":": /usr/lib/ogle:/usr/lib ./usr/lib/ogle/ogle_nav: RPATH contains ":": /usr/lib/ogle:/usr/lib То есть, сбой происходит уже в режиме %post или %postun, где именно - выловить не смог. Уже отрабатывает %makeinstall, создается меню, отрабатывает %find_lang. Простите за беспокойство, но я четыре дня ищу причину и окончательно запутался. Перечитал все, что нашел - ни черта нету. Подскажите хоть в какую сторону рыть. Одна из пяти прог собирается. Где-то я что-то не так в спеках утворил, но что? Спек ogle прилагаю. [-- Attachment #2: ogle.spec --] [-- Type: text/plain, Size: 1951 bytes --] Name: ogle Version: 0.8.5 Release: alt1 Summary: To play a dvd you start ogle License: GPL Group: Video URL: http://www.dtek.chalmers.se/~dvd Source0: %name-%version.tar.gz Source1: ogle_gui-%version.tar.gz Requires: xvattr # Automatically added by buildreq on Mon Oct 14 2002 BuildRequires: XFree86-devel XFree86-libs glib-devel glibc-devel-static gtk+-devel liba52-devel libalsa2-devel libdvdread-devel libglade-devel libjpeg-devel libmad-devel libxml-devel libxml2-devel zlib-devel %description A simple player is included in the Ogle main package to start this do. 'ogle -u cli /dev/dvd' just 'ogle' will do to. where you can change /dev/dvd to point to your dvd reader or a directory containing the files of a dvd. (see ogle_gui examples below) %prep %setup -q -a1 %build ./configure \ --prefix=%_prefix \ --enable-shared \ --disable-rpath \ --disable-static \ --disable-debug %make_build cd ./ogle_gui-%version ./configure \ --prefix=%_prefix \ --enable-shared \ --disable-rpath \ --disable-static \ --disable-debug %make_build cd .. %install %make DESTDIR=%buildroot install cd ./ogle_gui-%version %make DESTDIR=%buildroot install cd .. mkdir $RPM_BUILD_ROOT/usr/share/icons cp $RPM_BUILD_ROOT/usr/share/ogle_gui/angle.xpm $RPM_BUILD_ROOT/usr/share/icons/ogle_gui.xpm #create menu (cd $RPM_BUILD_ROOT mkdir -p ./usr/lib/menu/%name cat > ./usr/lib/menu/%name <<EOF ?package(%name): \ command="/usr/bin/ogle" \ title="Ogle DVD Player" \ longtitle="Ogle DVD player" \ needs="x11" \ icon="%name.png" \ section="Multimedia/Video" EOF ) %find_lang %name %post %update_menus %postun %clean_menus %files -f %name.lang %doc COPYING NEWS README INSTALL ChangeLog %dir %_datadir/%name %_datadir/%name/* %_datadir/ogle_gui/* %_libdir/%name/* %_bindir/* %_includedir/* %_mandir/* %_menudir/* %_iconsdir/* %changelog * Mon Oct 14 2002 Yehuda Ben-Yosef <ilar@altlinux.ru> 0.8.5-alt1 - 0.8.5 - specfile cleanup
next reply other threads:[~2002-10-17 6:50 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-17 6:50 Igor Tertishny [this message] 2002-10-17 9:36 ` Nazar Yurpeak
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=200210171050.09253.ilar@altlinux.ru \ --to=ilar@altlinux.ru \ --cc=devel@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 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