Re: devel/electron25: Build failure on CURRENT with clang17

2023-12-15 Thread Hiroki Tagato

Hi Rainer and Dimitry,

On 2023/12/15 14:39, Rainer Hurling wrote:

Am 15.12.23 um 00:53 schrieb Dimitry Andric:

On 14 Dec 2023, at 21:23, Dimitry Andric  wrote:


On 14 Dec 2023, at 20:49, Rainer Hurling  wrote:


On my FreeBSD 15.0-CURRENT amd64 boxes with clang 17 as base 
compiler I get:


===>  Building for electron25-25.9.8_1
ninja: Entering directory `out/Release'
[  0% 1/32805] c++ -MMD -MF obj/base/base/reentry_guard.o.d 
-DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 
-DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 
-DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS 
-D_FORTIFY_SOURCE=2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE 
-DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND 
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DIS_MAS_BUILD\(\)=0 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DUSE_SYSTEM_LIBEVENT=1 
-DGLOG_EXPORT= -DUSING_SYSTEM_ICU=1
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_FINAL=final 
-DU_NOEXCEPT=noexcept -DU_OVERRIDE=override -DU_IMPORT=U_EXPORT 
-I../.. -Igen -I../../third_party/perfetto/include 
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto 
-Igen/shim_headers/libevent_shim  -Igen/shim_headers/icui18n_shim 
-Igen/shim_headers/icuuc_shim 
-I../../third_party/abseil-cpp 
-I../../third_party/boringssl/src/include 
-I../../third_party/protobuf/src -Igen/protoc_out -Wall -Wextra 
-Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive 
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter 
-Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration 
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow 
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing 
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics 
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir 
-Xclang . -no-canonical-prefixes -ftrivial-auto-var-init=pattern 
-fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene 
-Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 
-Wimplicit-int-conversion -Wsign-compare -Wsign-conversion 
-Wtautological-unsigned-zero-compare -Wexit-time-destructors 
-Wglobal-constructors -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 
-fdata-sections -ffunction-sections -fno-unique-section-names 
-DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/local/include 
-I/usr/local/include -std=c++20 -Wno-trigraphs -fno-exceptions 
-fno-rtti -fvisibility-inlines-hidden -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -isystem /usr/local/include  -c 
../../base/allocator/dispatcher/reentry_guard.cc -o 
obj/base/base/reentry_guard.o

FAILED: obj/base/base/reentry_guard.o
c++ -MMD -MF obj/base/base/reentry_guard.o.d -DBASE_IMPLEMENTATION 
-DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=1 
-DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES 
-D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 
-DIS_MAS_BUILD\(\)=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DUSE_SYSTEM_LIBEVENT=1 
-DGLOG_EXPORT= -DUSING_SYSTEM_ICU=1 
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_FINAL=final 
-DU_NOEXCEPT=noexcept -DU_OVERRIDE=override -DU_IMPORT=U_EXPORT 
-I../.. -Igen -I../../third_party/perfetto/include 
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto 
-Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim 
-Igen/shim_headers/icuuc_shim -I../../third_party/abseil-cpp 
-I../../third_party/boringssl/src/include 
-I../../third_party/protobuf/src -Igen/protoc_out -Wall -Wextra 
-Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive 
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter 
-Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration 
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow 
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing 
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics 
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir 
-Xclang . -no-canonical-prefixes -ftrivial-auto-var-init=pattern 
-fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene 
-Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 
-Wimplicit-int-conversion -Wsign-compare -Wsign-conversion 
-Wtautological-unsigned-zero-compare -Wexit-time-destructors 
-Wglobal-constructors -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 
-fdata-sections -ffunction-sections -fno-unique-section-names 
-DPROTOBUF_ALLOW_DEPRECAT

Reviving net-mgmt/observium

2023-12-15 Thread Patrick M. Hausen
Hi all,

I just installed Observium community edition manually because the
port is orphaned and grossly outdated. It also suffers from a fundamental
problem - the former maintainer decided to decouple the port version from
the Observium version and use the "latest.tar.gz" download link provided
by the project.

Of course that breaks every time a new community edition is published.

I checked with the Observium folks on their Discord - they do provide
versioned stable download links. So that can be considered solved.

The real question I am asking is: is it ok to install everything into
/usr/local/observium similar to Apache Solr, OpenJDK etc.?

Alternatively one could "rip it apart" and try to separate e.g. the web frontend
files into /usr/local/www/observium, the executables into /usr/local/libexec, 
etc.

I would very much prefer the former (everything in one directory). If that is 
still
acceptable I can promise continued maintenance and timely updates in return ;-)

Comments?

Thanks and kind regards,
Patrick
-- 
punkt.de GmbH
Patrick M. Hausen
.infrastructure

Sophienstr. 187
76185 Karlsruhe

Tel. +49 721 9109500

https://infrastructure.punkt.de
i...@punkt.de

AG Mannheim 108285
Geschäftsführer: Daniel Lienert, Fabian Stein




Re: devel/electron25: Build failure on CURRENT with clang17

2023-12-15 Thread Rainer Hurling

Am 15.12.23 um 06:39 schrieb Rainer Hurling:

Am 15.12.23 um 00:53 schrieb Dimitry Andric:

On 14 Dec 2023, at 21:23, Dimitry Andric  wrote:


On 14 Dec 2023, at 20:49, Rainer Hurling  wrote:


On my FreeBSD 15.0-CURRENT amd64 boxes with clang 17 as base 
compiler I get:


===>  Building for electron25-25.9.8_1
ninja: Entering directory `out/Release'
[  0% 1/32805] c++ -MMD -MF obj/base/base/reentry_guard.o.d 
-DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 
-DUSE_SYMBOLIZE -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 
-DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS 
-D_FORTIFY_SOURCE=2  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE 
-DNO_UNWIND_TABLES -D_GNU_SOURCE -DNDEBUG -DNVALGRIND 
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DIS_MAS_BUILD\(\)=0 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DUSE_SYSTEM_LIBEVENT=1 
-DGLOG_EXPORT= -DUSING_SYSTEM_ICU=1
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_FINAL=final 
-DU_NOEXCEPT=noexcept -DU_OVERRIDE=override -DU_IMPORT=U_EXPORT 
-I../.. -Igen -I../../third_party/perfetto/include 
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto 
-Igen/shim_headers/libevent_shim  -Igen/shim_headers/icui18n_shim 
-Igen/shim_headers/icuuc_shim 
-I../../third_party/abseil-cpp 
-I../../third_party/boringssl/src/include 
-I../../third_party/protobuf/src -Igen/protoc_out -Wall -Wextra 
-Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive 
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter 
-Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration 
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow 
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing 
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics 
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir 
-Xclang . -no-canonical-prefixes -ftrivial-auto-var-init=pattern 
-fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene 
-Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 
-Wimplicit-int-conversion -Wsign-compare -Wsign-conversion 
-Wtautological-unsigned-zero-compare -Wexit-time-destructors 
-Wglobal-constructors -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 
-fdata-sections -ffunction-sections -fno-unique-section-names 
-DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/local/include 
-I/usr/local/include -std=c++20 -Wno-trigraphs -fno-exceptions 
-fno-rtti -fvisibility-inlines-hidden -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -isystem /usr/local/include  -c 
../../base/allocator/dispatcher/reentry_guard.cc -o 
obj/base/base/reentry_guard.o

FAILED: obj/base/base/reentry_guard.o
c++ -MMD -MF obj/base/base/reentry_guard.o.d -DBASE_IMPLEMENTATION 
-DIS_RAW_PTR_IMPL -DSYSTEM_NATIVE_UTF8 -DUSE_SYMBOLIZE -DUSE_AURA=1 
-DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES 
-D_GNU_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 
-DIS_MAS_BUILD\(\)=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DUSE_SYSTEM_LIBEVENT=1 
-DGLOG_EXPORT= -DUSING_SYSTEM_ICU=1 
-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_FINAL=final 
-DU_NOEXCEPT=noexcept -DU_OVERRIDE=override -DU_IMPORT=U_EXPORT 
-I../.. -Igen -I../../third_party/perfetto/include 
-Igen/third_party/perfetto/build_config -Igen/third_party/perfetto 
-Igen/shim_headers/libevent_shim -Igen/shim_headers/icui18n_shim 
-Igen/shim_headers/icuuc_shim -I../../third_party/abseil-cpp 
-I../../third_party/boringssl/src/include 
-I../../third_party/protobuf/src -Igen/protoc_out -Wall -Wextra 
-Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive 
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter 
-Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration 
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow 
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing 
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics 
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir 
-Xclang . -no-canonical-prefixes -ftrivial-auto-var-init=pattern 
-fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene 
-Wstring-conversion -Wtautological-overlap-compare -Wshorten-64-to-32 
-Wimplicit-int-conversion -Wsign-compare -Wsign-conversion 
-Wtautological-unsigned-zero-compare -Wexit-time-destructors 
-Wglobal-constructors -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O2 
-fdata-sections -ffunction-sections -fno-unique-section-names 
-DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/local/incl

Re: devel/electron25: Build failure on CURRENT with clang17

2023-12-15 Thread Dimitry Andric
On 15 Dec 2023, at 11:52, Rainer Hurling  wrote:
> 
> Am 15.12.23 um 06:39 schrieb Rainer Hurling:
>> Am 15.12.23 um 00:53 schrieb Dimitry Andric:
>>> On 14 Dec 2023, at 21:23, Dimitry Andric  wrote:
 
 On 14 Dec 2023, at 20:49, Rainer Hurling  wrote:
...
> ../../base/containers/checked_iterators.h:248:8: error: no template named 
> '__is_cpp17_contiguous_iterator'; did you mean 
> '__libcpp_is_contiguous_iterator'?
> 248 | struct 
> __is_cpp17_contiguous_iterator<::base::CheckedContiguousIterator>
>  |^~
>  |__libcpp_is_contiguous_iterator
...
>>> I haven't yet been able to build the port itself as my test machine is
>>> swamped with jobs, but the patch from qt6-webengine applied without
>>> fuzz. Can you please try the attached diff?
...
> The build and installation are ok, the updated electron25 seems usable, 
> tested by updating editors/vscode :D
> 
> Attached you will find the almost same patch, but in the naming convention of 
> ports, derived by 'make makepatch'.

Strange, my original patch was also produced by make makepatch. :)


> BTW, do we also have to patch other electon versions?

I'm not sure. The fix is actually from upstream chromium, so if newer
electron versions are based off of a "new enough" chromium snapshot,
they should have it. I will take a look at the sources, because building
these ports is pretty awful: [ 6% 2757/45534] after about an hour. :P

-Dimitry




Re: Reviving net-mgmt/observium

2023-12-15 Thread Patrick M. Hausen
Hi Helge,

> Am 15.12.2023 um 12:03 schrieb Helge Oldach :
> May I suggest to have the layout in a way that users are also able to
> deploy and maintain the scbscription edition (updating through svn)
> similarly?

That would argue for the one place to rule them all approach.

I currently extracted it to /opt/observium following the Debian instructions.
All in all not many adjustments needed.

> Regarding the layout question raised: Most the Observium package is
> intended to be run under a webserver.

I have only /opt/observium/html in the document root and I am quite sure
this is how it's intended to be. So everything else should IMHO *not* go
into some place beneath /usr/local/www.

Kind regards,
Patrick
-- 
punkt.de GmbH
Patrick M. Hausen
.infrastructure

Sophienstr. 187
76185 Karlsruhe

Tel. +49 721 9109500

https://infrastructure.punkt.de
i...@punkt.de

AG Mannheim 108285
Geschäftsführer: Daniel Lienert, Fabian Stein




Re: devel/electron25: Build failure on CURRENT with clang17

2023-12-15 Thread Dimitry Andric
On 15 Dec 2023, at 12:00, Dimitry Andric  wrote:
> 
> On 15 Dec 2023, at 11:52, Rainer Hurling  wrote:
>> 
>> Am 15.12.23 um 06:39 schrieb Rainer Hurling:
>>> Am 15.12.23 um 00:53 schrieb Dimitry Andric:
 On 14 Dec 2023, at 21:23, Dimitry Andric  wrote:
> 
> On 14 Dec 2023, at 20:49, Rainer Hurling  wrote:
> ...
>> ../../base/containers/checked_iterators.h:248:8: error: no template 
>> named '__is_cpp17_contiguous_iterator'; did you mean 
>> '__libcpp_is_contiguous_iterator'?
>> 248 | struct 
>> __is_cpp17_contiguous_iterator<::base::CheckedContiguousIterator>
>> |^~
>> |__libcpp_is_contiguous_iterator
> ...
 I haven't yet been able to build the port itself as my test machine is
 swamped with jobs, but the patch from qt6-webengine applied without
 fuzz. Can you please try the attached diff?
> ...
>> The build and installation are ok, the updated electron25 seems usable, 
>> tested by updating editors/vscode :D
>> 
>> Attached you will find the almost same patch, but in the naming convention 
>> of ports, derived by 'make makepatch'.
> 
> Strange, my original patch was also produced by make makepatch. :)
> 
> 
>> BTW, do we also have to patch other electon versions?
> 
> I'm not sure. The fix is actually from upstream chromium, so if newer
> electron versions are based off of a "new enough" chromium snapshot,
> they should have it. I will take a look at the sources, because building
> these ports is pretty awful: [ 6% 2757/45534] after about an hour. :P

Ok, I have checked devel/electron26 and devel/electron27, and both
already have this fix. So I would expect them build. Let me know if they
don't. :)

-Dimitry




Unmaintained FreeBSD ports which are out of date

2023-12-15 Thread portscout
Dear port maintainers,

The portscout new distfile checker has detected that one or more
unmaintained ports appears to be out of date. Please take the opportunity
to check each of the ports listed below, and if possible and appropriate,
submit/commit an update. Please consider also adopting this port.
If any ports have already been updated, you can safely ignore the entry.

An e-mail will not be sent again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
cad/ifcopenshell| 0.6.0   | 
blenderbim-231215
+-+
emulators/wine-devel| 9.0-rc1 | 9.0-rc2
+-+
net-im/signal-cli   | 0.9.0   | v0.12.7
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Reported by:portscout!



Commit notifications aren't sent any more

2023-12-15 Thread Yuri

Hi,


It appears that the git repository commits don't generate e-mail 
notifications any more.



Yuri