dbus: Update to 1.11.20

Message ID 20171012081611.21657-1-stefan.schantl@ipfire.org
State Superseded
Headers
Series dbus: Update to 1.11.20 |

Commit Message

Stefan Schantl Oct. 12, 2017, 7:16 p.m. UTC
  This is a minor update to the latest available version
of dbus.

* Enable testsuite.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 dbus/dbus.nm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
  

Comments

Michael Tremer Oct. 12, 2017, 8:45 p.m. UTC | #1
Good morning,

this won't build on my machine in release mode:

Running stage test:                                                                                                                                                                                                
+ '[' -d /builddir/source/dbus-1.11.20 ']'                                                                                                                                                                         
+ cd /builddir/source/dbus-1.11.20                                                                                                                                                                                 
+ make check                                                                                                                                                                                                       
Making check in dbus                                                                                                                                                                                               
make[1]: Entering directory '/builddir/source/dbus-1.11.20/dbus'                                                                                                                                                   
make  check-am                                                                                                                                                                                                     
make[2]: Entering directory '/builddir/source/dbus-1.11.20/dbus'                                         
make[2]: Nothing to be done for 'check-am'.                                                              
make[2]: Leaving directory '/builddir/source/dbus-1.11.20/dbus'                                          
make[1]: Leaving directory '/builddir/source/dbus-1.11.20/dbus'                                          
Making check in bus                                 
make[1]: Entering directory '/builddir/source/dbus-1.11.20/bus'                                          
make[1]: Nothing to be done for 'check'.            
make[1]: Leaving directory '/builddir/source/dbus-1.11.20/bus'                                           
Making check in tools                               
make[1]: Entering directory '/builddir/source/dbus-1.11.20/tools'                                        
make[1]: Nothing to be done for 'check'.            
make[1]: Leaving directory '/builddir/source/dbus-1.11.20/tools'                                         
Making check in test                                
make[1]: Entering directory '/builddir/source/dbus-1.11.20/test'                                         
Making check in .                                   
make[2]: Entering directory '/builddir/source/dbus-1.11.20/test'                                         
  GEN      copy-config-local                        
-- No need to copy test data as srcdir = builddir                                                        
  GEN      uninstalled-config-local                                                                      
make  check-TESTS                                                                                        
make[3]: Entering directory '/builddir/source/dbus-1.11.20/test'                                         
make[4]: Entering directory '/builddir/source/dbus-1.11.20/test'                                         
ERROR: test-shell - missing test plan                                                                    
ERROR: test-shell - exited with status 1                                                                 
ERROR: test-printf - missing test plan                                                                   
ERROR: test-printf - exited with status 1           
============================================================================                             
Testsuite summary for dbus 1.11.20                                                                       
============================================================================                             
# TOTAL: 4                                          
# PASS:  0                                          
# SKIP:  0                                          
# XFAIL: 0                                          
# FAIL:  0                                          
# XPASS: 0                                          
# ERROR: 4                                          
============================================================================                             
See test/test-suite.log                             
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus                                 
============================================================================

On Thu, 2017-10-12 at 10:16 +0200, Stefan Schantl wrote:
> This is a minor update to the latest available version
> of dbus.
> 
> * Enable testsuite.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
>  dbus/dbus.nm | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/dbus/dbus.nm b/dbus/dbus.nm
> index acdb939..5ddd3b1 100644
> --- a/dbus/dbus.nm
> +++ b/dbus/dbus.nm
> @@ -4,7 +4,7 @@
>  #############################################################################
> ##
>  
>  name       = dbus
> -version    = 1.11.16
> +version    = 1.11.20
>  release    = 1
>  
>  maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
> @@ -33,6 +33,12 @@ build
>  	configure_options += \
>  		--with-systemdsystemunitdir=%{unitdir} \
>  		--with-dbus-user=dbus
> +
> +	export LD_LIBRARY_PATH = %{DIR_APP}/.libs
> +
> +	test
> +		make check
> +	end
>  end
>  
>  packages
  

Patch

diff --git a/dbus/dbus.nm b/dbus/dbus.nm
index acdb939..5ddd3b1 100644
--- a/dbus/dbus.nm
+++ b/dbus/dbus.nm
@@ -4,7 +4,7 @@ 
 ###############################################################################
 
 name       = dbus
-version    = 1.11.16
+version    = 1.11.20
 release    = 1
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
@@ -33,6 +33,12 @@  build
 	configure_options += \
 		--with-systemdsystemunitdir=%{unitdir} \
 		--with-dbus-user=dbus
+
+	export LD_LIBRARY_PATH = %{DIR_APP}/.libs
+
+	test
+		make check
+	end
 end
 
 packages