Language:
switch to room list switch to menu My folders
Go to page: First ... 22 23 24 25 [26] 27 28
[#] Sun Jun 21 2020 18:30:33 EDT from bgerum2 @ Uncensored

Subject: Re: sieve2_license error

[Reply] [ReplyQuoted] [Headers] [Print]

ok here we are:

2020-06-22 00:21:25 (433 KB/s) - 'libsieve-2.2.7-ctdl2.tar.gz' saved [822824/822824]

+ show_info 'Installing libsieve...'
+ echo '' Installing libsieve... ''
 Installing libsieve...
+ gzip -dc libsieve-2.2.7-ctdl2.tar.gz
+ tar -xf -
+ cd /tmp/citadel-build.25462/libsieve-2.2.7/src
+ ./configure --prefix=/usr/local/ctdlsupport
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by /usr/bin/gmake... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... ^C+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.

 

and here is my env:

 

# env
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:
PILOTPORT=usb:
HOSTTYPE=x86_64
SSH_CONNECTION=XXXXXXX
LESSCLOSE=lessclose.sh %s %s
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
LANG=de_DE.UTF-8
WINDOWMANAGER=/usr/bin/startkde
LESS=-M -I -R
JAVA_ROOT=/usr/lib64/jvm/jre-11-openjdk
HOSTNAME=gerum
OLDPWD=/root
CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu
CSHEDIT=emacs
GPG_TTY=/dev/pts/1
AUDIODRIVER=pulseaudio
LESS_ADVANCED_PREPROCESSOR=no
COLORTERM=1
JAVA_HOME=/usr/lib64/jvm/jre-11-openjdk
ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
MACHTYPE=x86_64-suse-linux
QEMU_AUDIO_DRV=pa
MINICOM=-c on
QT_SYSTEM_DIR=/usr/share/desktop-data
OSTYPE=linux
XDG_SESSION_ID=21
USER=root
PAGER=less
MORE=-sl
PWD=/root/citinstall
HOME=/root
HOST=gerum
SSH_CLIENT=XXXXXXX
XNLSPATH=/usr/share/X11/nls
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
LIBGL_DEBUG=quiet
PROFILEREAD=true
SSH_TTY=/dev/pts/1
FROM_HEADER=
MAIL=/var/mail/root
LESSKEY=/etc/lesskey.bin
TERM=xterm-256color
SHELL=/bin/bash
LS_OPTIONS=-A -N --color=tty -T 0
XCURSOR_THEME=DMZ
SHLVL=1
G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
MANPATH=/usr/share/man:/usr/local/man
LOGNAME=root
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
XDG_RUNTIME_DIR=/run/user/0
JRE_HOME=/usr/lib64/jvm/java-11-openjdk-11
XDG_CONFIG_DIRS=/etc/xdg
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin
JAVA_BINDIR=/usr/lib64/jvm/jre-11-openjdk/bin
SDL_AUDIODRIVER=pulse
G_BROKEN_FILENAMES=1
HISTSIZE=1000
CPU=x86_64
SSH_SENDS_LOCALE=yes
CVS_RSH=ssh
LESSOPEN=lessopen.sh %s
BASH_FUNC_mc%%=() {  . /usr/share/mc/mc-wrapper.sh
}
_=/usr/bin/env

 

Sun Jun 21 2020 15:43:02 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

You would need to have caught it a few lines before that..

a) We known you can configure & compile manually.

b) configure & compile launched by easyinstall fails.

The only thing left is to look at the easyinstall output on the exact line that calls configure.

also, to check the environment. [env]

If it's too much for you, I'd be willing to ssh in and take a look at it. 

Send a private message to my username here, if you want me to do that. 

:)

 

Sat Jun 20 2020 06:15:02 AM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

No, I had trace off but with trace on it looks like that:

checking sieve2.h usability... yes
checking sieve2.h presence... yes
checking for sieve2.h... yes
checking for sieve2_license in -lsieve... no
configure: error: libsieve was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start
+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.
+ show_alert The last few lines above this message may indicate what went wrong.
+ echo '' The last few lines above this message may indicate what went wrong. ''
 The last few lines above this message may indicate what went wrong.
+ show_alert Linux openSUSE 'NAME="openSUSE' 'Leap"' 'VERSION="15.1"' 'ID="opensuse-leap"' 'ID_LIKE="suse' 'opensuse"' 'VERSION_ID="15.1"' 'PRETTY_NAME="openSUSE' Leap '15.1"' 'ANSI_COLOR="0;32"' 'CPE_NAME="cpe:/o:opensuse:leap:15.1"' 'BUG_REPORT_URL="https://bugs.opensuse.org"' 'HOME_URL="https://www.opensuse.org/"' '(' 4.12.14-lp151.28.52-default 'x86_64)'
+ echo '' Linux openSUSE 'NAME="openSUSE' 'Leap"' 'VERSION="15.1"' 'ID="opensuse-leap"' 'ID_LIKE="suse' 'opensuse"' 'VERSION_ID="15.1"' 'PRETTY_NAME="openSUSE' Leap '15.1"' 'ANSI_COLOR="0;32"' 'CPE_NAME="cpe:/o:opensuse:leap:15.1"' 'BUG_REPORT_URL="https://bugs.opensuse.org"' 'HOME_URL="https://www.opensuse.org/"' '(' 4.12.14-lp151.28.52-default 'x86_64)' ''
 Linux openSUSE NAME="openSUSE Leap" VERSION="15.1" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.1" PRETTY_NAME="openSUSE Leap 15.1" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" ( 4.12.14-lp151.28.52-default x86_64)
+ cd /root
+ rm -fr /tmp/citadel-build.13887
+ exit 1

 

a manual ./configure did run fine:

gerum:/tmp/citadel-build.8911/libsieve-2.2.7/src # ./configure --prefix=/usr/local/ctdlsupport
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating libsieve.pc
config.status: creating sv_parser/Makefile
config.status: creating sv_regex/Makefile
config.status: creating sv_interface/Makefile
config.status: creating sv_util/Makefile
config.status: creating sv_test/Makefile
config.status: creating sv_include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Wed Jun 17 2020 21:41:09 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

Okay, I had to find a recent build dir in /tmp.. 

So, here's the question..

did you run easyinstall with trace on (eg #!/bin/bash -x  on first line),

and if so, what did your configure line look like? [it may be another double-quote situation..]

I did it manually, and it worked fine.

so try it.. (your build number will be different)..

then post your results..

[problem may not be here at all.. may be install options.]

root@ftp:/tmp/citadel-build.2704/libsieve-2.2.7/src# ./configure --prefix=/usr/local/ctdlsupport
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating libsieve.pc
config.status: creating sv_parser/Makefile
config.status: creating sv_regex/Makefile
config.status: creating sv_interface/Makefile
config.status: creating sv_util/Makefile
config.status: creating sv_test/Makefile
config.status: creating sv_include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands




Wed Jun 17 2020 06:16:16 PM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

I forced the installation of libsieve by inserting OLDSUM=does_not_exist in line 445 in the installer.

it did install fine:

gmake[2]: Entering directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
gmake[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/ctdlsupport/include" || /usr/bin/mkdir -p "/usr/local/ctdlsupport/include"
 /usr/bin/install -c -m 644 'sieve2.h' '/usr/local/ctdlsupport/include/sieve2.h'
 /usr/bin/install -c -m 644 'sieve2_error.h' '/usr/local/ctdlsupport/include/sieve2_error.h'
gmake[2]: Leaving directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
gmake[1]: Leaving directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
 Complete.

but now I'm back with the license error:

checking sieve2.h usability... yes
checking sieve2.h presence... yes
checking for sieve2.h... yes
checking for sieve2_license in -lsieve... no
configure: error: libsieve was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start
 Citadel Easy Install is aborting.

 

Tue Jun 16 2020 11:13:54 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

You're welcome Art..  It's my pleasure. to help out.

My last thought on this one at the moment should be in a new thread though..

The  /tmp/citadel-install.log file.. easyinstall is not in the main repos that I can see.. so I couldn't check the git log for that.

I think the bash trace will help out.  But, I distinctly recall that handy message from easy install

"something has failed.. you might look in /tmp/citadel-install.log" or something like that.

 

Mon Jun 15 2020 10:49:34 PM EDT from IGnatius T Foobar @ Uncensored Subject: Re: sieve2_license error

Thank you warbaby for the excellent insight and help.

I will echo the request for our OpenSuSE friends to post the completed diffs to the Easy Install script to make it run properly on OpenSuSE.    We will cheerfully accept any changes that are needed.  It's just that we don't have anyone on the core team that uses this distribution so we don't normally test with it.

In the future we will have a Docker container for Citadel and I hope most people will use that.

 

 

Mon Jun 15 2020 05:21:10 PM EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

I encourage you to keep cracking away at it. It's probably just a path.. You might need to add symlink.   I  have some other stuff todo for a while, but am still monitoring the thread.

 


 



 



 



 



 



 



[#] Sun Jun 21 2020 18:37:42 EDT from warbaby @ Uncensored

Subject: Re: sieve2_license error

[Reply] [ReplyQuoted] [Headers] [Print]

I'm looking at it, but laughed when I saw this.

checking how to run the C preprocessor... ^C+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.

...

Can you let it finish, without hitting ^C?? I would like to see the whole trace.. hahha..

 

Sun Jun 21 2020 06:30:33 PM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

ok here we are:

2020-06-22 00:21:25 (433 KB/s) - 'libsieve-2.2.7-ctdl2.tar.gz' saved [822824/822824]

+ show_info 'Installing libsieve...'
+ echo '' Installing libsieve... ''
 Installing libsieve...
+ gzip -dc libsieve-2.2.7-ctdl2.tar.gz
+ tar -xf -
+ cd /tmp/citadel-build.25462/libsieve-2.2.7/src
+ ./configure --prefix=/usr/local/ctdlsupport
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by /usr/bin/gmake... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... ^C+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.

 

and here is my env:

 

# env
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:
PILOTPORT=usb:
HOSTTYPE=x86_64
SSH_CONNECTION=XXXXXXX
LESSCLOSE=lessclose.sh %s %s
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
LANG=de_DE.UTF-8
WINDOWMANAGER=/usr/bin/startkde
LESS=-M -I -R
JAVA_ROOT=/usr/lib64/jvm/jre-11-openjdk
HOSTNAME=gerum
OLDPWD=/root
CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu
CSHEDIT=emacs
GPG_TTY=/dev/pts/1
AUDIODRIVER=pulseaudio
LESS_ADVANCED_PREPROCESSOR=no
COLORTERM=1
JAVA_HOME=/usr/lib64/jvm/jre-11-openjdk
ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
MACHTYPE=x86_64-suse-linux
QEMU_AUDIO_DRV=pa
MINICOM=-c on
QT_SYSTEM_DIR=/usr/share/desktop-data
OSTYPE=linux
XDG_SESSION_ID=21
USER=root
PAGER=less
MORE=-sl
PWD=/root/citinstall
HOME=/root
HOST=gerum
SSH_CLIENT=XXXXXXX
XNLSPATH=/usr/share/X11/nls
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
LIBGL_DEBUG=quiet
PROFILEREAD=true
SSH_TTY=/dev/pts/1
FROM_HEADER=
MAIL=/var/mail/root
LESSKEY=/etc/lesskey.bin
TERM=xterm-256color
SHELL=/bin/bash
LS_OPTIONS=-A -N --color=tty -T 0
XCURSOR_THEME=DMZ
SHLVL=1
G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
MANPATH=/usr/share/man:/usr/local/man
LOGNAME=root
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
XDG_RUNTIME_DIR=/run/user/0
JRE_HOME=/usr/lib64/jvm/java-11-openjdk-11
XDG_CONFIG_DIRS=/etc/xdg
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin
JAVA_BINDIR=/usr/lib64/jvm/jre-11-openjdk/bin
SDL_AUDIODRIVER=pulse
G_BROKEN_FILENAMES=1
HISTSIZE=1000
CPU=x86_64
SSH_SENDS_LOCALE=yes
CVS_RSH=ssh
LESSOPEN=lessopen.sh %s
BASH_FUNC_mc%%=() {  . /usr/share/mc/mc-wrapper.sh
}
_=/usr/bin/env

 

Sun Jun 21 2020 15:43:02 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

You would need to have caught it a few lines before that..

a) We known you can configure & compile manually.

b) configure & compile launched by easyinstall fails.

The only thing left is to look at the easyinstall output on the exact line that calls configure.

also, to check the environment. [env]

If it's too much for you, I'd be willing to ssh in and take a look at it. 

Send a private message to my username here, if you want me to do that. 

:)

 

Sat Jun 20 2020 06:15:02 AM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

No, I had trace off but with trace on it looks like that:

checking sieve2.h usability... yes
checking sieve2.h presence... yes
checking for sieve2.h... yes
checking for sieve2_license in -lsieve... no
configure: error: libsieve was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start
+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.
+ show_alert The last few lines above this message may indicate what went wrong.
+ echo '' The last few lines above this message may indicate what went wrong. ''
 The last few lines above this message may indicate what went wrong.
+ show_alert Linux openSUSE 'NAME="openSUSE' 'Leap"' 'VERSION="15.1"' 'ID="opensuse-leap"' 'ID_LIKE="suse' 'opensuse"' 'VERSION_ID="15.1"' 'PRETTY_NAME="openSUSE' Leap '15.1"' 'ANSI_COLOR="0;32"' 'CPE_NAME="cpe:/o:opensuse:leap:15.1"' 'BUG_REPORT_URL="https://bugs.opensuse.org"' 'HOME_URL="https://www.opensuse.org/"' '(' 4.12.14-lp151.28.52-default 'x86_64)'
+ echo '' Linux openSUSE 'NAME="openSUSE' 'Leap"' 'VERSION="15.1"' 'ID="opensuse-leap"' 'ID_LIKE="suse' 'opensuse"' 'VERSION_ID="15.1"' 'PRETTY_NAME="openSUSE' Leap '15.1"' 'ANSI_COLOR="0;32"' 'CPE_NAME="cpe:/o:opensuse:leap:15.1"' 'BUG_REPORT_URL="https://bugs.opensuse.org"' 'HOME_URL="https://www.opensuse.org/"' '(' 4.12.14-lp151.28.52-default 'x86_64)' ''
 Linux openSUSE NAME="openSUSE Leap" VERSION="15.1" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.1" PRETTY_NAME="openSUSE Leap 15.1" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" ( 4.12.14-lp151.28.52-default x86_64)
+ cd /root
+ rm -fr /tmp/citadel-build.13887
+ exit 1

 

a manual ./configure did run fine:

gerum:/tmp/citadel-build.8911/libsieve-2.2.7/src # ./configure --prefix=/usr/local/ctdlsupport
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating libsieve.pc
config.status: creating sv_parser/Makefile
config.status: creating sv_regex/Makefile
config.status: creating sv_interface/Makefile
config.status: creating sv_util/Makefile
config.status: creating sv_test/Makefile
config.status: creating sv_include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Wed Jun 17 2020 21:41:09 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

Okay, I had to find a recent build dir in /tmp.. 

So, here's the question..

did you run easyinstall with trace on (eg #!/bin/bash -x  on first line),

and if so, what did your configure line look like? [it may be another double-quote situation..]

I did it manually, and it worked fine.

so try it.. (your build number will be different)..

then post your results..

[problem may not be here at all.. may be install options.]

root@ftp:/tmp/citadel-build.2704/libsieve-2.2.7/src# ./configure --prefix=/usr/local/ctdlsupport
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating libsieve.pc
config.status: creating sv_parser/Makefile
config.status: creating sv_regex/Makefile
config.status: creating sv_interface/Makefile
config.status: creating sv_util/Makefile
config.status: creating sv_test/Makefile
config.status: creating sv_include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands




Wed Jun 17 2020 06:16:16 PM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

I forced the installation of libsieve by inserting OLDSUM=does_not_exist in line 445 in the installer.

it did install fine:

gmake[2]: Entering directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
gmake[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/ctdlsupport/include" || /usr/bin/mkdir -p "/usr/local/ctdlsupport/include"
 /usr/bin/install -c -m 644 'sieve2.h' '/usr/local/ctdlsupport/include/sieve2.h'
 /usr/bin/install -c -m 644 'sieve2_error.h' '/usr/local/ctdlsupport/include/sieve2_error.h'
gmake[2]: Leaving directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
gmake[1]: Leaving directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
 Complete.

but now I'm back with the license error:

checking sieve2.h usability... yes
checking sieve2.h presence... yes
checking for sieve2.h... yes
checking for sieve2_license in -lsieve... no
configure: error: libsieve was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start
 Citadel Easy Install is aborting.

 

Tue Jun 16 2020 11:13:54 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

You're welcome Art..  It's my pleasure. to help out.

My last thought on this one at the moment should be in a new thread though..

The  /tmp/citadel-install.log file.. easyinstall is not in the main repos that I can see.. so I couldn't check the git log for that.

I think the bash trace will help out.  But, I distinctly recall that handy message from easy install

"something has failed.. you might look in /tmp/citadel-install.log" or something like that.

 

Mon Jun 15 2020 10:49:34 PM EDT from IGnatius T Foobar @ Uncensored Subject: Re: sieve2_license error

Thank you warbaby for the excellent insight and help.

I will echo the request for our OpenSuSE friends to post the completed diffs to the Easy Install script to make it run properly on OpenSuSE.    We will cheerfully accept any changes that are needed.  It's just that we don't have anyone on the core team that uses this distribution so we don't normally test with it.

In the future we will have a Docker container for Citadel and I hope most people will use that.

 

 

Mon Jun 15 2020 05:21:10 PM EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

I encourage you to keep cracking away at it. It's probably just a path.. You might need to add symlink.   I  have some other stuff todo for a while, but am still monitoring the thread.

 


 



 



 



 



 



 



 



[#] Sun Jun 21 2020 20:01:31 EDT from bgerum2 @ Uncensored

Subject: Re: sieve2_license error

[Reply] [ReplyQuoted] [Headers] [Print]

sorry, there were too many lines for the ssh shell. here you are:

Saving to: 'libsieve-2.2.7-ctdl2.tar.gz'

libsieve-2.2.7-ctdl2.tar.gz              100%[==================================================================================>] 803.54K   501KB/s    in 1.6s   

2020-06-22 01:51:10 (501 KB/s) - 'libsieve-2.2.7-ctdl2.tar.gz' saved [822824/822824]

+ show_info 'Installing libsieve...'
+ echo '' Installing libsieve... ''
 Installing libsieve...
+ tar -xf -
+ gzip -dc libsieve-2.2.7-ctdl2.tar.gz
+ cd /tmp/citadel-build.3037/libsieve-2.2.7/src
+ ./configure --prefix=/usr/local/ctdlsupport
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by /usr/bin/gmake... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating libsieve.pc
config.status: creating sv_parser/Makefile
config.status: creating sv_regex/Makefile
config.status: creating sv_interface/Makefile
config.status: creating sv_util/Makefile
config.status: creating sv_test/Makefile
config.status: creating sv_include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/gmake
/usr/bin/gmake  all-recursive
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
Making all in sv_parser
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_parser'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT addr.lo -MD -MP -MF .deps/addr.Tpo -c -o addr.lo addr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT addr.lo -MD -MP -MF .deps/addr.Tpo -c addr.c  -fPIC -DPIC -o .libs/addr.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT addr.lo -MD -MP -MF .deps/addr.Tpo -c addr.c -o addr.o >/dev/null 2>&1
mv -f .deps/addr.Tpo .deps/addr.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT addr-lex.lo -MD -MP -MF .deps/addr-lex.Tpo -c -o addr-lex.lo addr-lex.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT addr-lex.lo -MD -MP -MF .deps/addr-lex.Tpo -c addr-lex.c  -fPIC -DPIC -o .libs/addr-lex.o
addr-lex.c:1225:16: warning: 'input' defined but not used [-Wunused-function]
     static int input  (void)
                ^~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT addr-lex.lo -MD -MP -MF .deps/addr-lex.Tpo -c addr-lex.c -o addr-lex.o >/dev/null 2>&1
mv -f .deps/addr-lex.Tpo .deps/addr-lex.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT sieve.lo -MD -MP -MF .deps/sieve.Tpo -c -o sieve.lo sieve.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT sieve.lo -MD -MP -MF .deps/sieve.Tpo -c sieve.c  -fPIC -DPIC -o .libs/sieve.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT sieve.lo -MD -MP -MF .deps/sieve.Tpo -c sieve.c -o sieve.o >/dev/null 2>&1
mv -f .deps/sieve.Tpo .deps/sieve.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT sieve-lex.lo -MD -MP -MF .deps/sieve-lex.Tpo -c -o sieve-lex.lo sieve-lex.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT sieve-lex.lo -MD -MP -MF .deps/sieve-lex.Tpo -c sieve-lex.c  -fPIC -DPIC -o .libs/sieve-lex.o
sieve-lex.c:1728:16: warning: 'input' defined but not used [-Wunused-function]
     static int input  (void)
                ^~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT sieve-lex.lo -MD -MP -MF .deps/sieve-lex.Tpo -c sieve-lex.c -o sieve-lex.o >/dev/null 2>&1
mv -f .deps/sieve-lex.Tpo .deps/sieve-lex.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT header.lo -MD -MP -MF .deps/header.Tpo -c -o header.lo header.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT header.lo -MD -MP -MF .deps/header.Tpo -c header.c  -fPIC -DPIC -o .libs/header.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT header.lo -MD -MP -MF .deps/header.Tpo -c header.c -o header.o >/dev/null 2>&1
mv -f .deps/header.Tpo .deps/header.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT header-lex.lo -MD -MP -MF .deps/header-lex.Tpo -c -o header-lex.lo header-lex.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT header-lex.lo -MD -MP -MF .deps/header-lex.Tpo -c header-lex.c  -fPIC -DPIC -o .libs/header-lex.o
header-lex.c:1212:16: warning: 'input' defined but not used [-Wunused-function]
     static int input  (void)
                ^~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT header-lex.lo -MD -MP -MF .deps/header-lex.Tpo -c header-lex.c -o header-lex.o >/dev/null 2>&1
mv -f .deps/header-lex.Tpo .deps/header-lex.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT comparator.lo -MD -MP -MF .deps/comparator.Tpo -c -o comparator.lo comparator.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT comparator.lo -MD -MP -MF .deps/comparator.Tpo -c comparator.c  -fPIC -DPIC -o .libs/comparator.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT comparator.lo -MD -MP -MF .deps/comparator.Tpo -c comparator.c -o comparator.o >/dev/null 2>&1
mv -f .deps/comparator.Tpo .deps/comparator.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -no-undefined  -o libparser.la  addr.lo addr-lex.lo sieve.lo sieve-lex.lo header.lo header-lex.lo comparator.lo 
libtool: link: ar cru .libs/libparser.a .libs/addr.o .libs/addr-lex.o .libs/sieve.o .libs/sieve-lex.o .libs/header.o .libs/header-lex.o .libs/comparator.o
libtool: link: ranlib .libs/libparser.a
libtool: link: ( cd ".libs" && rm -f "libparser.la" && ln -s "../libparser.la" "libparser.la" )
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_parser'
Making all in sv_regex
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_regex'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c -o regex.lo regex.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c regex.c  -fPIC -DPIC -o .libs/regex.o
In file included from regex.c:51:0:
regcomp.c: In function 'calc_eclosure_iter':
regcomp.c:1400:11: warning: variable 'org_node' set but not used [-Wunused-but-set-variable]
       int org_node, cur_node;
           ^~~~~~~~
In file included from regex.c:52:0:
regexec.c: In function 'sift_states_bkref':
regexec.c:1922:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
        if (to_idx > sctx->last_str_idx
        ^~
regexec.c:1929:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   {
   ^
regexec.c: In function 're_search_internal':
regexec.c:1183:12: warning: 'cur_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
        err = re_node_set_insert (eps_via_nodes, node);
        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regexec.c:1267:12: note: 'cur_node' was declared here
   int idx, cur_node, real_nmatch;
            ^~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c regex.c -o regex.o >/dev/null 2>&1
mv -f .deps/regex.Tpo .deps/regex.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_regex -I../sv_include -g -no-undefined  -o libregex.la  regex.lo 
libtool: link: ar cru .libs/libregex.a .libs/regex.o
libtool: link: ranlib .libs/libregex.a
libtool: link: ( cd ".libs" && rm -f "libregex.la" && ln -s "../libregex.la" "libregex.la" )
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_regex'
Making all in sv_interface
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_interface'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT tree.lo -MD -MP -MF .deps/tree.Tpo -c -o tree.lo tree.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT tree.lo -MD -MP -MF .deps/tree.Tpo -c tree.c  -fPIC -DPIC -o .libs/tree.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT tree.lo -MD -MP -MF .deps/tree.Tpo -c tree.c -o tree.o >/dev/null 2>&1
mv -f .deps/tree.Tpo .deps/tree.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message.lo -MD -MP -MF .deps/message.Tpo -c -o message.lo message.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message.lo -MD -MP -MF .deps/message.Tpo -c message.c  -fPIC -DPIC -o .libs/message.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message.lo -MD -MP -MF .deps/message.Tpo -c message.c -o message.o >/dev/null 2>&1
mv -f .deps/message.Tpo .deps/message.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script.lo -MD -MP -MF .deps/script.Tpo -c -o script.lo script.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script.lo -MD -MP -MF .deps/script.Tpo -c script.c  -fPIC -DPIC -o .libs/script.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script.lo -MD -MP -MF .deps/script.Tpo -c script.c -o script.o >/dev/null 2>&1
mv -f .deps/script.Tpo .deps/script.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message2.lo -MD -MP -MF .deps/message2.Tpo -c -o message2.lo message2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message2.lo -MD -MP -MF .deps/message2.Tpo -c message2.c  -fPIC -DPIC -o .libs/message2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message2.lo -MD -MP -MF .deps/message2.Tpo -c message2.c -o message2.o >/dev/null 2>&1
mv -f .deps/message2.Tpo .deps/message2.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script2.lo -MD -MP -MF .deps/script2.Tpo -c -o script2.lo script2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script2.lo -MD -MP -MF .deps/script2.Tpo -c script2.c  -fPIC -DPIC -o .libs/script2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script2.lo -MD -MP -MF .deps/script2.Tpo -c script2.c -o script2.o >/dev/null 2>&1
mv -f .deps/script2.Tpo .deps/script2.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT context2.lo -MD -MP -MF .deps/context2.Tpo -c -o context2.lo context2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT context2.lo -MD -MP -MF .deps/context2.Tpo -c context2.c  -fPIC -DPIC -o .libs/context2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT context2.lo -MD -MP -MF .deps/context2.Tpo -c context2.c -o context2.o >/dev/null 2>&1
mv -f .deps/context2.Tpo .deps/context2.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT callbacks2.lo -MD -MP -MF .deps/callbacks2.Tpo -c -o callbacks2.lo callbacks2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT callbacks2.lo -MD -MP -MF .deps/callbacks2.Tpo -c callbacks2.c  -fPIC -DPIC -o .libs/callbacks2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT callbacks2.lo -MD -MP -MF .deps/callbacks2.Tpo -c callbacks2.c -o callbacks2.o >/dev/null 2>&1
mv -f .deps/callbacks2.Tpo .deps/callbacks2.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -no-undefined  -o libinterface.la  tree.lo message.lo script.lo message2.lo script2.lo context2.lo callbacks2.lo 
libtool: link: ar cru .libs/libinterface.a .libs/tree.o .libs/message.o .libs/script.o .libs/message2.o .libs/script2.o .libs/context2.o .libs/callbacks2.o
libtool: link: ranlib .libs/libinterface.a
libtool: link: ( cd ".libs" && rm -f "libinterface.la" && ln -s "../libinterface.la" "libinterface.la" )
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_interface'
Making all in sv_util
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_util'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fPIC -DPIC -o .libs/util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
mv -f .deps/util.Tpo .deps/util.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c -o md5.lo md5.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c  -fPIC -DPIC -o .libs/md5.o
md5.c: In function 'gdm_md5_final':
md5.c:224:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
                       ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1
mv -f .deps/md5.Tpo .deps/md5.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c -o exception.lo exception.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c exception.c  -fPIC -DPIC -o .libs/exception.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c exception.c -o exception.o >/dev/null 2>&1
mv -f .deps/exception.Tpo .deps/exception.Plo
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -no-undefined  -o libutil.la  util.lo md5.lo exception.lo 
libtool: link: ar cru .libs/libutil.a .libs/util.o .libs/md5.o .libs/exception.o
libtool: link: ranlib .libs/libutil.a
libtool: link: ( cd ".libs" && rm -f "libutil.la" && ln -s "../libutil.la" "libutil.la" )
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_util'
Making all in .
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -MT sv_empty.lo -MD -MP -MF .deps/sv_empty.Tpo -c -o sv_empty.lo sv_empty.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -MT sv_empty.lo -MD -MP -MF .deps/sv_empty.Tpo -c sv_empty.c  -fPIC -DPIC -o .libs/sv_empty.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -MT sv_empty.lo -MD -MP -MF .deps/sv_empty.Tpo -c sv_empty.c -o sv_empty.o >/dev/null 2>&1
mv -f .deps/sv_empty.Tpo .deps/sv_empty.Plo
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -no-undefined -version-info 1:5  -o libsieve.la -rpath /usr/local/ctdlsupport/lib64 sv_empty.lo sv_util/libutil.la  sv_parser/libparser.la  sv_interface/libinterface.la  sv_regex/libregex.la
libtool: link: gcc -shared  .libs/sv_empty.o  -Wl,--whole-archive sv_util/.libs/libutil.a sv_parser/.libs/libparser.a sv_interface/.libs/libinterface.a sv_regex/.libs/libregex.a -Wl,--no-whole-archive     -Wl,-soname -Wl,libsieve.so.1 -o .libs/libsieve.so.1.0.5
libtool: link: (cd ".libs" && rm -f "libsieve.so.1" && ln -s "libsieve.so.1.0.5" "libsieve.so.1")
libtool: link: (cd ".libs" && rm -f "libsieve.so" && ln -s "libsieve.so.1.0.5" "libsieve.so")
libtool: link: (cd .libs/libsieve.lax/libutil.a && ar x "/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_util/.libs/libutil.a")
libtool: link: (cd .libs/libsieve.lax/libparser.a && ar x "/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_parser/.libs/libparser.a")
libtool: link: (cd .libs/libsieve.lax/libinterface.a && ar x "/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_interface/.libs/libinterface.a")
libtool: link: (cd .libs/libsieve.lax/libregex.a && ar x "/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_regex/.libs/libregex.a")
libtool: link: ar cru .libs/libsieve.a  sv_empty.o  .libs/libsieve.lax/libutil.a/util.o .libs/libsieve.lax/libutil.a/md5.o .libs/libsieve.lax/libutil.a/exception.o  .libs/libsieve.lax/libparser.a/addr.o .libs/libsieve.lax/libparser.a/addr-lex.o .libs/libsieve.lax/libparser.a/sieve.o .libs/libsieve.lax/libparser.a/sieve-lex.o .libs/libsieve.lax/libparser.a/header.o .libs/libsieve.lax/libparser.a/header-lex.o .libs/libsieve.lax/libparser.a/comparator.o  .libs/libsieve.lax/libinterface.a/tree.o .libs/libsieve.lax/libinterface.a/message.o .libs/libsieve.lax/libinterface.a/script.o .libs/libsieve.lax/libinterface.a/message2.o .libs/libsieve.lax/libinterface.a/script2.o .libs/libsieve.lax/libinterface.a/context2.o .libs/libsieve.lax/libinterface.a/callbacks2.o  .libs/libsieve.lax/libregex.a/regex.o
libtool: link: ranlib .libs/libsieve.a
libtool: link: rm -fr .libs/libsieve.lax
libtool: link: ( cd ".libs" && rm -f "libsieve.la" && ln -s "../libsieve.la" "libsieve.la" )
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
Making all in sv_test
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_test'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT example.o -MD -MP -MF .deps/example.Tpo -c -o example.o example.c
mv -f .deps/example.Tpo .deps/example.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g   -o example example.o ../libsieve.la
libtool: link: gcc -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -o .libs/example example.o  ../.libs/libsieve.so -Wl,-rpath -Wl,/usr/local/ctdlsupport/lib64
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT testcomp.o -MD -MP -MF .deps/testcomp.Tpo -c -o testcomp.o testcomp.c
mv -f .deps/testcomp.Tpo .deps/testcomp.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g   -o testcomp testcomp.o ../libsieve.la
libtool: link: gcc -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -o .libs/testcomp testcomp.o  ../.libs/libsieve.so -Wl,-rpath -Wl,/usr/local/ctdlsupport/lib64
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_test'
Making all in sv_include
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_include'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_include'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
+ /usr/bin/gmake install
Making install in sv_parser
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_parser'
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_parser'
gmake[2]: Nothing to be done for 'install-exec-am'.
gmake[2]: Nothing to be done for 'install-data-am'.
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_parser'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_parser'
Making install in sv_regex
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_regex'
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_regex'
gmake[2]: Nothing to be done for 'install-exec-am'.
gmake[2]: Nothing to be done for 'install-data-am'.
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_regex'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_regex'
Making install in sv_interface
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_interface'
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_interface'
gmake[2]: Nothing to be done for 'install-exec-am'.
gmake[2]: Nothing to be done for 'install-data-am'.
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_interface'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_interface'
Making install in sv_util
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_util'
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_util'
gmake[2]: Nothing to be done for 'install-exec-am'.
gmake[2]: Nothing to be done for 'install-data-am'.
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_util'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_util'
Making install in .
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
test -z "/usr/local/ctdlsupport/lib64" || /bin/mkdir -p "/usr/local/ctdlsupport/lib64"
 /bin/sh ./libtool   --mode=install /usr/bin/install -c  'libsieve.la' '/usr/local/ctdlsupport/lib64/libsieve.la'
libtool: install: /usr/bin/install -c .libs/libsieve.so.1.0.5 /usr/local/ctdlsupport/lib64/libsieve.so.1.0.5
libtool: install: (cd /usr/local/ctdlsupport/lib64 && { ln -s -f libsieve.so.1.0.5 libsieve.so.1 || { rm -f libsieve.so.1 && ln -s libsieve.so.1.0.5 libsieve.so.1; }; })
libtool: install: (cd /usr/local/ctdlsupport/lib64 && { ln -s -f libsieve.so.1.0.5 libsieve.so || { rm -f libsieve.so && ln -s libsieve.so.1.0.5 libsieve.so; }; })
libtool: install: /usr/bin/install -c .libs/libsieve.lai /usr/local/ctdlsupport/lib64/libsieve.la
libtool: install: /usr/bin/install -c .libs/libsieve.a /usr/local/ctdlsupport/lib64/libsieve.a
libtool: install: chmod 644 /usr/local/ctdlsupport/lib64/libsieve.a
libtool: install: ranlib /usr/local/ctdlsupport/lib64/libsieve.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/local/ctdlsupport/lib64
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/ctdlsupport/lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/ctdlsupport/lib64/pkgconfig" || /bin/mkdir -p "/usr/local/ctdlsupport/lib64/pkgconfig"
 /usr/bin/install -c -m 644 'libsieve.pc' '/usr/local/ctdlsupport/lib64/pkgconfig/libsieve.pc'
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src'
Making install in sv_test
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_test'
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_test'
gmake[2]: Nothing to be done for 'install-exec-am'.
gmake[2]: Nothing to be done for 'install-data-am'.
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_test'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_test'
Making install in sv_include
gmake[1]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_include'
gmake[2]: Entering directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_include'
gmake[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/ctdlsupport/include" || /bin/mkdir -p "/usr/local/ctdlsupport/include"
 /usr/bin/install -c -m 644 'sieve2.h' '/usr/local/ctdlsupport/include/sieve2.h'
 /usr/bin/install -c -m 644 'sieve2_error.h' '/usr/local/ctdlsupport/include/sieve2_error.h'
gmake[2]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_include'
gmake[1]: Leaving directory '/tmp/citadel-build.3037/libsieve-2.2.7/src/sv_include'
+ show_info Complete.
+ echo '' Complete. ''
 Complete.
+ echo 37777804
+ rm -f /usr/local/citadel/citadel-easyinstall.sum
+ cd /tmp/citadel-build.3037
+ FILENAME=db-easyinstall.sum
+ download_this
++ which wget
+ WGET=/usr/bin/wget
++ which curl
+ CURL=/usr/bin/curl
+ '[' -n /usr/bin/wget -a -x /usr/bin/wget ']'
+ /usr/bin/wget http://easyinstall.citadel.org/db-easyinstall.sum
--2020-06-22 01:52:06--  http://easyinstall.citadel.org/db-easyinstall.sum
Resolving easyinstall.citadel.org (easyinstall.citadel.org)... 216.150.130.112
Connecting to easyinstall.citadel.org (easyinstall.citadel.org)|216.150.130.112|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33 [application/octet-stream]
Saving to: 'db-easyinstall.sum'

db-easyinstall.sum                       100%[==================================================================================>]      33  --.-KB/s    in 0s     

2020-06-22 01:52:06 (1.25 MB/s) - 'db-easyinstall.sum' saved [33/33]


Sun Jun 21 2020 18:37:42 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

I'm looking at it, but laughed when I saw this.

checking how to run the C preprocessor... ^C+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.

...

Can you let it finish, without hitting ^C?? I would like to see the whole trace.. hahha..

 

Sun Jun 21 2020 06:30:33 PM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

ok here we are:

2020-06-22 00:21:25 (433 KB/s) - 'libsieve-2.2.7-ctdl2.tar.gz' saved [822824/822824]

+ show_info 'Installing libsieve...'
+ echo '' Installing libsieve... ''
 Installing libsieve...
+ gzip -dc libsieve-2.2.7-ctdl2.tar.gz
+ tar -xf -
+ cd /tmp/citadel-build.25462/libsieve-2.2.7/src
+ ./configure --prefix=/usr/local/ctdlsupport
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by /usr/bin/gmake... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... ^C+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.

 

and here is my env:

 

# env
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.xz=00;31:*.avi=01;35:*.bmp=01;35:*.dl=01;35:*.fli=01;35:*.gif=01;35:*.gl=01;35:*.jpg=01;35:*.jpeg=01;35:*.mkv=01;35:*.mng=01;35:*.mov=01;35:*.mp4=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.svg=01;35:*.tga=01;35:*.tif=01;35:*.webm=01;35:*.webp=01;35:*.wmv=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.aiff=00;32:*.ape=00;32:*.au=00;32:*.flac=00;32:*.m4a=00;32:*.mid=00;32:*.mp3=00;32:*.mpc=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.wma=00;32:*.wv=00;32:
PILOTPORT=usb:
HOSTTYPE=x86_64
SSH_CONNECTION=XXXXXXX
LESSCLOSE=lessclose.sh %s %s
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
LANG=de_DE.UTF-8
WINDOWMANAGER=/usr/bin/startkde
LESS=-M -I -R
JAVA_ROOT=/usr/lib64/jvm/jre-11-openjdk
HOSTNAME=gerum
OLDPWD=/root
CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu
CSHEDIT=emacs
GPG_TTY=/dev/pts/1
AUDIODRIVER=pulseaudio
LESS_ADVANCED_PREPROCESSOR=no
COLORTERM=1
JAVA_HOME=/usr/lib64/jvm/jre-11-openjdk
ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
MACHTYPE=x86_64-suse-linux
QEMU_AUDIO_DRV=pa
MINICOM=-c on
QT_SYSTEM_DIR=/usr/share/desktop-data
OSTYPE=linux
XDG_SESSION_ID=21
USER=root
PAGER=less
MORE=-sl
PWD=/root/citinstall
HOME=/root
HOST=gerum
SSH_CLIENT=XXXXXXX
XNLSPATH=/usr/share/X11/nls
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
LIBGL_DEBUG=quiet
PROFILEREAD=true
SSH_TTY=/dev/pts/1
FROM_HEADER=
MAIL=/var/mail/root
LESSKEY=/etc/lesskey.bin
TERM=xterm-256color
SHELL=/bin/bash
LS_OPTIONS=-A -N --color=tty -T 0
XCURSOR_THEME=DMZ
SHLVL=1
G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
MANPATH=/usr/share/man:/usr/local/man
LOGNAME=root
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
XDG_RUNTIME_DIR=/run/user/0
JRE_HOME=/usr/lib64/jvm/java-11-openjdk-11
XDG_CONFIG_DIRS=/etc/xdg
PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin
JAVA_BINDIR=/usr/lib64/jvm/jre-11-openjdk/bin
SDL_AUDIODRIVER=pulse
G_BROKEN_FILENAMES=1
HISTSIZE=1000
CPU=x86_64
SSH_SENDS_LOCALE=yes
CVS_RSH=ssh
LESSOPEN=lessopen.sh %s
BASH_FUNC_mc%%=() {  . /usr/share/mc/mc-wrapper.sh
}
_=/usr/bin/env

 

Sun Jun 21 2020 15:43:02 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

You would need to have caught it a few lines before that..

a) We known you can configure & compile manually.

b) configure & compile launched by easyinstall fails.

The only thing left is to look at the easyinstall output on the exact line that calls configure.

also, to check the environment. [env]

If it's too much for you, I'd be willing to ssh in and take a look at it. 

Send a private message to my username here, if you want me to do that. 

:)

 

Sat Jun 20 2020 06:15:02 AM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

No, I had trace off but with trace on it looks like that:

checking sieve2.h usability... yes
checking sieve2.h presence... yes
checking for sieve2.h... yes
checking for sieve2_license in -lsieve... no
configure: error: libsieve was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start
+ die
+ show_alert Citadel Easy Install is aborting.
+ echo '' Citadel Easy Install is aborting. ''
 Citadel Easy Install is aborting.
+ show_alert The last few lines above this message may indicate what went wrong.
+ echo '' The last few lines above this message may indicate what went wrong. ''
 The last few lines above this message may indicate what went wrong.
+ show_alert Linux openSUSE 'NAME="openSUSE' 'Leap"' 'VERSION="15.1"' 'ID="opensuse-leap"' 'ID_LIKE="suse' 'opensuse"' 'VERSION_ID="15.1"' 'PRETTY_NAME="openSUSE' Leap '15.1"' 'ANSI_COLOR="0;32"' 'CPE_NAME="cpe:/o:opensuse:leap:15.1"' 'BUG_REPORT_URL="https://bugs.opensuse.org"' 'HOME_URL="https://www.opensuse.org/"' '(' 4.12.14-lp151.28.52-default 'x86_64)'
+ echo '' Linux openSUSE 'NAME="openSUSE' 'Leap"' 'VERSION="15.1"' 'ID="opensuse-leap"' 'ID_LIKE="suse' 'opensuse"' 'VERSION_ID="15.1"' 'PRETTY_NAME="openSUSE' Leap '15.1"' 'ANSI_COLOR="0;32"' 'CPE_NAME="cpe:/o:opensuse:leap:15.1"' 'BUG_REPORT_URL="https://bugs.opensuse.org"' 'HOME_URL="https://www.opensuse.org/"' '(' 4.12.14-lp151.28.52-default 'x86_64)' ''
 Linux openSUSE NAME="openSUSE Leap" VERSION="15.1" ID="opensuse-leap" ID_LIKE="suse opensuse" VERSION_ID="15.1" PRETTY_NAME="openSUSE Leap 15.1" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:leap:15.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" ( 4.12.14-lp151.28.52-default x86_64)
+ cd /root
+ rm -fr /tmp/citadel-build.13887
+ exit 1

 

a manual ./configure did run fine:

gerum:/tmp/citadel-build.8911/libsieve-2.2.7/src # ./configure --prefix=/usr/local/ctdlsupport
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating libsieve.pc
config.status: creating sv_parser/Makefile
config.status: creating sv_regex/Makefile
config.status: creating sv_interface/Makefile
config.status: creating sv_util/Makefile
config.status: creating sv_test/Makefile
config.status: creating sv_include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Wed Jun 17 2020 21:41:09 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

Okay, I had to find a recent build dir in /tmp.. 

So, here's the question..

did you run easyinstall with trace on (eg #!/bin/bash -x  on first line),

and if so, what did your configure line look like? [it may be another double-quote situation..]

I did it manually, and it worked fine.

so try it.. (your build number will be different)..

then post your results..

[problem may not be here at all.. may be install options.]

root@ftp:/tmp/citadel-build.2704/libsieve-2.2.7/src# ./configure --prefix=/usr/local/ctdlsupport
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /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... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
configure: creating ./config.status
config.status: creating libsieve.pc
config.status: creating sv_parser/Makefile
config.status: creating sv_regex/Makefile
config.status: creating sv_interface/Makefile
config.status: creating sv_util/Makefile
config.status: creating sv_test/Makefile
config.status: creating sv_include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands




Wed Jun 17 2020 06:16:16 PM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

I forced the installation of libsieve by inserting OLDSUM=does_not_exist in line 445 in the installer.

it did install fine:

gmake[2]: Entering directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
gmake[2]: Nothing to be done for 'install-exec-am'.
test -z "/usr/local/ctdlsupport/include" || /usr/bin/mkdir -p "/usr/local/ctdlsupport/include"
 /usr/bin/install -c -m 644 'sieve2.h' '/usr/local/ctdlsupport/include/sieve2.h'
 /usr/bin/install -c -m 644 'sieve2_error.h' '/usr/local/ctdlsupport/include/sieve2_error.h'
gmake[2]: Leaving directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
gmake[1]: Leaving directory '/tmp/citadel-build.13687/libsieve-2.2.7/src/sv_include'
 Complete.

but now I'm back with the license error:

checking sieve2.h usability... yes
checking sieve2.h presence... yes
checking for sieve2.h... yes
checking for sieve2_license in -lsieve... no
configure: error: libsieve was not found and is required.  More info: http://www.citadel.org/doku.php/installation:start
 Citadel Easy Install is aborting.

 

Tue Jun 16 2020 11:13:54 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

You're welcome Art..  It's my pleasure. to help out.

My last thought on this one at the moment should be in a new thread though..

The  /tmp/citadel-install.log file.. easyinstall is not in the main repos that I can see.. so I couldn't check the git log for that.

I think the bash trace will help out.  But, I distinctly recall that handy message from easy install

"something has failed.. you might look in /tmp/citadel-install.log" or something like that.

 

Mon Jun 15 2020 10:49:34 PM EDT from IGnatius T Foobar @ Uncensored Subject: Re: sieve2_license error

Thank you warbaby for the excellent insight and help.

I will echo the request for our OpenSuSE friends to post the completed diffs to the Easy Install script to make it run properly on OpenSuSE.    We will cheerfully accept any changes that are needed.  It's just that we don't have anyone on the core team that uses this distribution so we don't normally test with it.

In the future we will have a Docker container for Citadel and I hope most people will use that.

 

 

Mon Jun 15 2020 05:21:10 PM EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

I encourage you to keep cracking away at it. It's probably just a path.. You might need to add symlink.   I  have some other stuff todo for a while, but am still monitoring the thread.

 


 



 



 



 



 



 



 



 



[#] Mon Jun 22 2020 09:25:02 EDT from easy now @ Uncensored

Subject: Re: BerkeleyDB lib error while installing with Easy Install

[Reply] [ReplyQuoted] [Headers] [Print]

The problem seem to be connected to database population. Any idea what is going on? 

;;;;;;;;;;;;;;;;;;citadel log;;;;;;;;;;;;;;;;;;;;

citserver[20897]: citserver[20897]: Opening databases

citserver[20897]: Opening databases

kernel: [ 9113.292172] citserver[20897]: segfault at 5f01 ip 0000000000005f01 sp 00007fff8c482388 error 14 in citserver[400000+9b000]

systemd[1]: citadel.service: Main process exited, code=dumped, status=11/SEGV

systemd[1]: citadel.service: Unit entered failed state.

systemd[1]: citadel.service: Failed with result 'core-dump'.

systemd[1]: citadel.service: Service RestartSec=100ms expired, scheduling restart.

systemd[1]: Stopped Citadel Server.

systemd[1]: Started Citadel Server.

;;;;;;;;;;;;start citserver;;;;;;;;;;;;;;;;;;;;

citserver[30984]: *** Citadel server engine ***

citserver[30984]: Version 929 (build f59e2e677) ***

citserver[30984]: Copyright (C) 1987-2020 by the Citadel development team.

citserver[30984]: This program is open source software: you can redistribute it and/or

citserver[30984]: modify it under the terms of the GNU General Public License, version 3.

citserver[30984]: This program is distributed in the hope that it will be useful,

citserver[30984]: but WITHOUT ANY WARRANTY; without even the implied warranty of

citserver[30984]: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

citserver[30984]: libcitadel(unnumbered)

citserver[30984]: Checking directory access

citserver[30984]: Opening databases

kernel: [176820.737118] citserver[30984]: segfault at 1da35b0 ip 0000000001da35b0 sp 00007ffc5791f928 error 15

sshd[30995]: Accepted keyboard-interactive/pam for root from 192.168.1.107 port 55308 ssh2

systemd[1]: Started Session 56 of user root.

systemd-logind[1342]: New session 56 of user root.

sshd[30995]: pam_unix(sshd:session): session opened for user root by (uid=0



[#] Mon Jun 22 2020 17:40:29 EDT from p.agsten @ Uncensored

Subject: Citadel unresponsive due to corrupted message

[Reply] [ReplyQuoted] [Headers] [Print]

My server suddenly stopped responding to mail access. When I reboot the server (or restart Citadel service) I can connect but only briefly, then the Citedal process consumes pretty much all CPU and does not respond.

I have found the folloing in /var/log/mail.log:

Jun 22 23:25:38 h2884472 citserver[1677]: msgbase: message 0 appears to be corrupted

Have not found any hint how to delete the corrupted message. Needless to say that I don't want to re-initialize the whole thing losing my data.

Any help is much appreciated.

Pit

 



[#] Tue Jun 23 2020 16:19:28 EDT from p.agsten @ Uncensored

Subject: Re: Citadel unresponsive due to corrupted message

[Reply] [ReplyQuoted] [Headers] [Print]

Resolved this issue by restoring backups from last night. Lost one day worth of mails :-( Would be good though to understand whether there is a chance to recover database from corruption.

Any ideas?

Pit

Mon Jun 22 2020 17:40:29 EDT from p.agsten @ Uncensored Subject: Citadel unresponsive due to corrupted message

My server suddenly stopped responding to mail access. When I reboot the server (or restart Citadel service) I can connect but only briefly, then the Citedal process consumes pretty much all CPU and does not respond.

I have found the folloing in /var/log/mail.log:

Jun 22 23:25:38 h2884472 citserver[1677]: msgbase: message 0 appears to be corrupted

Have not found any hint how to delete the corrupted message. Needless to say that I don't want to re-initialize the whole thing losing my data.

Any help is much appreciated.

Pit

 



 



[#] Wed Jun 24 2020 16:14:21 EDT from bgerum2 @ Uncensored

Subject: Re: sieve2_license error

[Reply] [ReplyQuoted] [Headers] [Print]

Hi warbaby,

you were from great help so far. Do you have some more hints regarding my post 4564823 from Sun Jun 21 2020 20:01:31 EDT?



[#] Wed Jun 24 2020 16:28:24 EDT from warbaby @ Uncensored

Subject: Re: sieve2_license error

[Reply] [ReplyQuoted] [Headers] [Print]

I looked through it, it appears to complete properly.  I am super busy with a big project right now, or I'd be able to give it more time. 

The fact that you can compile manually means you should be able to get a working installation going.. even if it is a little hackish in the short term.

I may be able to get back to this later, but can't make any promises... so don't hold anything up waiting for me. 

One issue I'm seeing with OpenSUSE, is that most of the VPS providers don't offer the image, because it's difficult for them to automate the networking code.

If you have a VPS setup somewhere with your version installed.. and ask Art or one of the developers to log into it.. that is probably the number one thing you could do to get easyinstall sorted out for OpenSUSE.

(:

Wed Jun 24 2020 04:14:21 PM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

Hi warbaby,

you were from great help so far. Do you have some more hints regarding my post 4564823 from Sun Jun 21 2020 20:01:31 EDT?



 



[#] Wed Jun 24 2020 17:01:10 EDT from bgerum2 @ Uncensored

Subject: Re: sieve2_license error

[Reply] [ReplyQuoted] [Headers] [Print]

Any way I can make easyinstall ignore the "checking for sieve2_license in -lsieve... no" error and continue because it lloks like libsieve is properly installed, just not the license file?

Regarding VPS ... I have no VPS running, just real servers at home and at the office .. but I'm looking into it.

 

Wed Jun 24 2020 16:28:24 EDT from warbaby @ Uncensored Subject: Re: sieve2_license error

I looked through it, it appears to complete properly.  I am super busy with a big project right now, or I'd be able to give it more time. 

The fact that you can compile manually means you should be able to get a working installation going.. even if it is a little hackish in the short term.

I may be able to get back to this later, but can't make any promises... so don't hold anything up waiting for me. 

One issue I'm seeing with OpenSUSE, is that most of the VPS providers don't offer the image, because it's difficult for them to automate the networking code.

If you have a VPS setup somewhere with your version installed.. and ask Art or one of the developers to log into it.. that is probably the number one thing you could do to get easyinstall sorted out for OpenSUSE.

(:

Wed Jun 24 2020 04:14:21 PM EDT from bgerum2 @ Uncensored Subject: Re: sieve2_license error

Hi warbaby,

you were from great help so far. Do you have some more hints regarding my post 4564823 from Sun Jun 21 2020 20:01:31 EDT?



 



 



[#] Thu Jun 25 2020 08:11:38 EDT from CitadelBeginner @ Uncensored

Subject: Problems with SMTP login

[Reply] [ReplyQuoted] [Headers] [Print]

Hi,

I'm quite new to Citadel. I'm running a Citadel 929 installation (done with really nice Easy Install method) on a Raspberry Pi in my local network without any contact to the internet. It's there so that ma FritzBox router can send notification emails when it receives e.g. fax documents. There the problems start.

User management is done in Citadel with it's built in user management. I set up a user "fritzbox" and password "fritzbox" for the FritzBox so that it can send emails. The FritzBox I configured to not use any kind of encryption, so it's using SMTP over port 25. So far so good.

When the FritzBox tries to login, it's using the SMTP "AUTH LOGIN" method. The login always fails. I did a capture and checked it with wireshark:

220 raspberrypi.fritz.box ESMTP Citadel server ready.

EHLO fritzbox

250-Hello fritzbox (fritz.box [192.168.2.1])

250-HELP

250-SIZE 10485760

250-AUTH LOGIN PLAIN

250-AUTH=LOGIN PLAIN

250 8BITMIME AUTH LOGIN

334 VXNlcm5hbWU6 ZnJpdHpib3g=

334 UGFzc3dvcmQ6 ZnJpdHpib3g=

535 Authentication failed.

QUIT

221 Goodbye...

So Citadel reports "535 Authentication failed." :-(

I checked the sources and there seems to be something wrong.

The password check is done in int CtdlTryPassword(const char *password, long len)

In this piece of code:

    else {

        /* native auth mode */

        char *pw;

        pw = (char*) malloc(len + 1);

        memcpy(pw, password, len + 1);

        strproc(pw);

        strproc(CCC->user.password);

        code = strcasecmp(CCC->user.password, pw);

        if (code != 0) {

            strproc(pw);

            strproc(CCC->user.password);

            code = strcasecmp(CCC->user.password, pw);

        }

        free (pw);

    }

Unfortunately the passed in string for the password at CtdlTryPassword contains a trailing '>' from the BASE64 decoding. Now this password is compared to the stored password and as expected it fails ...

In the function int CtdlLoginExistingUser(const char *trythisname) for handling the user name the string handling seems to be ok. There the trailing '>' of the user name is removed:

    safestrncpy(username, trythisname, sizeof (username));

    striplt(username);

Is there anybody who can fix this in the password code?

 

Thanks in advance

Peter

 



[#] Thu Jun 25 2020 12:44:17 EDT from CitadelBeginner @ Uncensored

Subject: Re: Problems with SMTP login

[Reply] [ReplyQuoted] [Headers] [Print]

Hi,

 

I tried a fix on my own. Here is my try:

diff modules/smtp/serv_smtp.c modules/smtp/serv_smtp.c.new

432c432,434

<       char password[SIZ];

---

>       long decoded_len;

>       char pass[SIZ] = "";

>       long plen = 0;

434,437c436,447

<       memset(password, 0, sizeof(password));

<       StrBufDecodeBase64(sSMTP->Cmd);

<       syslog(LOG_DEBUG, "Trying <%s>", password);

<       if (CtdlTryPassword(SKEY(sSMTP->Cmd)) == pass_ok) {

---

>       decoded_len = StrBufDecodeBase64(sSMTP->Cmd);

>       if (decoded_len > 0)

>       {

>               /* copy password and remove trailing '>' */

>               plen = safestrncpy(pass, ChrPtr(sSMTP->Cmd), sizeof pass);

>               if (plen > 0) {

>                       plen--;

>                       pass [plen] = 0;

>               }

>       }

>       syslog(LOG_DEBUG, "Trying <%s>", pass);

>       if (plen > 0 && CtdlTryPassword(pass,plen) == pass_ok) {

It works for me but I'm not sure I broke somethinge else ;-)

So it would be very nice if somebody with more knowlege could check this and add an improved version to the repository.

 

Best regards,

Peter

 



[#] Fri Jun 26 2020 17:09:52 EDT from "s3cr3to" <s3cr3to@uncensored.citadel.org> to CitadelBeginner <citadelbeginner@uncensored.citadel.org>,Citadel_Support <room_Citadel_Support@uncensored.citadel.org>

Subject: Re: Problems with SMTP login

[Reply] [ReplyQuoted] [Headers] [Print]

I wonder if the SMTP dialog knows how to separate the strings.
So, I don't if is correct to send two encoded string in each line like in:
334 VXNlcm5hbWU6 ZnJpdHpib3g=
334 UGFzc3dvcmQ6 ZnJpdHpib3g=

In a command line, if I try to decode both I got errors
$ echo "VXNlcm5hbWU6 ZnJpdHpib3g=" |base64 --decode
Username:base64: invalid input

But trying each string separated works:
$ echo "VXNlcm5hbWU6" |base64 --decode
Username:
$ echo "ZnJpdHpib3g=" |base64 --decode
fritzbox

Maybe this kind of test can give you some more hints. This test works in
windows with telnet and it works. And I remember it works the equivalent
in Linux too.

c:>telnet relay.plus.net 25 <CR>

220 relay.plus.net ESMTP Exim <today's date>
helo username.plus.com <CR>
250-<server>.plus.net Hello username.plus.com <ipaddress>
mail from: <email account>@username.plus.com <CR>
250 OK
rcpt to: <email account>@username.plus.com <CR>
250 Accepted
data <CR> [start data (email text) entry]
354 Please start mail input.
Date: 2 Jan 04 12:00:00
Subject: test email from SMTP
This is a test mail from the SMTP server <CR>
. <CR> [single dot on it's own terminates message text]
250 Mail queued for delivery.
Quit <CR>
221 Closing connection



Regards


On 6/25/20 6:11 AM, CitadelBeginner wrote:
Hi,

I'm quite new to Citadel. I'm running a Citadel 929 installation (done
with really nice Easy Install method) on a Raspberry Pi in my local
network without any contact to the internet. It's there so that ma
FritzBox router can send notification emails when it receives e.g. fax
documents. There the problems start.

User management is done in Citadel with it's built in user management. I
set up a user "fritzbox" and password "fritzbox" for the FritzBox so
that it can send emails. The FritzBox I configured to not use any kind
of encryption, so it's using SMTP over port 25. So far so good.

When the FritzBox tries to login, it's using the SMTP "AUTH LOGIN"
method. The login always fails. I did a capture and checked it with
wireshark:

220 raspberrypi.fritz.box ESMTP Citadel server ready.

EHLO fritzbox

250-Hello fritzbox (fritz.box [192.168.2.1])

250-HELP

250-SIZE 10485760

250-AUTH LOGIN PLAIN

250-AUTH=LOGIN PLAIN

250 8BITMIME AUTH LOGIN

334 VXNlcm5hbWU6 ZnJpdHpib3g=

334 UGFzc3dvcmQ6 ZnJpdHpib3g=

535 Authentication failed.

QUIT

221 Goodbye...

So Citadel reports "535 Authentication failed." :-(

I checked the sources and there seems to be something wrong.

The password check is done in int CtdlTryPassword(const char *password,
long len)

In this piece of code:

    else {

/* native auth mode */

        char *pw;

        pw = (char*) malloc(len + 1);

        memcpy(pw, password, len + 1);

        strproc(pw);

        strproc(CCC->user.password);

        code = strcasecmp(CCC->user.password, pw);

        if (code != 0) {

            strproc(pw);

            strproc(CCC->user.password);

            code = strcasecmp(CCC->user.password, pw);

        }

        free (pw);

    }

Unfortunately the passed in string for the password at /CtdlTryPassword/
contains a trailing '>' from the BASE64 decoding. Now this password is
compared to the stored password and as expected it fails ...

In the function /int CtdlLoginExistingUser(const char *trythisname)/ for
handling the user name the string handling seems to be ok. There the
trailing '>' of the user name is removed:

    safestrncpy(username, trythisname, sizeof (username));

    striplt(username);

Is there anybody who can fix this in the password code?

Thanks in advance

Peter

[#] Sat Jun 27 2020 07:15:49 EDT from CitadelBeginner @ Uncensored

Subject: Re: Problems with SMTP login

[Reply] [ReplyQuoted] [Headers] [Print]

The SMTP client is using "AUTH LOGIN" (sorry, some missing line breaks in my original message). This requires separated username and password transmission as you can see in my message. So the client encodes username and password separately. What you probably have in mind is "AUTH PLAIN" where both username and password are encoded together.

What I have seen while debugging is that after the BASE64 decoding of a string in Citadel, always a '>' character is appended in the resulting string. The username is handled correctly and the trailing '>' is removed before it is checked against the Citadel user database. But this is not done with the password when doing the "AUTH LOGIN". 

So in the fix I did, I just remove this trailing '>' from the password before the password is checked against the Citadel user database.

To double check this you can create a user in Citadel with username and password "fritzbox", telnet into Citadel on port 25 and send the following strings:

EHLO fritzbox

AUTH LOGIN

ZnJpdHpib3g=

ZnJpdHpib3g=

Then you get the "535 Authentication failed."

With my fix it works.

Best regards,

Peter

 

Fri Jun 26 2020 17:09:52 EDT from "s3cr3to" <s3cr3to@uncensored.citadel.org> Subject: Re: Problems with SMTP login
I wonder if the SMTP dialog knows how to separate the strings.
So, I don't if is correct to send two encoded string in each line like in:
334 VXNlcm5hbWU6 ZnJpdHpib3g=
334 UGFzc3dvcmQ6 ZnJpdHpib3g=
In a command line, if I try to decode both I got errors
$ echo "VXNlcm5hbWU6 ZnJpdHpib3g=" |base64 --decode
Username:base64: invalid input
But trying each string separated works:
$ echo "VXNlcm5hbWU6" |base64 --decode
Username:
$ echo "ZnJpdHpib3g=" |base64 --decode
fritzbox
Maybe this kind of test can give you some more hints. This test works in
windows with telnet and it works. And I remember it works the equivalent
in Linux too.

c:>telnet relay.plus.net 25 <CR>

220 relay.plus.net ESMTP Exim <today's date>
helo username.plus.com <CR>
250-<server>.plus.net Hello username.plus.com <ipaddress>
mail from: <email account>@username.plus.com <CR>
250 OK
rcpt to: <email account>@username.plus.com <CR>
250 Accepted
data <CR> [start data (email text) entry]
354 Please start mail input.
Date: 2 Jan 04 12:00:00
Subject: test email from SMTP
This is a test mail from the SMTP server <CR>
. <CR> [single dot on it's own terminates message text]
250 Mail queued for delivery.
Quit <CR>
221 Closing connection


Regards


On 6/25/20 6:11 AM, CitadelBeginner wrote:
Hi,

I'm quite new to Citadel. I'm running a Citadel 929 installation (done
with really nice Easy Install method) on a Raspberry Pi in my local
network without any contact to the internet. It's there so that ma
FritzBox router can send notification emails when it receives e.g. fax
documents. There the problems start.

User management is done in Citadel with it's built in user management. I
set up a user "fritzbox" and password "fritzbox" for the FritzBox so
that it can send emails. The FritzBox I configured to not use any kind
of encryption, so it's using SMTP over port 25. So far so good.

When the FritzBox tries to login, it's using the SMTP "AUTH LOGIN"
method. The login always fails. I did a capture and checked it with
wireshark:

220 raspberrypi.fritz.box ESMTP Citadel server ready.

EHLO fritzbox

250-Hello fritzbox (fritz.box [192.168.2.1])

250-HELP

250-SIZE 10485760

250-AUTH LOGIN PLAIN

250-AUTH=LOGIN PLAIN

250 8BITMIME
AUTH LOGIN

334 VXNlcm5hbWU6
ZnJpdHpib3g=

334 UGFzc3dvcmQ6
ZnJpdHpib3g=

535 Authentication failed.

QUIT

221 Goodbye...

So Citadel reports "535 Authentication failed." :-(

I checked the sources and there seems to be something wrong.

The password check is done in int CtdlTryPassword(const char *password,
long len)

In this piece of code:

    else {

/* native auth mode */

        char *pw;

        pw = (char*) malloc(len + 1);

        memcpy(pw, password, len + 1);

        strproc(pw);

        strproc(CCC->user.password);

        code = strcasecmp(CCC->user.password, pw);

        if (code != 0) {

            strproc(pw);

            strproc(CCC->user.password);

            code = strcasecmp(CCC->user.password, pw);

        }

        free (pw);

    }

Unfortunately the passed in string for the password at /CtdlTryPassword/
contains a trailing '>' from the BASE64 decoding. Now this password is
compared to the stored password and as expected it fails ...

In the function /int CtdlLoginExistingUser(const char *trythisname)/ for
handling the user name the string handling seems to be ok. There the
trailing '>' of the user name is removed:

    safestrncpy(username, trythisname, sizeof (username));

    striplt(username);

Is there anybody who can fix this in the password code?

Thanks in advance

Peter

 



[#] Sat Jun 27 2020 11:13:50 EDT from BenM @ Uncensored

Subject: Re: Is sendcommand "CULL" no longer supported?

[Reply] [ReplyQuoted] [Headers] [Print]

OK from doing a comparison with 917 I can see that "CULL" has been removed as a manual command from modules/ctdlproto/serv_syscmds.c. And cdb_cull_logs() in database.c doesn't do anything now. But why? Now my server is just filling up with log files... There is a comment in database.c in 917 implying that Berkeley DB should be deleting the unneeded logs itself in future but that doesn't seem to be happening. Anyone got any ideas?

 

Sat Jun 20 2020 15:09:14 EDT from BenM @ Uncensored Subject: Is sendcommand "CULL" no longer supported?

Hi,

I have upgraded to Citadel 929 Easy Install from 917 installed from .debs, due to upgrading the server to Debian Buster. 

Up until now I have been using the "hot" backup method with a script that issues /usr/local/citadel/sendcommand "CULL" after the backup is complete. However, after the upgrade the log files are no longer being deleted.

root@myserver:~# /usr/local/citadel/sendcommand "CULL"

sendcommand: started (pid=25745) connecting to Citadel server at /usr/local/citadel/citadel-admin.socket

200 helium Citadel server ADMIN CONNECTION ready.

CULL

530 Unrecognized or unsupported command.

Can I just delete logs older than a certain date instead? Or did "CULL" have some other effect too?

 

Thanks,

Ben

 

 



 



[#] Sat Jun 27 2020 11:16:19 EDT from skenigma @ Uncensored

Subject: Support request.

[Reply] [ReplyQuoted] [Headers] [Print]

I performed an easy install, but most the files from the documented file list do not appear.
I configured a room with the appropriate alias, but the server returns all email to that alias as undeliverable, user not found.
I manually created network/mail.alias, and restarted, but still no joy.
Any thoughts?



[#] Sun Jun 28 2020 11:42:53 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Support request.

[Reply] [ReplyQuoted] [Headers] [Print]

I manually created network/mail.alias, and restarted, but still no

mail.aliases is not supported in any modern version of Citadel. To add an alias for a user, edit the user's account and add more email addresses to the account.

[#] Sun Jun 28 2020 11:47:07 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Is sendcommand "CULL" no longer supported?

[Reply] [ReplyQuoted] [Headers] [Print]

OK from doing a comparison with 917 I can see that "CULL" has been removed
as
a manual command from modules/ctdlproto/serv_syscmds.c. And cdb_cull_logs()


The CULL command has been deprecated for some time. You can now use the built-in configuration directive "automatically delete committed database logs". This is the default behavior, so unless you've changed it, you're already ok here.

If you are working in an environment where you want to back up all of the logs before deleting them, you can use the Berkeley DB utilities to accomplish the same thing. "db_archive -d" will do the same thing that the CULL server command used to do.

Documentation for the Berkeley DB utilities: [ https://docs.oracle.com/cd/E17275_01/html/api_reference/C/utilities.html ]

[#] Sun Jun 28 2020 11:48:36 EDT from IGnatius T Foobar @ Uncensored

Subject: Re: Citadel unresponsive due to corrupted message

[Reply] [ReplyQuoted] [Headers] [Print]

Jun 22 23:25:38 h2884472 citserver[1677]: msgbase: message 0 appears
to be corrupted

There is no "message 0" anywhere on a Citadel system. If you get that message it means that something fed a null message number into something else, no need to worry about that.

[#] Mon Jun 29 2020 14:57:08 EDT from skenigma @ Uncensored

Subject: Re: Support request.

[Reply] [ReplyQuoted] [Headers] [Print]

That didn't work either.



[#] Mon Jun 29 2020 15:01:37 EDT from skenigma @ Uncensored

Subject: Re: Support request.

[Reply] [ReplyQuoted] [Headers] [Print]

 

Sun Jun 28 2020 11:42:53 EDT from IGnatius T Foobar @ Uncensored Subject: Re: Support request.
I manually created network/mail.alias, and restarted, but still no

mail.aliases is not supported in any modern version of Citadel. To add an alias for a user, edit the user's account and add more email addresses to the account.

Sorry, I tried this, well for the room.  



 



Go to page: First ... 22 23 24 25 [26] 27 28