Problem rebuilding alpine package.
The alpine that comes with slackware 14.1 does not have passfile support. You have to enter your password every time you open alpine. My email password is long and I've never tried to memorize it. My computer is physically secure so there are no security problems with keeping the password in a file on my hard drive. The fix is relatively simple. I took the source from /n on the dvd and added --with-passfile=<filename> in alpine.Slackbuild and then upgradepkg the result. I've done this before with no problems. This time the build halted with an error that I don't know how to fix. The weird thing is that this is the same package that I have installed so it should build cleanly. Here's the end of the build:
make[4]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/alpine'
make[3]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/alpine'
make[2]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/alpine'
Making all in web/src/alpined.d
make[2]: Entering directory `/home/ewl/Desktop/alpine/alpine-2.11/web/src/alpined.d'
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../incl
ude -I../../../include -I/usr/include -g -pthread -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tp
o -c -o wpcomm.lo wpcomm.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../include -I../../../include -I/usr/incl
ude -g -pthread -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tpo -c wpcomm.c -fPIC -DPIC -o .libs
/wpcomm.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../include -I../../../include -I/usr/incl
ude -g -pthread -g -O2 -MT wpcomm.lo -MD -MP -MF .deps/wpcomm.Tpo -c wpcomm.c -o wpcomm.o >/dev/nul
l 2>&1
mv -f .deps/wpcomm.Tpo .deps/wpcomm.Plo
/bin/sh ../../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -pthread -g -O2 -rpath '/home/ewl
/Desktop/alpine/alpine-2.11/web/src/alpined.d/../../lib' -version-info 1:0:0 -L/usr/lib -o libwpco
mm.la -rpath /home/ewl/Desktop/alpine/alpine-2.11/web/src/alpined.d/../../lib wpcomm.lo -ltcl -lcr
ypto -lssl -lldap -lncurses -llber -lssl -lcrypto
libtool: link: gcc -std=gnu99 -shared .libs/wpcomm.o -L/usr/lib -ltcl /usr/lib64/libldap.so -L/u
sr/lib64 /usr/lib64/libsasl2.so -ldl -lncurses /usr/lib64/liblber.so -lresolv -lssl -lcrypto -pthr
ead -pthread -Wl,-soname -Wl,libwpcomm.so.1 -o .libs/libwpcomm.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libwpcomm.so.1" && ln -s "libwpcomm.so.1.0.0" "libwpcomm.so.1"
)
libtool: link: (cd ".libs" && rm -f "libwpcomm.so" && ln -s "libwpcomm.so.1.0.0" "libwpcomm.so")
libtool: link: /usr/bin/ar cru .libs/libwpcomm.a wpcomm.o
libtool: link: ranlib .libs/libwpcomm.a
libtool: link: ( cd ".libs" && rm -f "libwpcomm.la" && ln -s "../libwpcomm.la" "libwpcomm.la" )
gcc -std=gnu99 -DHAVE_CONFIG_H -I../../../include -I../../../include -I/usr/include -g -pthread
-g -O2 -MT alpined.o -MD -MP -MF .deps/alpined.Tpo -c -o alpined.o alpined.c
alpined.c: In function ‘main’:
alpined.c:763:48: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_OK : peReturn(cs, "OK", interp->result); break;
^
alpined.c:764:53: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_ERROR : peReturn(cs, "ERROR", interp->result); break;
^
alpined.c:765:53: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_BREAK : peReturn(cs, "BREAK", interp->result); break;
^
alpined.c:766:54: error: ‘Tcl_Interp’ has no member named ‘result’
case TCL_RETURN : peReturn(cs, "RETURN", interp->result); break;
^
alpined.c: In function ‘peLoadConfig’:
alpined.c:10847:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
mail_parameters(NULL, SET_RSHTIMEOUT, (void *) rv);
^
alpined.c:10851:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
mail_parameters(NULL, SET_SSHTIMEOUT, (void *) rv);
^
alpined.c: In function ‘peRssFetch’:
alpined.c:16275:9: warning: implicit declaration of function ‘date_to_local_time_t’ [-Wimplicit-fun
ction-declaration]
theirdate = date_to_local_time_t(q);
^
make[2]: *** [alpined.o] Error 1
make[2]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11/web/src/alpined.d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ewl/Desktop/alpine/alpine-2.11'
make: *** [all] Error 2
|