linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ v1] build: Fix distcheck
@ 2024-03-04 17:35 Luiz Augusto von Dentz
  2024-03-04 19:12 ` [BlueZ,v1] " bluez.test.bot
  0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2024-03-04 17:35 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This fixes the following errors:

/usr/bin/mkdir -p '/backend'
/usr/bin/mkdir: cannot create directory ‘/backend’: Permission denied
make[3]: *** [Makefile:4768: install-cupsPROGRAMS] Error 1
---
 Makefile.tools | 6 +++++-
 configure.ac   | 4 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Makefile.tools b/Makefile.tools
index c17244677673..d887bfb12e40 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -539,7 +539,11 @@ endif
 
 if CUPS
 
-cupsdir = $(CUPSDIR)
+if CUPSDIR
+cupsdir = $(CUPSDIR)/backend
+else
+cupsdir = $(libdir)/cups/backend
+endif
 
 cups_PROGRAMS = profiles/cups/bluetooth
 
diff --git a/configure.ac b/configure.ac
index af0e9900e732..244c50a9f7de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -247,7 +247,9 @@ AC_ARG_ENABLE(cups, AS_HELP_STRING([--disable-cups],
                 [disable CUPS printer support]), [enable_cups=${enableval}])
 AM_CONDITIONAL(CUPS, test "${enable_cups}" != "no")
 if (test "${enable_cups}" != "no"); then
-   AC_SUBST(CUPSDIR, `$PKG_CONFIG cups --variable=cups_serverbin`/backend)
+	AM_CONDITIONAL(CUPSDIR,
+		test `$PKG_CONFIG cups --variable=cups_serverbin` != "")
+	AC_SUBST(CUPSDIR, `$PKG_CONFIG cups --variable=cups_serverbin`)
 fi
 
 AC_ARG_ENABLE(mesh, AS_HELP_STRING([--enable-mesh],
-- 
2.43.0


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

* RE: [BlueZ,v1] build: Fix distcheck
  2024-03-04 17:35 [PATCH BlueZ v1] build: Fix distcheck Luiz Augusto von Dentz
@ 2024-03-04 19:12 ` bluez.test.bot
  0 siblings, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2024-03-04 19:12 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=832173

---Test result---

Test Summary:
CheckPatch                    PASS      0.38 seconds
GitLint                       PASS      0.29 seconds
BuildEll                      PASS      24.35 seconds
BluezMake                     PASS      757.25 seconds
MakeCheck                     PASS      11.98 seconds
MakeDistcheck                 PASS      166.66 seconds
CheckValgrind                 PASS      230.72 seconds
CheckSmatch                   PASS      336.95 seconds
bluezmakeextell               PASS      110.00 seconds
IncrementalBuild              PASS      705.60 seconds
ScanBuild                     PASS      984.88 seconds



---
Regards,
Linux Bluetooth


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

* RE: [BlueZ,v1] build: Fix distcheck
  2024-09-11 17:20 [PATCH BlueZ v1] " Luiz Augusto von Dentz
@ 2024-09-11 19:07 ` bluez.test.bot
  0 siblings, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2024-09-11 19:07 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=889450

---Test result---

Test Summary:
CheckPatch                    PASS      0.44 seconds
GitLint                       FAIL      0.49 seconds
BuildEll                      PASS      24.73 seconds
BluezMake                     PASS      1771.21 seconds
MakeCheck                     PASS      13.48 seconds
MakeDistcheck                 PASS      184.43 seconds
CheckValgrind                 PASS      258.38 seconds
CheckSmatch                   PASS      362.58 seconds
bluezmakeextell               PASS      122.63 seconds
IncrementalBuild              PASS      1493.59 seconds
ScanBuild                     PASS      1050.31 seconds

Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[BlueZ,v1] build: Fix distcheck

WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search
7: B1 Line exceeds max length (91>80): "../../mesh/mesh-config-json.c:31:10: fatal error: mesh/missing.h: No such file or directory"


---
Regards,
Linux Bluetooth


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

end of thread, other threads:[~2024-09-11 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 17:35 [PATCH BlueZ v1] build: Fix distcheck Luiz Augusto von Dentz
2024-03-04 19:12 ` [BlueZ,v1] " bluez.test.bot
  -- strict thread matches above, loose matches on Subject: below --
2024-09-11 17:20 [PATCH BlueZ v1] " Luiz Augusto von Dentz
2024-09-11 19:07 ` [BlueZ,v1] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).