Thanks Theo. 

No debate about needing comp, only how it's installed…or maybe I misunderstand 
what you mean by “the script”?

Cheers,
Kent


> On Oct 31, 2021, at 3:38 PM, Theo de Raadt <dera...@openbsd.org> wrote:
> 
> From the script
> 
>     make obj && make && make install
> 
> Which uses the whole toolchain.
> 
> You need comp.  You don't have a choice.
> 
> Kent Watsen <k...@watsen.net> 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)
>>    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
>> 
>> 

Reply via email to