Date: Thu, 12 Feb 2015 12:52:21 -0800 (PST) From: Casey Scott <casey@scottmail.org> To: freebsd-ports@freebsd.org Cc: Kurt Jaeger <pi@opsec.eu> Subject: Re: Amanda-server FreeBSD 9.3 Release build errors Message-ID: <793496110.213.1423774341318.JavaMail.zimbra@phantombsd.org> In-Reply-To: <167792466.110.1423694884627.JavaMail.zimbra@phantombsd.org> References: <1076141902.26.1423688388470.JavaMail.zimbra@phantombsd.org> <20150211212003.GZ44537@home.opsec.eu> <167792466.110.1423694884627.JavaMail.zimbra@phantombsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I believe this problem is solved. Solution: The contents of the '/usr/local/lib/perl5/site_perl/Amanda' directory contained modules built under an older version of Perl (5.14). Deleting the contents allowed the make install of amanda-server to succeed. Thanks, Casey ----- On Feb 11, 2015, at 2:48 PM, Casey Scott casey@scottmail.org wrote: > Thanks Kurt, > > Here's the result with that line commented out: > > ************************************************************ > ... > /ports/misc/amanda-server/work/stage/usr/local/lib/perl5/site_perl/Amanda/Taper/Scan' > /bin/mkdir -p > '/usr/ports/misc/amanda-server/work/stage/usr/local/lib/perl5/site_perl/Amanda/DB' > install -o root -g wheel -m 0644 Amanda/DB/Catalog.pm > '/usr/ports/misc/amanda-server/work/stage/usr/local/lib/perl5/site_perl/Amanda/DB' > /usr/local/bin/perl -I. -I./.libs -I. \ > -MAmanda::Tests -e 'alarm(10); Amanda::Tests::try_threads' \ >|| { echo "Perl cannot run extensions which use threads; consider linking perl" \ > "with -pthread or compiling perl with threading enabled"; false; } > Segmentation fault (core dumped) > Perl cannot run extensions which use threads; consider linking perl with > -pthread or compiling perl with threading enabled > Makefile:3730: recipe for target 'thread-check' failed > gmake[5]: *** [thread-check] Error 1 > gmake[5]: Leaving directory > '/usr/ports/misc/amanda-server/work/amanda-3.3.6/perl' > Makefile:3366: recipe for target 'install-am' failed > gmake[4]: *** [install-am] Error 2 > gmake[4]: Leaving directory > '/usr/ports/misc/amanda-server/work/amanda-3.3.6/perl' > Makefile:3162: recipe for target 'install-recursive' failed > gmake[3]: *** [install-recursive] Error 1 > gmake[3]: Leaving directory > '/usr/ports/misc/amanda-server/work/amanda-3.3.6/perl' > Makefile:3360: recipe for target 'install' failed > gmake[2]: *** [install] Error 2 > gmake[2]: Leaving directory > '/usr/ports/misc/amanda-server/work/amanda-3.3.6/perl' > Makefile:1581: recipe for target 'install-recursive' failed > gmake[1]: *** [install-recursive] Error 1 > gmake[1]: Leaving directory '/usr/ports/misc/amanda-server/work/amanda-3.3.6' > Makefile:1909: recipe for target 'install' failed > gmake: *** [install] Error 2 > *** [do-install] Error code 2 > > Stop in /usr/ports/misc/amanda-server. > *** [stage] Error code 1 > > Stop in /usr/ports/misc/amanda-server. > ************************************************************ > > I verified that Perl was built with threading enabled (perl -V snippet below): > > ************************************************************ > ... > Summary of my perl5 (revision 5 version 16 subversion 3) configuration: > > Platform: > osname=freebsd, osvers=9.3-release, archname=amd64-freebsd-thread-multi > uname='freebsd mustang 9.3-release freebsd 9.3-release #0 r271930: sun sep 21 > 19:01:57 pdt 2014 root@mustang:usrsrcsysamd64compilemustang amd64 ' > config_args='-sde -Dprefix=/usr/local -Dlibperl=libperl.so.5.16.3 > -Darchlib=/usr/local/lib/perl5/5.16/mach -Dprivlib=/usr/local/lib/perl5/5.16 > -Dman3dir=/usr/local/lib/perl5/5.16/perl/man/man3 -Dman1dir=/usr/local/man/man1 > -Dsitearch=/usr/local/lib/perl5/site_perl/mach/5.16 > -Dsitelib=/usr/local/lib/perl5/site_perl -Dscriptdir=/usr/local/bin > -Dsiteman3dir=/usr/local/lib/perl5/site_perl/man/man3 > -Dsiteman1dir=/usr/local/man/man1 > -Dotherlibdirs=/usr/local/lib/perl5/site_perl/5.16:/usr/local/lib/perl5/site_perl/5.16/mach > -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n -Dcc=cc -Duseshrplib > -Dinc_version_list=none -Alddlflags=-L/usr/ports/laSummary of my perl5 > (revision 5 version 16 subversion 3) configuration: > > Platform: > osname=freebsd, osvers=9.3-release, archname=amd64-freebsd-thread-multi > uname='freebsd mustang 9.3-release freebsd 9.3-release #0 r271930: sun sep 21 > 19:01:57 pdt 2014 root@mustang:usrsrcsysamd64com > pilemustang amd64 ' > config_args='-sde -Dprefix=/usr/local -Dlibperl=libperl.so.5.16.3 > -Darchlib=/usr/local/lib/perl5/5.16/mach -Dprivlib=/usr/loca > l/lib/perl5/5.16 -Dman3dir=/usr/local/lib/perl5/5.16/perl/man/man3 > -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/s > ite_perl/mach/5.16 -Dsitelib=/usr/local/lib/perl5/site_perl > -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/site_per > l/man/man3 -Dsiteman1dir=/usr/local/man/man1 > -Dotherlibdirs=/usr/local/lib/perl5/site_perl/5.16:/usr/local/lib/perl5/site_perl/5.1 > 6/mach -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n -Dcc=cc -Duseshrplib > -Dinc_version_list=none -Alddlflags=-L/usr/ports/la > ng/perl5.16/work/perl-5.16.3 -L/usr/local/lib/perl5/5.16/mach/CORE > -Wl,-rpath=/usr/local/lib/perl5/5.16/mach/CORE -lperl > -Dshrpldflags=$(LDDLFLAGS:N-L/usr/ports/lang/perl5.16/work/perl-5.16.3:N-L/usr/local/lib/perl5/5.16/mach/CORE:N-Wl,-rpath=/usr/local/lib/perl5/5.16/mach/CORE:N-lperl) > -Wl,-soname,$(LIBPERL:R) -Doptimize=-O2 -pipe -march=native -fstack-protector > -fno-strict-aliasing -Ui_gdbm -Dusethreads=y -Dusemymalloc=n -Duse64bitint > -Dusemultiplicity=y' > hint=recommended, useposix=true, d_sigaction=define > useithreads=define, usemultiplicity=define > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include', > optimize='-O2 -pipe -march=native -fstack-protector -fno-strict-aliasing', > cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include' > ccversion='', gccversion='4.2.1 20070831 patched [FreeBSD]', gccosandvers='' > intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -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.5.16.3 > gnulibc_version='' > Dynamic Linking: > ... > ************************************************************ > > > > -Casey > > ----- On Feb 11, 2015, at 1:20 PM, Kurt Jaeger pi@opsec.eu wrote: > >>> Makefile:1919: recipe for target 'install-strip' failed >> >>> I'm really at a loss for why this is happening though. I can't >>> find why the failure happens. >> >> In /usr/ports/misc/amanda-server, edit Makefile and comment out the >> >> INSTALL_TARGET= install-strip >> >> line, and try again ? >> >> -- > > pi@opsec.eu +49 171 3101372 5 years to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?793496110.213.1423774341318.JavaMail.zimbra>