Re: errors rebuilding binaries after sysupgrade to 7.5 - apologies for noise

2024-04-23 Thread Steve Fairhead
My last response to Otto seems to have had a lot of noise appended. I
replied via gmail, which seems to have added all sorts of things, as my own
SPF/DMARC rules seem too strict, and seem to stop the mailing list
relaying. Will review.

Humbly,

Steve


Re: errors rebuilding binaries after sysupgrade to 7.5

2024-04-23 Thread Steve Fairhead
On 23/04/2024 06:30, Otto Moerbeek wrote:
> What you normally do in these cases of build errors:
>
> - Make sure that you do not have sticky tags in your tree (use -A with
cvs up)
> - Double check that the cvs update did not produce a report line on
> any file
> - Clean your object dir: rm -rf/usr/obj/*
>
> Then try again.

Nuking /usr/obj/* did the trick. Thanks!

I think I'll tweak my process to use a fresh tree checkout after a
sysupgrade (as suggested by Marc Peters - thanks!).

Steve

On Mon, 22 Apr 2024 at 22:09, Steve Fairhead  wrote:

> Hi folks,
>
> (Apologies if this is a dupe. Looks to me like this didn't originally get
> far.)
>
> Pretty sure this is pilot error, so please be gentle.
>
> I sysupgraded 3 machines (all different) to 7.5; no problems. I then
> updated installed packages; again no problem.
>
> Then I updated the source trees:
>
> cd /usr/src
> cvs -q -d anon...@anoncvs.spacehopper.org:/cvs up -rOPENBSD_7_5 -Pd
> cd /usr/ports
> cvs -q -d anon...@anoncvs.spacehopper.org:/cvs up -rOPENBSD_7_5 -Pd
>
> I then (following https://man.openbsd.org/release) rebuilt the kernel:
>
> cd /sys/arch/amd64/compile/GENERIC.MP
> make obj
> make config
> make && make install
> reboot
>
> Still no problem. Then I started to rebuild the binaries:
>
> cd /usr/src
> make obj && make build
>
> ... but eventually ran into shedloads of errors until it bailed. The first
> few errors are:
>
> c++ -O2 -pipe  -fno-ret-protector -mno-retpoline -ffunction-sections
> -fdata-sections -std=c++17 -fvisibility-inlines-hidden -fno-exceptions
> -fno-rtti -fno-semantic-interposition -Wall -Wc++98-compat-extra-semi
> -Wcast-qual  -Wcovered-switch-default -Wctad-maybe-unsupported
> -Wdelete-non-virtual-dtor -Werror=date-time
> -Werror=unguarded-availability-new -Wextra  -Wimplicit-fallthrough
> -Wmisleading-indentation  -Wmissing-field-initializers -Wno-long-long
> -Wno-noexcept-type  -Wno-unused-parameter -Wnon-virtual-dtor
> -Wstring-conversion  -Wsuggest-override -Wwrite-strings -fno-pie  -MD -MP
>  -I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include/clang/AST
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/llvm/include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/obj
> -I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include -DNDEBUG
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS  -D__STDC_FORMAT_MACROS -c
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp
> -o ByteCodeExprGen.o
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:119:18:
> error: no member named 'emitCast' in
> 'clang::interp::ByteCodeExprGen'
> return this->emitCast(*FromT, *ToT, CE);
>  ^
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:1428:16:
> note: in instantiation of member function
> 'clang::interp::ByteCodeExprGen::VisitCastExpr'
> requested here
> template class ByteCodeExprGen;
>^
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:204:26:
> error: no member named 'emitRem' in
> 'clang::interp::ByteCodeExprGen'
> return Discard(this->emitRem(*T, BO));
>  ^
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:1428:16:
> note: in instantiation of member function
> 'clang::interp::ByteCodeExprGen::VisitBinaryOperator'
> requested here
> template class ByteCodeExprGen;
>^
>
> What did I do wrong?
>
> Thanks,
>
> Steve
>
>
>
> 
> Virus-free.www.avg.com
> 
> <#m_-5374596809996890135_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>


Re: errors rebuilding binaries after sysupgrade to 7.5

2024-04-22 Thread Otto Moerbeek
On Mon, Apr 22, 2024 at 10:09:51PM +0100, Steve Fairhead wrote:

> Hi folks,
> 
> (Apologies if this is a dupe. Looks to me like this didn't originally get
> far.)
> 
> Pretty sure this is pilot error, so please be gentle.
> 
> I sysupgraded 3 machines (all different) to 7.5; no problems. I then
> updated installed packages; again no problem.
> 
> Then I updated the source trees:
> 
> cd /usr/src
> cvs -q -d anon...@anoncvs.spacehopper.org:/cvs up -rOPENBSD_7_5 -Pd
> cd /usr/ports
> cvs -q -d anon...@anoncvs.spacehopper.org:/cvs up -rOPENBSD_7_5 -Pd
> 
> I then (following https://man.openbsd.org/release) rebuilt the kernel:
> 
> cd /sys/arch/amd64/compile/GENERIC.MP
> make obj
> make config
> make && make install
> reboot
> 
> Still no problem. Then I started to rebuild the binaries:
> 
> cd /usr/src
> make obj && make build
> 
> ... but eventually ran into shedloads of errors until it bailed. The first
> few errors are:
> 
> c++ -O2 -pipe  -fno-ret-protector -mno-retpoline -ffunction-sections
> -fdata-sections -std=c++17 -fvisibility-inlines-hidden -fno-exceptions
> -fno-rtti -fno-semantic-interposition -Wall -Wc++98-compat-extra-semi
> -Wcast-qual  -Wcovered-switch-default -Wctad-maybe-unsupported
> -Wdelete-non-virtual-dtor -Werror=date-time
> -Werror=unguarded-availability-new -Wextra  -Wimplicit-fallthrough
> -Wmisleading-indentation  -Wmissing-field-initializers -Wno-long-long
> -Wno-noexcept-type  -Wno-unused-parameter -Wnon-virtual-dtor
> -Wstring-conversion  -Wsuggest-override -Wwrite-strings -fno-pie  -MD -MP
>  -I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include/clang/AST
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/llvm/include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/obj
> -I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include -DNDEBUG
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS  -D__STDC_FORMAT_MACROS -c
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp
> -o ByteCodeExprGen.o
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:119:18:
> error: no member named 'emitCast' in
> 'clang::interp::ByteCodeExprGen'
> return this->emitCast(*FromT, *ToT, CE);
>  ^
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:1428:16:
> note: in instantiation of member function
> 'clang::interp::ByteCodeExprGen::VisitCastExpr'
> requested here
> template class ByteCodeExprGen;
>^
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:204:26:
> error: no member named 'emitRem' in
> 'clang::interp::ByteCodeExprGen'
> return Discard(this->emitRem(*T, BO));
>  ^
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:1428:16:
> note: in instantiation of member function
> 'clang::interp::ByteCodeExprGen::VisitBinaryOperator'
> requested here
> template class ByteCodeExprGen;
>^
> 
> What did I do wrong?

What you normally do in these cases of build errors:

- Make sure that you do not have sticky tags in your tree (use -A with cvs up)
- Double check that the cvs update did not produce a report line on
any file
- Clean your object dir: rm -rf /usr/obj/*

Then try again.

-Otto
> 
> Thanks,
> 
> Steve
> 
> 
> 
> Virus-free.www.avg.com
> 
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>



Re: errors rebuilding binaries after sysupgrade to 7.5

2024-04-22 Thread Jose Maldonado




El 22/4/24 a las 17:09, Steve Fairhead escribió:

Hi folks,

(Apologies if this is a dupe. Looks to me like this didn't originally get
far.)

Pretty sure this is pilot error, so please be gentle.

I sysupgraded 3 machines (all different) to 7.5; no problems. I then
updated installed packages; again no problem.

Then I updated the source trees:

cd /usr/src
cvs -q -d anon...@anoncvs.spacehopper.org:/cvs up -rOPENBSD_7_5 -Pd
cd /usr/ports
cvs -q -d anon...@anoncvs.spacehopper.org:/cvs up -rOPENBSD_7_5 -Pd

I then (following https://man.openbsd.org/release) rebuilt the kernel:

cd /sys/arch/amd64/compile/GENERIC.MP
make obj
make config
make && make install
reboot

Still no problem. Then I started to rebuild the binaries:

cd /usr/src
make obj && make build

... but eventually ran into shedloads of errors until it bailed. The first
few errors are:

c++ -O2 -pipe  -fno-ret-protector -mno-retpoline -ffunction-sections
-fdata-sections -std=c++17 -fvisibility-inlines-hidden -fno-exceptions
-fno-rtti -fno-semantic-interposition -Wall -Wc++98-compat-extra-semi
-Wcast-qual  -Wcovered-switch-default -Wctad-maybe-unsupported
-Wdelete-non-virtual-dtor -Werror=date-time
-Werror=unguarded-availability-new -Wextra  -Wimplicit-fallthrough
-Wmisleading-indentation  -Wmissing-field-initializers -Wno-long-long
-Wno-noexcept-type  -Wno-unused-parameter -Wnon-virtual-dtor
-Wstring-conversion  -Wsuggest-override -Wwrite-strings -fno-pie  -MD -MP
  -I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include/clang/AST
-I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/include
-I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/llvm/include
-I/usr/src/gnu/usr.bin/clang/libclangAST/../include
-I/usr/src/gnu/usr.bin/clang/libclangAST/obj
-I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include -DNDEBUG
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS  -D__STDC_FORMAT_MACROS -c
/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp
-o ByteCodeExprGen.o
/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:119:18:
error: no member named 'emitCast' in
'clang::interp::ByteCodeExprGen'
 return this->emitCast(*FromT, *ToT, CE);
  ^
/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:1428:16:
note: in instantiation of member function
'clang::interp::ByteCodeExprGen::VisitCastExpr'
requested here
template class ByteCodeExprGen;
^
/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:204:26:
error: no member named 'emitRem' in
'clang::interp::ByteCodeExprGen'
 return Discard(this->emitRem(*T, BO));
  ^
/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/Interp/ByteCodeExprGen.cpp:1428:16:
note: in instantiation of member function
'clang::interp::ByteCodeExprGen::VisitBinaryOperator'
requested here
template class ByteCodeExprGen;
^

What did I do wrong?

Thanks,

Steve



Virus-free.www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>



Do you sysupgrade to 7.5 (all OK here), and then you want to build the 
kernel and the base using the src for 7.5?


For what purpose do you do that?


--
*
Dios en su cielo, todo bien en la Tierra