[ptxdist] [PATCH] host-mtools: Version bump. 4.0.42 -> 4.0.43

2023-03-29 Thread Christian Melki
Very minor bugfixes.

Signed-off-by: Christian Melki 
---
 rules/host-mtools.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/host-mtools.make b/rules/host-mtools.make
index 99fdcdf5c..b7ecb384f 100644
--- a/rules/host-mtools.make
+++ b/rules/host-mtools.make
@@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_MTOOLS) += host-mtools
 #
 # Paths and names
 #
-HOST_MTOOLS_VERSION:= 4.0.42
-HOST_MTOOLS_MD5:= 44840ee36c33f67fefc0eb68cc6b9bfe
+HOST_MTOOLS_VERSION:= 4.0.43
+HOST_MTOOLS_MD5:= b83fa09fb0025025bec6bb7e153a91b4
 HOST_MTOOLS:= mtools-$(HOST_MTOOLS_VERSION)
 HOST_MTOOLS_SUFFIX := tar.bz2
 HOST_MTOOLS_URL:= $(call ptx/mirror, GNU, 
mtools/$(HOST_MTOOLS).$(HOST_MTOOLS_SUFFIX))
-- 
2.34.1




[ptxdist] [PATCH] cross-nasm: Version bump. 2.15.05 -> 2.16.01

2023-03-29 Thread Christian Melki
Various bugs and fixes.
RDOFF support (nasm only format) has been removed.
https://nasm.us/doc/nasmdocc.html

Signed-off-by: Christian Melki 
---
 rules/cross-nasm.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/cross-nasm.make b/rules/cross-nasm.make
index 4ad4407e8..c84e97d18 100644
--- a/rules/cross-nasm.make
+++ b/rules/cross-nasm.make
@@ -15,9 +15,9 @@ CROSS_PACKAGES-$(PTXCONF_CROSS_NASM) += cross-nasm
 #
 # Paths and names
 #
-CROSS_NASM_VERSION := 2.15.05
+CROSS_NASM_VERSION := 2.16.01
 ifdef PTXCONF_ARCH_X86
-CROSS_NASM_MD5 := 1c9802446d7341c41c21eb98c7859064
+CROSS_NASM_MD5 := d755ba0d16f94616c2907f8cab7c748b
 CROSS_NASM := nasm-$(CROSS_NASM_VERSION)
 CROSS_NASM_SUFFIX  := tar.xz
 CROSS_NASM_URL := 
http://www.nasm.us/pub/nasm/releasebuilds/$(CROSS_NASM_VERSION)/$(CROSS_NASM).$(CROSS_NASM_SUFFIX)
-- 
2.34.1




[ptxdist] [PATCH] host-tz-database: Version bump. 2022f -> 2023c.

2023-03-29 Thread Christian Melki
Various fixes to zones and code.

It's probably quite relevant to keep this stepped up
these days. The world is in a bit of disarray with DST switches
and whatnot. Even the Lebanese DST mishap made it into the fixes.

https://github.com/eggert/tz/blob/main/NEWS
For those who are easily tickled by time peculiarities. :)

Signed-off-by: Christian Melki 
---
 rules/host-tz-database.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/host-tz-database.make b/rules/host-tz-database.make
index 373399694..cf4e04663 100644
--- a/rules/host-tz-database.make
+++ b/rules/host-tz-database.make
@@ -17,10 +17,10 @@ HOST_PACKAGES-$(PTXCONF_HOST_TZ_DATABASE) += 
host-tz-database
 #
 HOST_TZ_DATABASE   := tz-database
 HOST_TZ_DATABASE_DIR   := $(HOST_BUILDDIR)/$(HOST_TZ_DATABASE)
-HOST_TZ_DATABASE_VERSION:= 2022f
+HOST_TZ_DATABASE_VERSION:= 2023c
 
 TZCODE_VERSION := $(HOST_TZ_DATABASE_VERSION)
-TZCODE_MD5 := 3c253af4570d72e7df6950ecede5dc80
+TZCODE_MD5 := 532bcd571bff983447f0596112bbc065
 TZCODE := tzcode$(TZCODE_VERSION)
 TZCODE_SUFFIX  := tar.gz
 TZCODE_URL := \
@@ -31,7 +31,7 @@ TZCODE_DIR:= $(HOST_TZ_DATABASE_DIR)
 TZCODE_STRIP_LEVEL := 0
 
 TZDATA_VERSION := $(HOST_TZ_DATABASE_VERSION)
-TZDATA_MD5 := 7dbb997b73a0504b61a83a85988d7771
+TZDATA_MD5 := 5aa672bf129b44dd915f8232de38e49a
 TZDATA := tzdata$(TZDATA_VERSION)
 TZDATA_SUFFIX  := tar.gz
 TZDATA_URL := \
-- 
2.34.1




[ptxdist] [PATCH] crda: Version bump. regdb 2022.08.12 -> 2023.02.13

2023-03-29 Thread Christian Melki
Various regulatory changes. Mostly 5 and 6GHz.
Russia, Switzerland, Japan, Brazil.

Signed-off-by: Christian Melki 
---
 rules/crda.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/crda.make b/rules/crda.make
index 510414146..9dc47e725 100644
--- a/rules/crda.make
+++ b/rules/crda.make
@@ -26,8 +26,8 @@ CRDA_LICENSE_FILES := \
file://LICENSE;md5=ef8b69b43141352d821fd66b64ff0ee7 \
file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe
 
-CRDA_REGDB_VERSION := 2022.08.12
-CRDA_REGDB_MD5 := 29447e6d5e9dc268bf229fd98bfaf958
+CRDA_REGDB_VERSION := 2023.02.13
+CRDA_REGDB_MD5 := f055d9ece9da0abb507af9c317c4c846
 CRDA_REGDB := wireless-regdb-$(CRDA_REGDB_VERSION)
 CRDA_REGDB_SUFFIX  := tar.gz
 CRDA_REGDB_URL := \
-- 
2.34.1




[ptxdist] [PATCH] libcap: Version bump. 2.67 -> 2.68.

2023-03-29 Thread Christian Melki
Minor bugfix release.
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.vdh3d47czmle

Signed-off-by: Christian Melki 
---
 rules/libcap.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/libcap.make b/rules/libcap.make
index d3f3d31fa..f1dc4ae3d 100644
--- a/rules/libcap.make
+++ b/rules/libcap.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBCAP) += libcap
 #
 # Paths and names
 #
-LIBCAP_VERSION := 2.67
-LIBCAP_MD5 := 06333f4301657298890fd8d6f1fb4793
+LIBCAP_VERSION := 2.68
+LIBCAP_MD5 := ffb9e9c87704f92ac75201327841e753
 LIBCAP := libcap-$(LIBCAP_VERSION)
 LIBCAP_SUFFIX  := tar.xz
 LIBCAP_URL := \
-- 
2.34.1




Re: [ptxdist] ptxdist go problem

2023-03-29 Thread Alexander Dahl
Hello,

Am Mon, Mar 27, 2023 at 11:20:33AM + schrieb Herczig, Adam:
> Dear support,

This is a public mailing list, no commercial support.  And it's for
ptxdist itself, not for the BSP you're trying to build.  You might
want to ask the vendor too, or at least put them in Cc?

> My name is Adam Herczig from IP Camp Kft, Hungary. My company bought a Wago 
> plc type 750-8212 controller.
> I realized there is an sdk for c/c++ developing on github 
> (https://github.com/WAGO/pfc-firmware-sdk-G2).
> I did everything step by step according to the readme. However when I reached 
> "5.1) Compile all packages of PFC firmware"
> and try to run "ptxdist go -q" command I got an error
> 
> [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_prepare.make:20: 
> /home/user/work/WAGO/ptxproj/platform-wago-pfcXXX/state/host-pkg-config.prepare]
>  Error 2
> I checked the ptxd_make_world_prepare.make file in line 20 where make try to 
> call this 
> /home/user/work/WAGO/ptxproj/platform-wago-pfcXXX/state/host-pkg-config.prepare
>  file
> which basically does not exist. I guess this is the meaning of Error 2. 
> Without this file I cannot compile and I am stuck in the middle.

Try this:

ptxdist prepare host-pkg-config

Should give you more output compared to running with the -q option for
quiet. ;-)

Maybe you want to have a look at https://www.ptxdist.org/doc/ too?

> I pulled from master branch.
> 
> My linux system is a wsl :

You mean you build on Windows?  o.O

Never tried that TBH.

> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:Ubuntu 20.04.6 LTS
> Release:20.04
> Codename:   focal
> 
> However I tried to work over docker but got the same result.
> 
> Do you have any useful idea or this is a bug ? Have you noticed this issue 
> previously or any similar?

FWIW: When I try to build that BSP, I got a different error:


/mnt/data/adahl/src/pfc-firmware-sdk-G2/rules/post/dependencies-for-parallel-build.make:144:
 A package named pekwm does not exist

This seems to be an issue of the BSP itself, no ptxdist issue.
Opened a ticket for that:
https://github.com/WAGO/pfc-firmware-sdk-G2/issues/6

Greets
Alex

> Much appreciate any kind of answer or idea.
> 
> Best Regards,
> Ádám Herczig
> Software Developer
> [cid:image001.png@01D960AE.FCD12040]
> H-1113 Budapest
> Bocskai Street 134 - 146.
> Hungary
> +36 70 947 9484
> adam.herc...@ip-camp.com
> [signature_3082424764]
> 
> 






[ptxdist] OSELAS Toolchain for ARM-v7em with newlib and c++ support

2023-03-29 Thread Luis Grünewald
Hello,

I am trying to build the Oselas-Toolchain using the following setup:

- HOST-OS: Ubuntu 22.04.2 LTS
- HOST-CPU: 11th Gen Intel(R) Core (TM) i7-1165G7 @ 2.80GHz × 8
- Osleas project: OSELAS.Toolchain-2022.10.0 
(https://git.pengutronix.de/cgit/OSELAS.Toolchain/tag/?h=v2022.10.0)
- Ptxdist Version: ptxdist-2023.01.0 
(https://public.pengutronix.de/software/ptxdist/)

To build the toolchain I am doing the following steps:

1. Selecting the ptxconfig : 
arm-v7em-eabihf_gcc-12.2.1_newlib-4.2.0.20211231_binutils-2.39
2. using "ptxdist migrate" to update .ptxconfg
3. Since I need support for C++, I add C++ as an "Additional supported 
language" using "ptxdist menuconfig"
4. unsing the "build_one.sh 
arm-v7em-eabihf_gcc-12.2.1_newlib-4.2.0.20211231_binutils-2.39" to build the 
toolchain

build_one.sh fails with the following error:

--
checking whether printf hooks are supported... no
checking whether nl_langinfo should be used... no
checking whether nl_langinfo should be used for wide char locale info... yes
checking what to include in include/gstdint.h... stdint.h (already complete)
checking for GNU c++filt... /usr/bin/c++filt
checking for shared libgcc... configure: error: Link tests are not allowed 
after GCC_NO_EXECUTABLES.
no
checking whether localeconv should be used... make[1]: *** [Makefile:12209: 
configure-target-libstdc++-v3] Error 1
make[1]: *** Waiting for unfinished jobs
.
.
.
.
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory 
'/home/l.gruenewald/projects/m4Communication/toolchain_test/test3/OSELAS.Toolchain-2022.10.0/platform-arm-v7em-eabihf-gcc-12.2.1-newlib-4.2.0.20211231-binutils-2.39/build-cross/gcc-12-20221022-build'
make: *** [Makefile:1027: all] Error 2
make: Leaving directory 
'/home/l.gruenewald/projects/m4Communication/toolchain_test/test3/OSELAS.Toolchain-2022.10.0/platform-arm-v7em-eabihf-gcc-12.2.1-newlib-4.2.0.20211231-binutils-2.39/build-cross/gcc-12-20221022-build'
make: *** 
[/home/l.gruenewald/projects/m4Communication/toolchain_test/test3/ptxdist-2023.01.0/rules/post/ptxd_make_world_compile.make:20:
 
/home/l.gruenewald/projects/m4Communication/toolchain_test/test3/OSELAS.Toolchain-2022.10.0/platform-arm-v7em-eabihf-gcc-12.2.1-newlib-4.2.0.20211231-binutils-2.39/state/cross-gcc.compile]
 Error 2
make: *** 
[/home/l.gruenewald/projects/m4Communication/toolchain_test/test3/OSELAS.Toolchain-2022.10.0/build_all_v2.mk:44:
 gstate/arm-v7em-eabihf-gcc-12.2.1-newlib-4.2.0.20211231-binutils-2.39.build] 
Fehler 2

--


More Errors can be found in 
.
Here is a link to my libstdc++-v3/config.log : https://controlc.com/a342dcd8

Building the toolchain using the 
"arm-v7em-eabihf_gcc-12.2.1_newlib-4.2.0.20211231_binutils-2.39.ptxconfig" 
without any changes works fine.
But after using "debain/bin/build.sh" to build the .deb package, in the /bin 
folder the link called "arm-v7em-eabihf-g++" is broken.

Do you have any suggestion how to build the Oslastoolchain using the 
"arm-v7em-eabihf_gcc-12.2.1_newlib-4.2.0.20211231_binutils-2.39.ptxconfig" so 
that in the end the "g++" compiler will be included ?


Best regards,
Luis



[ptxdist] ptxdist go problem

2023-03-29 Thread Herczig, Adam
Dear support,

My name is Adam Herczig from IP Camp Kft, Hungary. My company bought a Wago plc 
type 750-8212 controller.
I realized there is an sdk for c/c++ developing on github 
(https://github.com/WAGO/pfc-firmware-sdk-G2).
I did everything step by step according to the readme. However when I reached 
"5.1) Compile all packages of PFC firmware"
and try to run "ptxdist go -q" command I got an error

[/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_prepare.make:20: 
/home/user/work/WAGO/ptxproj/platform-wago-pfcXXX/state/host-pkg-config.prepare]
 Error 2
I checked the ptxd_make_world_prepare.make file in line 20 where make try to 
call this 
/home/user/work/WAGO/ptxproj/platform-wago-pfcXXX/state/host-pkg-config.prepare 
file
which basically does not exist. I guess this is the meaning of Error 2. Without 
this file I cannot compile and I am stuck in the middle.

I pulled from master branch.

My linux system is a wsl :
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 20.04.6 LTS
Release:20.04
Codename:   focal

However I tried to work over docker but got the same result.

Do you have any useful idea or this is a bug ? Have you noticed this issue 
previously or any similar?

Much appreciate any kind of answer or idea.

Best Regards,
Ádám Herczig
Software Developer
[cid:image001.png@01D960AE.FCD12040]
H-1113 Budapest
Bocskai Street 134 - 146.
Hungary
+36 70 947 9484
adam.herc...@ip-camp.com
[signature_3082424764]