Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2510 - perl-net-ssleay failed to build

Attached to Project: Arch Linux
Opened by Tomasz Bakiera (kog) - Wednesday, 06 April 2005, 09:57 GMT
Last edited by Dale Blount (dale) - Wednesday, 06 April 2005, 12:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Johnson (eric)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

in makepkg.conf flags are set:
export CFLAGS="-march=pentium3 -O2 -pipe"
export CXXFLAGS="-march=pentium3 -O2 -pipe"

I got LC_ALL=PL_pl

"Nie ma takiego pliku ani katalogu" - means "No such file or folder"
"nie można usunąć" - "can not delete"


Writing /var/abs/extra/lib/perl-net-ssleay/pkg/usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi/auto/Net/SSLeay/.packlist
Appending installation info to /var/abs/extra/lib/perl-net-ssleay/pkg/usr/lib/perl5/5.8.6/i686-linux-thread-multi/perllocal.pod
/bin/rm: nie można usunąć `/var/abs/extra/lib/perl-net-ssleay/pkg/usr/lib/perl5/current/pentium3-linux-thread-multi/perllocal.pod': Nie ma takiego pliku ani katalogu
/bin/rm: nie można usunąć `/var/abs/extra/lib/perl-net-ssleay/pkg/usr/lib/perl5/site_perl/current/pentium3-linux-thread-multi/auto/Net/SSLeay/.packlist': Nie ma takiego pliku ani katalogu
==> ERROR: Build Failed. Aborting...
Error: Failed to build "perl-net-ssleay"

This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 05 June 2005, 20:06 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Your CARCH is set to pentium3, which will practically break all perl packages.
Comment by Eric Johnson (eric) - Tuesday, 12 April 2005, 11:52 GMT
Edit the 'sed' line in the PKGBUILD and change '5.8.5' to '5.8.6' and see if that works.
Comment by Tomasz Bakiera (kog) - Tuesday, 12 April 2005, 13:14 GMT
It fails

last lines:

/var/abs/extra/lib/perl-net-ssleay/pkg/usr/lib/perl5/current/i686-linux-thread-multi/perllocal.pod
/bin/rm: nie można usunąć `/var/abs/extra/lib/perl-net-ssleay/pkg/usr/lib/perl5/current/pentium3-linux-thread-multi/perllocal.pod': Nie ma takiego pliku ani katalogu
/bin/rm: nie można usunąć `/var/abs/extra/lib/perl-net-ssleay/pkg/usr/lib/perl5/site_perl/current/pentium3-linux-thread-multi/auto/Net/SSLeay/.packlist': Nie ma takiego pliku ani katalogu
==> ERROR: Build Failed. Aborting...
Error: Failed to build "perl-net-ssleay"


My PKGBUILD:


# $Id: PKGBUILD,v 1.2 2004/09/06 12:37:54 eric Exp $
# Maintainer: eric <eric@archlinux.org>
# Contributor: Manolis Tzanidakis

pkgname=perl-net-ssleay
pkgver=1.25
pkgrel=1
pkgdesc="Perl Module: Extension for using OpenSSL."
url="http://search.cpan.org/~sampo/Net-SSLeay.pm-$pkgver"
depends=('perl>=5.8.4-1' 'openssl')
source=(http://www.cpan.org/authors/id/S/SA/SAMPO/Net_SSLeay.pm-$pkgver.tar.gz)
md5sums=('87de8a06802fbb63c7c85e89eedbe139')
replaces=('net-ssleay')
provides=('net-ssleay')

build() {
cd $startdir/src/Net_SSLeay.pm-$pkgver
/usr/bin/perl Makefile.PL
# ugly hack to make install location
# compatible with newer versions of perl.
# NOTE: if perl version changes from 5.8.6, change sed line too
/bin/sed -i "s:5.8.6:current:g" Makefile
/usr/bin/make || return 1
/usr/bin/make install DESTDIR=$startdir/pkg
/bin/rm $startdir/pkg/usr/lib/perl5/current/${CARCH}-linux-thread-multi/perllocal.pod
/bin/rm $startdir/pkg/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi/auto/Net/SSLeay/.packlist
}
# vim: ts=2 sw=2 et ft=sh
Comment by Eric Johnson (eric) - Tuesday, 12 April 2005, 13:37 GMT
Hmmm... Can you try it without the CFLAGS/LC_ALL settings and see if it works. When I changed 5.8.5 to 5.8.6, I was able to build it.
Comment by Tomasz Bakiera (kog) - Wednesday, 13 April 2005, 09:38 GMT
I compiled with locale:

[11:34][root@kog tomek]# locale
LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=POSIX

and my makepkg.conf is here:

http://kog.homelinux.net/archlinux/makepkg.conf


Still no luck :-(

Loading...