Mailx is one of those packages I always build before booting a new
system, so that fcron can send mail to my server.  The current build
is using exactly the same scripts / versions as I used on another
machine about 4 days ago (I need a fresh, clean, system to review
what I'm planning re llvm-3 for rust).

To my surprise, mailx failed:

cc -O2 -fuse-ld=gold -g  -DMAILRC='"/etc/nail.rc"'
-DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c
fio.c
fio.c:48:2: error: #error wordexp support is required
 #error wordexp support is required
  ^~~~~
fio.c:59:17: fatal error: ssl.h: No such file or directory
 #include <ssl.h>
                 ^

Looking at the log, and comparing it to past builds, it correctly
noticed that I don't have NSS, but then it told me

The following optional features are enabled:
 + Locale support: Printable characters depend on the environment
 + Multibyte character support
 + Character set conversion using iconv()
 + Automatic detection of terminal character set
 + Networking support (IMAP, POP3, and SMTP)
 + S/MIME and SSL/TLS using Network Security Services (NSS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 + S/MIME and SSL/TLS using OpenSSL

That was new on this failed build, and AFAICS from fio.c it either
uses nss OR openssl.  Not sure about the not defined HAVE_WORDEXP
that caused the first error.

Anyway, in chroot I eventually tried manually (re) running 'sh
./makeconfig' and this time got the expected result.  I've now added
that to my script and successfully built it from the script.

At first I had thought this might be a problem with parallel make,
but I don't do that for this package.

Weird.

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to