[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-misc
Subject: Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)
From: Edgar Pettijohn <edgar () pettijohn-web ! com>
Date: 2021-10-31 23:27:41
Message-ID: 1c41a469-7c7d-6217-9baf-6e056f38dde7 () pettijohn-web ! com
[Download RAW message or body]
On 10/31/21 2:23 PM, Kent Watsen wrote:
> The "httpd-plus" [1] patch installs just find when a fresh 7.0 install selects \
> packages "base", "bsd", "bsd.rd", "bsd.mp", "comp", and "man".
> However, when a fresh 7.0 install selects all the same packages except "comp", and \
> then subsequently adds the "comp" package via the command:
> (cd /root && curl -s -O https://cdn.openbsd.org/pub/OpenBSD/7.0/amd64/comp70.tgz \
> && cd / && tar xzvphf /root/comp70.tgz)
> The installation of the "httpd-plus" patch fails with the following snippet:
>
> <snip>
> Building and installing httpd-plus binary and manpage ...
> /usr/src/usr.sbin/httpd/obj -> /usr/obj/usr.sbin/httpd
> make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)
Does /usr/lib/crt0.o exist? If it doesn't did tar complete successfully?
Maybe try:
# tar -C / -xzphf comp70.tgz || echo "somethings broken"
You may have run out of disk space or something similar and just didn't
notice. Thats my best guess.
Edgar
> Stop in /usr/src/usr.sbin/httpd
> Restoring original sources ... Done.
> Installing httpd-plus failed (exitcode: 2).
>
> This logic worked on 6.9, what's the difference? Why can't /usr/lib/crt0.o be \
> found or made? How to get past this error without needing to install the "comp" \
> package during installation?
> PS: I don't want "comp" on the production system. After installing "httpd-plus", I \
> run the following command to remove it: (cd /root && for i in `tar -tzvf \
> /root/comp70.tgz | awk '{print $NF}'`; do rm -rf $i; done) && rm /root/comp70.tgz
> [1] https://github.com/mpfr/httpd-plus/tree/7.0-stable
>
> Thanks,
> Kent
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic