#3937: Build failure on macOS 10.12.14
--------------------+----------------------
Reporter: chdiza | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: build | Version:
Keywords: |
--------------------+----------------------
The commit fa1192803257 has broken building on macOS 10.12.
First I see a new warning during compilation:
{{{
gcc -DPKGDATADIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"
-DBINDIR=\"/usr/local/bin\" -DMUTTLOCALEDIR=\"/usr/local/share/locale\"
-DHAVE_CONFIG_H=1 -I. -I. -I. -I./imap -Iintl -I/usr/local/ssl/include
-I./intl -Wall -pedantic -Wno-long-long -g -O2 -MT sort.o -MD -MP -MF
.deps/sort.Tpo -c -o sort.o sort.c
sendlib.c:2243:7: warning: implicit declaration of function 'execvpe' is
invalid in C99 [-Wimplicit-function-declaration]
execvpe (path, args, mutt_envlist ());
^
}}}
Then building fails with this output:
{{{
gcc -Wall -pedantic -Wno-long-long -g -O2 -L/usr/local/ssl/lib -o
pgpewrap pgpewrap.o
Undefined symbols for architecture x86_64:
"_execvpe", referenced from:
_mutt_invoke_sendmail in sendlib.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [mutt] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/sha1.Tpo .deps/sha1.Po
mv -f .deps/pgppubring.Tpo .deps/pgppubring.Po
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3937>
Mutt <http://www.mutt.org/>
The Mutt mail user agent