Hi,
you're lucky I can't even build it.
You didn't posted all necessary informations. For example what exactly
did you run, what is the patch you are using, what is your Perl version, ...
Marcela
On 05/29/2012 03:29 PM, agraham wrote:
Hi Guys,
I need some help, I'm trying to build Audio-Ao rpm for Fedora 14 (and
up) for i686 arch. (http://search.cpan.org/dist/Audio-Ao/).
Audio::Ao seems to be the only way for perl to interface with libao,
which is why I need this.
It builds and works perfectly on x64, it builds but segfaults on i386 or
i686
dmesg shows:
perl[15948]: segfault at 1 ip 00418526 sp bf9e1664 error 4 in
libc-2.13.so[39b000+183000]
I've installed a new F14(i686) VM and done clean build with the same
results.
Any help would be very much appreciated.
Albert
My spec file (perl-Audio-Ao.spec):
Name: perl-Audio-Ao
Version: 0.01
Release: 1.Fedora
Summary: Audio::Ao - wrapper for the Ao audio library
License: GPLv2+
Group: Development/Libraries
URL: http://search.cpan.org/dist/Audio-Ao/
Source0:
http://search.cpan.org/CPAN/authors/id/D/DB/DBP/Audio-Ao-0.01.tar.gz
#BuildArch: noarch
Patch0: %{name}-fix.patch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Inline) >= 0.44
BuildRequires: perl-Parse-RecDescent
BuildRequires: libao-devel
Requires: perl(Inline)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`";
echo $version))
%{?perl_default_filter}
%description
Provides access to Libao, "a cross-platform library that allows
programs to output PCM audio data to the native audio devices on a
wide variety of platforms.". Libao currently supports OSS, ESD, ALSA,
Sun audio, and aRts.
%prep
%setup -q -n Audio-Ao-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
#%{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
#make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
#
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/Audio/Ao.pm
%dir %{perl_vendorarch}/auto/Audio/Ao
%{perl_vendorarch}/auto/Audio/Ao/Ao.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Audio/Ao/Ao.so
%{_mandir}/man3/*
#
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* Tue May 29 2012 me <me@xxxxxxxxxxx> - 0.01-1
-
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel
--
Marcela Mašláňová
BaseOS team Brno
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel