Re: [gentoo-user] mysql-8.0.32-r2 compile failure

2024-02-14 Thread Dale
Ionen Wolkens wrote:
> On Wed, Feb 14, 2024 at 08:00:08AM -0600, Dale wrote:
>> Howdy,
>>
>> This has been failing for a while now, month or two.  I did a few
>> searches but what I did find shows a similar problem was fixed ages
>> ago.  The link is about protobuf but seems related.  Link further down. 
>> I'm wondering if it may be a USE flag or something triggering this since
>> it can't find anything more recent.  It also fails on a previous version
>> as well.  The error bit is about midways.  I tried to get either side of
>> it. 
>  
>> ld.lld: error: undefined symbol: AbslInternalSpinLockWake_lts_20230802
> referenced by spinlock_wait.h:85
>> (/usr/include/absl/base/internal/spinlock_wait.h:85)
>   
>> CMakeFiles/xprotocol_plugin.dir/message_field_chain.cc.o:(void
>> absl::lts_20230802::base_internal::CallOnceImpl> (*)(google::protobuf::FieldDescriptor const*),
>> google::protobuf::FieldDescriptor const*>(std::atomic*,
>> absl::lts_20230802::base_internal::SchedulingMode, void
>> (*&&)(google::protobuf::FieldDescriptor const*),
>> google::protobuf::FieldDescriptor const*&&))
>> collect2: error: ld returned 1 exit status
>> Link mentioned above, dated a while back and claims upstream fixed. 
>>
>> https://github.com/protocolbuffers/protobuf/issues/12292
> Sounds like https://bugs.gentoo.org/912797 which is fixed but only in
> ~testing dev-db/mysql-8.0.34. Albeit as far as I'm aware this shouldn't
> affect stable 8.0.32-r2 unless you're using ~testing protobuf-23 (aka
> mixing stable and ~testing). Not that I tried building it.


That was it.  I keyworded the .34 version and it compiled just fine.  I
thought I had tried that already but maybe I did before it was fixed.  I
do run some things unstable, KDE for example, but try to keep things
mostly stable, especially those things that are needed to boot and such. 

Anyway, now I have a clean updated system again.  :-D 

Thanks much.

Dale

:-)  :-) 



Re: [gentoo-user] mysql-8.0.32-r2 compile failure

2024-02-14 Thread Ionen Wolkens
On Wed, Feb 14, 2024 at 08:00:08AM -0600, Dale wrote:
> Howdy,
> 
> This has been failing for a while now, month or two.  I did a few
> searches but what I did find shows a similar problem was fixed ages
> ago.  The link is about protobuf but seems related.  Link further down. 
> I'm wondering if it may be a USE flag or something triggering this since
> it can't find anything more recent.  It also fails on a previous version
> as well.  The error bit is about midways.  I tried to get either side of
> it. 
 
> ld.lld: error: undefined symbol: AbslInternalSpinLockWake_lts_20230802
> >>> referenced by spinlock_wait.h:85
> (/usr/include/absl/base/internal/spinlock_wait.h:85)
> >>>  
> CMakeFiles/xprotocol_plugin.dir/message_field_chain.cc.o:(void
> absl::lts_20230802::base_internal::CallOnceImpl (*)(google::protobuf::FieldDescriptor const*),
> google::protobuf::FieldDescriptor const*>(std::atomic*,
> absl::lts_20230802::base_internal::SchedulingMode, void
> (*&&)(google::protobuf::FieldDescriptor const*),
> google::protobuf::FieldDescriptor const*&&))
> collect2: error: ld returned 1 exit status

> Link mentioned above, dated a while back and claims upstream fixed. 
> 
> https://github.com/protocolbuffers/protobuf/issues/12292

Sounds like https://bugs.gentoo.org/912797 which is fixed but only in
~testing dev-db/mysql-8.0.34. Albeit as far as I'm aware this shouldn't
affect stable 8.0.32-r2 unless you're using ~testing protobuf-23 (aka
mixing stable and ~testing). Not that I tried building it.
-- 
ionen


signature.asc
Description: PGP signature


[gentoo-user] mysql-8.0.32-r2 compile failure

2024-02-14 Thread Dale
Howdy,

This has been failing for a while now, month or two.  I did a few
searches but what I did find shows a similar problem was fixed ages
ago.  The link is about protobuf but seems related.  Link further down. 
I'm wondering if it may be a USE flag or something triggering this since
it can't find anything more recent.  It also fails on a previous version
as well.  The error bit is about midways.  I tried to get either side of
it. 




[ 13%] Building CXX object
plugin/x/protocol/protobuf/CMakeFiles/mysqlxmessages_lite.dir/__/__/generated/protobuf_lite/mysqlx_expr.pb.cc.o
cd
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/plugin/x/protocol/protobuf
&& /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX98_FUNCTION_BASE
-DHAVE_CONFIG_H -DHAVE_TLSv13 -DLOG_COMPONENT_TAG=\"mysqlx\"
-DLZ4_DISABLE_DEPRECATE_WARNINGS -DRAPIDJSON_NO_SIZETYPEDEFINE
-DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0 -DRAPIDJSON_SCHEMA_USE_STDREGEX=1
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_USE_MATH_DEFINES
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/include
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/include -isystem
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/extra/rapidjson/include
-isystem
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/extra/libedit/libedit-20210910-3.1/src/editline
-isystem
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/plugin/x/client
-isystem
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/plugin/x/generated/protobuf_lite
-isystem
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/plugin/x/generated
-U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native
-O2 -pipe -std=c++17 -Wall -Wextra -Wformat-security -Wvla -Wundef
-Wmissing-format-attribute -Woverloaded-virtual -Wcast-qual
-Wimplicit-fallthrough=5 -Wstringop-truncation -Wsuggest-override
-Wmissing-include-dirs -Wextra-semi -Wlogical-op -DNDEBUG -g1 -fPIC  
-U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
-Wno-unused-variable -Wno-undef -Wno-ignored-qualifiers
-Wno-sign-compare -Wno-suggest-override  -Wno-unused-parameter
-Wno-undef -Wno-unused-but-set-parameter -Wno-extra-semi
-Wno-suggest-override -MD -MT
plugin/x/protocol/protobuf/CMakeFiles/mysqlxmessages_lite.dir/__/__/generated/protobuf_lite/mysqlx_expr.pb.cc.o
-MF
CMakeFiles/mysqlxmessages_lite.dir/__/__/generated/protobuf_lite/mysqlx_expr.pb.cc.o.d
-o
CMakeFiles/mysqlxmessages_lite.dir/__/__/generated/protobuf_lite/mysqlx_expr.pb.cc.o
-c
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/plugin/x/generated/protobuf_lite/mysqlx_expr.pb.cc
[ 13%] Building CXX object mysys/CMakeFiles/mysys_objlib.dir/my_mmap.cc.o
cd /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/mysys &&
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX98_FUNCTION_BASE
-DHAVE_CONFIG_H -DHAVE_TLSv13 -DLZ4_DISABLE_DEPRECATE_WARNINGS
-DRAPIDJSON_NO_SIZETYPEDEFINE -DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0
-DRAPIDJSON_SCHEMA_USE_STDREGEX=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-D_USE_MATH_DEFINES -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/include
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/include -isystem
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/extra/rapidjson/include
-isystem
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/extra/libedit/libedit-20210910-3.1/src/editline
-U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native
-O2 -pipe -std=c++17 -Wall -Wextra -Wformat-security -Wvla -Wundef
-Wmissing-format-attribute -Woverloaded-virtual -Wcast-qual
-Wimplicit-fallthrough=5 -Wstringop-truncation -Wsuggest-override
-Wmissing-include-dirs -Wextra-semi -Wlogical-op -DNDEBUG -g1 -fPIC  
-U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wshadow=local
-MD -MT mysys/CMakeFiles/mysys_objlib.dir/my_mmap.cc.o -MF
CMakeFiles/mysys_objlib.dir/my_mmap.cc.o.d -o
CMakeFiles/mysys_objlib.dir/my_mmap.cc.o -c
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/mysys/my_mmap.cc
[ 13%] Building CXX object
plugin/group_replication/libmysqlgcs/CMakeFiles/mysqlgcs.dir/src/bindings/xcom/xcom/get_synode_app_data.cc.o
cd
/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/plugin/group_replication/libmysqlgcs
&& /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_NO_CXX98_FUNCTION_BASE
-DHAVE_CONFIG_H -DHAVE_TIRPC -DHAVE_TLSv13
-DLZ4_DISABLE_DEPRECATE_WARNINGS -DRAPIDJSON_NO_SIZETYPEDEFINE
-DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=0 -DRAPIDJSON_SCHEMA_USE_STDREGEX=1
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_USE_MATH_DEFINES
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DMYSQL_DYNAMIC_PLUGIN
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build
-I/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql_build/include

Re: [gentoo-user] Help with local mail, please

2024-02-14 Thread J. Roeleveld
On Tuesday, February 13, 2024 4:52:03 PM CET Peter Humphrey wrote:
> Hello list,
> 
> For years, I've been using postfix to accept mail from LAN hosts, and from
> the Internet via my ISP. This has never worked as I want it - it's just so
> complex to set up and understand. Well, it is for a bear of little brain
> like me.
> 
> Can someone tell me how to make postfix accept all mail addressed to any
> host or user on the LAN - and not forward any mail to anywhere at all? It's
> running on a single-homed host on the LAN, and all other hosts are also
> single homed. Any of four hosts can originate mail, and I have fetchmail
> running on the same host to collect POP3 mail from my ISP. Dovecot serves
> IMAP4 to KMail clients on the LAN.
> 
> At present, postfix is insisting on forwarding mail addressed to root on a
> LAN machine, but it's supposed to be acting on behalf of that machine. Two
> other hosts' mails never show up anywhere.
> 
> Or perhaps there's a more suitable MTA out there?

I've been using postfix for longer than I can remember.
The config entries I changed from default are:

--- main.cf ---
myhostname = 
mydomain = 
myorigin = 
mynetworks = 
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, 
reject_unauth_destination
---

Also, are all emails sent to "mydomain" or do you have additional domains 
configured?
If the latter, did you set "virtual_alias_domains = hash:/etc/postfix/
virtual_domains"
Include all virtual domains the file and converted the file to a .db ?

--
Joost