Re: Proposal: Include the Application Name in Ports and Packages

2021-07-24 Thread Thierry Thomas
Le ven. 23 juil. 21 à 23:36:28 +0200, probono 
 écrivait :

> Looking at https://github.com/freebsd/freebsd-ports/blob/main/Mk/bsd.port.mk
> I don't see anything related to CPE, so I am not sure what to do
> there.

CPE is explained here: .
-- 
Th. Thomas.


signature.asc
Description: PGP signature


mail/opendkim does not restart with "service -R"

2021-07-24 Thread Andrea Venturoli

Hello.

On all the systems where I have this installed (all jails), when issuing 
"service -R", opendkim stops but does not restart.

"service milter-opendkim restart" does the job, however.


root@mail:~ # service -R
/usr/sbin/service: DEBUG: checkyesno: apache24_configcheck_disable is set to NO.
Stopping apache24.
/usr/sbin/service: DEBUG: run_rc_command: doit: kill -TERM 81005
Waiting for PIDS: 81005.
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_freshclam
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_freshclam
Stopping clamav_freshclam.
/usr/sbin/service: DEBUG: run_rc_command: doit: su -m mailnull -c 'sh -c "kill -TERM 
79370"'
Waiting for PIDS: 79370.
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_clamd
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_clamd
Stopping clamav_clamd.
/usr/sbin/service: DEBUG: run_rc_command: doit: su -m mailnull -c 'sh -c "kill -TERM 
76373"'
Waiting for PIDS: 76373.
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/cyrus_imapd
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/cyrus_imapd
Stopping cyrus_imapd.
/usr/sbin/service: DEBUG: run_rc_command: doit: kill -TERM 72343
Waiting for PIDS: 72343.
/usr/sbin/service: DEBUG: run_rc_command: stop_postcmd: cyrus_imapd_poststop 
Stopping milteropendkim.

/usr/sbin/service: DEBUG: run_rc_command: doit: kill -TERM 84032
Waiting for PIDS: 84032.
/usr/sbin/service: DEBUG: run_rc_command: stop_postcmd: dkim_postcmd 
Stopping saslauthd.

/usr/sbin/service: DEBUG: run_rc_command: doit: su -m cyrus -c 'sh -c "kill -TERM 
67912"'
/usr/sbin/service: DEBUG: pid file (/var/run/saslauthd/saslauthd.pid): not 
readable.
/usr/sbin/service: DEBUG: checkyesno: saslauthd_enable is set to YES.
Starting saslauthd.
/usr/sbin/service: DEBUG: run_rc_command: doit:  limits -C daemon  su -m cyrus -c 'sh -c 
"/usr/local/sbin/saslauthd -a ldap "'
/usr/sbin/service: DEBUG: pid file (/var/run/milteropendkim/pid): not readable.
/usr/sbin/service: DEBUG: checkyesno: milteropendkim_enable is set to YES.
/usr/sbin/service: DEBUG: run_rc_command: start_precmd: dkim_prepcmd 
Starting milteropendkim.
/usr/sbin/service: DEBUG: run_rc_command: doit:  limits -C daemon  /usr/local/sbin/opendkim  -l   -u mailnull:mailnull -P /var/run/milteropendkim/pid -x /usr/local/etc/mail/opendkim.conf
/usr/sbin/service: DEBUG: run_rc_command: start_postcmd: dkim_start_postcmd 
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/cyrus_imapd

/usr/sbin/service: DEBUG: pid file (/var/run/cyrus-master.pid): not readable.
/usr/sbin/service: DEBUG: checkyesno: cyrus_imapd_enable is set to YES.
Starting cyrus_imapd.
/usr/sbin/service: DEBUG: run_rc_command: doit:  limits -C daemon  /usr/local/cyrus/libexec/master -d 
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_clamd

/usr/sbin/service: DEBUG: checkyesno: clamav_clamd_enable is set to YES.
/usr/sbin/service: DEBUG: run_rc_command: start_precmd: clamav_clamd_precmd 
Starting clamav_clamd.

/usr/sbin/service: DEBUG: run_rc_command: doit:  limits -C daemon  su -m mailnull -c 'sh 
-c "/usr/local/sbin/clamd  "'
/usr/sbin/service: DEBUG: Sourcing /usr/local/etc/rc.conf.d/clamav_freshclam
/usr/sbin/service: DEBUG: pid file (/var/run/clamav/freshclam.pid): not 
readable.
/usr/sbin/service: DEBUG: checkyesno: clamav_freshclam_enable is set to YES.
/usr/sbin/service: DEBUG: run_rc_command: start_precmd: clamav_freshclam_precmd 
Starting clamav_freshclam.

/usr/sbin/service: DEBUG: run_rc_command: doit:  limits -C daemon  su -m mailnull -c 'sh 
-c "/usr/local/bin/freshclam  --daemon -p /var/run/clamav/freshclam.pid"'
/usr/sbin/service: DEBUG: checkyesno: apache24_http_accept_enable is set to NO.
/usr/sbin/service: DEBUG: checkyesno: apache24_configcheck_disable is set to NO.
/usr/sbin/service: DEBUG: pid file (/var/run/httpd.pid): not readable.
/usr/sbin/service: DEBUG: checkyesno: apache24_enable is set to YES.
/usr/sbin/service: DEBUG: run_rc_command: start_precmd: apache24_prestart 
/usr/sbin/service: DEBUG: checkyesno: apache24_configcheck_disable is set to NO.

Performing sanity check on apache24 configuration:
Syntax OK
/usr/sbin/service: DEBUG: checkyesno: apache24limits_enable is set to NO.
Starting apache24.
/usr/sbin/service: DEBUG: run_rc_command: doit:  limits -C daemon  /usr/local/sbin/httpd  -DNOHTTPACCEPT 
root@mail:~ # ps ax|grep milter

35762  1  S+J  0:00.00 grep milter
root@mail:~ # service milter-opendkim restart
/usr/local/etc/rc.d/milter-opendkim: DEBUG: pid file 
(/var/run/milteropendkim/pid): not readable.
/usr/local/etc/rc.d/milter-opendkim: DEBUG: checkyesno: milteropendkim_enable 
is set to YES.
/usr/local/etc/rc.d/milter-opendkim: DEBUG: pid file 
(/var/run/milteropendkim/pid): not readable.
/usr/local/etc/rc.d/milter-opendkim: DEBUG: checkyesno: milteropendkim_enable 
is set to YES.
milteropendkim not running? (check /var/run/milteropendkim/pid).
/usr/local/etc/rc.d/milter-opendkim: DE

(solved) Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44)

2021-07-24 Thread Ronald Klop

Van: Dimitry Andric 
Datum: 19 juli 2021 11:01
Aan: Ronald Klop 
CC: FreeBSD Ports , Michal Meloun 
Onderwerp: Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 
(mongodb44)




On 19 Jul 2021, at 09:29, Ronald Klop  wrote:
> 
> Does anybody have a clue why I get this error since clang 12 on aarch64/arm64?

> Do other ports have the same issue?
> 
> Regards,

> Ronald.
> 
> Van: Ronald Klop 

> Datum: vrijdag, 16 juli 2021 09:43
> Aan: freebsd-...@freebsd.org
> Onderwerp: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44)
>> Hi,
>> I'm also maintaining databases/mongodb44 and this gives undefined symbols 
since llvm12 (I think).
>> See: 
http://www.ipv6proxy.net/go.php?u=http://ampere2.nyi.freebsd.org/data/main-arm64-default/pf44e1c1de734_s63ca9ea4f3/logs/errors/mongodb44-4.4.6.log
>> And look for:
>> ld.lld: error: undefined symbol: __aarch64_ldadd8_acq_rel
>> There are a bunch of similar symbols not found while linking.
>> This compiles fine using llvm11 or on amd64.

It turns out clang 12 now enables -moutline-atomics by default, but we
don't yet expose the necessary functions from compiler-rt. As a
temporary workaround, compile with -mno-outline-atomics. Meanwhile,
adding these functions to the compiler-rt lib is on my TODO list.

-Dimitry










Hi,
Thanks for your explanation. I came up with patches for my 
ports.https://bugs.freebsd.org/bugzilla/buglist.cgi?quicksearch=Mongodb&list_id=432778


Regards,Ronald.