Skip Menu |

This queue is for tickets about the AFS CPAN distribution.

Report information
The Basics
Id: 50168
Status: resolved
Priority: 0/
Queue: AFS

People
Owner: NOG [...] cpan.org
Requestors: jan.wenzel [...] gonicus.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.6.1



Subject: Build Problem on amd64
Date: Fri, 02 Oct 2009 16:21:50 +0200
To: bug-AFS [...] rt.cpan.org
From: Jan Wenzel <jan.wenzel [...] gonicus.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to build this module on a Debian GNU/Linux Lenny System, with upstream openafs packages: Perl v5.10.0 built for x86_64-linux-gnu-thread-multi libopenafs-dev 1.4.7.dfsg1-6+lenny2 The Build stops with: === cc -shared -O2 -g -L/usr/local/lib AFS.o -o ../blib/arch/auto/AFS/AFS.so \ -L/usr/lib -L/usr/lib/afs -lbos -lvolser -lvldb -lafsrpc - -lafsauthent -lcmd -lusd -laudit /usr/lib/afs/util.a /usr/lib/libafsrpc.a /usr/lib/libafsauthent.a -lresolv \ /usr/bin/ld: /usr/lib/libafsrpc.a(rx.o): relocation R_X86_64_32 against `rx_services' can not be used when making a shared object; recompile with -fPIC /usr/lib/libafsrpc.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [../blib/arch/auto/AFS/AFS.so] Error 1 make[1]: Leaving directory `/root/build/libafs-perl-2.6.1/src' make: *** [subdirs] Error 2 === I've tried to rebuild libafsrpc.a with PIC, but these guys use ranlib which does something that i do not understand yet... Is my problem openafs related and should i ask these guys or do you have an idea how to fix this problem? Greetings Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrGDHsACgkQzaoFHMzBsBreoACeNYapy3SfzMR2pdxU3pi55t7/ CAEAnjSFNKtXoiqChCbIlfNRKCLWco+m =53BV -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #50168] Build Problem on amd64
Date: Thu, 15 Oct 2009 11:51:51 +0200
To: Jan Wenzel via RT <bug-AFS [...] rt.cpan.org>
From: Norbert Gruener <nog [...] MPA-Garching.MPG.DE>
Hi Jan, On Fri, Oct 02 2009, Jan Wenzel via RT wrote: Show quoted text
> Fri Oct 02 10:22:29 2009: Request 50168 was acted upon. > Transaction: Ticket created by jan.wenzel@gonicus.de > Queue: AFS > Subject: Build Problem on amd64 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: jan.wenzel@gonicus.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=50168 > > > > Hi, > > I'm trying to build this module on a Debian GNU/Linux Lenny System, with > upstream openafs packages: > > Perl v5.10.0 built for x86_64-linux-gnu-thread-multi > libopenafs-dev 1.4.7.dfsg1-6+lenny2
did you not get an error while running "perl Makefile.PL"? You should have gotten the following error message AFS modules (Threaded Perl) on AMD Opteron platforms are currently not supported ... So far the AFSperl modules are not supported on 64bit machines. Cheers, Norbert -- Ceterum censeo | PGP encrypted mail preferred. Redmond esse delendam. | PGP Key at www.MPA-Garching.MPG.de/~nog/
Subject: Re: [rt.cpan.org #50168] Build Problem on amd64
Date: Thu, 15 Oct 2009 13:24:50 +0200
To: bug-AFS [...] rt.cpan.org
From: Jan Wenzel <jan.wenzel [...] gonicus.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 nog@mpa-garching.mpg.de via RT schrieb: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=50168 > > > Hi Jan, > > On Fri, Oct 02 2009, Jan Wenzel via RT wrote:
>> Fri Oct 02 10:22:29 2009: Request 50168 was acted upon. >> Transaction: Ticket created by jan.wenzel@gonicus.de >> Queue: AFS >> Subject: Build Problem on amd64 >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: jan.wenzel@gonicus.de >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=50168 > >> >> >> Hi, >> >> I'm trying to build this module on a Debian GNU/Linux Lenny System, with >> upstream openafs packages: >> >> Perl v5.10.0 built for x86_64-linux-gnu-thread-multi >> libopenafs-dev 1.4.7.dfsg1-6+lenny2
> > did you not get an error while running "perl Makefile.PL"? > > You should have gotten the following error message > > AFS modules (Threaded Perl) on AMD Opteron platforms are currently not supported ... > > So far the AFSperl modules are not supported on 64bit machines. > > Cheers, > > Norbert
Hi, I get the following: ==== root@gosa-devel:~/build/libafs-perl-2.6.1# perl Makefile.PL Path to the AFS installation (libraries, binaries, header files) to be used for this installation? [/usr] AFS Version = openafs 1.4.7 Your AFS system libraries are located at: /usr their major version is: OpenAFS 1.4 and their type is: "pthreaded" Your AFS system type seems to be: unknown Writing Makefile for AFS::ACL Writing Makefile for AFS::BOS Writing Makefile for AFS::CM Writing Makefile for AFS::Cell Writing Makefile for AFS::FS Writing Makefile for AFS::KAS Writing Makefile for AFS::KTC_EKEY Writing Makefile for AFS::KTC_PRINCIPAL Writing Makefile for AFS::KTC_TOKEN Writing Makefile for AFS::PTS Writing Makefile for AFS::Utils Writing Makefile for AFS::VLDB Writing Makefile for AFS::VOS Writing Makefile for AFS Writing Makefile for AFS root@host:~/build/libafs-perl-2.6.1# ==== The CPU(s): ==== cat /proc/cpuinfo [snipped] processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz stepping : 11 cpu MHz : 2327.498 cache size : 4096 KB physical id : 0 siblings : 4 core id : 3 cpu cores : 4 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm bogomips : 4655.08 clflush size : 64 cache_alignment : 64 address sizes : 38 bits physical, 48 bits virtual power management: ===== Linux host 2.6.26-2-amd64 #1 SMP Wed Aug 19 22:33:18 UTC 2009 x86_64 GNU/Linux Greetings Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrXBn8ACgkQzaoFHMzBsBr7ZQCdE8/8wjme4bciMX+8IGXbsA0P Q3AAn2F1TCM08XC2UE8DkNidpILuGQ7o =obIG -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #50168] Build Problem on amd64
Date: Thu, 15 Oct 2009 15:11:10 +0200
To: Jan Wenzel via RT <bug-AFS [...] rt.cpan.org>
From: Norbert Gruener <nog [...] MPA-Garching.MPG.DE>
Hi Jan, On Thu, Oct 15 2009, Jan Wenzel via RT wrote: Show quoted text
> > nog@mpa-garching.mpg.de via RT schrieb:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=50168 > > > > > Hi Jan, > > > > On Fri, Oct 02 2009, Jan Wenzel via RT wrote:
> >> > >> I'm trying to build this module on a Debian GNU/Linux Lenny System, with > >> upstream openafs packages: > >> > >> Perl v5.10.0 built for x86_64-linux-gnu-thread-multi > >> libopenafs-dev 1.4.7.dfsg1-6+lenny2
> > > > did you not get an error while running "perl Makefile.PL"? > > > > You should have gotten the following error message > > > > AFS modules (Threaded Perl) on AMD Opteron platforms are currently not supported ... > > > > So far the AFSperl modules are not supported on 64bit machines. > >
> > I get the following: > ==== > root@gosa-devel:~/build/libafs-perl-2.6.1# perl Makefile.PL > > Path to the AFS installation (libraries, binaries, > header files) to be used for this installation? [/usr] > AFS Version = openafs 1.4.7 > Your AFS system libraries are located at: /usr > their major version is: OpenAFS 1.4 > and their type is: "pthreaded" > Your AFS system type seems to be: unknown
^^^^^^^ This should not have happened :-(( But it explains why the Makefile has been created. Sorry about that. I will have to fix the Makefile.PL As I mentioned before, at the moment there is no 64bit version available. This is on my TODO list with very high priority. Cheers, Norbert --
Subject: Re: [rt.cpan.org #50168] Build Problem on amd64
Date: Thu, 15 Oct 2009 15:18:37 +0200
To: Jan Wenzel via RT <bug-AFS [...] rt.cpan.org>
From: Norbert Gruener <nog [...] MPA-Garching.MPG.DE>
Hi Jan, On Thu, Oct 15 2009, nog@mpa-garching.mpg.de via RT wrote: Show quoted text
> > > > I get the following: > > ==== > > root@gosa-devel:~/build/libafs-perl-2.6.1# perl Makefile.PL > > > > Path to the AFS installation (libraries, binaries, > > header files) to be used for this installation? [/usr] > > AFS Version = openafs 1.4.7 > > Your AFS system libraries are located at: /usr > > their major version is: OpenAFS 1.4 > > and their type is: "pthreaded" > > Your AFS system type seems to be: unknown
> > ^^^^^^^ > This should not have happened :-(( But it explains why the Makefile > has been created. Sorry about that. I will have to fix the Makefile.PL
can you find out where the AFS binary "fs" is located on your system? Cheers, Norbert --
Subject: Re: [rt.cpan.org #50168] Build Problem on amd64
Date: Thu, 15 Oct 2009 15:35:30 +0200
To: bug-AFS [...] rt.cpan.org
From: Jan Wenzel <jan.wenzel [...] gonicus.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 nog@mpa-garching.mpg.de via RT schrieb: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=50168 > > > Hi Jan, > > On Thu, Oct 15 2009, nog@mpa-garching.mpg.de via RT wrote:
>>> I get the following: >>> ==== >>> root@gosa-devel:~/build/libafs-perl-2.6.1# perl Makefile.PL >>> >>> Path to the AFS installation (libraries, binaries, >>> header files) to be used for this installation? [/usr] >>> AFS Version = openafs 1.4.7 >>> Your AFS system libraries are located at: /usr >>> their major version is: OpenAFS 1.4 >>> and their type is: "pthreaded" >>> Your AFS system type seems to be: unknown
>> ^^^^^^^ >> This should not have happened :-(( But it explains why the Makefile >> has been created. Sorry about that. I will have to fix the Makefile.PL
> > can you find out where the AFS binary "fs" is located on your system? > > Cheers, > > Norbert
Hi, fs is located on /usr/bin/fs Greetings, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrXJR0ACgkQzaoFHMzBsBq2egCZAQrYlsanJ7HvqnCc/mUTa1qn dLYAn3kTrOYMywyhs+ElierNEk5MJiHm =NSEs -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #50168] Build Problem on amd64
Date: Mon, 19 Oct 2009 13:48:12 +0200
To: Jan Wenzel via RT <bug-AFS [...] rt.cpan.org>
From: Norbert Gruener <nog [...] MPA-Garching.MPG.DE>
Hi Jan, On Thu, Oct 15 2009, Jan Wenzel via RT wrote: Show quoted text
> Queue: AFS > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50168 > > > nog@mpa-garching.mpg.de via RT schrieb:
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=50168 > > > > > can you find out where the AFS binary "fs" is located on your system? > >
> > fs is located on /usr/bin/fs
could you please replace the file ~/build/libafs-perl-2.6.1/scr/Makefile.PL by the attached version and run the step perl Makefile.PL again. Please send me the output of that step. Thank you, Norbert -- Ceterum censeo | PGP encrypted mail preferred. Redmond esse delendam. | PGP Key at www.MPA-Garching.MPG.de/~nog/

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #50168] Build Problem on amd64
Date: Mon, 19 Oct 2009 13:55:40 +0200
To: bug-AFS [...] rt.cpan.org
From: Jan Wenzel <jan.wenzel [...] gonicus.de>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 nog@mpa-garching.mpg.de via RT schrieb: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=50168 > > > Hi Jan, > > On Thu, Oct 15 2009, Jan Wenzel via RT wrote:
>> Queue: AFS
[snip] Show quoted text
> > could you please replace the file > > ~/build/libafs-perl-2.6.1/scr/Makefile.PL > > by the attached version and run the step > > perl Makefile.PL > > again. > > Please send me the output of that step. > > Thank you, > > Norbert
Hi, seems to be OK now: === root@host:~/build/libafs-perl-2.6.1# perl Makefile.PL Path to the AFS installation (libraries, binaries, header files) to be used for this installation? [/usr] AFS modules on AMD Opteron platforms are currently not supported ... ERROR from evaluation of /root/build/libafs-perl-2.6.1/src/Makefile.PL: Script terminated ... root@host:~/build/libafs-perl-2.6.1# === Bye, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrcU7kACgkQzaoFHMzBsBqtUQCeKdoF8tdfnSCrM6Iw7Zfcsbe1 TJYAnR/T6Rt5UB/1RRQvspDWn8ZJI/2P =vH+F -----END PGP SIGNATURE-----
Hi Jan, I will keep you informed about the status on 64-bit machines. Norbert