Fwd: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44)

2021-07-19 Thread Ronald Klop

Hi,

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.

Any thoughts or suggestions?

Regards,
Ronald.
 





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

2021-07-19 Thread Baptiste Daroussin
On Sun, Jul 18, 2021 at 12:55:05PM +0200, probono wrote:
> On Fri, Jul 9, 2021 at 1:51 AM Baptiste Daroussin  wrote:
> > Simply add a new annotation to the package with the Application Name(s) 
> > when it
> > is relevant. I add plural because some ports do provide multiple Application
> > Name(s).
> > And you will have the information everywhere.
> > See how CPE is implemented in the ports tree to see how to do that.
> 
> Hello bapt, thanks for your response. I have a couple of questions though:
> 
> 1. What key should we use for the Application Name(s)?
> 
> For CPE, there is e.g., 'CPE_VENDOR' and 'CPE_PRODUCT'. However none
> of those contains the "human-readable" name "Apache HTTP Server" (as
> used, e.g., on https://httpd.apache.org/).
> 
> CPE_VENDOR= apache
> CPE_PRODUCT=http_server
> 
> So what I am looking for is
> 
> SOME_KEY_NAME=   Apache HTTP Server

A simple APPLICATION_NAMES= name1 name2 should do the trick, and the magic
should be added to bsd.port.mk
> 
> 2. If there is more than one main application inside the same package,
> then just repeat this key/value combination multiple times?

yes, it depends on how want to implement it. for a given key there can only be
one value in pkg, but one can be clever
> 
> 3. How would we go about getting those into the
> standard/documentation/lint tools?

provide patch, nothing more
> 
> 4. Would new keys (annotations) automatically end up in
> package/repository metadata, or would something special need to be
> done to get them inherited there?

automatic.

Bapt



FreeBSD ports you maintain which are out of date

2021-07-19 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
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. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed 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
+-+
devel/phpunit8  | 8.5.15  | 8.5.18
+-+
finance/moneymanagerex  | 1.2.7   | v1.5.4
+-+
lang/gnatcross-binutils-aarch64 | 2.27| 2.37
+-+


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!



Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44)

2021-07-19 Thread Dimitry Andric
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



signature.asc
Description: Message signed with OpenPGP


INDEX build failed for 11.x

2021-07-19 Thread Ports Index build
INDEX build failed with errors:
Generating INDEX-11 - please wait..--- describe.accessibility ---
--- describe.arabic ---
--- describe.archivers ---
--- describe.astro ---
--- describe.audio ---
--- describe.benchmarks ---
--- describe.biology ---
--- describe.cad ---
--- describe.chinese ---
--- describe.comms ---
--- describe.converters ---
--- describe.databases ---
--- describe.deskutils ---
--- describe.devel ---
--- describe.dns ---
--- describe.editors ---
--- describe.emulators ---
--- describe.finance ---
--- describe.french ---
--- describe.ftp ---
[...]
--- describe.print ---
--- describe.russian ---
--- describe.science ---
--- describe.security ---
--- describe.shells ---
--- describe.sysutils ---
--- describe.textproc ---
--- describe.ukrainian ---
--- describe.vietnamese ---
--- describe.www ---
--- describe.x11 ---
--- describe.x11-clocks ---
--- describe.x11-drivers ---
--- describe.x11-fm ---
--- describe.x11-fonts ---
--- describe.x11-servers ---
--- describe.x11-themes ---
--- describe.x11-toolkits ---
--- describe.x11-wm ---
 Done.
make_index: /home/indexbuild/tindex/ports/devel/p5-Test2-Harness-UI: no entry 
for /home/indexbuild/tindex/ports/databases/p5-DBIx-QuickDB

Committers on the hook:
ash...@freebsd.org c...@freebsd.org da...@freebsd.org din...@freebsd.org 
g...@freebsd.org jbe...@freebsd.org lw...@freebsd.org matt...@freebsd.org 
m...@freebsd.org mik...@freebsd.org pku...@freebsd.org rom...@freebsd.org 
s...@freebsd.org sunp...@freebsd.org tcber...@freebsd.org thie...@freebsd.org 
t...@freebsd.org u...@freebsd.org y...@freebsd.org y...@freebsd.org 

Most recent Git update was:
databases/pg_citus/Makefile
databases/pg_citus/distinfo
databases/pg_citus/pkg-plist
devel/fossil/Makefile
devel/fossil/distinfo
devel/jenkins/Makefile
devel/jenkins/distinfo
devel/py-pathspec/Makefile
devel/py-pathspec/distinfo
sysutils/mackerel-agent/Makefile
sysutils/mackerel-agent/distinfo
sysutils/py-hcloud/Makefile
sysutils/py-hcloud/distinfo
textproc/highlight/Makefile



INDEX build failed for 11.x

2021-07-19 Thread Ports Index build
INDEX build failed with errors:
Generating INDEX-11 - please wait..--- describe.accessibility ---
--- describe.arabic ---
--- describe.archivers ---
--- describe.astro ---
--- describe.audio ---
--- describe.benchmarks ---
--- describe.biology ---
--- describe.cad ---
--- describe.chinese ---
--- describe.comms ---
--- describe.converters ---
--- describe.databases ---
--- describe.deskutils ---
--- describe.devel ---
--- describe.dns ---
--- describe.editors ---
--- describe.emulators ---
--- describe.finance ---
--- describe.french ---
--- describe.ftp ---
[...]
--- describe.print ---
--- describe.russian ---
--- describe.science ---
--- describe.security ---
--- describe.shells ---
--- describe.sysutils ---
--- describe.textproc ---
--- describe.ukrainian ---
--- describe.vietnamese ---
--- describe.www ---
--- describe.x11 ---
--- describe.x11-clocks ---
--- describe.x11-drivers ---
--- describe.x11-fm ---
--- describe.x11-fonts ---
--- describe.x11-servers ---
--- describe.x11-themes ---
--- describe.x11-toolkits ---
--- describe.x11-wm ---
 Done.
make_index: /home/indexbuild/tindex/ports/devel/p5-Test2-Harness-UI: no entry 
for /home/indexbuild/tindex/ports/databases/p5-DBIx-QuickDB

Committers on the hook:
ash...@freebsd.org br...@freebsd.org c...@freebsd.org da...@freebsd.org 
din...@freebsd.org g...@freebsd.org jbe...@freebsd.org lw...@freebsd.org 
matt...@freebsd.org m...@freebsd.org mfech...@freebsd.org mik...@freebsd.org 
pku...@freebsd.org rom...@freebsd.org s...@freebsd.org sunp...@freebsd.org 
tcber...@freebsd.org thie...@freebsd.org t...@freebsd.org u...@freebsd.org 
y...@freebsd.org y...@freebsd.org 

Most recent Git update was:
databases/iowow/Makefile
databases/iowow/distinfo
databases/iowow/pkg-plist
devel/cli11/Makefile
devel/cli11/distinfo
devel/cli11/pkg-plist
graphics/xournalpp/Makefile
graphics/xournalpp/distinfo
graphics/xournalpp/files/patch-src_CMakeLists.txt
graphics/xournalpp/files/patch-src_gui_dialog_toolbarCustomize_ToolbarAdapter.cpp
graphics/xournalpp/pkg-plist
math/Makefile
math/colpack/Makefile
math/colpack/distinfo
math/colpack/files/patch-build_cmake_CMakeLists.txt
math/colpack/pkg-descr
math/colpack/pkg-plist
misc/openhantek/Makefile
misc/openhantek/distinfo
www/cpp-httplib/Makefile
www/cpp-httplib/distinfo
www/gitlab-ce/Makefile
www/gitlab-ce/pkg-plist
www/gitlab-ce/scripts/create-plist.php
www/mod_http2/Makefile
www/mod_http2/distinfo
www/nextcloud-tasks/Makefile
www/nextcloud-tasks/distinfo



INDEX now builds successfully on 11.x

2021-07-19 Thread Ports Index build