Bug#947293: libkate: autopkgtest failures due to libkate-tools removal

2019-12-24 Thread Sebastian Ramacher
Control: forcemerge 946632 -1

On 2019-12-23 21:31:26, Steve Langasek wrote:
> Package: libkate
> Version: 0.4.1-10
> Severity: serious
> Tags: patch
> Justification: autopkgtest regression
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu focal ubuntu-patch
> 
> Dear maintainers,
> 
> With the removal of libkate-tools in libkate 0.4.1-10, the libkate
> autopkgtest consistently fails, because all of the commands it previously
> attempted to run were in the libkate-tools package:
> 
> [...]
> autopkgtest [12:55:24]: test test-cmd-tools:  - - - - - - - - - - stderr - - 
> - - - - - - - -
> /tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
>  25: kateenc: not found
> /tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
>  31: katalyzer: not found
> /tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
>  37: katedec: not found
> /tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
>  40: errorunable to run katedec: not found
> [...]
> 
>   
> (https://ci.debian.net/data/autopkgtest/unstable/amd64/libk/libkate/3520793/log.gz)

That's #946632.

> 
> I think the autopkgtest should simply be dropped, since there is nothing
> left for it to do at present.  Please see the attached patch.
> 
> Cheers,
> -- 
> Steve Langasek   Give me a lever long enough and a Free OS
> Debian Developer   to set it on, and I can move the world.
> Ubuntu Developer   https://www.debian.org/
> slanga...@ubuntu.com vor...@debian.org

> diff -Nru libkate-0.4.1/debian/tests/control 
> libkate-0.4.1/debian/tests/control
> --- libkate-0.4.1/debian/tests/control2019-11-26 16:03:42.0 
> -0600
> +++ libkate-0.4.1/debian/tests/control1969-12-31 18:00:00.0 
> -0600
> @@ -1,2 +0,0 @@
> -Depends: @
> -Tests: test-cmd-tools
> diff -Nru libkate-0.4.1/debian/tests/test-cmd-tools 
> libkate-0.4.1/debian/tests/test-cmd-tools
> --- libkate-0.4.1/debian/tests/test-cmd-tools 2019-11-26 16:03:42.0 
> -0600
> +++ libkate-0.4.1/debian/tests/test-cmd-tools 1969-12-31 18:00:00.0 
> -0600
> @@ -1,49 +0,0 @@
> -#!/bin/sh
> -#
> -# Test the kate command line tools to ensure they can run without
> -# returning an error.
> -
> -set -e
> -
> -retval=0
> -
> -success() { echo "success:" "$@"; }
> -error() { echo "error:" "$@"; retval=1; }
> -
> -cat > input.srt < -1
> -00:00:08,000 --> 00:00:14,000
> -This is a simple subtext block
> -that will be encoded into an ogg file.
> -
> -2
> -00:00:15,000 --> 00:00:16,000
> -This is the second subtext block.
> -
> -EOF
> -
> -if kateenc -t srt -l cy -c SUB -o output.ogg input.srt ; then
> -success "kateenc could encode an SRT file to OGG"
> -else
> -error "unable to run kateenc"
> -fi
> -
> -if katalyzer output.ogg ; then
> -success "running katalyzer worked"
> -else
> -error "unable to run katalyser"
> -fi
> -
> -if katedec output.ogg ; then
> -success "running katedec worked"
> -else
> -error"unable to run katedec"
> -fi
> -
> -if KateDJ  --version ; then
> -success "running KateDJ worked"
> -else
> -error "unable to run KateDJ"
> -fi
> -
> -exit $retval


-- 
Sebastian Ramacher


signature.asc
Description: PGP signature


Processed (with 1 error): Re: Bug#947293: libkate: autopkgtest failures due to libkate-tools removal

2019-12-24 Thread Debian Bug Tracking System
Processing control commands:

> forcemerge 946632 -1
Bug #946632 [src:libkate] libkate: autopkgtest regression: tests removed 
executables
Unable to merge bugs because:
package of #947293 is 'libkate' not 'src:libkate'
Failed to forcibly merge 946632: Did not alter merged bugs.


-- 
946632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946632
947293: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947293
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#947293: libkate: autopkgtest failures due to libkate-tools removal

2019-12-23 Thread Steve Langasek
Package: libkate
Version: 0.4.1-10
Severity: serious
Tags: patch
Justification: autopkgtest regression
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Dear maintainers,

With the removal of libkate-tools in libkate 0.4.1-10, the libkate
autopkgtest consistently fails, because all of the commands it previously
attempted to run were in the libkate-tools package:

[...]
autopkgtest [12:55:24]: test test-cmd-tools:  - - - - - - - - - - stderr - - - 
- - - - - - -
/tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
 25: kateenc: not found
/tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
 31: katalyzer: not found
/tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
 37: katedec: not found
/tmp/autopkgtest-lxc.c5qiodhi/downtmp/build.Liw/src/debian/tests/test-cmd-tools:
 40: errorunable to run katedec: not found
[...]

  
(https://ci.debian.net/data/autopkgtest/unstable/amd64/libk/libkate/3520793/log.gz)

I think the autopkgtest should simply be dropped, since there is nothing
left for it to do at present.  Please see the attached patch.

Cheers,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru libkate-0.4.1/debian/tests/control libkate-0.4.1/debian/tests/control
--- libkate-0.4.1/debian/tests/control  2019-11-26 16:03:42.0 -0600
+++ libkate-0.4.1/debian/tests/control  1969-12-31 18:00:00.0 -0600
@@ -1,2 +0,0 @@
-Depends: @
-Tests: test-cmd-tools
diff -Nru libkate-0.4.1/debian/tests/test-cmd-tools 
libkate-0.4.1/debian/tests/test-cmd-tools
--- libkate-0.4.1/debian/tests/test-cmd-tools   2019-11-26 16:03:42.0 
-0600
+++ libkate-0.4.1/debian/tests/test-cmd-tools   1969-12-31 18:00:00.0 
-0600
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Test the kate command line tools to ensure they can run without
-# returning an error.
-
-set -e
-
-retval=0
-
-success() { echo "success:" "$@"; }
-error() { echo "error:" "$@"; retval=1; }
-
-cat > input.srt < 00:00:14,000
-This is a simple subtext block
-that will be encoded into an ogg file.
-
-2
-00:00:15,000 --> 00:00:16,000
-This is the second subtext block.
-
-EOF
-
-if kateenc -t srt -l cy -c SUB -o output.ogg input.srt ; then
-success "kateenc could encode an SRT file to OGG"
-else
-error "unable to run kateenc"
-fi
-
-if katalyzer output.ogg ; then
-success "running katalyzer worked"
-else
-error "unable to run katalyser"
-fi
-
-if katedec output.ogg ; then
-success "running katedec worked"
-else
-error"unable to run katedec"
-fi
-
-if KateDJ  --version ; then
-success "running KateDJ worked"
-else
-error "unable to run KateDJ"
-fi
-
-exit $retval