View Issue Details

IDProjectCategoryView StatusLast Update
0005314unrealircdpublic2019-10-14 14:47
ReporterKage Assigned Tosyzop  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformUnixOSFreeBSDOS Version10.3
Product Version4.2.3 
Fixed in Version5.0.0-alpha1 
Summary0005314: Unable to complete ./Config: install: ./fi.gmo: No such file or directory
DescriptionWhen trying to upgrade from 4.0.6, ./Config hangs at a certain point that I can't figure out. This appears to have been mentioned in the forums a little over a year ago (https://forums.unrealircd.org/viewtopic.php?t=8809), but unfortunately nothing seems to have happened since.

Unfortunately this is blocking me from being able to upgrade to the latest version.
Steps To Reproduce* Use FreeBSD 10.3-Release (with necessary prerequisites, e.g. gmake, gcc, etc.)
* Download UnrealIRCd 4.2.3, extract, cd into dir as per the documentation
* Run ./Config
Additional Information[unrealircd@ircd ~/unrealircd-4.2.3]$ uname -a
FreeBSD ircd 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

[unrealircd@ircd ~/unrealircd-4.2.3]$ ./Config

<snip>

 _ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _ | | | | | / | | / _ |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|

                               Configuration Program
                                for UnrealIRCd 4.2.3
                                    
This program will help you to compile your IRC server, and ask you
questions regarding the compile-time settings of it during the process.
regarding the setup of it, during the process.

A short installation guide is available online at:
https://www.unrealircd.org/docs/Installing_from_source

Full documentation is available at:
https://www.unrealircd.org/docs/UnrealIRCd_4_documentation
[Enter to continue]

<snip>

UnrealIRCd 4.2.3 Release Notes
===============================

This UnrealIRCd release adds new modules to combat drones, it bumps the
default concurrent user limit, and UnrealIRCd can now easily deal with
1 million *LINE's placed on *@IP without any noticeable performance impact.

<snip again...>

==[ CHANGES IN OLDER RELEASES ]==
For changes in previous UnrealIRCd releases see doc/RELEASE-NOTES.old or
https://raw.githubusercontent.com/unrealircd/unrealircd/unreal42/doc/RELEASE-NOTES.old
[Enter to continue]

We will now ask you a number of questions.
You can just press ENTER to accept the defaults!

If you have previously installed UnrealIRCd on this shell then you can specify a
directory here so I can import the build settings and third party modules
to make your life a little easier.
If you install UnrealIRCd for the first time on this shell, then just hit Enter
[] -> /home/unrealircd/unrealircd-4.0.6

In what directory do you want to install UnrealIRCd?
(Note: UnrealIRCd 4 will need to be installed somewhere.
 If this directory does not exist it will be created.)
[/home/unrealircd/unrealircd] -> /home/unrealircd/unrealircd-latest

What should the default permissions for your configuration files be? (Set this to 0 to disable)
It is strongly recommended that you use 0600 to prevent unwanted reading of the file
[0600] ->

If you want, you can manually enter the path to OpenSSL/LibreSSL here.
In most cases you can leave this blank and it will be detected automatically.
[] ->

Do you want to enable remote includes?
This allows stuff like this in your configuration file:
include "http://www.somesite.org/files/opers.conf";
[No] ->

Do you want to enable prefixes for chanadmin and chanowner?
This will give +a the & prefix and ~ for +q (just like +o is @)
Supported by the major clients (mIRC, xchat, epic, eggdrop, Klient,
PJIRC, irssi, CGI:IRC, etc.)
This feature should be enabled/disabled network-wide.
[Yes] ->

How far back do you want to keep the nickname history?
[2000] ->

What is the maximum sendq length you wish to have?
[3000000] ->


What is the maximum number of sockets (and file descriptors) that
UnrealIRCd may use?
It is recommended to leave this at the default setting 'auto',
which at present results in a limit of up to 8192, depending on
the system. When you boot UnrealIRCd later you will always see
the effective limit.
[auto] ->

Would you like to pass any custom parameters to configure?
See `./configure --help' and write them here:
[] ->
./configure --with-showlistmodes --enable-ssl --with-bindir=/home/unrealircd/unrealircd-latest/bin --with-datadir=/home/unrealircd/unrealircd-latest/data --with-pidfile=/home/unrealircd/unrealircd-latest/data/unrealircd.pid --with-confdir=/home/unrealircd/unrealircd-latest/conf --with-modulesdir=/home/unrealircd/unrealircd-latest/modules --with-logdir=/home/unrealircd/unrealircd-latest/logs --with-cachedir=/home/unrealircd/unrealircd-latest/cache --with-docdir=/home/unrealircd/unrealircd-latest/doc --with-tmpdir=/home/unrealircd/unrealircd-latest/tmp --with-privatelibdir=/home/unrealircd/unrealircd-latest/lib --with-scriptdir=/home/unrealircd/unrealircd-latest --with-nick-history=2000 --with-sendq=3000000 --with-permissions=0600 --enable-dynamic-linking
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for touch... /usr/bin/touch
checking for openssl... /usr/bin/openssl
checking for install... /usr/bin/install
checking for gmake... make
checking for gmake... no
checking for gunzip... /usr/bin/gunzip
checking for pkg-config... /usr/local/bin/pkg-config
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for crypt in -ldescrypt... no
checking for crypt in -lcrypt... yes
checking for socket in -lsocket... no
checking for inet_ntoa in -lnsl... no
checking for RAND_egd in -lcrypto... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -fno-strict-overflow... (cached) yes
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
checking whether C compiler accepts -D_FORTIFY_SOURCE=2... (cached) yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether C compiler accepts -fstack-protector-all... (cached) yes
checking whether the linker accepts -fstack-protector-all... yes
checking whether C compiler accepts -Wstack-protector... yes
checking whether C compiler accepts -Wstack-protector... (cached) yes
checking whether C compiler accepts --param ssp-buffer-size=1... yes
checking whether C compiler accepts --param ssp-buffer-size=1... (cached) yes
checking whether C compiler accepts -fPIE... yes
checking whether C compiler accepts -fPIE... (cached) yes
checking whether the linker accepts -fPIE -pie... yes
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-aliasing... (cached) yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wextra... (cached) yes
checking whether C compiler accepts -Waggregate-return... yes
checking whether C compiler accepts -Waggregate-return... (cached) yes
checking whether C compiler accepts -Wduplicated-cond... no
checking whether C compiler accepts -Wduplicated-branches... no
checking whether C compiler accepts -Wpointer-sign... yes
checking whether C compiler accepts -Wpointer-sign... (cached) yes
checking whether C compiler accepts -Winvalid-source-encoding... yes
checking whether C compiler accepts -Winvalid-source-encoding... (cached) yes
checking whether C compiler accepts -Wformat-zero-length... yes
checking whether C compiler accepts -Wformat-zero-length... (cached) yes
checking whether C compiler accepts -Wformat-truncation... no
checking whether C compiler accepts -Wunused... yes
checking whether C compiler accepts -Wunused... (cached) yes
checking whether C compiler accepts -Wunused-parameter... yes
checking whether C compiler accepts -Wunused-parameter... (cached) yes
checking whether C compiler accepts -Wchar-subscripts... yes
checking whether C compiler accepts -Wchar-subscripts... (cached) yes
checking whether C compiler accepts -Wsign-compare... yes
checking whether C compiler accepts -Wsign-compare... (cached) yes
checking whether C compiler accepts -Wempty-body... yes
checking whether C compiler accepts -Wempty-body... (cached) yes
checking whether C compiler accepts -Waddress... yes
checking whether C compiler accepts -Waddress... (cached) yes
checking if your system has IPv6 support... yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for size_t... yes
checking for intptr_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking for int16_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking size of rlim_t... 8
checking what kind of nonblocking sockets you have... O_NONBLOCK
checking whether cc needs -traditional... no
checking whether setpgrp takes no argument... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strlncat... no
checking for inet_pton... yes
checking for inet_ntop... yes
checking if C99 variable length arrays are supported... no
checking for setrlimit... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for getrusage... yes
checking for setproctitle... yes
checking what type of signals you have... POSIX
checking for strtoken... no
checking for strtok... yes
checking for strerror... yes
checking for index... yes
checking for strtoul... yes
checking for bcopy... yes
checking for bcmp... yes
checking for bzero... yes
checking for strcasecmp... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for syslog... yes
checking for openssl... found in /usr/local/include/openssl
checking for SSL_CTX_set1_curves_list in SSL library... yes
checking for dlopen... yes
checking if we need the -export-dynamic flag... yes
checking for compiler option to produce PIC... -fPIC -DPIC -shared
checking if your system prepends an underscore on symbols... no
checking if FD_SETSIZE is large enough to allow 0 file descriptors... yes
checking for poll... yes
checking for epoll_create... no
checking for epoll_ctl... no
checking for epoll_wait... no
checking for kqueue... yes
checking for kevent... yes
extracting TRE regex library
configuring TRE regex library
checking build system type... x86_64-unknown-freebsd10.3
checking host system type... x86_64-unknown-freebsd10.3
checking target system type... x86_64-unknown-freebsd10.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... utils/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for C compiler warning flags... -Wall
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for isascii... yes
checking for isblank... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert x86_64-unknown-freebsd10.3 file names to x86_64-unknown-freebsd10.3 format... func_convert_file_noop
checking how to convert x86_64-unknown-freebsd10.3 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/agrep.1
config.status: creating lib/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/agrep/Makefile
config.status: creating tre.pc
config.status: creating tre.spec
config.status: creating utils/Makefile
config.status: creating config.h
config.status: creating lib/tre-config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands


Configuration summary
=====================

TRE is now configured as follows:

* Compilation environment

  CC = cc
  CFLAGS = -g -O2 -Wall
  CPP = cc -E
  CPPFLAGS = -I/usr/local/include
  LD = /usr/bin/ld
  LDFLAGS = -Wl,-rpath,/home/unrealircd/unrealircd-latest/lib -L/usr/local/lib
  LIBS =
  Use alloca(): yes

* TRE options

  Development-time debugging: no
  System regex ABI compatibility: no
  Wide character (wchar_t) support: no (disabled with --disable-wchar)
  Multibyte character set support: no (disabled with --disable-multibyte)
  Approximate matching support: yes
  Build and install agrep: no

compiling TRE regex library
make all-recursive
Making all in lib
make all-am
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-ast.lo -MD -MP -MF .deps/tre-ast.Tpo -c -o tre-ast.lo tre-ast.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-ast.lo -MD -MP -MF .deps/tre-ast.Tpo -c tre-ast.c -fPIC -DPIC -o .libs/tre-ast.o
mv -f .deps/tre-ast.Tpo .deps/tre-ast.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-compile.lo -MD -MP -MF .deps/tre-compile.Tpo -c -o tre-compile.lo tre-compile.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-compile.lo -MD -MP -MF .deps/tre-compile.Tpo -c tre-compile.c -fPIC -DPIC -o .libs/tre-compile.o
mv -f .deps/tre-compile.Tpo .deps/tre-compile.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-match-backtrack.lo -MD -MP -MF .deps/tre-match-backtrack.Tpo -c -o tre-match-backtrack.lo tre-match-backtrack.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-match-backtrack.lo -MD -MP -MF .deps/tre-match-backtrack.Tpo -c tre-match-backtrack.c -fPIC -DPIC -o .libs/tre-match-backtrack.o
tre-match-backtrack.c:603:42: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
              if (stack->item.state->assertions && ASSERT_BACKREF)
                                                ^ ~~~~~~~~~~~~~~
tre-match-backtrack.c:603:42: note: use '&' for a bitwise operation
              if (stack->item.state->assertions && ASSERT_BACKREF)
                                                ^~
                                                &
tre-match-backtrack.c:603:42: note: remove constant to silence this warning
              if (stack->item.state->assertions && ASSERT_BACKREF)
                                               ~^~~~~~~~~~~~~~~~~
1 warning generated.
mv -f .deps/tre-match-backtrack.Tpo .deps/tre-match-backtrack.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-match-parallel.lo -MD -MP -MF .deps/tre-match-parallel.Tpo -c -o tre-match-parallel.lo tre-match-parallel.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-match-parallel.lo -MD -MP -MF .deps/tre-match-parallel.Tpo -c tre-match-parallel.c -fPIC -DPIC -o .libs/tre-match-parallel.o
mv -f .deps/tre-match-parallel.Tpo .deps/tre-match-parallel.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-mem.lo -MD -MP -MF .deps/tre-mem.Tpo -c -o tre-mem.lo tre-mem.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-mem.lo -MD -MP -MF .deps/tre-mem.Tpo -c tre-mem.c -fPIC -DPIC -o .libs/tre-mem.o
mv -f .deps/tre-mem.Tpo .deps/tre-mem.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-parse.lo -MD -MP -MF .deps/tre-parse.Tpo -c -o tre-parse.lo tre-parse.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-parse.lo -MD -MP -MF .deps/tre-parse.Tpo -c tre-parse.c -fPIC -DPIC -o .libs/tre-parse.o
mv -f .deps/tre-parse.Tpo .deps/tre-parse.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-stack.lo -MD -MP -MF .deps/tre-stack.Tpo -c -o tre-stack.lo tre-stack.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-stack.lo -MD -MP -MF .deps/tre-stack.Tpo -c tre-stack.c -fPIC -DPIC -o .libs/tre-stack.o
mv -f .deps/tre-stack.Tpo .deps/tre-stack.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.lo regcomp.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -fPIC -DPIC -o .libs/regcomp.o
mv -f .deps/regcomp.Tpo .deps/regcomp.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c -o regexec.lo regexec.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -fPIC -DPIC -o .libs/regexec.o
mv -f .deps/regexec.Tpo .deps/regexec.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c -o regerror.lo regerror.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c -fPIC -DPIC -o .libs/regerror.o
mv -f .deps/regerror.Tpo .deps/regerror.Plo
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-match-approx.lo -MD -MP -MF .deps/tre-match-approx.Tpo -c -o tre-match-approx.lo tre-match-approx.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -g -O2 -Wall -MT tre-match-approx.lo -MD -MP -MF .deps/tre-match-approx.Tpo -c tre-match-approx.c -fPIC -DPIC -o .libs/tre-match-approx.o
mv -f .deps/tre-match-approx.Tpo .deps/tre-match-approx.Plo
/bin/sh ../libtool --tag=CC --mode=link cc -g -O2 -Wall -no-undefined -version-info 5:0:0 -Wl,-rpath,/home/unrealircd/unrealircd-latest/lib -L/usr/local/lib -Wl,-rpath,/home/unrealircd/unrealircd-latest/lib -L/usr/local/lib -o libtre.la -rpath /home/unrealircd/unrealircd-latest/lib tre-ast.lo tre-compile.lo tre-match-backtrack.lo tre-match-parallel.lo tre-mem.lo tre-parse.lo tre-stack.lo regcomp.lo regexec.lo regerror.lo tre-match-approx.lo -L/usr/local/lib -lintl -R/usr/local/lib
libtool: link: cc -shared -fPIC -DPIC .libs/tre-ast.o .libs/tre-compile.o .libs/tre-match-backtrack.o .libs/tre-match-parallel.o .libs/tre-mem.o .libs/tre-parse.o .libs/tre-stack.o .libs/regcomp.o .libs/regexec.o .libs/regerror.o .libs/tre-match-approx.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lintl -O2 -Wl,-rpath -Wl,/home/unrealircd/unrealircd-latest/lib -Wl,-rpath -Wl,/home/unrealircd/unrealircd-latest/lib -Wl,-soname -Wl,libtre.so.5 -o .libs/libtre.so.5
libtool: link: (cd ".libs" && rm -f "libtre.so" && ln -s "libtre.so.5" "libtre.so")
libtool: link: (cd ".libs" && rm -f "libtre.so" && ln -s "libtre.so.5" "libtre.so")
libtool: link: ( cd ".libs" && rm -f "libtre.la" && ln -s "../libtre.la" "libtre.la" )
Making all in tests
Making all in agrep
Making all in utils
Making all in po
make tre.pot-update
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if LC_ALL=C grep 'GNU tre' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then package_gnu='GNU '; else package_gnu=''; fi; if test -n '[email protected]' || test '[email protected]' = '@'PACKAGE_BUGREPORT'@'; then msgid_bugs_address='[email protected]'; else msgid_bugs_address='[email protected]'; fi; case `: --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) : --default-domain=tre --directory=.. --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --files-from=./POTFILES.in --copyright-holder='Ville Laurikari' --msgid-bugs-address="$msgid_bugs_address" ;; *) : --default-domain=tre --directory=.. --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --files-from=./POTFILES.in --copyright-holder='Ville Laurikari' --package-name="${package_gnu}tre" --package-version='0.8.0' --msgid-bugs-address="$msgid_bugs_address" ;; esac
test ! -f tre.po || { if test -f ./tre.pot; then sed -f remove-potcdate.sed < ./tre.pot > tre.1po && sed -f remove-potcdate.sed < tre.po > tre.2po && if cmp tre.1po tre.2po >/dev/null 2>&1; then rm -f tre.1po tre.2po tre.po; else rm -f tre.1po tre.2po ./tre.pot && mv tre.po ./tre.pot; fi; else mv tre.po ./tre.pot; fi; }
test ! -f ./tre.pot || test -z "fi.gmo sv.gmo" || make fi.gmo sv.gmo
Making all in m4
installing TRE regex library
Making install in lib
 ../utils/install-sh -c -d '/home/unrealircd/unrealircd-latest/lib'
 /bin/sh ../libtool --mode=install /usr/bin/install -c libtre.la '/home/unrealircd/unrealircd-latest/lib'
libtool: install: /usr/bin/install -c .libs/libtre.so.5 /home/unrealircd/unrealircd-latest/lib/libtre.so.5
libtool: install: (cd /home/unrealircd/unrealircd-latest/lib && { ln -s -f libtre.so.5 libtre.so || { rm -f libtre.so && ln -s libtre.so.5 libtre.so; }; })
libtool: install: (cd /home/unrealircd/unrealircd-latest/lib && { ln -s -f libtre.so.5 libtre.so || { rm -f libtre.so && ln -s libtre.so.5 libtre.so; }; })
libtool: install: /usr/bin/install -c .libs/libtre.lai /home/unrealircd/unrealircd-latest/lib/libtre.la
 ../utils/install-sh -c -d '/home/unrealircd/unrealircd-4.2.3/extras/regexp/include/tre'
 /usr/bin/install -c -m 644 tre.h regex.h '/home/unrealircd/unrealircd-4.2.3/extras/regexp/include/tre'
 ../utils/install-sh -c -d '/home/unrealircd/unrealircd-4.2.3/extras/regexp/include/tre'
 /usr/bin/install -c -m 644 tre-config.h '/home/unrealircd/unrealircd-4.2.3/extras/regexp/include/tre'
Making install in tests
Making install in agrep
Making install in utils
Making install in po
make tre.pot-update
if LC_ALL=C grep 'GNU tre' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then package_gnu='GNU '; else package_gnu=''; fi; if test -n '[email protected]' || test '[email protected]' = '@'PACKAGE_BUGREPORT'@'; then msgid_bugs_address='[email protected]'; else msgid_bugs_address='[email protected]'; fi; case `: --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) : --default-domain=tre --directory=.. --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --files-from=./POTFILES.in --copyright-holder='Ville Laurikari' --msgid-bugs-address="$msgid_bugs_address" ;; *) : --default-domain=tre --directory=.. --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --files-from=./POTFILES.in --copyright-holder='Ville Laurikari' --package-name="${package_gnu}tre" --package-version='0.8.0' --msgid-bugs-address="$msgid_bugs_address" ;; esac
test ! -f tre.po || { if test -f ./tre.pot; then sed -f remove-potcdate.sed < ./tre.pot > tre.1po && sed -f remove-potcdate.sed < tre.po > tre.2po && if cmp tre.1po tre.2po >/dev/null 2>&1; then rm -f tre.1po tre.2po tre.po; else rm -f tre.1po tre.2po ./tre.pot && mv tre.po ./tre.pot; fi; else mv tre.po ./tre.pot; fi; }
test ! -f ./tre.pot || test -z "fi.gmo sv.gmo" || make fi.gmo sv.gmo
../utils/install-sh -c -d /home/unrealircd/unrealircd-4.2.3/extras/regexp/share
install: ./fi.gmo: No such file or directory
*** Error code 71

Stop.
make[1]: stopped in /usr/home/unrealircd/unrealircd-4.2.3/extras/tre-0.8.0-git/po
*** Error code 1

Stop.
make: stopped in /usr/home/unrealircd/unrealircd-4.2.3/extras/tre-0.8.0-git
TagsNo tags attached.
3rd party modules

Activities

Kage

2019-06-10 21:43

reporter   ~0020728

This also happens for all versions that I tested between 4.2.3 and 4.0.19-rc2, so I think it's safe to assume I cannot upgrade to any relatively recent version at all. :/

Kage

2019-06-11 00:01

reporter   ~0020729

I managed to make Unreal 2.3.4 compile! The workaround is a bit wonky, and I'm not sure if this is going to lead to some runtime instabilities or memory leaks, but...

* Download UnrealIRCd 4.2.3, extract, cd into dir as per the documentation
* Download a copy of unrealircd-4.0.6.tar.gz and extract extras/tre.tar.gz from it
* Modify that tre.tar.gz such that it extracts to tre-0.8.0-git/ instead of just tre-0.8.0/
* Put that modified tre.tar.gz in unrealircd-4.2.3/extras/
* Run ./Config as follows: $ CFLAGS=-fPIC ./Config
* Do the normal make; make install

[unrealircd@ircd ~/unrealircd-latest]$ ./bin/unrealircd -v
UnrealIRCd-4.2.3 build 4.2.3
[unrealircd@ircd ~/unrealircd-latest]$ uname -a
FreeBSD ircd 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

Haven't tested it yet, but it did compile. :O

syzop

2019-06-11 07:44

administrator   ~0020730

The reason the issue wasn't looked at is because it was not submitted as a bug report and the person on the forum never replied.

Anyway, regarding the issue:
I could install FreeBSD 10.3 to see if I could reproduce it, but I read that version is no longer supported by FreeBSD since 30 April 2018. So, that makes little sense.
We do have a FreeBSD 12 machine as part of our automated testing setup, which works OK.
Also, TRE will be removed from UnrealIRCd (both 4 and 5) in 6 months.

None of the above really helps you but... I see you already helped yourself, so that's good :D
Actually you can do one thing, without modifications: with 4.2.3 you can answer --without-tre in the last ./Config question. That way, UnrealIRCd will be built without TRE. Which, as said, will be the same situation in 6 months anyway. Another option is, the reverse, to answer --with-system-tre at the last ./Config question and (before that) ensure that TRE is installed as a system library.

Kage

2019-06-11 18:54

reporter   ~0020731

Ooh, thanks for the suggestion! I think I'll try recompiling with the --without-tre option (and with your updated webirc.c supporting PROXY -- huge thanks for that!) and see how that works.

Also, previously you worked with one of my admins, weekend, who set you up with a FreeBSD jail in our environment to do some debugging. That's an available option if needed. :D

syzop

2019-10-14 14:46

administrator   ~0020957

Last edited: 2019-10-14 14:47

This is fixed in 5.0.0-alphaX, since it does not contain TRE anymore (:D)

Issue History

Date Modified Username Field Change
2019-06-10 21:15 Kage New Issue
2019-06-10 21:43 Kage Note Added: 0020728
2019-06-11 00:01 Kage Note Added: 0020729
2019-06-11 07:44 syzop Note Added: 0020730
2019-06-11 18:54 Kage Note Added: 0020731
2019-06-12 07:56 syzop Priority high => normal
2019-10-14 14:46 syzop Assigned To => syzop
2019-10-14 14:46 syzop Status new => resolved
2019-10-14 14:46 syzop Resolution open => fixed
2019-10-14 14:46 syzop Fixed in Version => 5.0.0-alpha1
2019-10-14 14:46 syzop Note Added: 0020957
2019-10-14 14:47 syzop Note Edited: 0020957