linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ v2] build: Fix distcheck
@ 2024-03-04 18:11 Luiz Augusto von Dentz
  2024-03-04 19:10 ` [BlueZ,v2] " bluez.test.bot
  2024-03-04 20:10 ` [PATCH BlueZ v2] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2024-03-04 18:11 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   | 8 +++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Makefile.tools b/Makefile.tools
index c17244677673..27a753762d1c 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -539,7 +539,11 @@ endif
 
 if CUPS
 
-cupsdir = $(CUPSDIR)
+if CUPS_SERVERBIN
+cupsdir = $(CUPS_SERVERBIN)/backend
+else
+cupsdir = $(libdir)/cups/backend
+endif
 
 cups_PROGRAMS = profiles/cups/bluetooth
 
diff --git a/configure.ac b/configure.ac
index af0e9900e732..6552154a86dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -247,7 +247,13 @@ 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)
+	AC_MSG_CHECKING([cups directory])
+	cups_serverbin=`$PKG_CONFIG cups --variable=cups_serverbin`
+	AM_CONDITIONAL(CUPS_SERVERBIN, test "${cups_serverbin}" != "")
+	if (test "${cups_serverbin}" != ""); then
+		AC_SUBST(CUPS_SERVERBIN, ${cups_serverbin})
+	fi
+	AC_MSG_RESULT([${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,v2] build: Fix distcheck
  2024-03-04 18:11 [PATCH BlueZ v2] build: Fix distcheck Luiz Augusto von Dentz
@ 2024-03-04 19:10 ` bluez.test.bot
  2024-03-04 20:10 ` [PATCH BlueZ v2] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2024-03-04 19:10 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=832197

---Test result---

Test Summary:
CheckPatch                    PASS      0.43 seconds
GitLint                       PASS      0.32 seconds
BuildEll                      PASS      24.02 seconds
BluezMake                     PASS      715.93 seconds
MakeCheck                     PASS      16.20 seconds
MakeDistcheck                 PASS      164.75 seconds
CheckValgrind                 PASS      228.43 seconds
CheckSmatch                   PASS      332.92 seconds
bluezmakeextell               PASS      107.72 seconds
IncrementalBuild              PASS      672.76 seconds
ScanBuild                     PASS      959.32 seconds



---
Regards,
Linux Bluetooth


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

* Re: [PATCH BlueZ v2] build: Fix distcheck
  2024-03-04 18:11 [PATCH BlueZ v2] build: Fix distcheck Luiz Augusto von Dentz
  2024-03-04 19:10 ` [BlueZ,v2] " bluez.test.bot
@ 2024-03-04 20:10 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2024-03-04 20:10 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Mon,  4 Mar 2024 13:11:57 -0500 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [BlueZ,v2] build: Fix distcheck
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=d5a9195a6269

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2024-03-04 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 18:11 [PATCH BlueZ v2] build: Fix distcheck Luiz Augusto von Dentz
2024-03-04 19:10 ` [BlueZ,v2] " bluez.test.bot
2024-03-04 20:10 ` [PATCH BlueZ v2] " patchwork-bot+bluetooth

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).