build: use abspath for lib/bluetooth
Subsystems (2)
PATCH 1/1 build: use abspath for lib/bluetooth
When building from out of tree, and the top build dir was specified as an absolute path, the linked headers in ${builddir}/lib/bluetooth were broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation.
--- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile.am +1 -1
@@ -499,7 +499,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers) lib/bluetooth/%.h: lib/%.h $(AM_V_at)$(MKDIR_P) lib/bluetooth - $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@ if COVERAGE clean-coverage:
Signature · 1 line
2.14.1.342.g6490525c54-goog
Anyone can help to take a review?
Thanks
Best wishes
Yunhan
Quoted 24 lines · Yunhan Wang
When building from out of tree, and the top build dir was specified as an absolute path, the linked headers in ${builddir}/lib/bluetooth were broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation.
--- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile.am +1
-2@@ -499,7 +499,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers) lib/bluetooth/%.h: lib/%.h $(AM_V_at)$(MKDIR_P) lib/bluetooth - $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@ if COVERAGE clean-coverage: --2.14.1.342.g6490525c54-goog
Marcel Holtmann
maintainerHi Yunhan,
Quoted 16 lines
When building from out of tree, and the top build dir was specified as an absolute path, the linked headers in ${builddir}/lib/bluetooth were broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation.
---
Makefile.am | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Makefile.am +0
-0@@ -499,7 +499,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers)lib/bluetooth/%.h: lib/%.h
$(AM_V_at)$(MKDIR_P) lib/bluetooth
Makefile.am $(lib_libbluetooth_la_OBJECTS): $(local_headers) · line 502
Quoted 2 lines
Makefile.am +1
-1- $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@
does “fakeroot make distcheck” still works when doing this change?
Regards
Marcel
Hi, Marcel
I just run make distcheck, it is working with this change upon latest maste= r.
Could you help to apply it?
The below are detailed step.
1. ./configure --prefix=3D/usr --mandir=3D/usr/share/man --sysconfdir=3D/et= c
--localstatedir=3D/var --enable-experimental --with-systemdsystemunitdir=3D/lib/systemd/system --with-systemduserunitdir=3D/usr/lib/systemd --enable-deprecated --enable-tools --enable-testing --enable-experimental
2. make distcheck
Thanks
Best wishes
Yunhan
On Mon, Aug 28, 2017 at 10:08 PM, Marcel Holtmann <[email protected]> wro= te:
Quoted 16 lines
Hi Yunhan,
Quoted 14 lines
When building from out of tree, and the top build dir was specified as an absolute path, the linked headers in ${builddir}/lib/bluetooth were broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation.
---
Makefile.am | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Makefile.am +0
-0@@ -499,7 +499,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers)
Quoted 6 lines
Makefile.am $(lib_libbluetooth_la_OBJECTS): $(local_headers) · line 502
Quoted 4 lines
lib/bluetooth/%.h: lib/%.h
$(AM_V_at)$(MKDIR_P) lib/bluetoothMakefile.am +1
-1- $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@does =E2=80=9Cfakeroot make distcheck=E2=80=9D still works when doing thi=
s change?
Quoted 5 lines
Regards
Marcel
Hi, Marcel
Any other concern on this patch?
Thanks
Best wishes
Yunhan
Quoted 3 lines · Yunhan Wang
Hi, Marcel
I just run make distcheck, it is working with this change upon latest mas=
ter.
Quoted 5 lines
Could you help to apply it?
The below are detailed step.
1. ./configure --prefix=3D/usr --mandir=3D/usr/share/man --sysconfdir=3D/=
etc
Quoted 11 lines
--localstatedir=3D/var --enable-experimental --with-systemdsystemunitdir=3D/lib/systemd/system --with-systemduserunitdir=3D/usr/lib/systemd --enable-deprecated --enable-tools --enable-testing --enable-experimental
2. make distcheckThanks
Best wishes
YunhanOn Mon, Aug 28, 2017 at 10:08 PM, Marcel Holtmann <[email protected]> w=
rote:
Quoted 16 lines
Quoted 16 lines
Hi Yunhan,
Quoted 14 lines
When building from out of tree, and the top build dir was specified as an absolute path, the linked headers in ${builddir}/lib/bluetooth were broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation.
---
Makefile.am | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Makefile.am +0
-0@@ -499,7 +499,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers)
Quoted 6 lines
Quoted 6 lines
Makefile.am $(lib_libbluetooth_la_OBJECTS): $(local_headers) · line 502
Quoted 4 lines
lib/bluetooth/%.h: lib/%.h
$(AM_V_at)$(MKDIR_P) lib/bluetoothMakefile.am +1
-1- $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@does =E2=80=9Cfakeroot make distcheck=E2=80=9D still works when doing th=
is change?
Quoted 5 lines
Quoted 5 lines
Regards
Marcel
Hi, Marcel
Ping for any other concern?
Thanks
Best wishes
Yunhan
Quoted 12 lines · Yunhan Wang
Hi, Marcel
Any other concern on this patch?
Thanks
Best wishes
YunhanQuoted 3 lines · Yunhan Wang
Hi, Marcel
I just run make distcheck, it is working with this change upon latest ma=
ster.
Quoted 5 lines
Quoted 5 lines
Could you help to apply it?
The below are detailed step.
1. ./configure --prefix=3D/usr --mandir=3D/usr/share/man --sysconfdir=3D=
/etc
Quoted 11 lines
Quoted 11 lines
--localstatedir=3D/var --enable-experimental --with-systemdsystemunitdir=3D/lib/systemd/system --with-systemduserunitdir=3D/usr/lib/systemd --enable-deprecated --enable-tools --enable-testing --enable-experimental
2. make distcheckThanks
Best wishes
YunhanOn Mon, Aug 28, 2017 at 10:08 PM, Marcel Holtmann <[email protected]> =
Quoted 16 lines · wrote:
Quoted 16 lines
Quoted 16 lines
Hi Yunhan,
Quoted 14 lines
When building from out of tree, and the top build dir was specified as an absolute path, the linked headers in ${builddir}/lib/bluetooth were broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation.
---
Makefile.am | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Makefile.am +0
-0@@ -499,7 +499,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers)
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Makefile.am $(lib_libbluetooth_la_OBJECTS): $(local_headers) · line 502
Quoted 4 lines
lib/bluetooth/%.h: lib/%.h
$(AM_V_at)$(MKDIR_P) lib/bluetoothMakefile.am +1
-1- $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@does =E2=80=9Cfakeroot make distcheck=E2=80=9D still works when doing t=
his change?
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Regards
Marcel
Hi
Can anyone take a further review?
Thanks
Best wishes
Yunhan
Quoted 21 lines · Yunhan Wang
Hi, Marcel
Ping for any other concern?
Thanks
Best wishes
YunhanQuoted 12 lines · Yunhan Wang
Hi, Marcel
Any other concern on this patch?
Thanks
Best wishes
YunhanQuoted 3 lines · Yunhan Wang
Hi, Marcel
I just run make distcheck, it is working with this change upon latest m=
aster.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Could you help to apply it?
The below are detailed step.
1. ./configure --prefix=3D/usr --mandir=3D/usr/share/man --sysconfdir=
=3D/etc
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
--localstatedir=3D/var --enable-experimental --with-systemdsystemunitdir=3D/lib/systemd/system --with-systemduserunitdir=3D/usr/lib/systemd --enable-deprecated --enable-tools --enable-testing --enable-experimental
2. make distcheckThanks
Best wishes
YunhanOn Mon, Aug 28, 2017 at 10:08 PM, Marcel Holtmann <[email protected]>=
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Hi Yunhan,
Quoted 1 line
When building from out of tree, and the top build dir was specified a=
s
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
an absolute path, the linked headers in ${builddir}/lib/bluetooth wer=
e
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
broken. This patch fixes it by relying on make's abspath macro as opposed to the path concatenation.
---
Makefile.am | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Makefile.am +0
-0@@ -499,7 +499,7 @@ $(lib_libbluetooth_la_OBJECTS): $(local_headers)
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Makefile.am $(lib_libbluetooth_la_OBJECTS): $(local_headers) · line 502
Quoted 4 lines
lib/bluetooth/%.h: lib/%.h
$(AM_V_at)$(MKDIR_P) lib/bluetoothMakefile.am +1
-1- $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ + $(AM_V_GEN)$(LN_S) -f $(abspath $<) $@does =E2=80=9Cfakeroot make distcheck=E2=80=9D still works when doing =
this change?
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Regards
Marcel
Hi Yunhan,
Quoted 1 line · Yunhan Wang
Can anyone take a further review?
I think Marcel is still waiting for confirmation that this works with fakeroot (at least I didn't see that you would have confirmed it). I tried that myself just now and seems to work fine, so no objections from me for merging.
Johan
Hi Yunhan,
Quoted 11 lines · Johan Hedberg
Hi Yunhan,
Quoted 1 line · Yunhan Wang
Can anyone take a further review?
I think Marcel is still waiting for confirmation that this works with fakeroot (at least I didn't see that you would have confirmed it). I tried that myself just now and seems to work fine, so no objections from me for merging.
Johan
Applied, thanks.
Signature · 1 line
Luiz Augusto von Dentz
Thank you. All
Best wishes
Yunhan
Quoted 19 lines · Luiz Augusto von Dentz
Hi Yunhan,
Quoted 11 lines · Johan Hedberg
Hi Yunhan,
Quoted 1 line · Yunhan Wang
Can anyone take a further review?
I think Marcel is still waiting for confirmation that this works with fakeroot (at least I didn't see that you would have confirmed it). I tried that myself just now and seems to work fine, so no objections from me for merging.
Johan
Applied, thanks.
--
Luiz Augusto von Dentz