perl from /usr/ports Errno architecture

Noah admin2 at enabled.com
Mon Nov 24 19:53:37 PST 2008


Hi there,

any clues why I am getting a mismatch between architectures?  How can I
cure this issue?  perl -V below as well.

  portinstall p5-Mail-SpamAssassin
[Gathering depends for mail/p5-Mail-SpamAssassin
................................................................................................................................ 

done]
--->  Installing 'p5-Net-DNS-0.63' from a port (dns/p5-Net-DNS)
--->  Building '/usr/ports/dns/p5-Net-DNS'
===>  Cleaning for p5-Net-DNS-0.63
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for p5-Net-DNS-0.59
===>  Extracting for p5-Net-DNS-0.63
=> MD5 Checksum OK for Net-DNS-0.63.tar.gz.
=> SHA256 Checksum OK for Net-DNS-0.63.tar.gz.
===>   p5-Net-DNS-0.63 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for p5-Net-DNS-0.63
===>   p5-Net-DNS-0.63 depends on file: /usr/local/bin/perl5.8.8 - found
===>   p5-Net-DNS-0.63 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Configuring for p5-Net-DNS-0.63
Errno architecture (i386-freebsd-64int-6.2-release) does not match
executable architecture (i386-freebsd-64int-6.2-release-p11) at
/usr/local/lib/perl5/site_perl/5.8.8/Errno.pm line 11.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/mach/IO/Socket.pm line 17.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/mach/IO/Socket.pm line 17.
Compilation failed in require at ./Makefile.PL line 8.
BEGIN failed--compilation aborted at ./Makefile.PL line 8.
*** Error code 255

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall.53149.0 env make
** Fix the problem and try again.
--->  Skipping 'mail/p5-Mail-SpamAssassin' because a requisite port
'dns/p5-Net-DNS' failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
         ! dns/p5-Net-DNS        (unknown build error)
         * mail/p5-Mail-SpamAssassin



  perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
   Platform:
     osname=freebsd, osvers=6.2-release-p11, archname=i386-freebsd-64int
     uname='freebsd typhoon.enabled.com 6.2-release-p11 freebsd
6.2-release-p11 #0: thu mar 6 01:58:49 pst 2008
root at typhoon.enabled.com:usrobjusrsrcsyssmp i386 '
     config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.8/mach
-Dprivlib=/usr/local/lib/perl5/5.8.8
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8
-Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
-Uinstallusrbinperl -Dcc=cc -Duseshrplib
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-Doptimize=-O2 -fno-strict-aliasing -pipe -march=pentiumpro -Ud_dosuid
-Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=define use64bitall=undef uselongdouble=undef
     usemymalloc=y, bincompat5005=undef
   Compiler:
     cc='cc', ccflags
='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include',
     optimize='-O2 -fno-strict-aliasing -pipe -march=pentiumpro',
     cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include'
     ccversion='', gccversion='3.4.6 [FreeBSD] 20060305', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
     libpth=/usr/lib /usr/local/lib
     libs=-lgdbm -lm -lcrypt -lutil
     perllibs=-lm -lcrypt -lutil
     libc=, so=so, useshrplib=true, libperl=libperl.so
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE'
     cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT
                         USE_LARGE_FILES USE_PERLIO
   Locally applied patches:
         defined-or
   Built under freebsd
   Compiled at Nov 24 2008 17:22:32
   @INC:
     /usr/local/lib/perl5/5.8.8/BSDPAN
     /usr/local/lib/perl5/site_perl/5.8.8/mach
     /usr/local/lib/perl5/site_perl/5.8.8
     /usr/local/lib/perl5/site_perl
     /usr/local/lib/perl5/5.8.8/mach
     /usr/local/lib/perl5/5.8.8
     .



More information about the freebsd-perl mailing list