[ptxdist] Bad ncurses configuration for mconf?

2020-12-25 Thread Christian Melki
Ptxdist seems to assume things about the ncurses local build that doesn't always turn up to be usable. I use a ncurses-6.2 build in Slackware. Pretty normal build. mconf headers point to the ncurses library, not ncursesw. mconf gets built with: -O2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 and

Re: [ptxdist] Bad ncurses configuration for mconf?

2021-01-08 Thread Christian Melki
peration. On 1/8/21 9:46 AM, Michael Olbrich wrote: On Fri, Dec 25, 2020 at 09:08:14PM +0100, Christian Melki wrote: Ptxdist seems to assume things about the ncurses local build that doesn't always turn up to be usable. I use a ncurses-6.2 build in Slackware. Pretty normal build. m

[ptxdist] Ptxdist lightweight packaging usecase.

2021-01-20 Thread Christian Melki
Hi. I'd like to package (docker) a complete ptxdist build environment for a target platform but as light as possible. Since most application developers do not care about platform stuff, but still need to build images from time to time. So now I have this question: Can I purge build and still

[ptxdist] fakeroot does not build on glibc-2.33 hosts.

2021-04-22 Thread Christian Melki
glibc-2.33 removed _STAT_VER. https://bugs.archlinux.org/task/69572 Upgraded to fakeroot 1.25.3 and added glibc-2.33 patches from: https://github.com/archlinux/svntogit-packages/commits/packages/fakeroot/trunk ___ ptxdist mailing list ptxdist@pengutron

[ptxdist] pkg-config-wrapper breakage.

2021-04-22 Thread Christian Melki
I'm having trouble building. Reverting this commit fixes my issue. https://git.pengutronix.de/cgit/ptxdist/commit/scripts/pkg-config-wrapper?id=ee2867017402a411c279095a0bd7669693c98352 whitelist source is not empty, first option is not help or version. Hence next call fails because it mixes --prin

[ptxdist] pkg-config-wrapper libdir confusion, ABI dynamic-linker path.

2021-04-22 Thread Christian Melki
I'm using a crosstool-ng toolchain which adheres to the ld.so ABI path for x86_64 (glibc). Afaiu, ptxdist does not like multilib. But it will happily get the dynamic-linker path which contain a multilib description or just a regular lib64 path. https://git.pengutronix.de/cgit/ptxdist/tree/scripts

Re: [ptxdist] pkg-config-wrapper breakage.

2021-04-23 Thread Christian Melki
On 4/23/21 9:17 AM, Michael Olbrich wrote: > On Thu, Apr 22, 2021 at 09:11:30PM +0200, Christian Melki wrote: >> I'm having trouble building. >> Reverting this commit fixes my issue. >> https://git.pengutronix.de/cgit/ptxdist/commit/scr

Re: [ptxdist] pkg-config-wrapper libdir confusion, ABI dynamic-linker path.

2021-04-23 Thread Christian Melki
On 4/23/21 9:39 AM, Michael Olbrich wrote: > On Thu, Apr 22, 2021 at 09:59:06PM +0200, Christian Melki wrote: >> I'm using a crosstool-ng toolchain which adheres to the ld.so ABI path >> for x86_64 (glibc). >> >> Afaiu, ptxdist does not like multilib. >> But

Re: [ptxdist] pkg-config-wrapper libdir confusion, ABI dynamic-linker path.

2021-04-24 Thread Christian Melki
On 4/23/21 9:39 AM, Michael Olbrich wrote: > On Thu, Apr 22, 2021 at 09:59:06PM +0200, Christian Melki wrote: >> I'm using a crosstool-ng toolchain which adheres to the ld.so ABI path >> for x86_64 (glibc). >> >> Afaiu, ptxdist does not like multilib. >> But

[ptxdist] [PATCH] Resolve lib and pkgconfig dirs dynamically.

2021-04-26 Thread Christian Melki
Toolchains usually adhere to ABI spec when dealing with ld.so placement. https://sourceware.org/glibc/wiki/ABIList On x86_64: /lib64/ld-linux-x86-64.so.2 This will help in using a non-demultilibbed toolchain in ptxdist. Signed-off-by: Christian Melki --- scripts/lib/ptxd_make_world_install.sh

[ptxdist] [PATCH] openssl: Use CROSS_LIB_DIR.

2021-04-26 Thread Christian Melki
Instead of using static paths, resolve them instead. Signed-off-by: Christian Melki --- rules/openssl.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/openssl.make b/rules/openssl.make index f8d07b472..492bac3e1 100644 --- a/rules/openssl.make +++ b/rules

Re: [ptxdist] pkg-config-wrapper libdir confusion, ABI dynamic-linker path.

2021-05-03 Thread Christian Melki
> >> system_libpath=( "${libdir[@]/%//../../lib}" "${libdir[@]/%//../lib}" > > Hmmm, we should fix that too, but that's mostly cosmetic: pkg-config skips > these paths when adding '-L' options. And some extra shouldn't hurt. > > Michael Hmm. I could not leave this out. Apparently some packages

[ptxdist] [PATCH] host-genimage: select HOST_MTOOLS

2021-05-05 Thread Christian Melki
Add missing dependency. Signed-off-by: Christian Melki --- rules/host-genimage.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/host-genimage.in b/rules/host-genimage.in index 594a81140..aaef88243 100644 --- a/rules/host-genimage.in +++ b/rules/host-genimage.in @@ -3,4 +3,5

Re: [ptxdist] [PATCH] pkg-config-wrapper: calculate the system paths dynamically as well

2021-05-07 Thread Christian Melki
On 5/7/21 9:15 AM, Michael Olbrich wrote: > Signed-off-by: Michael Olbrich > --- > > Would this work? Or do we need to exclude /usr/lib explicitly as well? > > Michael > > scripts/pkg-config-wrapper | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/scripts/pkg-c

[ptxdist] [PATCH] Add missing install CROSS_LIB_DIR for CMAKE environments.

2021-05-18 Thread Christian Melki
Was installing libraries into wrong directories. Signed-off-by: Christian Melki --- rules/pre/Rules.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index 99e459ce2..93645a42a 100644 --- a/rules/pre/Rules.make +++ b/rules/pre/Rules.make

[ptxdist] [PATCH] ncurses.make: Change the explicit pkg-config dir to follow CROSS_LIB_DIR.

2021-05-19 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/ncurses.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/ncurses.make b/rules/ncurses.make index 6a7a13ef1..38f9c01ff 100644 --- a/rules/ncurses.make +++ b/rules/ncurses.make @@ -48,7 +48,7 @@ NCURSES_AUTOCONF_SHARED

[ptxdist] [PATCH] iptables.make: Make .so file installation and copying follow CROSS_LIB_DIR.

2021-05-19 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/iptables.make | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rules/iptables.make b/rules/iptables.make index 13b28cde9..391a95af0 100644 --- a/rules/iptables.make +++ b/rules/iptables.make @@ -48,7 +48,7

[ptxdist] [PATCH] libcap.make: Make library installation follow CROSS_LIB_DIR

2021-05-19 Thread Christian Melki
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 45f09d97f..cdc44dfe0 100644 --- a/rules/libcap.make +++ b/rules/libcap.make @@ -30,7 +30,7 @@ LIBCAP_LICENSE_FILES := file

Re: [ptxdist] [PATCH] Add missing install CROSS_LIB_DIR for CMAKE environments.

2021-05-21 Thread Christian Melki
On 5/21/21 12:40 PM, Michael Olbrich wrote: On Tue, May 18, 2021 at 03:34:01PM +0200, Christian Melki wrote: Was installing libraries into wrong directories. Signed-off-by: Christian Melki --- rules/pre/Rules.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/pre/Rules.make b

Re: [ptxdist] [PATCH] Add missing install CROSS_LIB_DIR for CMAKE environments.

2021-05-21 Thread Christian Melki
On 5/21/21 12:52 PM, Christian Melki wrote: On 5/21/21 12:40 PM, Michael Olbrich wrote: On Tue, May 18, 2021 at 03:34:01PM +0200, Christian Melki wrote: Was installing libraries into wrong directories. Signed-off-by: Christian Melki ---   rules/pre/Rules.make | 1 +   1 file changed, 1

[ptxdist] [PATCH] platforms/u-boot.in: Add U-boot efi target images to copy to image dir.

2021-05-26 Thread Christian Melki
Signed-off-by: Christian Melki --- platforms/u-boot.in | 12 rules/u-boot.make | 6 ++ 2 files changed, 18 insertions(+) diff --git a/platforms/u-boot.in b/platforms/u-boot.in index 491faed60..4ddf3b3fb 100644 --- a/platforms/u-boot.in +++ b/platforms/u-boot.in @@ -171,6

[ptxdist] [PATCH] libevent: version bump. 2.1.8 -> 2.1.12

2021-06-02 Thread Christian Melki
Signed-off-by: Christian Melki diff --git a/rules/libevent.make b/rules/libevent.make index df3d29744..73470c59e 100644 --- a/rules/libevent.make +++ b/rules/libevent.make @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_LIBEVENT) += libevent # # Paths and names # -LIBEVENT_VERSION := 2.1.8

[ptxdist] [RFC] Add DTB overlay handling to ptxdist

2021-06-02 Thread Christian Melki
dling with separate names and functions. Signed-off-by: Christian Melki diff --git a/platforms/dtc.in b/platforms/dtc.in index 5e8b35291..101d99836 100644 --- a/platforms/dtc.in +++ b/platforms/dtc.in @@ -13,10 +13,18 @@ menuconfig DTC if DTC config DTC_INSTALL_OFTREE - bool "install

Re: [ptxdist] [RFC] Add DTB overlay handling to ptxdist

2021-06-03 Thread Christian Melki
On 6/3/21 9:21 AM, Michael Tretter wrote: On Wed, 02 Jun 2021 14:19:10 +0200, Christian Melki wrote: The only real difference here is that the symbol handling must always be present. Hence "-@" for default extra arg. Make paths variable but default to boot for the old dtb behavior.

[ptxdist] [PATCH] rules/pam.make: Make .so file installation follow CROSS_LIB_DIR.

2021-06-08 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/pam.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/pam.make b/rules/pam.make index 538ce2fa0..2f3ac3fb4 100644 --- a/rules/pam.make +++ b/rules/pam.make @@ -64,7 +64,7 @@ $(STATEDIR)/pam.targetinstall: @$(call

[ptxdist] RFC: Make version selection.

2021-06-18 Thread Christian Melki
Make 4.3 introduced a new set of incompatibility. https://lwn.net/Articles/810071/ This rarely affects building, but sometimes it will. How about adding something like tool version selection? (Building a specific version perhaps?). Ptxdist seem rather content with just "some make", but since hos

Re: [ptxdist] RFC: Make version selection.

2021-06-19 Thread Christian Melki
On 6/19/21 11:44 PM, Roland Hieber wrote: > On Fri, Jun 18, 2021 at 02:29:07PM +0200, Christian Melki wrote: >> Make 4.3 introduced a new set of incompatibility. >> >> https://lwn.net/Articles/810071/ >> >> This rarely affects building, but sometimes it will. &

[ptxdist] [PATCH] glib.make: Follow CROSS_LIB_DIR.

2021-07-02 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/glib.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/glib.make b/rules/glib.make index 007893fd4..304b3bff0 100644 --- a/rules/glib.make +++ b/rules/glib.make @@ -63,10 +63,10 @@ GLIB_CONF_OPT := \ $(STATEDIR

[ptxdist] [PATCH] efivar.make: Install to CROSS_LIB_DIR

2021-07-08 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/efivar.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/efivar.make b/rules/efivar.make index 1c92dce24..db0ed001f 100644 --- a/rules/efivar.make +++ b/rules/efivar.make @@ -29,7 +29,7 @@ EFIVAR_LICENSE:= LGPL-2.1

[ptxdist] [PATCH] libffi: Fix location of libraries for multilib toolchains.

2021-07-08 Thread Christian Melki
libffi uses toolexeclib_LTLIBRARIES. Change it to lib_LTLIBRARIES. Signed-off-by: Christian Melki --- ...ion-of-libraries-for-multilib-toolch.patch | 24 +++ patches/libffi-3.3/autogen.sh | 1 + patches/libffi-3.3/series | 3 ++- 3 files

[ptxdist] [PATCH] rules/Kconfig: Add new section, emulators.

2021-07-16 Thread Christian Melki
As CPUs get more powerful, host emulators / virtualization engines become more plausible as target software. Add new section. Signed-off-by: Christian Melki --- rules/Kconfig | 4 rules/emulators.in | 7 +++ 2 files changed, 11 insertions(+) create mode 100644 rules/emulators.in

[ptxdist] [PATCH] rules/qemu: Add new package.

2021-07-16 Thread Christian Melki
Work-in-progress. Add target-qemu package. Usecases are among others: Higher isolation (security) and target emulation (software longevity). Signed-off-by: Christian Melki --- rules/qemu.in | 51 + rules/qemu.make | 274 2 files

[ptxdist] [PATCH] rules/qemu: Add new package.

2021-07-16 Thread Christian Melki
Work-in-progress. Add target-qemu package. Usecases are among others: Higher isolation (security) and target emulation (software longevity). Signed-off-by: Christian Melki --- rules/qemu.in | 51 + rules/qemu.make | 274 2 files

[ptxdist] [PATCH 3/6] rules/host-efitools: Add new package.

2021-07-16 Thread Christian Melki
Host efitools. Depending on your needs, this might be used for signing EFI images from host environment or reading efi variables from a target environment. This is the host side toolset. Signed-off-by: Christian Melki --- rules/host-efitools.in | 9 + rules/host-efitools.make | 29

[ptxdist] [PATCH 1/6] rules/host-gnu-efi: Add new package.

2021-07-16 Thread Christian Melki
GNU EFI library as host package. Used by various tools for various EFI work. Signed-off-by: Christian Melki --- rules/host-gnu-efi.in | 7 +++ rules/host-gnu-efi.make | 33 + 2 files changed, 40 insertions(+) create mode 100644 rules/host-gnu-efi.in

[ptxdist] [PATCH 2/6] rules/gnu-efi: Add new package.

2021-07-16 Thread Christian Melki
Target GNU EFI library. Used for various EFI work. Depending on your needs, target binaries for EFI stuff might be needed. This is used by efitools etc. Signed-off-by: Christian Melki --- rules/gnu-efi.in | 6 rules/gnu-efi.make | 71 ++ 2

[ptxdist] [PATCH 4/6] rules/efitools: Add new package.

2021-07-16 Thread Christian Melki
efitools for target. Might be used for reading efivariables or signing/resigning images on the target. efitools might also be used for signing EFI images on host. This is the target package. Signed-off-by: Christian Melki --- rules/efitools.in | 11 ++ rules/efitools.make | 84

[ptxdist] [PATCH 6/6] rules/sbsigntools: Add new package.

2021-07-16 Thread Christian Melki
sbsigntools as a target package. sbsign is a EFI image signer. This is the target package. Used to sign/resign images on target. Signed-off-by: Christian Melki --- rules/sbsigntools.in | 11 +++ rules/sbsigntools.make | 73 ++ 2 files changed, 84

[ptxdist] [PATCH 5/6] rules/host-sbsigntools: Add new package.

2021-07-16 Thread Christian Melki
sbsigntools as a host package. sbsign is an EFI image signer for use with secure boot. Common use is on the host sign to sign the images. Depends on libuuid, openssl and gnu-efi. Signed-off-by: Christian Melki --- rules/host-sbsigntools.in | 10 ++ rules/host-sbsigntools.make | 26

Re: [ptxdist] [PATCH 2/6] rules/gnu-efi: Add new package.

2021-07-20 Thread Christian Melki
; On Fri, Jul 16, 2021 at 03:41:03PM +0200, Christian Melki wrote: >> Target GNU EFI library. Used for various EFI work. >> Depending on your needs, target binaries for EFI stuff might be needed. >> This is used by efitools etc. >> >> Signed-off-by: Christian Me

Re: [ptxdist] Why are the __DATE__ and __TIME__ fixed in the OSELAS Toolchain or PTXDist ?

2021-07-21 Thread Christian Melki
On 7/21/21 3:02 PM, Mircea Ciocan wrote: > Hello everybody, > > I have a rather strange question: > > In one of my programs, to differentiate during testing in between > different compilation of the same program, I'm using a poor's man > serialization based on the __DATE__ and __TIME__ macros (

Re: [ptxdist] [PATCH] Add missing install CROSS_LIB_DIR for CMAKE environments.

2021-07-21 Thread Christian Melki
hat this is ugly: > --- a/rules/sdbus-cpp.make > +++ b/rules/sdbus-cpp.make > @@ -29,7 +29,8 @@ > > SDBUS_CPP_CONF_TOOL:= cmake > SDBUS_CPP_CONF_OPT:= \ > -$(CROSS_CMAKE_USR) \ > +$(filter-out -DCMAKE_INSTALL_LIBDIR=/usr/$(CROSS_LIB_DIR), > $(CROSS_CMAKE_USR)) \ > +-

Re: [ptxdist] [PATCH] Add missing install CROSS_LIB_DIR for CMAKE environments.

2021-07-22 Thread Christian Melki
On 7/22/21 10:07 AM, Denis Osterland-Heim wrote: > Hi Michael, > > Am Donnerstag, den 22.07.2021, 08:46 +0200 schrieb m.olbr...@pengutronix.de: >> Hi, >> >> On Wed, Jul 21, 2021 at 07:54:05PM +0200, Christian Melki wrote: >>> Sigh. Spec ambiguity mishmash. >

Re: [ptxdist] [RFC] Add DTB overlay handling to ptxdist

2021-08-06 Thread Christian Melki
On 8/4/21 9:10 AM, Michael Olbrich wrote: > On Thu, Jun 03, 2021 at 12:43:10PM +0200, Christian Melki wrote: >> On 6/3/21 9:21 AM, Michael Tretter wrote: >>> On Wed, 02 Jun 2021 14:19:10 +0200, Christian Melki wrote: >>>> The only real difference here is that the sy

[ptxdist] [PATCH] pre/Rules.make: Let CMAKE_INSTALL_LIBDIR be relative, as per spec.

2021-08-09 Thread Christian Melki
This means that packages that assume that this variable is absolute will have to be modified. Adding something like -DCMAKE_INSTALL_LIBDIR=/usr/$(CROSS_LIB_DIR), after CROSS_CMAKE_USR to your CONF_OPT will probably suffice. Signed-off-by: Christian Melki --- rules/pre/Rules.make | 2 +- 1 file

[ptxdist] [PATCH] libjpeg.make: libjpeg needs absolute path CMAKE_INSTALL_LIBDIR.

2021-08-09 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/libjpeg.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/libjpeg.make b/rules/libjpeg.make index d0d3b569e..7b05d6953 100644 --- a/rules/libjpeg.make +++ b/rules/libjpeg.make @@ -46,6 +46,7 @@ endif LIBJPEG_CONF_TOOL := cmake

[ptxdist] [PATCH] rules/syslogng.make:

2021-08-30 Thread Christian Melki
Be more specific about where modules (.so files) end up and searched for. Let them land in a CROSS_LIB_DIR path. Signed-off-by: Christian Melki --- rules/syslogng.make | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules/syslogng.make b/rules/syslogng.make index

[ptxdist] [PATCH] scripts/lib/ptxd_make_xpkg_pkg.sh: Beautify figlet output.

2021-09-01 Thread Christian Melki
Not ideal, but long project names with dashes can probably be split as multiple lines in a figlet issue banner. Ie, Company longprodname-arch -> Company\nlongprodname-\narch. Signed-off-by: Christian Melki --- scripts/lib/ptxd_make_xpkg_pkg.sh | 1 + 1 file changed, 1 insertion(+) diff --gi

[ptxdist] [PATCH] rules/pciutils.make: Set libdir to something useful in cross environments.

2021-09-02 Thread Christian Melki
Signed-off-by: Christian Melki --- rules/pciutils.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/pciutils.make b/rules/pciutils.make index 6f472e63d..7e86eac15 100644 --- a/rules/pciutils.make +++ b/rules/pciutils.make @@ -37,6 +37,7 @@ PCIUTILS_MAKE_OPT

[ptxdist] [PATCH v2] rules/syslogng.make: Use CROSS_LIB_DIR for module paths

2021-09-03 Thread Christian Melki
Be more specific about where modules (.so files) end up and searched for. Let them land in a CROSS_LIB_DIR path. Signed-off-by: Christian Melki --- rules/syslogng.make | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules/syslogng.make b/rules/syslogng.make index

[ptxdist] Invalid KERNEL_DTS_PATH description and default?

2021-09-07 Thread Christian Melki
KERNEL_DTS_PATH in rules/kernel.in. "Multiple directories can be specified separated by ':'" Hmm. Should be space? Also, "${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts" as default. ${PTXDIST_PLATFORMCONFIG_SUBDIR} is a partial path and ${KERNEL_DIR} is a

[ptxdist] [PATCH] rules/kernel.make: Add a choice to let kernel build dtbs.

2021-09-08 Thread Christian Melki
Instead of having Ptxdist build dtbs, let the kernel do it. Some projects have a rather complicated set of includes and partly out-of-tree dts structures (Nvidia?), so it is easier to let the vendor kernel do it. This is similar to what Yocto and Buildroot can do. The high level find might seem a b

[ptxdist] xorg-server meson build.

2021-09-08 Thread Christian Melki
I'm having trouble building xorg-server with meson. Getting various non-constructive errors. ../xorg-server-1.20.10/include/meson.build:175:10: ERROR: 'not-found' is not a pkgconfig dependency ../xorg-server-1.20.10/hw/xfree86/meson.build:101:0: ERROR: '' is not a static library. I reverted

[ptxdist] [PATCH 1/8] rules/xorg-driver-input-evdev.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let xorg-driver-input install libraries in CROSS_LIB_DIR. --- rules/xorg-driver-input-evdev.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/xorg-driver-input-evdev.make b/rules/xorg-driver-input-evdev.make index 8937a5ae5..2049ea100 100644 --- a/rules/xorg-driver-in

[ptxdist] [PATCH 2/8] rules/xorg-driver-input-keyboard.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let xorg-driver-input install libraries in CROSS_LIB_DIR. --- rules/xorg-driver-input-keyboard.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/xorg-driver-input-keyboard.make b/rules/xorg-driver-input-keyboard.make index fb2af0541..65b3a255f 100644 --- a/rules/xorg-

[ptxdist] [PATCH 4/8] rules/xorg-driver-input-tslib.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let xorg-driver-input install libraries in CROSS_LIB_DIR. --- rules/xorg-driver-input-tslib.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/xorg-driver-input-tslib.make b/rules/xorg-driver-input-tslib.make index f9874fc78..af229b3a4 100644 --- a/rules/xorg-driver-in

[ptxdist] [PATCH 3/8] rules/xorg-driver-input-mouse.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let xorg-driver-input install libraries in CROSS_LIB_DIR. --- rules/xorg-driver-input-mouse.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/xorg-driver-input-mouse.make b/rules/xorg-driver-input-mouse.make index 71f8c8d47..4db743669 100644 --- a/rules/xorg-driver-in

[ptxdist] [PATCH 5/8] rules/xorg-driver-input-void.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let xorg-driver-input install libraries in CROSS_LIB_DIR. --- rules/xorg-driver-input-void.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/xorg-driver-input-void.make b/rules/xorg-driver-input-void.make index 90fe87c13..1466083b7 100644 --- a/rules/xorg-driver-input

[ptxdist] [PATCH 6/8] rules/xorg-driver-video-vesa.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let xorg-driver-video install libraries in CROSS_LIB_DIR. --- rules/xorg-driver-video-vesa.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/xorg-driver-video-vesa.make b/rules/xorg-driver-video-vesa.make index 3e249fe76..ca702df05 100644 --- a/rules/xorg-driver-video

[ptxdist] [PATCH 7/8] rules/xorg-fonts.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let xorg-fonts install libraries in CROSS_LIB_DIR. --- rules/xorg-fonts.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/xorg-fonts.make b/rules/xorg-fonts.make index c6787875e..88e6873ab 100644 --- a/rules/xorg-fonts.make +++ b/rules/xorg-fonts.make @@ -82,7 +82,7 @@

[ptxdist] [PATCH 8/8] rules/mesalib.make: Use CROSS_LIB_DIR.

2021-09-08 Thread Christian Melki
Let mesalib install various libraries in CROSS_LIB_DIR. --- rules/mesalib.make | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/rules/mesalib.make b/rules/mesalib.make index 945b7c523..a1f92224b 100644 --- a/rules/mesalib.make +++ b/rules/mesalib.make

Re: [ptxdist] [PATCH] kernel: fix and improve DTS help texts

2021-09-08 Thread Christian Melki
Hmm. You're right. I probably misread the functionality as I tried to implement "make dtbs". Which isn't going to align with the current functionality IIUC? I'm fine with the increased verbosity. My main goal was "make dtbs" for vendor kernels that are a bit obnoxious. Regards, Christian

Re: [ptxdist] xorg-server meson build.

2021-09-08 Thread Christian Melki
On 9/8/21 4:10 PM, Michael Olbrich wrote: > On Wed, Sep 08, 2021 at 02:51:03PM +0200, Christian Melki wrote: >> I'm having trouble building xorg-server with meson. >> >> Getting various non-constructive errors. >> ../xorg-server-1.20.10/include/meson.build:175:10

[ptxdist] [PATCH] rules/module-init-tools: Enable zlib compression support.

2021-09-09 Thread Christian Melki
Let old and trusty module-init-tools handle zlib compressed kernel modules. --- rules/module-init-tools.in | 7 +++ rules/module-init-tools.make | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/rules/module-init-tools.in b/rules/module-init-tools.in index 765de6b97..0

[ptxdist] [PATCH] rules/libgpg-error.make: Remove broken triplet handling.

2021-09-10 Thread Christian Melki
libgpg-error, historically being rather cross-compile unfriendly, has gotten better in the later releases. Also, this type of triplet handling is broken for triplets without vendor and various other cases. This creates more problems than it solves. Remove. --- rules/libgpg-error.make | 13

[ptxdist] [PATCH] rules/wayland.make: Follow CROSS_LIB_DIR when installing.

2021-09-15 Thread Christian Melki
--- rules/wayland.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/wayland.make b/rules/wayland.make index b237a9701..4464211b7 100644 --- a/rules/wayland.make +++ b/rules/wayland.make @@ -53,8 +53,8 @@ $(STATEDIR)/wayland.install.post: @rm -f $(WAYLAND_PK

[ptxdist] [PATCH] rules/weston.make: Add kiosk shell install rule.

2021-09-16 Thread Christian Melki
Seems the kiosk shell was forgotten about during installation. Defined, built but never installed? Add install rule. Signed-off-by: Christian Melki --- rules/weston.make | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/weston.make b/rules/weston.make index 2bd11b4ef..716c990e7

[ptxdist] [PATCH] rules/jimtcl.make: Let library symlinks follow CROSS_LIB_DIR

2021-09-21 Thread Christian Melki
Libraries were installed to a proper path, but the symlink wasn't. Signed-off-by: Christian Melki --- rules/jimtcl.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/jimtcl.make b/rules/jimtcl.make index eb39dd611..1a7fa823c 100644 --- a/rules/jimtcl.make +++ b/

Re: [ptxdist] SBOM / manifest

2021-10-05 Thread Christian Melki
On 10/5/21 15:58, Alexander Dahl wrote: > Hei hei, > > On Tue, Oct 05, 2021 at 09:38:55AM -0400, Akshay Bhat wrote: >> Is there a way of generating a SBOM (Software Bill of Materials) i.e. >> list all the software packages installed on the target with the >> associated version and license info for

Re: [ptxdist] [PATCH] rules/module-init-tools: Enable zlib compression support.

2021-10-08 Thread Christian Melki
On 9/29/21 13:26, Michael Olbrich wrote: > On Thu, Sep 09, 2021 at 02:01:16PM +0200, Christian Melki wrote: >> Let old and trusty module-init-tools handle zlib compressed kernel modules. > > Any reason why you use this instead of libkmod? The module-init-tools are > no longe

Re: [ptxdist] [PATCH] rules/module-init-tools: Enable zlib compression support.

2021-10-11 Thread Christian Melki
On 10/11/21 8:48 AM, Michael Olbrich wrote: On Fri, Oct 08, 2021 at 10:28:37PM +0200, Christian Melki wrote: On 9/29/21 13:26, Michael Olbrich wrote: On Thu, Sep 09, 2021 at 02:01:16PM +0200, Christian Melki wrote: Let old and trusty module-init-tools handle zlib compressed kernel modules

[ptxdist] FYI glibc-2.34.

2021-10-11 Thread Christian Melki
Quote from changelog: * Previously, glibc installed its various shared objects under versioned file names such as libc-2.33.so. The ABI sonames (e.g., libc.so.6) were provided as symbolic links. Starting with glibc 2.34, the shared objects are installed under their ABI sonames directly, w

[ptxdist] [PATCH] pciutils.make: Set LIBDIR.

2021-10-11 Thread Christian Melki
Let pciutils libpci.so and pkgconfig follow CROSS_LIB_DIR. Signed-off-by: Christian Melki --- rules/pciutils.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/pciutils.make b/rules/pciutils.make index 6f472e63d..7e86eac15 100644 --- a/rules/pciutils.make +++ b/rules/pciutils.make

[ptxdist] [PATCH] wayland.make: Fix .pc file placement.

2021-10-11 Thread Christian Melki
Let pkgconfig files follow CROSS_LIB_DIR. Signed-off-by: Christian Melki --- rules/wayland.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/wayland.make b/rules/wayland.make index b237a9701..4464211b7 100644 --- a/rules/wayland.make +++ b/rules/wayland.make

[ptxdist] [PATCH] sysklogd: Add new package.

2021-10-11 Thread Christian Melki
Add a forked version of the old sysklogd. This version has seen some major cleanup, with RFC3164 and RFC5424 support. Notable is the addition of remote syslog messages and syslogp() support. Signed-off-by: Christian Melki --- rules/sysklogd-bbinit.in | 8 rules/sysklogd.in| 44

[ptxdist] [PATCH] mesalib: Add VIRGL, SVGA and fix library paths.

2021-10-11 Thread Christian Melki
Was missing VIRGL and SVGA from the gallium libs list. Used with QEMU amongst other things. Also fix the library paths used by various libs. Let them follow CROSS_LIB_DIR. Signed-off-by: Christian Melki --- rules/mesalib.in | 8 rules/mesalib.make | 31

[ptxdist] [PATCH] glib: Version bump. 2.68.3 -> 2.69.3.

2021-10-11 Thread Christian Melki
glib < 2.68.4 fails to build on glibc 2.34 due to improper usage of close_range(). https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2180 Signed-off-by: Christian Melki --- rules/glib.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/glib.make b/ru

[ptxdist] [PATCH v2] qemu: Add target qemu virtualization.

2021-10-12 Thread Christian Melki
;t belong there. * Wrap various firmware install files with architecture constraints. Signed-off-by: Christian Melki --- rules/qemu.in | 60 +++ rules/qemu.make | 270 2 files changed, 330 insertions(+) create mode 100644 rules/qemu.in cre

[ptxdist] Request for comments: CROSS_LIB_DIR handling etc.

2021-10-13 Thread Christian Melki
Hello. I've been correcting various hardcoded paths in ptxdist packages and whatnot lately. This started with ptxdist not coping well with toolchains that adhere to the ABI path for various architectures. Yesterday, I dug into the problem that on x86_64 (/lib64), all .pc.in -> .pc file trans

[ptxdist] [PATCH] jimtcl: Version bump 0.78 -> 0.80.

2021-10-13 Thread Christian Melki
Update package URL to github, as recommended by the main project page. http://jim.tcl.tk/index.html/doc/www/www/download/ Signed-off-by: Christian Melki --- rules/jimtcl.make | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/jimtcl.make b/rules/jimtcl.make index

[ptxdist] [PATCH] linux-firmware: Add new package. Version 20210818

2021-10-13 Thread Christian Melki
Firmware is needed by a lot of modern devices. Includes various radio interfaces, GPU and CPU stuff. Due to the large space required by some firmwares as a whole, compression can optionally be enabled. Signed-off-by: Christian Melki --- rules/linux-firmware.in | 55

[ptxdist] [PATCH] gcclibs: .so is a linker script, not a library.

2021-10-13 Thread Christian Melki
.so is afaik a linker script which groups the .a and the .so. On target (runtime), nothing more than the actual library is needed. The copying of the linker script was creating a softlink which was pointing to itself. Signed-off-by: Christian Melki --- rules/gcclibs.make | 2 +- 1 file changed

Re: [ptxdist] FYI glibc-2.34.

2021-10-15 Thread Christian Melki
ggestions? Regards, Christian On 10/15/21 10:13 AM, Michael Olbrich wrote: On Mon, Oct 11, 2021 at 01:08:01PM +0200, Christian Melki wrote: Quote from changelog: * Previously, glibc installed its various shared objects under versioned file names such as libc-2.33.so. The ABI sonames (e.g.,

Re: [ptxdist] Request for comments: CROSS_LIB_DIR handling etc.

2021-10-15 Thread Christian Melki
On 10/15/21 3:12 PM, Michael Olbrich wrote: Hi, On Wed, Oct 13, 2021 at 09:29:24AM +0200, Christian Melki wrote: I've been correcting various hardcoded paths in ptxdist packages and whatnot lately. This started with ptxdist not coping well with toolchains that adhere to the ABI pat

Re: [ptxdist] [PATCH] linux-firmware: Add new package. Version 20210818

2021-10-16 Thread Christian Melki
On 10/15/21 21:40, Alexander Dahl wrote: > Hei hei, > > On Fri, Oct 15, 2021 at 04:11:11PM +0200, Michael Olbrich wrote: >> On Wed, Oct 13, 2021 at 08:36:31PM +0200, Christian Melki wrote: >>> Firmware is needed by a lot of modern devices. >>> Includes various ra

[ptxdist] [PATCH v2] sysklogd: Add new package.

2021-10-18 Thread Christian Melki
Changes in v2: * Add handling for similar functions in busybox. * Example config installed as fallback in install_alternative * Old syntax configuration replaced with modern one. * Whitespace and ifdef corrections. Signed-off-by: Christian Melki --- rules/sysklogd-bbinit.in | 8 rules

[ptxdist] [PATCH v2] mesalib: Add VIRGL, SVGA

2021-10-18 Thread Christian Melki
Changes in v2: * Remove CROSS_LIB_DIR changes. Signed-off-by: Christian Melki --- rules/mesalib.in | 8 rules/mesalib.make | 7 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/rules/mesalib.in b/rules/mesalib.in index b9fd1d3c8..a2644408c 100644 --- a/rules

[ptxdist] [PATCH] glib: Version bump. 2.68.3 -> 2.70.0

2021-10-18 Thread Christian Melki
glib < 2.68.4 fails to build on glibc 2.34 due to improper usage of close_range(). https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2180 Bump to next stable release, 2.70.0. Signed-off-by: Christian Melki --- rules/glib.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[ptxdist] [PATCH v3] qemu: Add target qemu virtualization

2021-10-18 Thread Christian Melki
Changes in v3: * Remove not-needed default n in .in file. * Remove not-needed variable. * Add whitespace for readability. * Remove local changes that slipped through (thanks for catching). Signed-off-by: Christian Melki --- rules/qemu.in | 59 +++ rules/qemu.make | 272

[ptxdist] [PATCH] host-qemu: Version bump 6.0.0 -> 6.1.0

2021-10-18 Thread Christian Melki
Introducing target-qemu. Rely on that for basic package definition. Remove corresponding lines in host-qemu. Remove sheepdog configuration. Driver has been removed. QEMU 6.1 changelog: https://wiki.qemu.org/ChangeLog/6.1 Signed-off-by: Christian Melki --- rules/host-qemu.make | 14

Re: [ptxdist] Request for comments: CROSS_LIB_DIR handling etc.

2021-11-04 Thread Christian Melki
Bump. No more comments? Action? On 10/15/21 3:34 PM, Christian Melki wrote: On 10/15/21 3:12 PM, Michael Olbrich wrote: Hi, On Wed, Oct 13, 2021 at 09:29:24AM +0200, Christian Melki wrote: I've been correcting various hardcoded paths in ptxdist packages and whatnot lately. This st

Re: [ptxdist] [PATCH] linux-firmware: Add new package. Version 20210818

2021-11-04 Thread Christian Melki
Bump. No more opinions? Go? No go? Changes? On 10/16/21 9:21 AM, Christian Melki wrote: On 10/15/21 21:40, Alexander Dahl wrote: Hei hei, On Fri, Oct 15, 2021 at 04:11:11PM +0200, Michael Olbrich wrote: On Wed, Oct 13, 2021 at 08:36:31PM +0200, Christian Melki wrote: Firmware is needed by

[ptxdist] [PATCH] libqmi: Version bump. 1.28.6 -> 1.30.2

2021-11-04 Thread Christian Melki
Various new requests and tlvs implemented. Progress towards a meson build system continues. Signed-off-by: Christian Melki --- rules/libqmi.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/libqmi.make b/rules/libqmi.make index 5835f3fb1..e28517205 100644 --- a

Re: [ptxdist] Request for comments: CROSS_LIB_DIR handling etc.

2021-11-05 Thread Christian Melki
On 11/5/21 9:57 AM, Michael Olbrich wrote: Hi, On Thu, Nov 04, 2021 at 11:06:13AM +0100, Christian Melki wrote: Bump. Right, this got lost on my side, sorry. Np. :) No more comments? Action? On 10/15/21 3:34 PM, Christian Melki wrote: On 10/15/21 3:12 PM, Michael Olbrich wrote: Hi

Re: [ptxdist] [PATCH 2/2] chrony: version bump 3.5 -> 4.1

2021-11-05 Thread Christian Melki
Bump. Still hasn't made it to 2021.11? Chrony 3.5 has the following CVE hanging over it: * Create new file when writing pidfile (CVE-2020-14367) Admittedly, not an overly interesting one, but still. On 7/7/21 18:42, Uwe Kleine-König wrote: > On Wed, Jul 07, 2021 at 04:52:23PM +0200, Bruno Thomse

[ptxdist] mesalib 2021.11 broken kmsro driver?

2021-11-08 Thread Christian Melki
Hi. The kmsro driver doesn't seem to create any .so files. According to people on #dri-devel it's builtin in other .so files? So the idea of kmsro library names to copy will fail in the current .make. Regards, Christian ___ ptxdist mailing list ptxdist

Re: [ptxdist] mesalib 2021.11 broken kmsro driver?

2021-11-08 Thread Christian Melki
On 11/8/21 14:03, Michael Olbrich wrote: > Hi, > > On Mon, Nov 08, 2021 at 11:16:11AM +0100, Christian Melki wrote: >> The kmsro driver doesn't seem to create any .so files. >> According to people on #dri-devel it's builtin in other .so files? >> So the ide

Re: [ptxdist] mesalib 2021.11 broken kmsro driver?

2021-11-08 Thread Christian Melki
On 11/8/21 15:08, Lucas Stach wrote: > Am Montag, dem 08.11.2021 um 14:37 +0100 schrieb Christian Melki: >> On 11/8/21 14:03, Michael Olbrich wrote: >>> Hi, >>> >>> On Mon, Nov 08, 2021 at 11:16:11AM +0100, Christian Melki wrote: >>>> The k

Re: [ptxdist] mesalib 2021.11 broken kmsro driver?

2021-11-09 Thread Christian Melki
On 11/9/21 4:42 PM, Michael Olbrich wrote: On Mon, Nov 08, 2021 at 03:28:39PM +0100, Christian Melki wrote: On 11/8/21 15:08, Lucas Stach wrote: Am Montag, dem 08.11.2021 um 14:37 +0100 schrieb Christian Melki: On 11/8/21 14:03, Michael Olbrich wrote: Hi, On Mon, Nov 08, 2021 at 11:16

[ptxdist] [PATCH] chrony: Version bump. 3.5 -> 4.1

2021-11-10 Thread Christian Melki
Move patch series along to new version, applies cleanly with offset. Fixes CVE-2020-14367. Signed-off-by: Christian Melki --- ...001-configure-make-unrecognized-option-a-fatal-error.patch | 0 patches/{chrony-3.5 => chrony-4.1}/series | 0 rules/chrony.m

  1   2   3   4   5   6   7   8   9   10   >