> Hey.
 > 
 > [email protected] (Norman Ramsey) wrote:
 >  |Installing with OPT_AUTOCC=no trips over what appears
 >  |to be an uninitialized variable:
 >  |
 >  |nr@homedog ~/n/s-nail> make OPT_AUTOCC=no install
 > 
 > Which version are you trying here, please?

Whatever I cloned from your git repository.  The latest commit is
3eb130b117df51af560c0cf5af57546e7c52d495. 

 > I cannot figure out what this could be.  Would you mind doing
 > 
 >   make OPT_AUTOCC=no VERBOSE=yes all && make install 2>&1 | tee log.txt

Attached, but with brackets so you get the log from both make commands.


Norman
Checking for basic utility set
 . ${awk} ... /usr/bin/awk
 . ${rm} ... /bin/rm
 . ${tr} ... /usr/bin/tr
Setting up configuration options ... done
Joining in ./make.rc ... done
Operating system is linux
 . no special treatment for this system necessary or known
Checking for remaining set of utilities
 . ${grep} ... /bin/grep
 . ${basename} ... /usr/bin/basename
 . ${cat} ... /bin/cat
 . ${chmod} ... /bin/chmod
 . ${cp} ... /bin/cp
 . ${cmp} ... /usr/bin/cmp
 . ${mkdir} ... /bin/mkdir
 . ${mv} ... /bin/mv
 . ${sed} ... /bin/sed
 . ${sort} ... /usr/bin/sort
 . ${tee} ... /usr/bin/tee
 . ${chown} ... /bin/chown
 . ${make} ... make
 . ${strip} ... /usr/bin/strip
 . ${cksum} ... /usr/bin/cksum
Evaluating all configuration items ... done
Using C compiler ${CC}=cc

Shiny configuration..
 . OS error mapping table generated ... yes
 . inline functions ... yes
 . clock_gettime(2) ... yes
 . nanosleep(2) ... yes
 . gete?[gu]id(2), getpwuid(3), getpwnam(3) ... yes
 . ftruncate(2) ... yes
 . SA_RESTART (for sigaction(2)) ... yes
 . snprintf(3) ... yes
 . environ(3) ... yes
 . (un)?setenv(3) ... yes
 . termios.h and tc*(3) family ... yes
 . vsnprintf(3) ... yes
 . va_copy(3) (as va_copy) ... yes
 . f?pathconf(2) ... yes
 . pipe2(2) ... yes
 . utimensat(2) ... yes
 . arc4random(3) ... no
 . getrandom(2) (in sys/random.h) ... no
 . getrandom(2) (via syscall(2)) ... yes
 . putc_unlocked(3) ... yes
 . fchdir(3) ... yes
 . realpath(3) ... yes
 . realpath(3) takes NULL ... yes
 . readlink(2) ... yes
 . fchown(2) ... yes
 . setlocale(3) ... yes
 . ISO/IEC 9899:1990/Amendment 1:1995 ... yes
 . wcwidth(3) ... yes
 . nl_langinfo(3) ... yes
 . fnmatch(3) ... yes
 . struct dirent.d_type ... yes
 . iconv(3) functionality ... yes
 . AF_UNIX sockets ... yes
 . sockets ... yes
 . getaddrinfo(3) ... yes
 . setsockopt(2) ... yes
 . SO_SNDTIMEO ... yes
 . SO_LINGER ... yes
 . TLS/SSL (LibreSSL) ... no
 . TLS/SSL (OpenSSL >= v1.1.0) ... no
 . TLS/SSL (OpenSSL) ... no
 . GSS-API via krb5-config(1) ... yes
 . GNU Libidn ... yes
 . regular expressions ... yes
 . terminfo(5) (via -ltinfo) ... yes

The following features are included (+) or not (-):
 + locales: Locale support - printable characters etc. depend on environment
 + multibyte-charsets: Multibyte character sets
 + terminal-charset: Automatic detection of terminal character set
 + wide-glyphs: Wide glyph support
 + iconv: Character set conversion using iconv(3)
 + sockets: Network support
 - ssl: SSL/TLS (OpenSSL / LibreSSL)
 + ssl-all-algorithms: Support of all digest and cipher algorithms
 + smtp: Simple Mail Transfer Protocol client
 + pop3: Post Office Protocol Version 3 client
 + imap: IMAP v4r1 client
 + gssapi: Generic Security Service authentication
 + netrc: .netrc file support
 + md5: MD5 message digest (APOP, CRAM-MD5)
 + idna: Internationalized Domain Names for Applications (encode only)
 + imap-search: IMAP-style search expressions
 + regex: Regular expressions
 + mle: Mailx Line Editor
 + history: Line editor history management
 + key-bindings: Configurable key bindings
 + termcap: Terminal capability queries (termcap(5))
 + termcap-via-terminfo: Terminal capability queries use terminfo(5)
 + errors: Error log message ring
 - spam-spamc: Spam management via spamc(1) of spamassassin(1)
 + spam-filter: Freely configurable *spam-filter-..*s
 + docstrings: Command documentation help strings
 + quote-fold: Extended *quote-fold*ing
 + filter-html-tagsoup: Simple built-in HTML-to-text display filter
 + colour: Coloured message display
 + dotlock: Dotlock files and privilege-separated dotlock program
 + mime: Multipurpose Internet Mail Extensions
 - smime: S/MIME message signing, verification, en- and decryption
 - cross-build: Cross-compilation: trust any detected environment
 - debug: Debug enabled binary, not for end-users: THANKS!
 - devel: Computers do not blunder

Setup:
 . System-wide resource file: /usr/local/s-nail/etc/s-nail.rc
 . bindir: /usr/local/s-nail/bin
 . libexecdir: /usr/local/s-nail/libexec
 . mandir: /usr/local/s-nail/share/man
 . M(ail)T(ransfer)A(gent): /usr/lib/sendmail (argv0 sendmail)
 . $MAIL spool directory: /var/spool/mail

make[1]: Entering directory '/home/nr/net/s-nail'
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./accmacvar.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./attachment.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./auxlily.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-cnd.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-folder.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-headers.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-message.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-misc.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-resend.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-tab.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./cmd-write.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./collect.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./colour.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./dotlock.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./edit.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./filter.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./fio.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./folder.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./go.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./head.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./ignore.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./imap-search.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./maildir.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./main.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./memory.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./message.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./mime-enc.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./mime-param.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./mime-parse.c
\
LC_ALL=C < ./mime.types > gen-mime-types.h /usr/bin/awk '\
function add(mt, ln) {\
        gsub(/[[:space:]]+/, " ", ln);\
        i = split(ln, i_a);\
        e = "";\
        for (j = 1; j <= i; ++j) {\
                k = i_a[j];\
                e = (e ? e " " : "") k\
        }\
        if (e) {\
                if (e_a[mt])\
                        e_a[mt] = e_a[mt] " ";\
                e_a[mt] = e_a[mt] e\
        }\
}\
/^[[:space:]]*#/ {next}\
/^[[:space:]]*$/ {ltype = ""; next}\
/^[[:space:]]/ {\
        if (!ltype)\
                print "FAULTY CONTINUATION: " $0 >> "/dev/stderr";\
        add(ltype, $0);\
        next\
}\
/^(@([thH]@)? )?[[:alpha:]]/ {\
        if ($1 ~ /^@([thH]@)?$/) {\
                pa = $1;\
                $1 = $2;\
                $2 = ""\
        } else\
                pa = "";\
        if ($1 !~ /^([[:alnum:]]+)\/([[:alnum:]_+-]+)$/)\
                print "FAULTY MIME TYPE: <" $1 ">" >> "/dev/stderr";\
        ltype = $1; $1 = "";\
        if (pa)\
                p_a[ltype] = pa;\
        if (!nt_a[ltype])\
                no_a[++no_ai] = nt_a[ltype] = ltype;\
        add(ltype, $0)\
}\
END {\
        for (z = 1; z <= no_ai; ++z) {\
                t = no_a[z];\
                j = index(t, "/");\
                mt = toupper(substr(t, 1, j - 1));\
                j = substr(t, j + 1);\
                l = length(j);\
                if (!p_a[t])\
                        mt = "_MT_" mt;\
                else {\
                        tm = p_a[t];\
                        if (tm == "@" || tm == "@t@")\
                                mt = "_MT_" mt " | _MT_PLAIN";\
                        else if (tm == "@h@")\
                                mt = "_MT_" mt " | _MT_SOUP_h";\
                        else if (tm == "@H@")\
                                mt = "_MT_" mt " | _MT_SOUP_H";\
                }\
                print "   {" mt ", " l ", \"" j e_a[t] "\"},"\
        }\
}\
'
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./mime-types.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./mime.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./nam-a-grp.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./obs-imap-cache.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./obs-imap.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./obs-lzw.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./path.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./pop3.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./popen.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./quit.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./send.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./sendout.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./shexp.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./signal.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./smtp.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./socket.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./spam.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./ssl.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./strings.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./termcap.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./thread.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./tty.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./ui-str.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./urlcrecry.c
cc -DNDEBUG  -I./  -isystem /usr/include/mit-krb5  -c ./xssl.c
\
LC_ALL=C _SYSCONFRC="s-nail.rc" _UAGENT="s-nail" \
        VERSION="`< gen-version.h /bin/sed -e '/ n_VERSION /b X' -e d -e ':X' 
-e 's/[^\"]*\"v\([^\"]\{1,\}\)\"/\1/'`" \
< ./nail.1 > uman.1 /usr/bin/awk '\
BEGIN { written = 0 }\
/\.\\"--MKMAN-START--/, /\.\\"--MKMAN-END--/ {\
        if (written++ != 0)\
                next;\
        OFS = "";\
        print ".ds VV \\\\%v", ENVIRON["VERSION"];\
        \
        un = toupper(ENVIRON["_UAGENT"]);\
        ln = tolower(un);\
        cn = toupper(substr(ln, 1, 1)) substr(ln, 2);\
        print ".ds UU \\\\%", un;\
        print ".ds UA \\\\%", cn;\
        print ".ds uA \\\\%", ln;\
        \
        path = ENVIRON["_SYSCONFRC"];\
        gsub("/", "/\\:", path);\
        print ".ds UR \\\\%", path;\
        OFS = " ";\
        next\
}\
{print}\
'
\
LC_ALL=C _SYSCONFRC="s-nail.rc" _UAGENT="s-nail" \
        VERSION="`< gen-version.h /bin/sed -e '/ n_VERSION /b X' -e d -e ':X' 
-e 's/[^\"]*\"v\([^\"]\{1,\}\)\"/\1/'`" \
< ./nail.rc > urc.rc /usr/bin/awk 'BEGIN {written = 0}\
/^#--MKRC-START--/, /^#--MKRC-END--/ {\
        if (written == 1)\
                next;\
        written = 1;\
        OFS = "";\
        ln = tolower(ENVIRON["_UAGENT"]);\
        cn = toupper(substr(ln, 1, 1)) substr(ln, 2);\
        print "#@ ", ENVIRON["_SYSCONFRC"];\
        print "#@ Configuration file for ", cn, " v",\
                ENVIRON["VERSION"];\
        OFS = " ";\
        next\
}\
{print}\
'
cc  -o s-nail accmacvar.o attachment.o auxlily.o cmd-cnd.o cmd-folder.o 
cmd-headers.o cmd-message.o cmd-misc.o cmd-resend.o cmd-tab.o cmd-write.o 
collect.o colour.o dotlock.o edit.o filter.o fio.o folder.o go.o head.o 
ignore.o imap-search.o maildir.o main.o memory.o message.o mime-enc.o 
mime-param.o mime-parse.o mime-types.o mime.o nam-a-grp.o obs-imap-cache.o 
obs-imap.o obs-lzw.o path.o pop3.o popen.o quit.o send.o sendout.o shexp.o 
signal.o smtp.o socket.o spam.o ssl.o strings.o termcap.o thread.o tty.o 
ui-str.o urlcrecry.o xssl.o -L/usr/lib/i386-linux-gnu/mit-krb5 -Wl,-z,relro 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -ltinfo 
   text    data     bss     dec     hex filename
 681580    8888   27540  718008   af4b8 s-nail
cc -DNDEBUG  -I./  -c ./privsep.c
cc  -o s-nail-privsep privsep.o 
   text    data     bss     dec     hex filename
   5759     412       4    6175    181f s-nail-privsep
make[1]: Leaving directory '/home/nr/net/s-nail'
make[1]: Entering directory '/home/nr/net/s-nail'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/nr/net/s-nail'
LC_ALL=C ${MAKE} -f mk-config.mk DESTDIR="" install
/bin/sh: 1: -f: not found
makefile:18: recipe for target 'install' failed
make: *** [install] Error 127

Reply via email to