Solved [Solved] irssi fails to compile

Hello

irssi fails to compile with the following message:

Code:
gmake[6]: Entering directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
gmake[6]: Warning: File `/usr/local/lib/perl5/5.16/mach/Config.pm' has modification time 3600 s in the future
Makefile out-of-date with respect to /usr/local/lib/perl5/5.16/mach/Config.pm /usr/local/lib/perl5/5.16/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
gmake[6]: [Makefile] Error 1 (ignored)
/usr/local/bin/perl5.16.3 Makefile.PL 
1 warning generated.
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/core -I../../src/fe-common/core -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -DSCRIPTDIR=\"/usr/local/share/irssi/scripts\" -DPERL_USE_LIB=\"/usr/local/lib/perl5/5.16/mach\" -DPERL_STATIC_LIBS=0 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.16/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -O2 -pipe -fno-strict-aliasing -Wall -MT perl-core.lo -MD -MP -MF .deps/perl-core.Tpo -c perl-core.c -o perl-core.o >/dev/null 2>&1
mv -f .deps/perl-common.Tpo .deps/perl-common.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link cc  -O2 -pipe -fno-strict-aliasing -Wall  -Wl,-rpath,/usr/lib:/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib -o libfe_perl_static.la  module-formats.lo perl-fe.lo  
libtool: link: ar cru .libs/libfe_perl_static.a .libs/module-formats.o .libs/perl-fe.o 
libtool: link: ranlib .libs/libfe_perl_static.a
libtool: link: ( cd ".libs" && rm -f "libfe_perl_static.la" && ln -s "../libfe_perl_static.la" "libfe_perl_static.la" )
Writing Makefile for Irssi
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
gmake[6]: *** [Makefile] Error 1
gmake[6]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
gmake[6]: Entering directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
gmake[6]: Warning: File `/usr/local/lib/perl5/5.16/mach/Config.pm' has modification time 3599 s in the future
Makefile out-of-date with respect to /usr/local/lib/perl5/5.16/mach/Config.pm /usr/local/lib/perl5/5.16/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
gmake[6]: [Makefile] Error 1 (ignored)
/usr/local/bin/perl5.16.3 Makefile.PL 
mv -f .deps/perl-core.Tpo .deps/perl-core.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/core -I../../src/fe-common/core -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -DSCRIPTDIR=\"/usr/local/share/irssi/scripts\" -DPERL_USE_LIB=\"/usr/local/lib/perl5/5.16/mach\" -DPERL_STATIC_LIBS=0 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.16/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -O2 -pipe -fno-strict-aliasing -Wall -MT perl-signals.lo -MD -MP -MF .deps/perl-signals.Tpo -c perl-signals.c -o perl-signals.o >/dev/null 2>&1
Writing Makefile for Irssi
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
gmake[6]: *** [Makefile] Error 1
gmake[6]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
cd: irc: No such file or directory
cd: ui: No such file or directory
cd: textui: No such file or directory
gmake[5]: *** [all-local] Error 2
gmake[5]: *** Waiting for unfinished jobs....
mv -f .deps/perl-signals.Tpo .deps/perl-signals.Plo
gmake[5]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/irc/irssi
*** Error code 1

Stop.
make: stopped in /usr/ports/irc/irssi

===>>> make build failed for irc/irssi
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> irc/irssi


No idea what to do.
 
Re: irssi fails to compile

Does the following work? If so, it's a bug in the port and needs to be reported:
Code:
# cd /usr/ports/net/irssi
# make -DMAKE_JOBS_UNSAFE=yes install clean
 
Re: irssi fails to compile

It does not.


Code:
[root@FreeBSD /usr/ports/irc/irssi]# make -DMAKE_JOBS_UNSAFE=yes install clean
..
..
..
..
gmake[6]: Entering directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
gmake[6]: Warning: File `/usr/local/lib/perl5/5.16/mach/Config.pm' has modification time 1865 s in the future
Makefile out-of-date with respect to /usr/local/lib/perl5/5.16/mach/Config.pm /usr/local/lib/perl5/5.16/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
gmake[6]: [Makefile] Error 1 (ignored)
/usr/local/bin/perl5.16.3 Makefile.PL 
mv -f .deps/perl-core.Tpo .deps/perl-core.Plo
Writing Makefile for Irssi
mv -f .deps/perl-signals.Tpo .deps/perl-signals.Plo
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
gmake[6]: *** [Makefile] Error 1
gmake[6]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
gmake[6]: Entering directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
gmake[6]: Warning: File `/usr/local/lib/perl5/5.16/mach/Config.pm' has modification time 1865 s in the future
Makefile out-of-date with respect to /usr/local/lib/perl5/5.16/mach/Config.pm /usr/local/lib/perl5/5.16/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
gmake[6]: [Makefile] Error 1 (ignored)
/usr/local/bin/perl5.16.3 Makefile.PL 
mv -f .deps/perl-common.Tpo .deps/perl-common.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link cc  -O2 -pipe -fno-strict-aliasing -Wall  -Wl,-rpath,/usr/lib:/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib -o libperl_core_static.la  perl-core.lo perl-common.lo perl-signals.lo perl-sources.lo  
libtool: link: ar cru .libs/libperl_core_static.a .libs/perl-core.o .libs/perl-common.o .libs/perl-signals.o .libs/perl-sources.o 
libtool: link: ranlib .libs/libperl_core_static.a
libtool: link: ( cd ".libs" && rm -f "libperl_core_static.la" && ln -s "../libperl_core_static.la" "libperl_core_static.la" )
Writing Makefile for Irssi
Writing MYMETA.yml and MYMETA.json
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
gmake[6]: *** [Makefile] Error 1
gmake[6]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
cd: irc: No such file or directory
cd: ui: No such file or directory
cd: textui: No such file or directory
gmake[5]: *** [all-local] Error 2
gmake[5]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/irc/irssi/work/irssi-0.8.16'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/irc/irssi
*** Error code 1

Stop.
make: stopped in /usr/ports/irc/irssi

I am totally new to FreeBSD and have no idea where or how to report.
 
Re: irssi fails to compile

hashime said:
It does not.


Code:
...
gmake[6]: Entering directory `/usr/ports/irc/irssi/work/irssi-0.8.16/src/perl/common'
gmake[6]: Warning: File `/usr/local/lib/perl5/5.16/mach/Config.pm' has modification time 1865 s in the future
Makefile out-of-date with respect to /usr/local/lib/perl5/5.16/mach/Config.pm /usr/local/lib/perl5/5.16/mach/CORE/config.h
...

Are the time and time zone set correctly on that machine?
 
Re: irssi fails to compile

Timezone is set, at least /etc/localtime exists.
date outputs:
Code:
Fri Sep  5 23:16:47 CEST 2014
This is 2 hours behind, for some reason.
 
Re: irssi fails to compile

ntpdate <timeserver> set the clock to the right time, now irssi compiles. Very weird.
Thank you!
 
Back
Top