On Thu, Feb 21, 2019 at 11:46:23AM +0000, Ken Moffat via blfs-support wrote:
> I was coming towards the end of a test build of 8.4-rc1, installing
> a few essential packages before trying to build.  And then make-ca
> failed.
> 
Well, that was a major misdiagnosis of *where* it was failing.  I
tried adding ' || true' after invoking make-ca, and discovered it
didn't get that far.

--2019-02-21 23:15:46--  http://www.cacert.org/certs/root.crt
Resolving www.cacert.org (www.cacert.org)... 213.154.225.245, 2001:7b8:3:9c::245
Connecting to www.cacert.org (www.cacert.org)|213.154.225.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2569 (2.5K) [application/x-x509-ca-cert]
Saving to: 'root.crt'

     0K ..                                                    100%  537M=0s

[...]
ebJSoMbxhbQljPI/lrMQ2Y1sVzufb4Y6GIIiNsiwkTjbKqGTqoQ/9SdlrnPVyNXT
d+pLncdBu8fA46A/5H2kjXPmEkvfoXNzczqA6NXLji/L6hOn1kGLrPo8idck9U60
4GGSt/M3mMS+lqO3ijA1MB4GCCsGAQUFBwMBBggrBgEFBQcDBAYIKwYBBQUHAwMM
E0NBY2VydCBDbGFzcyAzIHJvb3Q=
-----END TRUSTED CERTIFICATE-----
chmod 755 make-ca
install -vdm755 /usr/share/man/man8
install -vm644 make-ca.8 /usr/share/man/man8
install: cannot stat 'make-ca.8': No such file or directory
make: *** [Makefile:43: install_man] Error 1
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
make: *** Waiting for unfinished jobs....
install -vdm755 /etc
install -vm644 make-ca.conf.dist /etc
removed '/etc/make-ca.conf.dist'
'make-ca.conf.dist' -> '/etc/make-ca.conf.dist'
install -vdm755 /usr/sbin
install -vm755 make-ca /usr/sbin
removed '/usr/sbin/make-ca'
'make-ca' -> '/usr/sbin/make-ca'
install -vdm755 /usr/libexec/make-ca
install -vm700 copy-trust-modifications /usr/libexec/make-ca
removed '/usr/libexec/make-ca/copy-trust-modifications'
'copy-trust-modifications' -> '/usr/libexec/make-ca/copy-trust-modifications'
if test -d /usr/lib/systemd/system; then \
    install -vdm755 /usr/lib/systemd/system; \
    install -vm644 systemd/* /usr/lib/systemd/system; \
elif test -d /lib/systemd/system; then \
    install -vdm755 /lib/systemd/system; \
    install -vm644 systemd/* /lib/systemd/system; \
fi
removed '/lib/systemd/system/update-pki.service'
'systemd/update-pki.service' -> '/lib/systemd/system/update-pki.service'
removed '/lib/systemd/system/update-pki.timer'
'systemd/update-pki.timer' -> '/lib/systemd/system/update-pki.timer'

(those last lines are because the systemd files had been installed
on the previous attempts, so 'install' deleted them first).

The Makefile looks fine: the install target depends on 'all',
followed by 'install_bin', 'install_man', 'install_systemd',
'install_conf'.  And 'all' depends on 'make_ca' and 'man':

all: make_ca man

make_ca:
        chmod 755 make-ca

man: make_ca
        chmod 755 help2man
        ./help2man -s 8 -N ./make-ca -i include.h2m -o make-ca.8

Looks fine, but when install_man failed neither chmod had happened.
I have no idea what went wrong, but I added 'make' before 'make
install' and it completed ok.  Weird.

ĸen
-- 
The beauty of reading a page of de Selby is that it leads one
inescapably to the conclusion that one is not, of all nincompoops,
the greates.            -- du Garbandier
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to