ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: IA: eliminating TEXTRELocations
Date: Mon, 10 Nov 2003 20:09:45 +0200
Message-ID: <20031110180945.GK686@osdn.org.ua> (raw)
In-Reply-To: <20031110122104.GA20568@basalt.office.altlinux.org>


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

On Mon, Nov 10, 2003 at 03:21:05PM +0300, Dmitry V. Levin wrote:
> libalsa-0.9.8-alt1

Вот пробую собирать alt2 с приложенным спеком.

---
Verifying and fixing files in /usr/src/RPM/tmp/libalsa-buildroot (binconfig,pkgconfig,libtool)
/usr/lib/pkgconfig/alsa.pc: Libs: '-L${libdir} -lasound -lm -ldl -lpthread' --> '-lasound -lm -ldl -lpthread'
/usr/lib/libasound.la: dependency_libs: ' -lm -ldl -lpthread' --> '-lm -ldl -lpthread'
Compressing files in /usr/src/RPM/tmp/libalsa-buildroot (auto)
Verifying ELF objects in /usr/src/RPM/tmp/libalsa-buildroot (rpath=normal,textrel=normal)
verify-elf: ./usr/lib/libasound.so.2.0.0: TEXTREL entry found: 0x0
error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.75541 (%install)
---

%optflags_shared в наличии.  Что дальше? (точнее: кто-то может
поправить?)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #1.2: libalsa.spec --]
[-- Type: text/plain, Size: 4069 bytes --]

Name: libalsa
Version: 0.9.8
Release: alt1

Summary: Advanced Linux Sound Architecture (ALSA) library
License: GPL
Group: System/Libraries

%define srcname alsa-lib

Url: http://www.alsa-project.org
Source: ftp://ftp.alsa-project.org/pub/lib/%srcname-%version.tar.bz2

Obsoletes: libalsa2 < 0.9.4
Provides: libalsa2 = %version
BuildPreReq: alsa-driver-headers >= %version

# Automatically added by buildreq on Wed Oct 22 2003
BuildRequires: glibc-devel-static mawk

%add_optflags %optflags_shared

%package -n aserver
Summary: Sound server for alsa
License: GPL
Group: Sound
Requires: %name = %version-%release

%package devel
Summary: Development environment for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C

Requires: %name = %version-%release
Provides: libalsa2-devel = %version
Obsoletes: libalsa2-devel

%package devel-static
Summary: Static libraries for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C
Requires: %name-devel = %version-%release

%description -n aserver
Sound server for alsa

%description
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.

%description devel
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.

This is the development environment to compile ALSA applications.

%description devel-static
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.

This package contains static library to build statically linked ALSA applications.

%prep
%setup -q -n %srcname-%version

%build
%configure --enable-static
%make_build

%install
%__mkdir_p %buildroot{%_libdir,%_includedir/sys}
%makeinstall

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%_libdir/*.so.*
%dir %_datadir/alsa/
%_datadir/alsa/*

%files devel
%_libdir/*.so
%_libdir/*.la
%_libdir/pkgconfig/alsa.pc
%_includedir/sys/*
%dir %_includedir/alsa
%_includedir/alsa/*
%_datadir/aclocal/*

%files devel-static
%_libdir/*.a

%files -n aserver
%_bindir/aserver

%changelog
* Sat Nov 08 2003 Michael Shigorin <mike@altlinux.ru> 0.9.8-alt1
- added %optflags_shared

* Wed Oct 22 2003 Michael Shigorin <mike@altlinux.ru> 0.9.8-alt1
- 0.9.8

* Fri Sep 26 2003 Michael Shigorin <mike@altlinux.ru> 0.9.7-alt1
- 0.9.7

* Wed Jul 30 2003 Michael Shigorin <mike@altlinux.ru> 0.9.6-alt1
- 0.9.6

* Tue Jul 15 2003 Michael Shigorin <mike@altlinux.ru> 0.9.5-alt1
- 0.9.5

* Tue Jul 08 2003 Michael Shigorin <mike@altlinux.ru> 0.9.4-alt2
- fixed forcibly broken BuildRequires as kernel-source-alsa-std got fixed
  (alsa-driver-headers >= %%version)

* Mon Jun 23 2003 Michael Shigorin <mike@altlinux.ru> 0.9.4-alt1
- 0.9.4
- renamed to libalsa

* Wed Apr 02 2003 Michael Shigorin <mike@altlinux.ru> 0.9.2-alt0.1
- 0.9.2 (unofficial build)

* Tue Feb 04 2003 Rider <rider@altlinux.ru> 0.9.0rc7-alt1
- 0.9.0rc7

* Tue Nov 26 2002 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0rc6-alt1
- 0.9.0rc6
- REbuilt in new environment

* Mon Jun 10 2002 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0rc1-alt2
- Removed requires to virtual kernel alsa

* Fri Jun 07 2002 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0rc1-alt1
- 0.9.0rc1

* Thu Feb 28 2002 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta12-alt1
- 0.9.0beta12

* Wed Dec 26 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta10a-alt1
- 0.9.0beta10a

* Tue Nov 20 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta9-alt1
- 0.9.0beta9

* Fri Oct 12 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta8a-alt1
- 0.9.0beta8a
- Fixed requires
- Fixed filelists

* Fri Sep 21 2001 Konstantin Volckov <goldhead@altlinux.ru> 0.9.0beta7-alt1
- First build for Sisyphus

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

  reply	other threads:[~2003-11-10 18:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-08 15:57 [devel] " Dmitry V. Levin
2003-11-08 17:29 ` [devel] " Michael Shigorin
2003-11-10 12:21 ` [devel] " Dmitry V. Levin
2003-11-10 18:09   ` Michael Shigorin [this message]
2003-11-10 18:39     ` [devel] " Dmitry V. Levin
2003-11-12  9:14   ` Mikhail Zabaluev
2003-11-10 12:27 ` Alexey Tourbin
2003-11-12 15:50 ` [devel] " Vitaly Lugovsky
2003-11-12 15:07   ` Dmitry V. Levin
2003-11-12 16:18     ` Vitaly Lugovsky
2003-11-12 15:34       ` Dmitry V. Levin
2003-11-12 16:21       ` [devel] " Alexey Tourbin

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=20031110180945.GK686@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --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