mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/3] hostapd: bool => tristate
@ 2018-07-30 16:58 jon
  2018-07-30 16:58 ` [ptxdist] [PATCH 2/3] HOST_MESON_OPT: Add --libdir jon
  2018-07-30 16:58 ` [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem jon
  0 siblings, 2 replies; 8+ messages in thread
From: jon @ 2018-07-30 16:58 UTC (permalink / raw)
  To: ptxdist; +Cc: Jon Ringle

From: Jon Ringle <jringle@gridpoint.com>

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
 rules/hostapd.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/hostapd.in b/rules/hostapd.in
index 9160a02..6ac6be5 100644
--- a/rules/hostapd.in
+++ b/rules/hostapd.in
@@ -1,7 +1,7 @@
 ## SECTION=networking
 
 config HOSTAPD
-	bool
+	tristate
 	select OPENSSL
 	select LIBNL3
 	prompt "hostapd"
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 2/3] HOST_MESON_OPT: Add --libdir
  2018-07-30 16:58 [ptxdist] [PATCH 1/3] hostapd: bool => tristate jon
@ 2018-07-30 16:58 ` jon
  2018-07-30 16:58 ` [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem jon
  1 sibling, 0 replies; 8+ messages in thread
From: jon @ 2018-07-30 16:58 UTC (permalink / raw)
  To: ptxdist; +Cc: Jon Ringle

From: Jon Ringle <jringle@gridpoint.com>

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
 rules/pre/Rules.make | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index 37357ae..1e5dad8 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -329,7 +329,8 @@ HOST_CMAKE_OPT_SYSROOT := \
 	-DCMAKE_TOOLCHAIN_FILE='${PTXDIST_CMAKE_TOOLCHAIN_HOST}'
 
 HOST_MESON_OPT := \
-	-Dprefix=/ \
+	--prefix / \
+	--libdir lib \
 	--backend ninja \
 	--buildtype debugoptimized
 
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem
  2018-07-30 16:58 [ptxdist] [PATCH 1/3] hostapd: bool => tristate jon
  2018-07-30 16:58 ` [ptxdist] [PATCH 2/3] HOST_MESON_OPT: Add --libdir jon
@ 2018-07-30 16:58 ` jon
  2018-07-31  7:49   ` Michael Olbrich
  1 sibling, 1 reply; 8+ messages in thread
From: jon @ 2018-07-30 16:58 UTC (permalink / raw)
  To: ptxdist; +Cc: Jon Ringle

From: Jon Ringle <jringle@gridpoint.com>

Make room for chrpath manipulation in host-systemd.install.pack
The `-Drootprefix=/lib/..` adds sufficient space to avoids errors like:

new rpath '${ORIGIN}/../../../lib' too large; maximum length 16
ptxdist: error: Failed to adjust rpath for '/home/local/GRIDPOINT/jringle/git/rootfs/platform-ec1c/packages/host-systemd-239/usr/lib/systemd/systemd'

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
 rules/host-systemd.make | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/rules/host-systemd.make b/rules/host-systemd.make
index 7f97a75..341daeb 100644
--- a/rules/host-systemd.make
+++ b/rules/host-systemd.make
@@ -23,6 +23,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_SYSTEMD) += host-systemd
 HOST_SYSTEMD_CONF_TOOL	:= meson
 HOST_SYSTEMD_CONF_OPT	:= \
 	$(HOST_MESON_OPT) \
+	-Drootprefix=/lib/.. \
 	-Dacl=false \
 	-Dadm-group=true \
 	-Dapparmor=false \
@@ -120,19 +121,4 @@ HOST_SYSTEMD_CONF_OPT	:= \
 	-Dxz=false \
 	-Dzlib=false
 
-HOST_SYSTEMD_MAKE_OPT := systemd-hwdb
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/host-systemd.install:
-	@$(call targetinfo)
-	@rm -rf $(HOST_SYSTEMD_PKGDIR)
-	@install -vD -m755 $(HOST_SYSTEMD_DIR)-build/systemd-hwdb \
-		$(HOST_SYSTEMD_PKGDIR)/bin/systemd-hwdb
-	@install -vD -m755 $(HOST_SYSTEMD_DIR)-build/src/shared/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so \
-		$(HOST_SYSTEMD_PKGDIR)/lib/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so
-	@$(call touch)
-
 # vim: syntax=make
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem
  2018-07-30 16:58 ` [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem jon
@ 2018-07-31  7:49   ` Michael Olbrich
  2018-07-31 13:30     ` Jon Ringle
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Olbrich @ 2018-07-31  7:49 UTC (permalink / raw)
  To: ptxdist

On Mon, Jul 30, 2018 at 12:58:09PM -0400, jon@ringle.org wrote:
> From: Jon Ringle <jringle@gridpoint.com>
> 
> Make room for chrpath manipulation in host-systemd.install.pack
> The `-Drootprefix=/lib/..` adds sufficient space to avoids errors like:
> 
> new rpath '${ORIGIN}/../../../lib' too large; maximum length 16
> ptxdist: error: Failed to adjust rpath for '/home/local/GRIDPOINT/jringle/git/rootfs/platform-ec1c/packages/host-systemd-239/usr/lib/systemd/systemd'
> 
> Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> ---
>  rules/host-systemd.make | 16 +---------------
>  1 file changed, 1 insertion(+), 15 deletions(-)
> 
> diff --git a/rules/host-systemd.make b/rules/host-systemd.make
> index 7f97a75..341daeb 100644
> --- a/rules/host-systemd.make
> +++ b/rules/host-systemd.make
> @@ -23,6 +23,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_SYSTEMD) += host-systemd
>  HOST_SYSTEMD_CONF_TOOL	:= meson
>  HOST_SYSTEMD_CONF_OPT	:= \
>  	$(HOST_MESON_OPT) \
> +	-Drootprefix=/lib/.. \
>  	-Dacl=false \
>  	-Dadm-group=true \
>  	-Dapparmor=false \
> @@ -120,19 +121,4 @@ HOST_SYSTEMD_CONF_OPT	:= \
>  	-Dxz=false \
>  	-Dzlib=false
>  
> -HOST_SYSTEMD_MAKE_OPT := systemd-hwdb
> -
> -# ----------------------------------------------------------------------------
> -# Install
> -# ----------------------------------------------------------------------------
> -
> -$(STATEDIR)/host-systemd.install:
> -	@$(call targetinfo)
> -	@rm -rf $(HOST_SYSTEMD_PKGDIR)
> -	@install -vD -m755 $(HOST_SYSTEMD_DIR)-build/systemd-hwdb \
> -		$(HOST_SYSTEMD_PKGDIR)/bin/systemd-hwdb
> -	@install -vD -m755 $(HOST_SYSTEMD_DIR)-build/src/shared/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so \
> -		$(HOST_SYSTEMD_PKGDIR)/lib/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so
> -	@$(call touch)
> -


Why do you remove this? Currently only systemd-hwdb is needed, so why build
anything else?

Michael

>  # vim: syntax=make
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem
  2018-07-31  7:49   ` Michael Olbrich
@ 2018-07-31 13:30     ` Jon Ringle
  2018-07-31 13:53       ` Michael Olbrich
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2018-07-31 13:30 UTC (permalink / raw)
  To: ptxdist

On Tue, Jul 31, 2018 at 3:49 AM Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
>
> On Mon, Jul 30, 2018 at 12:58:09PM -0400, jon@ringle.org wrote:
> > From: Jon Ringle <jringle@gridpoint.com>
> >
> > Make room for chrpath manipulation in host-systemd.install.pack
> > The `-Drootprefix=/lib/..` adds sufficient space to avoids errors like:
> >
> > new rpath '${ORIGIN}/../../../lib' too large; maximum length 16
> > ptxdist: error: Failed to adjust rpath for '/home/local/GRIDPOINT/jringle/git/rootfs/platform-ec1c/packages/host-systemd-239/usr/lib/systemd/systemd'
> >
> > Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> > ---
> >  rules/host-systemd.make | 16 +---------------
> >  1 file changed, 1 insertion(+), 15 deletions(-)
> >
> > diff --git a/rules/host-systemd.make b/rules/host-systemd.make
> > index 7f97a75..341daeb 100644
> > --- a/rules/host-systemd.make
> > +++ b/rules/host-systemd.make
> > @@ -23,6 +23,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_SYSTEMD) += host-systemd
> >  HOST_SYSTEMD_CONF_TOOL       := meson
> >  HOST_SYSTEMD_CONF_OPT        := \
> >       $(HOST_MESON_OPT) \
> > +     -Drootprefix=/lib/.. \
> >       -Dacl=false \
> >       -Dadm-group=true \
> >       -Dapparmor=false \
> > @@ -120,19 +121,4 @@ HOST_SYSTEMD_CONF_OPT    := \
> >       -Dxz=false \
> >       -Dzlib=false
> >
> > -HOST_SYSTEMD_MAKE_OPT := systemd-hwdb
> > -
> > -# ----------------------------------------------------------------------------
> > -# Install
> > -# ----------------------------------------------------------------------------
> > -
> > -$(STATEDIR)/host-systemd.install:
> > -     @$(call targetinfo)
> > -     @rm -rf $(HOST_SYSTEMD_PKGDIR)
> > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/systemd-hwdb \
> > -             $(HOST_SYSTEMD_PKGDIR)/bin/systemd-hwdb
> > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/src/shared/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so \
> > -             $(HOST_SYSTEMD_PKGDIR)/lib/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so
> > -     @$(call touch)
> > -
>
>
> Why do you remove this? Currently only systemd-hwdb is needed, so why build
> anything else?

I am creating a host package version of my own project so I can run
the unit tests I have for it. This package requires the systemd
headers and libs.

-Jon

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem
  2018-07-31 13:30     ` Jon Ringle
@ 2018-07-31 13:53       ` Michael Olbrich
  2018-07-31 14:27         ` Jon Ringle
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Olbrich @ 2018-07-31 13:53 UTC (permalink / raw)
  To: ptxdist

On Tue, Jul 31, 2018 at 09:30:22AM -0400, Jon Ringle wrote:
> On Tue, Jul 31, 2018 at 3:49 AM Michael Olbrich
> <m.olbrich@pengutronix.de> wrote:
> >
> > On Mon, Jul 30, 2018 at 12:58:09PM -0400, jon@ringle.org wrote:
> > > From: Jon Ringle <jringle@gridpoint.com>
> > >
> > > Make room for chrpath manipulation in host-systemd.install.pack
> > > The `-Drootprefix=/lib/..` adds sufficient space to avoids errors like:
> > >
> > > new rpath '${ORIGIN}/../../../lib' too large; maximum length 16
> > > ptxdist: error: Failed to adjust rpath for '/home/local/GRIDPOINT/jringle/git/rootfs/platform-ec1c/packages/host-systemd-239/usr/lib/systemd/systemd'
> > >
> > > Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> > > ---
> > >  rules/host-systemd.make | 16 +---------------
> > >  1 file changed, 1 insertion(+), 15 deletions(-)
> > >
> > > diff --git a/rules/host-systemd.make b/rules/host-systemd.make
> > > index 7f97a75..341daeb 100644
> > > --- a/rules/host-systemd.make
> > > +++ b/rules/host-systemd.make
> > > @@ -23,6 +23,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_SYSTEMD) += host-systemd
> > >  HOST_SYSTEMD_CONF_TOOL       := meson
> > >  HOST_SYSTEMD_CONF_OPT        := \
> > >       $(HOST_MESON_OPT) \
> > > +     -Drootprefix=/lib/.. \
> > >       -Dacl=false \
> > >       -Dadm-group=true \
> > >       -Dapparmor=false \
> > > @@ -120,19 +121,4 @@ HOST_SYSTEMD_CONF_OPT    := \
> > >       -Dxz=false \
> > >       -Dzlib=false
> > >
> > > -HOST_SYSTEMD_MAKE_OPT := systemd-hwdb
> > > -
> > > -# ----------------------------------------------------------------------------
> > > -# Install
> > > -# ----------------------------------------------------------------------------
> > > -
> > > -$(STATEDIR)/host-systemd.install:
> > > -     @$(call targetinfo)
> > > -     @rm -rf $(HOST_SYSTEMD_PKGDIR)
> > > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/systemd-hwdb \
> > > -             $(HOST_SYSTEMD_PKGDIR)/bin/systemd-hwdb
> > > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/src/shared/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so \
> > > -             $(HOST_SYSTEMD_PKGDIR)/lib/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so
> > > -     @$(call touch)
> > > -
> >
> >
> > Why do you remove this? Currently only systemd-hwdb is needed, so why build
> > anything else?
> 
> I am creating a host package version of my own project so I can run
> the unit tests I have for it. This package requires the systemd
> headers and libs.

I see. Please create a suboption for this. Building host-systemd has been
problematic in the past on older distributions, so I'd like to build as
little as possible.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem
  2018-07-31 13:53       ` Michael Olbrich
@ 2018-07-31 14:27         ` Jon Ringle
  2018-08-01  7:17           ` Michael Olbrich
  0 siblings, 1 reply; 8+ messages in thread
From: Jon Ringle @ 2018-07-31 14:27 UTC (permalink / raw)
  To: ptxdist

On Tue, Jul 31, 2018 at 9:53 AM Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
>
> On Tue, Jul 31, 2018 at 09:30:22AM -0400, Jon Ringle wrote:
> > On Tue, Jul 31, 2018 at 3:49 AM Michael Olbrich
> > <m.olbrich@pengutronix.de> wrote:
> > >
> > > On Mon, Jul 30, 2018 at 12:58:09PM -0400, jon@ringle.org wrote:
> > > > From: Jon Ringle <jringle@gridpoint.com>
> > > >
> > > > Make room for chrpath manipulation in host-systemd.install.pack
> > > > The `-Drootprefix=/lib/..` adds sufficient space to avoids errors like:
> > > >
> > > > new rpath '${ORIGIN}/../../../lib' too large; maximum length 16
> > > > ptxdist: error: Failed to adjust rpath for '/home/local/GRIDPOINT/jringle/git/rootfs/platform-ec1c/packages/host-systemd-239/usr/lib/systemd/systemd'
> > > >
> > > > Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> > > > ---
> > > >  rules/host-systemd.make | 16 +---------------
> > > >  1 file changed, 1 insertion(+), 15 deletions(-)
> > > >
> > > > diff --git a/rules/host-systemd.make b/rules/host-systemd.make
> > > > index 7f97a75..341daeb 100644
> > > > --- a/rules/host-systemd.make
> > > > +++ b/rules/host-systemd.make
> > > > @@ -23,6 +23,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_SYSTEMD) += host-systemd
> > > >  HOST_SYSTEMD_CONF_TOOL       := meson
> > > >  HOST_SYSTEMD_CONF_OPT        := \
> > > >       $(HOST_MESON_OPT) \
> > > > +     -Drootprefix=/lib/.. \
> > > >       -Dacl=false \
> > > >       -Dadm-group=true \
> > > >       -Dapparmor=false \
> > > > @@ -120,19 +121,4 @@ HOST_SYSTEMD_CONF_OPT    := \
> > > >       -Dxz=false \
> > > >       -Dzlib=false
> > > >
> > > > -HOST_SYSTEMD_MAKE_OPT := systemd-hwdb
> > > > -
> > > > -# ----------------------------------------------------------------------------
> > > > -# Install
> > > > -# ----------------------------------------------------------------------------
> > > > -
> > > > -$(STATEDIR)/host-systemd.install:
> > > > -     @$(call targetinfo)
> > > > -     @rm -rf $(HOST_SYSTEMD_PKGDIR)
> > > > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/systemd-hwdb \
> > > > -             $(HOST_SYSTEMD_PKGDIR)/bin/systemd-hwdb
> > > > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/src/shared/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so \
> > > > -             $(HOST_SYSTEMD_PKGDIR)/lib/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so
> > > > -     @$(call touch)
> > > > -
> > >
> > >
> > > Why do you remove this? Currently only systemd-hwdb is needed, so why build
> > > anything else?
> >
> > I am creating a host package version of my own project so I can run
> > the unit tests I have for it. This package requires the systemd
> > headers and libs.
>
> I see. Please create a suboption for this. Building host-systemd has been
> problematic in the past on older distributions, so I'd like to build as
> little as possible.

I will create a new patch with an option, however, I'd bet that the
`-Drootprefix=/lib/..` would fix the build problems with host-systemd
you've had before.
-Jon

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem
  2018-07-31 14:27         ` Jon Ringle
@ 2018-08-01  7:17           ` Michael Olbrich
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Olbrich @ 2018-08-01  7:17 UTC (permalink / raw)
  To: ptxdist

On Tue, Jul 31, 2018 at 10:27:24AM -0400, Jon Ringle wrote:
> On Tue, Jul 31, 2018 at 9:53 AM Michael Olbrich
> <m.olbrich@pengutronix.de> wrote:
> > On Tue, Jul 31, 2018 at 09:30:22AM -0400, Jon Ringle wrote:
> > > On Tue, Jul 31, 2018 at 3:49 AM Michael Olbrich
> > > <m.olbrich@pengutronix.de> wrote:
> > > > On Mon, Jul 30, 2018 at 12:58:09PM -0400, jon@ringle.org wrote:
> > > > > From: Jon Ringle <jringle@gridpoint.com>
> > > > >
> > > > > Make room for chrpath manipulation in host-systemd.install.pack
> > > > > The `-Drootprefix=/lib/..` adds sufficient space to avoids errors like:
> > > > >
> > > > > new rpath '${ORIGIN}/../../../lib' too large; maximum length 16
> > > > > ptxdist: error: Failed to adjust rpath for '/home/local/GRIDPOINT/jringle/git/rootfs/platform-ec1c/packages/host-systemd-239/usr/lib/systemd/systemd'
> > > > >
> > > > > Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> > > > > ---
> > > > >  rules/host-systemd.make | 16 +---------------
> > > > >  1 file changed, 1 insertion(+), 15 deletions(-)
> > > > >
> > > > > diff --git a/rules/host-systemd.make b/rules/host-systemd.make
> > > > > index 7f97a75..341daeb 100644
> > > > > --- a/rules/host-systemd.make
> > > > > +++ b/rules/host-systemd.make
> > > > > @@ -23,6 +23,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_SYSTEMD) += host-systemd
> > > > >  HOST_SYSTEMD_CONF_TOOL       := meson
> > > > >  HOST_SYSTEMD_CONF_OPT        := \
> > > > >       $(HOST_MESON_OPT) \
> > > > > +     -Drootprefix=/lib/.. \
> > > > >       -Dacl=false \
> > > > >       -Dadm-group=true \
> > > > >       -Dapparmor=false \
> > > > > @@ -120,19 +121,4 @@ HOST_SYSTEMD_CONF_OPT    := \
> > > > >       -Dxz=false \
> > > > >       -Dzlib=false
> > > > >
> > > > > -HOST_SYSTEMD_MAKE_OPT := systemd-hwdb
> > > > > -
> > > > > -# ----------------------------------------------------------------------------
> > > > > -# Install
> > > > > -# ----------------------------------------------------------------------------
> > > > > -
> > > > > -$(STATEDIR)/host-systemd.install:
> > > > > -     @$(call targetinfo)
> > > > > -     @rm -rf $(HOST_SYSTEMD_PKGDIR)
> > > > > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/systemd-hwdb \
> > > > > -             $(HOST_SYSTEMD_PKGDIR)/bin/systemd-hwdb
> > > > > -     @install -vD -m755 $(HOST_SYSTEMD_DIR)-build/src/shared/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so \
> > > > > -             $(HOST_SYSTEMD_PKGDIR)/lib/libsystemd-shared-$(HOST_SYSTEMD_VERSION).so
> > > > > -     @$(call touch)
> > > > > -
> > > >
> > > >
> > > > Why do you remove this? Currently only systemd-hwdb is needed, so why build
> > > > anything else?
> > >
> > > I am creating a host package version of my own project so I can run
> > > the unit tests I have for it. This package requires the systemd
> > > headers and libs.
> >
> > I see. Please create a suboption for this. Building host-systemd has been
> > problematic in the past on older distributions, so I'd like to build as
> > little as possible.
> 
> I will create a new patch with an option, however, I'd bet that the
> `-Drootprefix=/lib/..` would fix the build problems with host-systemd
> you've had before.

No, the issues are undefined enum values, and stuff like that when building
with an old glibc and kernel headers. Usually in somwhere in the networking
code.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-01  7:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-30 16:58 [ptxdist] [PATCH 1/3] hostapd: bool => tristate jon
2018-07-30 16:58 ` [ptxdist] [PATCH 2/3] HOST_MESON_OPT: Add --libdir jon
2018-07-30 16:58 ` [ptxdist] [PATCH 3/3] host-systemd: Fix rpath space problem jon
2018-07-31  7:49   ` Michael Olbrich
2018-07-31 13:30     ` Jon Ringle
2018-07-31 13:53       ` Michael Olbrich
2018-07-31 14:27         ` Jon Ringle
2018-08-01  7:17           ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox