Bug#886247: Upstream patch

2024-01-05 Thread Brian Murray
Upstream list admin fixed this with the following commit:

https://sourceforge.net/p/listadmin/code/ci/ad51019ef5b493aa3ce6720cae88153c1b39776d

--
Brian Murray @ubuntu.com



Bug#1039532: debvm: autopkgtest fails due to missing testdep on debian-archive-keyring

2023-06-26 Thread Brian Murray
Package: debvm
Version: 0.2.12
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu mantic
X-Debbugs-Cc: br...@ubuntu.com

Dear Maintainer,

This bug report was also filed in Ubuntu and can be found at
https://launchpad.net/bugs/2025093

The description, from Brian Murray, follows:

Two autopkgtests, command1 and command2, included with debvm are failing in 
Ubuntu due to a missing test dependency on debian-archive-keyring. Sample 
failure:

Get:1 http://deb.debian.org/debian sid InRelease [195 kB]
Err:1 http://deb.debian.org/debian sid InRelease
  The following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
Reading package lists...
W: GPG error: http://deb.debian.org/debian sid InRelease: The following 
signatures couldn't be verified because the public key is not available: 
NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
E: The repository 'http://deb.debian.org/debian sid InRelease' is not signed.
E: command failed: /usr/share/mmdebstrap/hooks/maybe-merged-usr/setup00.sh
I: main() received signal PIPE: waiting for setup...
bash: line 1:  1306 Hangup  bash -ec './tests/create-and-run.sh 
$(dpkg --print-architecture) sid' 2> >(tee -a 
/tmp/autopkgtest.k9nz7H/command1-stderr 1>&2) > >(tee -a 
/tmp/autopkgtest.k9nz7H/command1-stdout)
Hangup
autopkgtest [18:43:46]: test command1: ---]
command1 FAIL non-zero exit status 255

A full log file can be found at:
https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/amd64/d/debvm/20230602_184405_93dba@/log.gz

Adding debian-archive-keyring to the dependencies in debian/tests/control will 
resolve the issue.


Bug#1015272: liburing autopkgtest started to hang containers in Debian and Ubuntu since ~2022-07-11

2022-07-18 Thread Brian Murray
On Mon, Jul 18, 2022 at 09:07:28PM +0200, Paul Gevers wrote:
> Source: liburing
> Version: 2.1-2
> Severity: important
> X-Debbugs-Cc: br...@ubuntu.com
> 
> Dear Guillem,
> 
> Some days ago (approximately 7) the autopkgtest of liburing started to
> behave badly on the Debian and Ubuntu infrastructure. It's not totally
> clear to me what happens, but I have lxc containers left behind after
> the test that I can't clean up.
> 
> A similar thing seems to happen on the Ubuntu side because they have
> blocked the test from running recently and I'll do the same on our
> side.
> 
> https://git.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-package-configs/commit/?id=fedf747ea808837217d373773d105f242819702d
> 
> Because your package didn't change in that time, I suspect one of your
> dependencies caused liburing to behave differently. It would be great
> if we figured out what that is.

I managed to capture some information from an instance in an Ubuntu bug
report - http://launchpad.net/bugs/1981636.

--
Brian Murray @ubuntu.com



Bug#1004751: bsdmainutils: Remove the Ubuntu calendar

2022-02-01 Thread Brian Murray
Package: bsdmainutils
Version: 12.1.7+nmu3ubuntu1
Severity: wishlist

Dear Maintainer,

The Ubuntu Release team, which has historically been involved with
updating the calendar.ubuntu file in this package, is no longer
interested in updating the file with new Ubuntu release dates.
Subsequently, we'd prefer that the Ubuntu calendar was removed. Having
said that if it isn't removed and is going to be kept could you please
add the new release dates to the calendar?  Thanks in advance.

diff -Nru bsdmainutils-12.1.7+nmu3/debian/calendars/calendar.ubuntu 
bsdmainutils-12.1.7+nmu3ubuntu2/debian/calendars/calendar.ubuntu
--- bsdmainutils-12.1.7+nmu3/debian/calendars/calendar.ubuntu   2020-06-22 
03:24:08.0 -0700
+++ bsdmainutils-12.1.7+nmu3ubuntu2/debian/calendars/calendar.ubuntu
2022-01-28 13:12:31.0 -0800
@@ -42,6 +42,8 @@
 Oct 17 Ubuntu 19.10 (Eoan Ermine) released, 2019
 Apr 23 Ubuntu 20.04 LTS (Focal Fossa) released, 2020
 Oct 22 Ubuntu 20.10 (Groovy Gorilla) released, 2020
+Apr 22 Ubuntu 21.04 (Hirsute Hippo) released, 2021
+Oct 14  Ubuntu 21.10 (Impish Indri) released, 2021
 
 /* Misc */
 



Bug#991970: piuparts: ftbfs with golang-1.16

2021-08-06 Thread Brian Murray
I also tested building the patch with golang-1.15 and it also succeeded.

--
Brian Murray



Bug#991970: piuparts: ftbfs with golang-1.16

2021-08-06 Thread Brian Murray
Package: piuparts
Version: 1.1.4
Severity: important
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu impish

Dear Maintainer,

The attached patch will fix a FTBFS with golang-1.16.

This bug report was also filed in Ubuntu and can be found at
http://launchpad.net/bugs/1939171

The description, from Brian Murray, follows:

In 
https://launchpadlibrarian.net/551476957/buildlog_ubuntu-impish-amd64.piuparts_1.1.4_BUILDING.txt.gz
 we can see the following:

touch build-stamp
(cd helpers/debiman-piuparts-distill && go build)
go: go.mod file not found in current directory or any parent directory; see 'go 
help modules'
make[2]: *** [Makefile:61: build-master-stamp] Error 1
make[2]: Leaving directory '/<>'
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

This happens with piuparts version 1.1.4 and a test rebuild of 1.12 using 
golang-go (which depends on golang-1.16-go) also failed.

-- System Information:
Debian Release: 11.0
  APT prefers impish
  APT policy: (500, 'impish')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
>From 63a6d460c8578ec9b5e2c400d7d9ec5b22f14f81 Mon Sep 17 00:00:00 2001
From: Brian Murray 
Date: Fri, 6 Aug 2021 12:49:18 -0700
Subject: [PATCH] Fix FTBFS w/ golang-1.16

---
 CONTRIBUTING | 1 +
 Makefile | 2 +-
 debian/changelog | 7 +++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/CONTRIBUTING b/CONTRIBUTING
index 932bee56..5d1f732d 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -16,6 +16,7 @@ or to the tracking bug: @bugs.debian.org.
 
 One possible workflow:
   git clone https://salsa.debian.org/debian/piuparts.git
+  cd piuparts
   git checkout origin/develop -b 
   
   git commit -a
diff --git a/Makefile b/Makefile
index df373eb5..ff7b7ca0 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ build-stamp: $(SCRIPTS_GENERATED) $(DOCS_GENERATED) Makefile
touch $@
 
 build-master-stamp:
-   (cd helpers/debiman-piuparts-distill && go build)
+   (go mod init helpers/debiman-piuparts-distill && cd 
helpers/debiman-piuparts-distill && go build)
touch $@
 
 build-doc: $(DOCS_GENERATED)
diff --git a/debian/changelog b/debian/changelog
index 251b90ee..6ec38e22 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+piuparts (1.1.5) UNRELEASED; urgency=medium
+
+  * Makefile: Execute go mod init before running go build, fixes FTBFS with
+golang-1.16. (LP: #1939171)
+
+ -- Brian Murray   Fri, 06 Aug 2021 12:47:14 -0700
+
 piuparts (1.1.3) unstable; urgency=medium
 
   [ Michael Prokop ]
-- 
2.31.1



Bug#986258: privoxy: apparmor profile disallows one from using --pidfile or alternate configfile

2021-04-01 Thread Brian Murray
Package: privoxy
Version: 3.0.32-1
Severity: normal

Dear Maintainer,

The autopkgtest for privoxy is failing to run on Ubuntu because the
apparmor profile is enabled and the test passes a pidfile and config
file to privoxy.

  /usr/sbin/privoxy --pidfile $PIDFILE $CONFIG

This fails because apparmor denies access to $PIDFILE and $CONFIG.

autopkgtest [20:14:35]: test privoxy-regression-test: [---
Starting privoxy on port 8119
2021-01-17 20:14:35.385 7fb3e30f4200 Fatal error: can't open pid file 
'/tmp/autopkgtest.TAxSNW/autopkgtest_tmp/privoxy.pid': Permission denied

Furthermore this means that one can't use the --pidfile argument or a
config file other than one in /etc/privoxy because of the apparmor
profile.

While I'll work around this in Ubuntu by disabling the apparmor profile
for the test I don't think that's the best solution.



Bug#984952: freecad: femtest.app.test_open.TestObjectOpen test fails on s390x in hirsute

2021-03-10 Thread Brian Murray
Package: freecad
Version: 0.18.4+dfsg2-6build1
Severity: important
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute

This bug report was also filed in Ubuntu and can be found at
http://launchpad.net/bugs/1918474

The description, from Brian Murray, follows:

The test femtest.app.test_open.TestObjectOpen which is part of the freecad 
autopkgtest suite ends up being killed on s390x:

FreeCAD 0.19, Libs: 0.19R
(c) Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ 
license.
FreeCAD wouldn't be possible without FreeCAD community.
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

import TestObjectOpen 
test_00print (femtest.app.test_open.TestObjectOpen) ... 

** run FEM TestObjectOpen tests 


 
ok
test_femobjects_open_de9b3fb438 (femtest.app.test_open.TestObjectOpen) ... load 
old document objects 
Importing project files..
Killed

[4828342.378424]
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=lxc.payload.autopkgtest-lxd-cgruyr,mems_allowed=0,global_oom,task_memcg=/lxc.payload.autopkgtest-lxd-cgruyr,task=freecadcmd,pid=2459486,uid=100
[4828342.378434] Out of memory: Killed process 2459486 (freecadcmd)
total-vm:2196220kB, anon-rss:1597084kB, file-rss:0kB, shmem-rss:0kB,
UID:100 pgtables:3608kB oom_score_adj:0
[4828342.577608] oom_reaper: reaped process 2459486 (freecadcmd), now
anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

I've also tried the test on an m1.large image, with 8G of RAM, but did not 
change the outcome.

This is also failing in the debian ci infrastructure:

https://ci.debian.net/packages/f/freecad/testing/s390x/



Bug#982564: munge is uninstallable on s390x

2021-02-11 Thread Brian Murray
Package: munge
Version: 0.5.14-1
Severity: important
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute

Dear Maintainer,

munge 0.5.14-1 seems to be uninstallable on s390x

This bug report was also filed in Ubuntu and can be found at
http://launchpad.net/bugs/1915457

The description, from Brian Murray, follows:

Preparing to unpack .../libmunge2_0.5.14-1_s390x.deb ...
Unpacking libmunge2 (0.5.14-1) ...   
Selecting previously unselected package munge.
Preparing to unpack .../munge_0.5.14-1_s390x.deb ...
Unpacking munge (0.5.14-1) ...
Setting up libmunge2 (0.5.14-1) ...
Setting up munge (0.5.14-1) ...
mungekey: Error: Failed to finalize HKDF MAC ctx for extraction
mungekey: Error: Failed to compute HKDF key derivation
mungekey: Error: Failed to create "/etc/munge/munge.key"
dpkg: error processing package munge (--configure):
 installed munge package post-installation script subprocess returned error 
exit status 1
Processing triggers for libc-bin (2.32-0ubuntu6) ...
Errors were encountered while processing:
 munge
E: Sub-process /usr/bin/dpkg returned an error code (1)



Bug#972095: missing test-dependency

2020-10-12 Thread Brian Murray
Package: python-fakeredis
Version: 1.4.3-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

The package python-fakeredis is failing it's autopkgtests in Ubuntu as
can be seen here:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/p/python-fakeredis/20200907_120238_a7fd0@/log.gz

The failure is:

 ERRORS

_ ERROR at setup of test_time[FakeStrictRedis]
_
file /tmp/autopkgtest.czefjb/build.rUT/src/test/test_fakeredis.py, line
3361
  @fake_only
  def test_time(r, mocker):
E   fixture 'mocker' not found
>   available fixtures: cache, capfd, capfdbinary, caplog, capsys,
>   capsysbinary, cov, create_redis, doctest_namespace, fake_server,
>   is_redis_running, monkeypatch, no_cover, pytestconfig, r,
>   record_property, record_testsuite_property,
>   record_xml_attribute, recwarn, tmp_path, tmp_path_factory,
>   tmpdir, tmpdir_factory
>   use 'pytest --fixtures [testpath]' for help on them.

/tmp/autopkgtest.czefjb/build.rUT/src/test/test_fakeredis.py:3361

This is because while a dependency was added to debian/control for
python3-pytest-mock it was not added to debian/tests/control. Attached
is a debdiff which fixes the issue.

--
Brian Murray @ubuntu.com
diff -Nru python-fakeredis-1.4.3/debian/changelog 
python-fakeredis-1.4.3/debian/changelog
--- python-fakeredis-1.4.3/debian/changelog 2020-08-20 00:30:29.0 
-0700
+++ python-fakeredis-1.4.3/debian/changelog 2020-10-09 12:25:46.0 
-0700
@@ -1,3 +1,9 @@
+python-fakeredis (1.4.3-2) unstable; urgency=medium
+
+  * debian/tests/control: add python3-pytest-mock.
+
+ -- Brian Murray   Fri, 09 Oct 2020 12:25:46 -0700
+
 python-fakeredis (1.4.3-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru python-fakeredis-1.4.3/debian/tests/control 
python-fakeredis-1.4.3/debian/tests/control
--- python-fakeredis-1.4.3/debian/tests/control 2020-06-15 23:34:45.0 
-0700
+++ python-fakeredis-1.4.3/debian/tests/control 2020-10-09 12:25:44.0 
-0700
@@ -8,6 +8,7 @@
  python3-lupa,
  python3-pytest (>= 4.6.4), python3-pytest (<< 5.0),
  python3-pytest-cov (>= 2.7.1), python3-pytest-cov (<< 3.0),
+ python3-pytest-mock,
  python3-redis,
  python3-setuptools,
  python3-six,


Bug#970264: slrn cannot connect when using SSL encrypted connections

2020-09-13 Thread Brian Murray
Package: slrn
Version: 1.0.3+dfsg-4
Severity: important
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy

Dear Maintainer,

It is not possible to connect to a secure news server. The following
command fails:

NNTPSERVER=snews://secure-us.news.easynews.com:8000 slrn --create
...
Connecting to host secure-us.news.easynews.com ...
Failed to initialize server
Run-Time Error
Reason:
slrn fatal error:
Failed to initialize server.

The servers for easynews listen on mutliple ports
(https://help.easynews.com/kb/article/11-nntp-server-addresses/) but it
is not possible to connect to any of the SSL setups. However, using
NNTP=news.easynews.com:8000 works without error.

Switching the NNTPSERVER to snews://news.newshosting.com:563 results in
the same failure.

This is also reported in Launchpad about Ubuntu as
http://launchpad.net/bugs/1895480.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-42-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE, TAINT_LIVEPATCH
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages slrn depends on:
ii  debconf [debconf-2.0]  1.5.74
ii  libc6  2.31-3
ii  libcanlock33.1.0-1
ii  libgnutls-openssl273.6.14-2+b1
ii  libgnutls303.6.14-2+b1
ii  libslang2  2.3.2-5
ii  libuu0 0.5.20-12

slrn recommends no packages.

Versions of packages slrn suggests:
pn  slrnpull  

-- Configuration Files:
/etc/news/slrn.rc changed:
% This is an empy configuration-file for slrn. This version of the file is
% only meant for system-wide preferences. It is left empty by the installation,
% to let slrn's default settings be used.
%
% If you to include options in this file, take a look at the manpage for slrn
% or at /usr/share/doc/slrn/examples/slrn.rc.gz
set hostname "doe.com"


-- debconf information:
  slrn/getdescs: manually
  slrn/getdescs_now: false
  shared/mailname: crucial-lionfish
  shared/news/server:

--
Brian Murray @ubuntu.com



Bug#969510: import-bug-from-debian: can create bad bug descriptions

2020-09-03 Thread Brian Murray
Package: ubuntu-dev-tools
Version: 0.177
Severity: normal

Dear Maintainer,

The tool import-bug-from-debian can create bug descriptions which look
like the following:

[,
]

I believe this is because the first message has multiple payloads and
import-bug-from-debian does not handle this. As an example of what goes
wrong please see:

http://launchpad.net/bugs/1894141

I've modified import-bug-from-debian with the following change:

 $ diff -Nrup ubuntu-dev-tools-0.177/import-bug-from-debian
import-bug-from-debian 
--- ubuntu-dev-tools-0.177/import-bug-from-debian   2019-12-01
10:18:32.0 -0800
+++ import-bug-from-debian  2020-09-03 13:54:51.293360839 -0700
@@ -106,7 +106,10 @@ def main():
 bug_num = bug.bug_num
 subject = bug.subject
 log = debianbts.get_bug_log(bug_num)
-summary = log[0]['message'].get_payload()
+if isinstance(log[0]['message'].get_payload(), str):
+summary = log[0]['message'].get_payload()
+else:
+summary = log[0]['message'].get_payload()[0].get_payload()
 target = ubuntu.getSourcePackage(name=ubupackage)
 if target is None:
 Logger.error("Source package '%s' is not in Ubuntu. Please
specify "

For testing this I used qastaging.launchpad.net.



Bug#959555: Upstream patch available

2020-08-19 Thread Brian Murray
The deprecation of Feature from setuptools has been handled upstream
with the following commit:

https://github.com/zopefoundation/zope.interface/commit/1de55506a33bedeb25051ac4cfa18f2e241a9212

This was then included in release 4.7.2 of zope.interface.

--
Brian Murray @ubuntu.com



Bug#956697: mercurial: Skip test-wireproto-exchangev2-shallow.t

2020-07-01 Thread Brian Murray
Package: mercurial
Version: 5.4.1-1
Followup-For: Bug #956697
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Dear Maintainer,

In Ubuntu's autopkgtest infrastructure I also noticed that the
test-wireproto-exchangev2-shallow.t is flaky as the ordering of the
output changes. Its worth mentioning that the test fails more frequently
on armhf. Here are some logs of it failing:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/armhf/m/mercurial/20200630_044520_38521@/log.gz
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/armhf/m/mercurial/20200523_005337_84d39@/log.gz
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/armhf/m/mercurial/20200524_200914_c544f@/log.gz
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/armhf/m/mercurial/20200524_200914_c544f@/log.gz

In Ubuntu, the attached patch was applied to achieve the following:

  * Blacklist for test-wireproto-exchangev2-shallow.t for occasional failures.

Thanks for considering the patch.
diff -Nru mercurial-5.4.1/debian/mercurial.test_blacklist 
mercurial-5.4.1/debian/mercurial.test_blacklist
--- mercurial-5.4.1/debian/mercurial.test_blacklist 2020-06-25 
08:48:40.0 -0700
+++ mercurial-5.4.1/debian/mercurial.test_blacklist 2020-07-01 
11:12:41.0 -0700
@@ -37,3 +37,4 @@
 test-commandserver.t
 test-largefiles.t
 test-wireproto-exchangev2.t
+test-wireproto-exchangev2-shallow.t


Bug#963762: reportbug: querybts by source package launches incorrect url

2020-06-26 Thread Brian Murray
Package: reportbug
Version: 7.6.0
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Dear Maintainer,

I was using querybts to browse bugs about the source package
jinja2-time (querybts -s jinja2-time), however when I choose 'b' to
launch a browser the url loaded was about the binary package not the
source package. This patch fixes it.

An appropriate changelog entry might be the following:

  * After viewing a list of source package bugs and choosing to view them in a
browser pass the fact that it is a source package to the bug tracker.

Thanks for considering the patch.
diff -Nru reportbug-7.6.0ubuntu1/reportbug/ui/text_ui.py 
reportbug-7.6.0ubuntu2/reportbug/ui/text_ui.py
--- reportbug-7.6.0ubuntu1/reportbug/ui/text_ui.py  2019-12-14 
13:19:18.0 -0800
+++ reportbug-7.6.0ubuntu2/reportbug/ui/text_ui.py  2020-06-26 
09:29:49.0 -0700
@@ -598,8 +598,8 @@
 ewrite('%d bug reports found:\n\n', count)
 
 return browse_bugs(hierarchy, count, bugs, bts, queryonly,
-   mirrors, http_proxy, timeout, screen, title, 
package,
-   mbox_reader_cmd)
+   mirrors, http_proxy, timeout, screen, title,
+   package, source, mbox_reader_cmd)
 
 except NoPackage:
 long_message('No record of this package found.')
@@ -607,7 +607,8 @@
 
 
 def browse_bugs(hierarchy, count, bugs, bts, queryonly, mirrors,
-http_proxy, timeout, screen, title, package, mbox_reader_cmd):
+http_proxy, timeout, screen, title, package,
+source, mbox_reader_cmd):
 try:
 output_encoding = locale.getpreferredencoding()
 except locale.Error as msg:
@@ -687,7 +688,10 @@
 lastpage = []
 break
 elif x == 'b':
-launch_browser('https://bugs.debian.org/%s' % package)
+if source:
+launch_browser('https://bugs.debian.org/src:%s' % 
package)
+else:
+launch_browser('https://bugs.debian.org/%s' % 
package)
 continue
 elif x == 'r':
 continue


Bug#963714: fatrace autopkgtest failure due to rename test

2020-06-25 Thread Brian Murray
Package: fatrace
Version: 0.15-1
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy

Dear Maintainer,

This bug report was also filed in Ubuntu and can be found at 
http://launchpad.net/bugs/1885188

The description, from Brian Murray, follows:

fatrace version 0.15-1 is stuck in groovy-proposed because the "file renaming" 
test in fatrace-currentmount is failing. This is reproducable using a qemu 
virtualization server.

The package passed Debian ci because the test was skipped as it was run on a 
4.19 kernel which doesn't support directory events. On Ubuntu a 5.04 kernel was 
used and so the test was ran and it failed.

Complete logs are here:

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/f/fatrace/20200501_155154_7ae8a@/log.gz

The relevant excerpt is:

checking log...
^mv(.*): <> /tmp/autopkgtest.TV550j/build.0mf/src not found in log:

Looking at the log file I didn't actually see any events relating to test.txt.2 
or any lines containing "<>".



Bug#962100: python-memprof: Fix for autopkg tests

2020-06-11 Thread Brian Murray
Package: python-memprof
Version: 0.3.6-2
Followup-For: Bug #962100
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Dear Maintainer,

I've discovered a fix which allows the autopkg tests to pass.

In Ubuntu, the attached patch was applied to achieve the following:

  * Properly import getsize so autopkg tests pass. (Closes: #962100)


Thanks for considering the patch.
diff -Nru python-memprof-0.3.6/debian/patches/import-pyx.patch 
python-memprof-0.3.6/debian/patches/import-pyx.patch
--- python-memprof-0.3.6/debian/patches/import-pyx.patch1969-12-31 
16:00:00.0 -0800
+++ python-memprof-0.3.6/debian/patches/import-pyx.patch2020-06-11 
13:08:25.0 -0700
@@ -0,0 +1,20 @@
+Description: Properly import getsize for autopkgtests
+Author: Brian Murray 
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962100
+Last-Update: 2020-06-11
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: python-memprof-0.3.6/memprof/memprof.py
+===
+--- python-memprof-0.3.6.orig/memprof/memprof.py
 python-memprof-0.3.6/memprof/memprof.py
+@@ -21,6 +21,9 @@ import time
+ import argparse
+ import types
+ 
++import pyximport
++pyximport.install()
++
+ from .mp_utils import *  # noqa
+ from .getsize import getSize, isInteresting
+ 
diff -Nru python-memprof-0.3.6/debian/patches/series 
python-memprof-0.3.6/debian/patches/series
--- python-memprof-0.3.6/debian/patches/series  2020-01-18 15:17:53.0 
-0800
+++ python-memprof-0.3.6/debian/patches/series  2020-06-11 13:06:46.0 
-0700
@@ -1 +1,2 @@
 deb_specific__dont_require_argparse.patch
+import-pyx.patch


Bug#961825: Update build-deps to golang-github-kr-pretty-dev

2020-05-29 Thread Brian Murray
Package: reflex
Version: 0.2.0+git20181022.3df204f-1
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy

golang-pretty-dev is a transitional package which has been removed from
the archive so reflex's build-deps should be updated to
golang-github-kr-pretty-dev.

--
Brian Murray @ubuntu.com



Bug#961820: Update build-deps to golang-github-kr-pretty-dev

2020-05-29 Thread Brian Murray
Package: golang-github-maraino-go-mock
Version: 0.0~git20180321.4c74c43-1
Severity: normal

golang-pretty-dev is a transitional package for
golang-github-kr-pretty-dev now so the build-depends of this package
should be updated to use golang-github-kr-pretty-dev.

Additionally, while fixing this for Ubuntu I noticed there is a typo in
the Description of the package.

Description: mocking framework for the Go programming anguage

Notice there is a missing 'l' in what should be language.

--
Brian Murray @ubuntu.com



Bug#960899: paramiko: autopkgtests failures

2020-05-21 Thread Brian Murray
I'm pretty sure its because the configs folder from usptream isn't
included in the package at all.

https://github.com/paramiko/paramiko/tree/master/tests/configs

--
Brian Murray @ubuntu.com



Bug#927261: tar: file capabilities lost upon extraction

2019-07-10 Thread Brian Murray
Which tar info page are your referring to? I can't find the
documentation you are referencing in the tar source package at all.

That being said I started a discussion about having to use
'--xattrs-include=*' when extracting a tar archive with upstream[1] and
discovered it was a deliberate decision to include all extended
attributes when creating the archive but to only extract the user.* ones
by default. Additionally, I've submitted patches upstream to have
https://www.gnu.org/software/tar/manual/tar.html#SEC70 updated to
reflect tar's behavior.

[1] https://lists.gnu.org/archive/html/bug-tar/2019-06/msg1.html

--
Brian Murray @ubuntu.com


signature.asc
Description: PGP signature


Bug#775495: tar: please use the same options to backup and restore xattrs

2019-06-12 Thread Brian Murray
I brought this same matter up with upstream and they've indicated that
the --xattrs-include defaults to "^user.*" due to cross platform
compatibility concerns[1].

[1] https://lists.gnu.org/archive/html/bug-tar/2019-06/msg2.html

--
Brian Murray @ubuntu.com


signature.asc
Description: PGP signature


Bug#922090: Missing eol-server info in ubuntu.csv

2019-02-11 Thread Brian Murray
Package: distro-info-data
Version: 0.39
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

The ubuntu.csv file is missing eol-server dates for multiple releases of
Ubuntu (likely because there is not a distinction between EoL dates for
server and desktop anymore), however this creates the following
confusing and misleading situation.

(disco-amd64)root@impulse:~# ubuntu-distro-info --all -r --days=eol-server | 
grep LTS
6.06 LTS -2812
8.04 LTS -2104
10.04 LTS -1384
12.04 LTS (unknown)
14.04 LTS (unknown)
16.04 LTS (unknown)
18.04 LTS (unknown)

Additionally, I will be adding an another column to ubuntu.csv for ESM
support and having empty values for eol-server, with a new column after
it, ends up breaking ubuntu-distro-info.

This has also been reported in Launchpad as
http://launchpad.net/bugs/1814976.

Thanks!
--
Brian Murray @ubuntu.com
diff -Nru distro-info-data-0.39/debian/changelog 
distro-info-data-0.40/debian/changelog
--- distro-info-data-0.39/debian/changelog  2018-10-30 06:33:17.0 
-0700
+++ distro-info-data-0.40/debian/changelog  2019-02-11 14:01:01.0 
-0800
@@ -1,3 +1,9 @@
+distro-info-data (0.40) UNRELEASED; urgency=medium
+
+  * Add in eol-server dates for all Ubuntu LTS releases. (LP: #1814976)
+
+ -- Brian Murray   Mon, 11 Feb 2019 14:01:01 -0800
+
 distro-info-data (0.39) unstable; urgency=medium
 
   * Add Ubuntu 19.04 Disco Dingo. (LP: #1800656)
diff -Nru distro-info-data-0.39/ubuntu.csv distro-info-data-0.40/ubuntu.csv
--- distro-info-data-0.39/ubuntu.csv2018-10-30 06:33:17.0 -0700
+++ distro-info-data-0.40/ubuntu.csv2019-02-11 13:47:15.0 -0800
@@ -14,18 +14,18 @@
 10.10,Maverick Meerkat,maverick,2010-04-29,2010-10-10,2012-04-10
 11.04,Natty Narwhal,natty,2010-10-10,2011-04-28,2012-10-28
 11.10,Oneiric Ocelot,oneiric,2011-04-28,2011-10-13,2013-05-09
-12.04 LTS,Precise Pangolin,precise,2011-10-13,2012-04-26,2017-04-26
+12.04 LTS,Precise Pangolin,precise,2011-10-13,2012-04-26,2017-04-26,2017-04-26
 12.10,Quantal Quetzal,quantal,2012-04-26,2012-10-18,2014-05-16
 13.04,Raring Ringtail,raring,2012-10-18,2013-04-25,2014-01-27
 13.10,Saucy Salamander,saucy,2013-04-25,2013-10-17,2014-07-17
-14.04 LTS,Trusty Tahr,trusty,2013-10-17,2014-04-17,2019-04-17
+14.04 LTS,Trusty Tahr,trusty,2013-10-17,2014-04-17,2019-04-17,2019-04-17
 14.10,Utopic Unicorn,utopic,2014-04-17,2014-10-23,2015-07-23
 15.04,Vivid Vervet,vivid,2014-10-23,2015-04-23,2016-01-23
 15.10,Wily Werewolf,wily,2015-04-23,2015-10-22,2016-07-22
-16.04 LTS,Xenial Xerus,xenial,2015-10-22,2016-04-21,2021-04-21
+16.04 LTS,Xenial Xerus,xenial,2015-10-22,2016-04-21,2021-04-21,2021-04-21
 16.10,Yakkety Yak,yakkety,2016-04-21,2016-10-13,2017-07-20
 17.04,Zesty Zapus,zesty,2016-10-13,2017-04-13,2018-01-13
 17.10,Artful Aardvark,artful,2017-04-13,2017-10-19,2018-07-19
-18.04 LTS,Bionic Beaver,bionic,2017-10-19,2018-04-26,2023-04-26
+18.04 LTS,Bionic Beaver,bionic,2017-10-19,2018-04-26,2023-04-26,2023-04-26
 18.10,Cosmic Cuttlefish,cosmic,2018-04-26,2018-10-18,2019-07-18
 19.04,Disco Dingo,disco,2018-10-18,2019-04-18,2020-01-18
diff -Nru distro-info-data-0.39/validate-csv-data 
distro-info-data-0.40/validate-csv-data
--- distro-info-data-0.39/validate-csv-data 2018-10-30 06:33:17.0 
-0700
+++ distro-info-data-0.40/validate-csv-data 2019-02-11 13:55:17.0 
-0800
@@ -108,7 +108,7 @@
 if date2 in row and row[date2]:
 if date1 in row and row[date1]:
 # date1 needs to be earlier than date2
-if row[date1] >= row[date2]:
+if row[date1] > row[date2]:
 msg = ("Date %s of column `%s' needs to be later "
"than %s of column `%s'")
 error(filename, csvreader.line_num, msg,


Bug#921581: Typo in error message regarding csv format

2019-02-06 Thread Brian Murray
Package: distro-info
Version: 0.20
Severity: minor
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco

The string in the following error message should be "exactly" not
"excatly".

if(unlikely(strcmp(CSV_HEADER, line) != 0)) {
fprintf(stderr, NAME ": Header `%s' in file `%s' does not match
"
"excatly `" CSV_HEADER "'.\n", line, filename);
failures++;
}

Thanks,
--
Brian Murray @ubuntu.com



Bug#895473: ca-certificates: Post-install script subprocess return error exit status 3 while upgrading

2018-04-25 Thread Brian Murray
I reported the fact that openssl rehash returns 1 while c_rehash returns
0 on duplicate certificates to openssl's upstream bug tracker here:

https://github.com/openssl/openssl/issues/6083

It looks like it will be fixed shortly.

--
Brian Murray @ubuntu.com


signature.asc
Description: PGP signature


Bug#895473: ca-certificates: Post-install script subprocess return error exit status 3 while upgrading

2018-04-17 Thread Brian Murray
In Ubuntu I encounter this issue when upgrading ca-certificates from
20170717~16.04.1 (Ubuntu 16.04) to 20180409 (Ubuntu 18.04) when the
package python-ubuntu-sso-client (only available in Ubuntu 16.04) is
also installed. The python-ubuntu-sso-client package put
"/etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem" on disk. Here's the
error:

Setting up ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
rehash: skipping duplicate certificate in Go_Daddy_Class_2_CA.pem
dpkg: error processing package ca-certificates (--configure):
 subprocess installed post-installation script returned error exit
status 1
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
 ca-certificates
E: Sub-process /usr/bin/dpkg returned an error code (1)

(xenial-amd64)root@impulse:/home/bdmurray/source-trees/ubuntu-release-upgrader#
update-ca-certificates --fresh
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
rehash: skipping duplicate certificate in Go_Daddy_Class_2_CA.pem
(xenial-amd64)root@impulse:/home/bdmurray/source-trees/ubuntu-release-upgrader#
echo $?
1

Perhaps that'll help recreating the issue.

The Ubuntu bug report is at http://launchpad.net/bugs/1764848.

--
Brian Murray @ubuntu.com



Bug#872591: ipython: quit in ipdb does not immediately exit the debugger

2017-08-18 Thread Brian Murray
Package: ipython
Version: 5.1.0-3
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful

Dear Maintainer,

There is an upstream ipdb fix which would be useful to include in the
packaged version of ipdb.

https://github.com/ipython/ipython/pull/10009

A detailed bug report with test case was also filed in Ubuntu and can be
found at http://launchpad.net/bugs/1711741.
The description, from Brian Murray, follows:

Using the following test case I'd expect that entering the quit command the 
code containing the ipdb import would exit immediately. This is not the case 
and the code continues to run. Here's a test case:

#!/usr/bin/python3

word = 'the word'
from ipdb import set_trace; set_trace()
print('bird is %s' % word)

This is the failure:

 $ ./ipdb-test.py
> /tmp/ipdb-test.py(5)()
  1 #!/usr/bin/python3
  2 
  3 word = 'the word'
  4 from ipdb import set_trace; set_trace()
> 5 print('bird is %s' % word)

ipdb> quit
bird is the word

With the fix:

 $ ./ipdb-test.py
> /tmp/ipdb-test.py(5)()
  2 
  3 word = 'the word'
  4 from ipdb import set_trace; set_trace()
> 5 print('bird is %s' % word)

ipdb> quit
Exiting Debugger.

This affects both python3 and python2.7 ipdb in Artful. Package version 5.1.0-3.

-- System Information:
Debian Release: stretch/sid
  APT prefers artful
  APT policy: (500, 'artful')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-13-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Bug#845208: apport-retrace crashed with IOError in _get_primary_mirror_from_apt_sources(): [Errno 2] No such file or directory: u'Debian GNU/Debian testing/sources.list'

2017-04-28 Thread Brian Murray
On Wed, Apr 26, 2017 at 01:33:19PM +0530, Ritesh Raj Sarraf wrote:
> On Tue, 2017-04-25 at 15:00 -0700, Brian Murray wrote:
> > What is in the directory which you passed to the -S switch? That
> > directory should be structured so that you have folders matching
> > releases and in those folders sources.list files for that release.
> > Here's an example from my system:
> > 
> >  $ ls ~/source-trees/daisy/watchtower-archive 
> > crashdb.conf  Ubuntu 11.04  Ubuntu 12.04  Ubuntu 13.04  Ubuntu 14.04
> > Ubuntu 15.04  Ubuntu 16.04  Ubuntu 17.04Ubuntu RTM 14.09
> > Ubuntu 10.04  Ubuntu 11.10  Ubuntu 12.10  Ubuntu 13.10  Ubuntu 14.10
> > Ubuntu 15.10  Ubuntu 16.10  Ubuntu Core 16
> > [  2:56PM 10151 ]  [
> > bdmurray@impulse:~/source-trees/error-tracker-deployment/trunk ]
> >  $ ls ~/source-trees/daisy/watchtower-archive/Ubuntu\ 17.04 
> > arm64  armhf  codename  powerpc  ppc64el  sources.list
> > 
> 
> That directory was created by apport itself and has similar structure.
> 
> rrs@learner:/var/tmp/Debian-Build/Result$ ls ~/.cache/apport/retrace/
> Debian 9/  Debian testing/  system/
> 2017-04-26 / 13:28:55 ♒♒♒  ☺  

This is not the directory which you passed to the -S switch. From your
report we can see:

PythonArgs: ['/usr/bin/apport-retrace', '-S', 'Debian GNU', '--cache',
'/home/username/.cache/apport/retrace/', '--stdout',
'/var/crash/_usr_bin_calibre.1000.crash']

The "Debian GNU" directory likely does not exist and that's why the
IOError is raised. If you wanted to use "Debian GNU" as the argument to
"-S" then that directory should contain a folder named "Debian testing",
which then contains an appropriate "sources.list" file for that release
of Debian.

--
Brian Murray


signature.asc
Description: PGP signature


Bug#845208: apport-retrace crashed with IOError in _get_primary_mirror_from_apt_sources(): [Errno 2] No such file or directory: u'Debian GNU/Debian testing/sources.list'

2017-04-25 Thread Brian Murray
What is in the directory which you passed to the -S switch? That
directory should be structured so that you have folders matching
releases and in those folders sources.list files for that release.
Here's an example from my system:

 $ ls ~/source-trees/daisy/watchtower-archive 
crashdb.conf  Ubuntu 11.04  Ubuntu 12.04  Ubuntu 13.04  Ubuntu 14.04
Ubuntu 15.04  Ubuntu 16.04  Ubuntu 17.04Ubuntu RTM 14.09
Ubuntu 10.04  Ubuntu 11.10  Ubuntu 12.10  Ubuntu 13.10  Ubuntu 14.10
Ubuntu 15.10  Ubuntu 16.10  Ubuntu Core 16
[  2:56PM 10151 ]  [
bdmurray@impulse:~/source-trees/error-tracker-deployment/trunk ]
 $ ls ~/source-trees/daisy/watchtower-archive/Ubuntu\ 17.04 
arm64  armhf  codename  powerpc  ppc64el  sources.list

So I call apport-retrace with:

"-S ~/source-trees/daisy/watchtower-archive/"

apport then reads DistroRelease from the report to choose which
directory in the argument to -S to search for sources.list.

Cheers,
--
Brian Murray @ubuntu.com


signature.asc
Description: PGP signature


Bug#816032: typo in cron.daily

2016-02-26 Thread Brian Murray
Package: popularity-contest
Version: 1.64
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial

There's a typo in the cron.daily file for popularity-contest, there is a
'p' missing in the word encryption when logging. Here's a patch:

--- cron.daily  2016-02-26 11:24:28.591922137 -0800
+++ cron.daily.new  2016-02-26 12:05:45.287398788 -0800
@@ -85,8 +85,8 @@ run_popcon > $POPCON
 GPG=/usr/bin/gpg

 if [ "$ENCRYPT" = "yes" ] && ! [ -x "$GPG" ]; then
-  logger -t popularity-contest "encrytion required but gpg is not
   available."
-  echo "popularity-contest: encrytion required but gpg is not
   available." 2>&1
+  logger -t popularity-contest "encryption required but gpg is not
available."
+  echo "popularity-contest: encryption required but gpg is not
available." 2>&1
   exit 1
 fi

--
Brian Murray @ubuntu.com
--- cron.daily	2016-02-26 11:24:28.591922137 -0800
+++ cron.daily.new	2016-02-26 12:05:45.287398788 -0800
@@ -85,8 +85,8 @@ run_popcon > $POPCON
 GPG=/usr/bin/gpg
 
 if [ "$ENCRYPT" = "yes" ] && ! [ -x "$GPG" ]; then
-  logger -t popularity-contest "encrytion required but gpg is not available."
-  echo "popularity-contest: encrytion required but gpg is not available." 2>&1
+  logger -t popularity-contest "encryption required but gpg is not available."
+  echo "popularity-contest: encryption required but gpg is not available." 2>&1
   exit 1
 fi
 


signature.asc
Description: Digital signature


Bug#814553: Not possible to use arch armhf with debboostrap > 1.0.76

2016-02-12 Thread Brian Murray
Package: debootstrap
Version: 1.0.78
Severity: normal #http://www.debian.org/Bugs/Developer#severities
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu xenial

I discovered that I was no longer able to use mk-sbuild to create armhf
chroots with deboostrap version 1.0.78. The process ends with the
following:

I: Extracting zlib1g...
I: Running command: chroot /tmp/schroot-XJCj5b /debootstrap/debootstrap
--second-stage
I: Keyring file not available at
/usr/share/keyrings/ubuntu-archive-keyring.gpg; switching to https
mirror https://mirrors.kernel.org/debian

Manually running the chroot and debootstrap command listed above ends
with the same error even when using the --verbose switch.  Downgrading
debootstrap to version 1.0.75 fixes the issue and using 1.0.76 recreates
it. So it seems to be an issue caused by the changes between 1.0.75 and
1.0.76. Here is the full mk-sbuild command I'm using.

DEBOOTSTRAP_MIRROR=http://ports.ubuntu.com mk-sbuild --vg=virtual-vg
--arch armhf --name snapper vivid

--
Brian Murray @ubuntu.com


signature.asc
Description: Digital signature


Bug#811563: patch

2016-01-19 Thread Brian Murray
I neglected to attach the patch in my first email, and discovered a bug
in it so have modified my approach for adding more information to the
title.

--
Brian Murray @ubuntu.com
From bde269dcd539e6c330e280e06af716569a1ea9bc Mon Sep 17 00:00:00 2001
From: Brian Murray <br...@murraytwins.com>
Date: Tue, 19 Jan 2016 13:21:00 -0800
Subject: [PATCH] modify html page titles to contain package name, arch, suite
 to make browser history better.

---
 lib/debci/html.rb | 3 +++
 lib/debci/html/layout.erb | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/debci/html.rb b/lib/debci/html.rb
index ee1b769..8e14754 100644
--- a/lib/debci/html.rb
+++ b/lib/debci/html.rb
@@ -43,11 +43,13 @@ module Debci
 
 def package(package, filename)
   @package = package
+  @moretitle = package.name
   expand_template(:package, filename)
 end
 
 def prefix(prefix, filename)
   @prefix = prefix
+  @moretitle = prefix
   expand_template(:packagelist, filename)
 end
 
@@ -65,6 +67,7 @@ module Debci
   @autopkgtest_dir = 'data/autopkgtest'
   @site_url = expand_url(Debci.config.url_base, @suite)
   @artifacts_url_base = expand_url(Debci.config.artifacts_url_base, @suite)
+  @moretitle = "#{package.name}/#{suite}/#{architecture}"
   expand_template(:history, filename)
 end
 
diff --git a/lib/debci/html/layout.erb b/lib/debci/html/layout.erb
index b798766..6c17f45 100644
--- a/lib/debci/html/layout.erb
+++ b/lib/debci/html/layout.erb
@@ -5,7 +5,7 @@
 
 
 
-<%= Debci.config.distro_name %> Continuous Integration
+<%= Debci.config.distro_name %> Continuous Integration<% if @moretitle %> - <%= @moretitle %><% end %>
 
 
 
-- 
2.7.0.rc3



signature.asc
Description: Digital signature


Bug#811563: Make Continuous Integration page title more informative

2016-01-19 Thread Brian Murray
Package: debci
Version: 1.0.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch

Looking in my browser history I only saw "Ubuntu Continuous Integration"
and no indication in the title about the actual pages I had visited. I
thought it'd be more useful if the title contained information about the
package, architecture, and suite being viewed. As such I've modified the
title to contain those bits of information.

One issue I ran into when testing was that navigating to a package like
/package/g/ would have package information set and subsequently would
have the title modified. Therefore, I've modified @package to be nil
only when packagelist is generated. This patch should work with no
modifications for Debian too.

Thanks!
--
Brian Murray @ubuntu.com


signature.asc
Description: Digital signature


Bug#808868: UDD database dump not available

2015-12-23 Thread Brian Murray
Package: qa.debian.org
Severity: normal
Usertags: udd

The Ultimate Debian Database wiki pages make reference to a database
dump being available at https://udd.debian.org/udd.dump which produces a
404. There is also a reference to http://udd.debian.org/udd.sql.gz but
that returns a 403.

--
Brian Murray @ubuntu.com



Bug#747094: Updated Patch

2015-09-09 Thread Brian Murray
On Wed, Sep 09, 2015 at 10:58:37AM +0200, Stefano Zacchiroli wrote:
> On Wed, Sep 09, 2015 at 10:56:21AM +0200, Stefano Zacchiroli wrote:
> > Thanks for your patch! I've now rebuilt a local bash-completion that
> > uses it, and it's just great.
> 
> BTW, why is this patch number 14 in the series rather than 13?

I just kept the same patch number Michael had used when he created the
initial fix.

https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/bash-completion/wily/revision/48

> I thought that was because another patch numbered 13 was in the series
> on the Ubuntu side, but according to
> https://patches.ubuntu.com/b/bash-completion/bash-completion_1:2.1-4.1ubuntu2.patch
> that doesn't seem to be the case.
> 
> Not that I care *that* much :), I'm just trying to figure out whether
> some other patches from Ubuntu should be integrated or not.

There is not a number 13 patch.

--
Brian Murray


signature.asc
Description: Digital signature


Bug#747094: Updated Patch

2015-08-13 Thread Brian Murray
Michael's patch was actually incomplete, I'm attaching an updated
version which completely adds apt support and is now in Ubuntu.

--
Brian Murray
## Description: add bash completion support for the new apt command
## Origin/Author: Michael Vogt michael.v...@ubuntu.com
## Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747094
Index: wily/completions/apt
===
--- /dev/null
+++ wily/completions/apt
@@ -0,0 +1,95 @@
+# Debian apt(8) completion -*- shell-script -*-
+
+_apt()
+{
+local sourcesdir=/etc/apt/sources.list.d
+local cur prev words cword
+_init_completion || return
+
+# see if the user selected a command already
+local COMMANDS=(install remove purge show list
+update upgrade full-upgrade dist-upgrade
+edit-sources help)
+
+local command i
+for (( i=0; i  ${#words[@]}-1; i++ )); do
+if [[ ${COMMANDS[@]} =~ ${words[i]} ]]; then
+command=${words[i]}
+break
+fi
+done
+
+# supported options per command
+if [[ $cur == -* ]]; then
+case $command in
+install|remove|purge|upgrade|full-upgrade)
+COMPREPLY=( $( compgen -W '--show-progress
+  --fix-broken --purge --verbose-versions --auto-remove
+  --simulate --dry-run
+  --download
+  --fix-missing
+  --fix-policy
+  --ignore-hold
+  --force-yes
+  --trivial-only
+  --reinstall --solver' -- $cur ) )
+return 0
+;;
+update)
+COMPREPLY=( $( compgen -W '--list-cleanup 
+  ' -- $cur ) )
+return 0
+;;
+list)
+COMPREPLY=( $( compgen -W '--installed --upgradable 
+  --manual-installed
+  -v --verbose
+  -a --all-versions
+  ' -- $cur ) )
+return 0
+;;
+show)
+COMPREPLY=( $( compgen -W '-a --all-versions
+  ' -- $cur ) )
+return 0
+;;
+esac
+fi
+
+# specific command arguments
+if [[ -n $command ]]; then
+case $command in
+remove|purge)
+if [[ -f /etc/debian_version ]]; then
+# Debian system
+COMPREPLY=( $( \
+_xfunc dpkg _comp_dpkg_installed_packages $cur ) )
+else
+# assume RPM based
+_xfunc rpm _rpm_installed_packages
+fi
+return 0
+;;
+install|show|list)
+COMPREPLY=( $( apt-cache --no-generate pkgnames $cur \
+2 /dev/null ) )
+return 0
+;;
+edit-sources)
+COMPREPLY=( $( compgen -W '$( command ls $sourcesdir )' \
+-- $cur ) )
+return 0
+;;
+esac
+fi
+
+# no command yet, show what commands we have
+if [ $command =  ]; then
+COMPREPLY=( $( compgen -W '${COMMANDS[@]}' -- $cur ) )
+fi
+
+return 0
+} 
+complete -F _apt apt
+
+# ex: ts=4 sw=4 et filetype=sh
Index: wily/completions/Makefile.am
===
--- wily.orig/completions/Makefile.am
+++ wily/completions/Makefile.am
@@ -7,6 +7,7 @@ bashcomp_DATA = a2x \
 		alias \
 		ant \
 		apache2ctl \
+		apt \
 		apt-build \
 		apt-cache \
 		apt-get \
Index: wily/completions/Makefile.in
===
--- wily.orig/completions/Makefile.in
+++ wily/completions/Makefile.in
@@ -178,6 +178,7 @@ bashcomp_DATA = a2x \
 		alias \
 		ant \
 		apache2ctl \
+		apt \
 		apt-build \
 		apt-cache \
 		apt-get \


signature.asc
Description: Digital signature


Bug#739539: multimedia-soundsynthesis: recommends a removed package

2014-02-19 Thread Brian Murray
Package: multimedia-soundsynthesis
Version: 0.2
Severity: normal

Dear Maintainer,

multimedia-soundsynthesis recommends the package pd-aubio which as has
been removed from the aubio source package as of version 0.4.0-1.

aubio (0.4.0-1) unstable; urgency=medium


  * New upstream release
  * Acknowledge NMUs (closes: #619802, #553930, #625676), thanks Alessio
  * debian/watch: update
  * debian/copyright: update
  * debian/README.source: removed
  * debian/patches: removed obsolete patches
  * debian/aubio-tools.install: no more sounds
  * debian/aubio-tools.manpages: updated manpages location
  * debian/pycompat: remove obsolete file
  * debian/source/format: bump to 3.0 (quilt)
  * debian/libaubio2.*: moved to libaubio4
  * debian/clean: added
  * debian/libaubio-dev.docs: removed
  * debian/libaubio-dev.install: remove *.la
  * debian/python-aubio.install: move to dist-packages
  * debian/pd-aubio.install: removed
  * debian/docs: add README.md
  * debian/control: remove pd-aubio
  * debian/libaubio-doc.docs: remove obsolete files, update doxygen
  * location
  * debian/compat: bump to 8
  * debian/rules: rewrite (closes: #730150)
  * debian/control: update Build-Depends, bump debhelper and
  * Standards-Version
  * debian/control: remove XS-Python-Version
  * debian/control: add Homepage
  * debian/control: bump to libaubio4, replaces libaubio2
  * debian/control: remove a from start of short description
  * debian/control: use libfftw3-dev (closes: #582735)
  * debian/aubio-tools.install: install tools
  * debian/patches/local_mathjax: use local MathJax.js
  * debian/rules: use current python
  * debian/*.dirs: removed

 -- Paul Brossier p...@debian.org  Sun, 29 Dec 2013 14:47:16 -0400


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#737908: moodle: ftbfs source due to incorrect path for /var/lib/moodle

2014-02-06 Thread Brian Murray
Package: moodle
Version: 2.5.4-1
Severity: important

Dear Maintainer,

moodle fails to build from soure with the following error:

# set dir permissions
chown www-data:www-data /var/lib/moodle
chown: cannot access '/var/lib/moodle': No such file or directory
make: *** [binary] Error 1
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave
error exit status 2

see
https://launchpadlibrarian.net/163111253/buildlog_ubuntu-trusty-i386.moodle_2.5.4-1_FAILEDTOBUILD.txt.gz
for the full log file.

This is fixable by changing the path in debian rules:

-   chown www-data:www-data /var/lib/moodle
-   chmod 0750 /var/lib/moodle
+   chown www-data:www-data debian/moodle/var/lib/moodle
+   chmod 0750 debian/moodle/var/lib/moodle

-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11.0-14-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#537694: newer patch upstream

2012-05-23 Thread Brian Murray
We still receive crash reports like this in Ubuntu for example
http://launchpad.net/bugs/965772.  Researching the upstream bug report,
http://dev.mutt.org/trac/ticket/3288, it seems that there is a newer
patch (http://dev.mutt.org/trac/changeset/0e4f1782ea2e) than the one
included in debian/patches/upstream/537694-segv-imap-headers.patch.  It
think the patch should be replaced with the newer one from upstream.

--
Brian Murray



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#537694: My Mistake

2012-05-23 Thread Brian Murray
Oh, I'd missed patch 584138-mx_update_context-segfault.patch and the
fact that the patch related to this bug isn't applied in the series
file.  Sorry about that!

--
Brian Murray



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#666457: calamaris does check for squid3 log files

2012-03-30 Thread Brian Murray
Package: calamaris
Version: 2.99.4.0-16
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

The calamaris cron script checks for squid log files in /var/log/squid
but squid3 logs to /var/log/squid3.  The format of the log files is the
same so calamaris just needs to know to look in /var/log/squid3 for log
files.

I added the patch to Ubuntu first to ensure that this was fixed for our
next release.

  * Add in a patch to use squid3 log files if they are present (LP: #569514) 


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-20-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru calamaris-2.99.4.0/debian/changelog calamaris-2.99.4.0/debian/changelog
diff -Nru calamaris-2.99.4.0/debian/control calamaris-2.99.4.0/debian/control
--- calamaris-2.99.4.0/debian/control	2011-10-12 21:24:23.0 -0700
+++ calamaris-2.99.4.0/debian/control	2012-03-30 10:48:21.0 -0700
@@ -1,7 +1,8 @@
 Source: calamaris
 Section: utils
 Priority: optional
-Maintainer: Daniel Echeverry epsilo...@gmail.com
+Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
+XSBC-Original-Maintainer: Daniel Echeverry epsilo...@gmail.com
 Standards-Version: 3.9.2
 Build-Depends: debhelper (= 8), po-debconf, debconf
 Homepage: http://cord.de/tools/squid/calamaris/
diff -Nru calamaris-2.99.4.0/debian/patches/series calamaris-2.99.4.0/debian/patches/series
--- calamaris-2.99.4.0/debian/patches/series	2011-07-11 20:44:24.0 -0700
+++ calamaris-2.99.4.0/debian/patches/series	2012-03-30 10:45:30.0 -0700
@@ -1,3 +1,4 @@
 cachelogfile.diff
 deprecation_warning_perl.diff
 fix-manpage.diff
+use-squid3-log.diff
diff -Nru calamaris-2.99.4.0/debian/patches/use-squid3-log.diff calamaris-2.99.4.0/debian/patches/use-squid3-log.diff
--- calamaris-2.99.4.0/debian/patches/use-squid3-log.diff	1969-12-31 16:00:00.0 -0800
+++ calamaris-2.99.4.0/debian/patches/use-squid3-log.diff	2012-03-30 10:47:46.0 -0700
@@ -0,0 +1,22 @@
+From: Brian Murray br...@ubuntu.com
+Description: If a squid3 log file is present use that instead of a squid log file
+Bug-Ubuntu: http://launchpad.net/bugs/569514
+Origin: ubuntu, http://launchpad.net/bugs/569514
+Forwarded: yes
+Author: Brian Murray br...@ubuntu.com
+
+Index: calamaris-2.99.4.0/calamaris-cron-script
+===
+--- calamaris-2.99.4.0.orig/calamaris-cron-script	2012-03-30 10:44:09.0 -0700
 calamaris-2.99.4.0/calamaris-cron-script	2012-03-30 10:46:07.0 -0700
+@@ -74,6 +74,10 @@
+ 
+ # look for cache log files
+ if [ $CACHE = auto ]; then
++if [ -r /var/log/squid3/$CACHEFILE ]; then
++	CACHE=squid
++	CACHELOGDIR=/var/log/squid3
++fi
+ if [ -r /var/log/squid/$CACHEFILE ]; then
+ 	CACHE=squid
+ 	CACHELOGDIR=/var/log/squid


Bug#644210: version check for 1.3.5 of gpsbabel

2011-10-03 Thread Brian Murray
Package: pytrainer
Version: 1.8.0-3
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric

The pytrainer plugin for communicating with Garmin devices has a specific
version check for GPSBabel version 1.3.5.  This check makes it
impossible to communicate with Garmin devices with more recent versions
of GPSBabel.  Removing the check allows pytrainer to communicate with
gpsbabel and the garmin device.

This bug report was also filed in Ubuntu and can be found at
http://launchpad.net/bugs/694603
The description, from Frank, follows:

Binary package hint: pytrainer

Don't need device to reproduce this error:

Tools  GPS Device Plugins  Garmin via GPSBabel 1.3.5  Preferences  Enable  
OK  OK
File  Import from Garmin GPS Device (via GPSBabel)
Error: Must be using version 1.3.5 of GPSBabel for this plugin

Unless this can be patched with a simple version check, this package should 
require 1.3.5 as a dependency not the latest version.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: pytrainer 1.7.1-1.1ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Sun Dec 26 13:32:00 2010
InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.utf8
SourcePackage: pytrainer

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#633555: toshset: novatel patch blocks suspend if device doesn't exist

2011-07-11 Thread Brian Murray
Package: toshset
Version: 1.76-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

After fixing a pm-utils bug,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633147, that ensured
that suspend was never inhibited it was discovered that toshset doesn't
check for the existence of a device before trying to modify it.
Subsequently, if the device doesn't exist it returns a non-zero exit
code which thereby inhibits suspend.  The following patch fixes that.


In Ubuntu, the attached patch was applied to achieve the following:

to allow users to suspend / hibernate again.

  * 08_novatel_3g_suspend.patch: allow suspend / hibernate if device doesn't
exist


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru toshset-1.76/debian/patches/08_novatel_3g_suspend.patch toshset-1.76/debian/patches/08_novatel_3g_suspend.patch
--- toshset-1.76/debian/patches/08_novatel_3g_suspend.patch	2011-03-14 12:34:26.0 -0700
+++ toshset-1.76/debian/patches/08_novatel_3g_suspend.patch	2011-07-08 18:36:01.0 -0700
@@ -1,8 +1,10 @@
 Author: Roberto C. Sanchez robe...@connexer.com
 Description: Script that was omitted from the release by upstream
 /dev/null
-+++ trunk/novatel_3g_suspend
-@@ -0,0 +1,30 @@
+Index: toshset-1.76/novatel_3g_suspend
+===
+--- /dev/null	1970-01-01 00:00:00.0 +
 toshset-1.76/novatel_3g_suspend	2011-07-08 18:35:53.0 -0700
+@@ -0,0 +1,34 @@
 +#! /bin/sh
 +
 +# This script puts the Novatel 3G modem in Toshiba Portege R500 to USB
@@ -24,6 +26,10 @@
 +BUS=2
 +DEVICE=2
 +
++if [ ! -x /sys/bus/usb/devices/${BUS}-${DEVICE}/power/level ]; then
++exit 0
++fi
++
 +case $1 in
 + suspend|suspend_hybrid|hibernate)
 +	echo suspend  /sys/bus/usb/devices/${BUS}-${DEVICE}/power/level
@@ -33,8 +39,10 @@
 +	:
 +;;
 +esac
 trunk.orig/Makefile.in
-+++ trunk/Makefile.in
+Index: toshset-1.76/Makefile.in
+===
+--- toshset-1.76.orig/Makefile.in	2011-07-08 18:35:02.0 -0700
 toshset-1.76/Makefile.in	2011-07-08 18:35:03.0 -0700
 @@ -308,7 +308,7 @@
  	for program in $(PROGRAMS); do \
  		$(BININSTALL) $$program $(DESTDIR)/$(BINDESTDIR)/$$program;\


Bug#633144: pymtp: accessing track information causes a crash

2011-07-08 Thread Brian Murray
Package: pymtp
Version: 0.0.4-2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

Using the example /usr/share/doc/python-pymtp/examples/deviceinfo.py
fails with a segfault.  This was originally reported about Ubuntu in bug
https://bugs.launchpad.net/ubuntu/+source/pymtp/+bug/575091 and a patch
was provided by Fergal Daly which I've included here.  I was unable to
find the upstream for this project hence my forwarding the patch to
Debian.


*** /tmp/tmpqe7l2s
In Ubuntu, the attached patch was applied to achieve the following:

to resolve a crash that has existed for the past year.

  * Fix crash when accessing file listing.  Thanks to Fergal Daly for the
patch.  (LP: #575091)


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u pymtp-0.0.4/debian/changelog pymtp-0.0.4/debian/changelog
diff -u pymtp-0.0.4/debian/patches/series pymtp-0.0.4/debian/patches/series
--- pymtp-0.0.4/debian/patches/series
+++ pymtp-0.0.4/debian/patches/series
@@ -1,0 +2 @@
+modificationdate-ctype.diff
only in patch2:
unchanged:
--- pymtp-0.0.4.orig/debian/patches/modificationdate-ctype.diff
+++ pymtp-0.0.4/debian/patches/modificationdate-ctype.diff
@@ -0,0 +1,20 @@
+Index: pymtp-0.0.4/pymtp.py
+===
+--- pymtp-0.0.4.orig/pymtp.py	2011-07-08 13:24:55.0 -0700
 pymtp-0.0.4/pymtp.py	2011-07-08 13:25:59.0 -0700
+@@ -170,6 +170,7 @@
+ (storage_id, ctypes.c_uint32),
+ (filename, ctypes.c_char_p),
+ (filesize, ctypes.c_uint64),
++			(modificationdate, ctypes.c_long),
+ 			(filetype, ctypes.c_int),
+ 			(next, ctypes.POINTER(LIBMTP_File))]
+ 
+@@ -202,6 +203,7 @@
+ 			(rating, ctypes.c_uint16),
+ 			(usecount, ctypes.c_uint32),
+ 			(filesize, ctypes.c_uint64),
++			(modificationdate, ctypes.c_long),
+ 			(filetype, ctypes.c_int),
+ 			(next, ctypes.POINTER(LIBMTP_Track))]
+ 


Bug#633147: pm-utils: exit status of log used so suspend never inhibited

2011-07-08 Thread Brian Murray
Package: pm-utils
Version: 1.4.1-8
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

It was discovered by an Ubuntu bug reporter that the exist status of log
is used in when running a hook so that suspend is never inhibited as log
always returns 0.  As a test case create /etc/pm/sleep.d/05_avoid_sleep
with the following contents (taken from the Ubuntu bug):

#!/bin/sh

# Avoid suspend
#
# Copyright: Copyright (c) 2010 Paulo J. S. Silva
# License:   GPL-2
#

case ${1} in
suspend|hibernate)
exit 1
;;
resume|thaw)
exit 0
;;
esac

Then execute sudo pm-suspend and observe your system suspending.  With the
included patch the exit status of the hook is used and suspend is inhibited.
This was originally reported in
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/665651 and upstream at
http://bugs.freedesktop.org/show_bug.cgi?id=32210.

  * Add 26-inhibit-on-right-status.patch: Do not use the exit status of log
rather the exit status of the hook thereby allowing inhibit to work.
Thanks to Launchpad user Lekensteyn for the patch. (LP: #665651)


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru pm-utils-1.4.1/debian/patches/26-inhibit-on-right-status.patch pm-utils-1.4.1/debian/patches/26-inhibit-on-right-status.patch
--- pm-utils-1.4.1/debian/patches/26-inhibit-on-right-status.patch	1969-12-31 16:00:00.0 -0800
+++ pm-utils-1.4.1/debian/patches/26-inhibit-on-right-status.patch	2011-07-08 15:02:05.0 -0700
@@ -0,0 +1,23 @@
+Origin: https://launchpad.net/bugs/665651
+Description: Do not use the exit status of log rather the exit status of the hook.
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32210
+Bug-Ubuntu: https://launchpad.net/bugs/665651
+
+
+Index: pm-utils-1.4.1/pm/pm-functions.in
+===
+--- pm-utils-1.4.1.orig/pm/pm-functions.in	2011-07-08 14:55:15.0 -0700
 pm-utils-1.4.1/pm/pm-functions.in	2011-07-08 14:55:57.0 -0700
+@@ -197,9 +197,11 @@
+ 	# rest of args passed to hook unchanged.
+ 	log Running hook $*:
+ 	hook_ok $1  $@
++	# log() changes the return value, so save it for later
++	local status=$?
+ 	log 
+ 	log -n $*:  
+-	hook_exit_status $?  LAST_HOOK=${1##*/} || inhibit
++	hook_exit_status $status  LAST_HOOK=${1##*/} || inhibit
+ }
+ 
+ if profiling; then
diff -Nru pm-utils-1.4.1/debian/patches/series pm-utils-1.4.1/debian/patches/series
--- pm-utils-1.4.1/debian/patches/series	2011-04-12 04:25:09.0 -0700
+++ pm-utils-1.4.1/debian/patches/series	2011-07-08 14:54:43.0 -0700
@@ -8,3 +8,4 @@
 25-pmu.patch
 80-service.patch
 90-nm-proper-wakeup.patch
+26-inhibit-on-right-status.patch


Bug#573863: Patch to resolve gnusound start failure

2010-11-30 Thread Brian Murray
Package: gnusound
Version: 0.7.5-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch


Ubuntu http://launchpad.net/bugs/282939 is about gnusound failing to start on
many previous releases of Ubuntu.  A fix was created by Jon Hornstein which
I've applied to the Ubuntu package and it seems to resolve the issue.

In Ubuntu, we've applied the attached patch to achieve the following:

  * Add patch to fix xsession crashes thanks to Jon Hornstein and Aisano
(LP: #282939) 

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gnusound-0.7.5/debian/patches/series gnusound-0.7.5/debian/patches/series
--- gnusound-0.7.5/debian/patches/series	2010-07-22 16:09:03.0 -0700
+++ gnusound-0.7.5/debian/patches/series	2010-11-30 10:57:38.0 -0800
@@ -14,3 +14,4 @@
 buildsys_datarootdir_ignored
 ldflags_order
 maint_ldflags
+x_session_crash.diff
diff -Nru gnusound-0.7.5/debian/patches/x_session_crash.diff gnusound-0.7.5/debian/patches/x_session_crash.diff
--- gnusound-0.7.5/debian/patches/x_session_crash.diff	1969-12-31 16:00:00.0 -0800
+++ gnusound-0.7.5/debian/patches/x_session_crash.diff	2010-11-30 10:58:31.0 -0800
@@ -0,0 +1,13 @@
+Index: gnusound-0.7.5/src/draw.c
+===
+--- gnusound-0.7.5.orig/src/draw.c	2010-11-30 10:57:46.0 -0800
 gnusound-0.7.5/src/draw.c	2010-11-30 10:58:23.0 -0800
+@@ -794,7 +794,7 @@
+ y2 = y + j * mix_lvl_height + j;
+ s[1] = '\0';
+ if(have_room_for_text)
+-snprintf(s, 128, %d, j + 1);
++snprintf(s, sizeof(s), %u, j + 1);
+ else
+ s[0] = '-';
+ 


Bug#593526: nmap: incorrect services listed for port numbers 9101-9107

2010-08-18 Thread Brian Murray
Package: nmap
Version: 5.21-1~build1
Severity: minor
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick

nmap reports the service jetdirect for port 9102. This is wrong. It should 
report Bacula File Daemon. The port 9102 is officially assigned to Bacula File 
Daemon.

Looking at nmap-services - port numbers 9101 - 9107 are actually incorrect.

This bug report was originally filed about Ubuntu and it can be found at 
http://launchpad.net/bugs/246190

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-24-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#592424: gtimelog: generating reports fails

2010-08-09 Thread Brian Murray
Package: gtimelog
Version: 0.0+svn88-3
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid



When I select a report from the Report menu, a terminal opens, and I get an 
error dialog containing There was an error creating the child process for this 
terminal. I don't see any report.

This bug report was originally filed about Ubuntu and it can be found at 
http://launchpad.net/bugs/328618

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-24-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#571160: irqbalance: incorrect apostrophe in IRQ's string

2010-02-23 Thread Brian Murray
Package: irqbalance
Version: 0.55+20091017-3
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch


The irqbalances.temples file contains the following text:

_Description: Would you like to balance the IRQ's once?

There is an incorrect apostrophe after the word IRQ, it should be IRQs.  I
discovered this on an Ubuntu system but have verified it on Debian sid.
Attached is a patch to resolve the issue.

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-13-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages irqbalance depends on:
ii  debconf [debconf-2.0]1.5.28ubuntu2   Debian configuration management sy
ii  libc62.11.1-0ubuntu2 Embedded GNU C Library: Shared lib
ii  libcap-ng0   0.6.2-4 An alternate posix capabilities li
ii  libglib2.0-0 2.23.4-1ubuntu1 The GLib library of C routines
ii  lsb-base 4.0-0ubuntu7Linux Standard Base 4.0 init scrip
ii  upstart [upstart-job]0.6.5-3 event-based init daemon

irqbalance recommends no packages.

irqbalance suggests no packages.

-- debconf information excluded
diff -u irqbalance-0.55+20091017/debian/irqbalance.templates irqbalance-0.55+20091017/debian/irqbalance.templates
--- irqbalance-0.55+20091017/debian/irqbalance.templates
+++ irqbalance-0.55+20091017/debian/irqbalance.templates
@@ -8,7 +8,7 @@
 Template: irqbalance/oneshot
 Type: boolean
 Default: false
-_Description: Would you like to balance the IRQ's once?
+_Description: Would you like to balance the IRQs once?
  irqbalance can run in one shot mode, where the IRQs are balanced only
  once. This is advantageous on hyperthreading systems such as the Pentium
  4, which appear to be SMP systems, but are really one physical CPU.
diff -u irqbalance-0.55+20091017/debian/po/cs.po irqbalance-0.55+20091017/debian/po/cs.po
--- irqbalance-0.55+20091017/debian/po/cs.po
+++ irqbalance-0.55+20091017/debian/po/cs.po
@@ -46,8 +46,8 @@
 #. Type: boolean
 #. Description
 #: ../irqbalance.templates:2001
-#| msgid Balance the IRQ's once?
-msgid Would you like to balance the IRQ's once?
+#| msgid Balance the IRQs once?
+msgid Would you like to balance the IRQs once?
 msgstr Chcete rozložit přerušení pouze jednou?
 
 #. Type: boolean
diff -u irqbalance-0.55+20091017/debian/po/ro.po irqbalance-0.55+20091017/debian/po/ro.po
--- irqbalance-0.55+20091017/debian/po/ro.po
+++ irqbalance-0.55+20091017/debian/po/ro.po
@@ -42,8 +42,8 @@
 #. Description
 #: ../irqbalance.templates:2001
 #, fuzzy
-#| msgid Balance the IRQ's once?
-msgid Would you like to balance the IRQ's once?
+#| msgid Balance the IRQs once?
+msgid Would you like to balance the IRQs once?
 msgstr Se echilibrează întreruperile o singură dată?
 
 #. Type: boolean
diff -u irqbalance-0.55+20091017/debian/po/templates.pot irqbalance-0.55+20091017/debian/po/templates.pot
--- irqbalance-0.55+20091017/debian/po/templates.pot
+++ irqbalance-0.55+20091017/debian/po/templates.pot
@@ -33,7 +33,7 @@
 #. Type: boolean
 #. Description
 #: ../irqbalance.templates:2001
-msgid Would you like to balance the IRQ's once?
+msgid Would you like to balance the IRQs once?
 msgstr 
 
 #. Type: boolean
diff -u irqbalance-0.55+20091017/debian/po/vi.po irqbalance-0.55+20091017/debian/po/vi.po
--- irqbalance-0.55+20091017/debian/po/vi.po
+++ irqbalance-0.55+20091017/debian/po/vi.po
@@ -41,8 +41,8 @@
 #. Description
 #: ../irqbalance.templates:2001
 #, fuzzy
-#| msgid Balance the IRQ's once?
-msgid Would you like to balance the IRQ's once?
+#| msgid Balance the IRQs once?
+msgid Would you like to balance the IRQs once?
 msgstr Cây nhau các IRQ một lần không?
 
 #. Type: boolean
diff -u irqbalance-0.55+20091017/debian/po/fr.po irqbalance-0.55+20091017/debian/po/fr.po
--- irqbalance-0.55+20091017/debian/po/fr.po
+++ irqbalance-0.55+20091017/debian/po/fr.po
@@ -39,7 +39,7 @@
 #. Type: boolean
 #. Description
 #: ../irqbalance.templates:2001
-msgid Would you like to balance the IRQ's once?
+msgid Would you like to balance the IRQs once?
 msgstr Faut-il répartir les « IRQ » une seule fois ?
 
 #. Type: boolean
diff -u irqbalance-0.55+20091017/debian/po/fi.po irqbalance-0.55+20091017/debian/po/fi.po
--- irqbalance-0.55+20091017/debian/po/fi.po
+++ irqbalance-0.55+20091017/debian/po/fi.po
@@ -38,8 +38,8 @@
 #. Type: boolean
 #. Description
 #: ../irqbalance.templates:2001
-#| msgid Balance the IRQ's once?
-msgid Would you like to balance the IRQ's once?
+#| msgid Balance the IRQs once?
+msgid Would you like to balance the IRQs once?
 msgstr Tasapainotetaanko IRQ:t kerran?
 
 #. Type: boolean
diff -u irqbalance-0.55+20091017/debian/po/de.po irqbalance-0.55+20091017/debian/po/de.po
--- 

Bug#570455: libpcap: path to usbmon in sys has changed

2010-02-18 Thread Brian Murray
Package: libpcap
Version: 1.0.0-6
Severity: important
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch

The path to text-based usbmon files has been changed. Patch attached.

This bug report was originally filed about Ubuntu and it can be found at 
http://launchpad.net/bugs/523349

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-13-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: libpcap-1.0.0/pcap-usb-linux.c
===
--- libpcap-1.0.0.orig/pcap-usb-linux.c	2009-08-03 12:28:21.627395984 -0400
+++ libpcap-1.0.0/pcap-usb-linux.c	2009-08-03 12:28:29.528496263 -0400
@@ -63,7 +63,7 @@
 
 #define USB_IFACE usbmon
-#define USB_TEXT_DIR /sys/kernel/debug/usbmon
+#define USB_TEXT_DIR /sys/kernel/debug/usb/usbmon
 #define USB_BUS_DIR /dev/bus/usb
 #define USB_LINE_LEN 4096
 
 


Bug#570166: iputils: typos in tracepath manpage

2010-02-16 Thread Brian Murray
Package: iputils
Version: 3:20071127-2
Severity: minor
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid

The attached patch, from Seth Arnold, fixes harmless typos in iputils tracepath 
manpage.

ProblemType: Bug
Architecture: amd64
Date: Mon Jan 25 00:46:12 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 Karmic Koala - Release amd64 (20091027)
Package: iputils-tracepath 3:20071127-1build1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: iputils
Uname: Linux 2.6.31-17-generic x86_64

This bug report was originally filed about Ubuntu and it can be found at 
http://launchpad.net/bugs/512227

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-13-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: trunk/doc/tracepath.sgml
===
--- trunk/doc/tracepath.sgml	(revision 131)
+++ trunk/doc/tracepath.sgml	(working copy)
@@ -26,7 +26,7 @@
 para
 It traces path to replaceable/destination/ discovering MTU along this path.
 It uses UDP port replaceable/port/ or some random port.
-It is similar to command/traceroute/, only does not not require superuser
+It is similar to command/traceroute/, only does not require superuser
 privileges and has no fancy options.
 /para
 
@@ -93,7 +93,7 @@
 If the path is asymmetric
 or the probe finishes before it reach prescribed hop, difference
 between number of hops in forward and backward direction is shown
-folloing keyword literal/async/. This information is not reliable.
+following keyword literal/async/. This information is not reliable.
 F.e. the third line shows asymmetry of 1, it is because the first probe
 with TTL of 2 was rejected at the first hop due to Path MTU Discovery.
 /para


Bug#569618: Closes: lists duplicate bug numbers

2010-02-12 Thread Brian Murray
Package: dpkg
Version: 1.15.4.1ubuntu1
Severity: minor
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid

Binary package hint: dpkg

When dpkg generates changes files for packages it ends up duplicating bug 
numbers in the Launchpad-Bugs-Fixed field.  For example consider the following 
from https://lists.ubuntu.com/archives/karmic-changes/2010-January/012162.html:

Launchpad-Bugs-Fixed: 292256 366682 435352 460664 481765 488274 494045 494461 
494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 
494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 
494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 
494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 494633 
494633 494633 494633 494633 494633

This isn't a very green solution and wastes lots of pixels and bits.  While the 
example above shows the problem with Launchpad-Bugs-Fixed: the same is also 
true of Closes: for Debian bug reports. 

Here's a Closes: example:

Closes: 654 987 987
Changes:
 bughugger (10.02.1ubuntu1) lucid; urgency=low
 .
   * The fix that saved the world (LP: #123, #123, #2456, #123)
 (Closes: #987, 654, 987)

This bug report was originally filed about Ubuntu and it can be found at 
http://launchpad.net/bugs/521168

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-13-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#569618: Possible patch

2010-02-12 Thread Brian Murray
Attached is the patch that is pending review for possible inclusion into
Ubuntu.

Usertags: ubuntu-patch

-- 
Brian Murray @ubuntu.com
--- scripts/Dpkg/Changelog.pm	2009-09-18 13:39:36 +
+++ scripts/Dpkg/Changelog.pm	2010-02-12 21:28:36 +
@@ -720,12 +720,14 @@
 sub find_closes {
 my $changes = shift;
 my @closes = ();
+my %seen = ();
 
 while ($changes 
 	   ($changes =~ /closes:\s*(?:bug)?\#?\s?\d+(?:,\s*(?:bug)?\#?\s?\d+)*/ig)) {
 	push(@closes, $ =~ /\#?\s?(\d+)/g);
 }
 
+@closes = grep { ! $seen{$_} ++ } @closes;
 @closes = sort { $a = $b } @closes;
 return \...@closes;
 }

--- scripts/Dpkg/Vendor/Ubuntu.pm	2009-05-21 06:45:45 +
+++ scripts/Dpkg/Vendor/Ubuntu.pm	2010-02-12 21:28:36 +
@@ -92,12 +92,14 @@
 sub find_launchpad_closes {
 my ($changes) = @_;
 my @closes = ();
+my %seen = ();
 
 while ($changes 
   ($changes =~ /lp:\s+\#\d+(?:,\s*\#\d+)*/ig)) {
push(@closes, $ =~ /\#?\s?(\d+)/g);
 }
 
+@closes = grep { ! $seen{$_} ++ } @closes;
 @closes = sort { $a = $b } @closes;
 
 return \...@closes;


signature.asc
Description: Digital signature


Bug#569618: Closes: lists duplicate bug numbers

2010-02-12 Thread Brian Murray
On Fri, Feb 12, 2010 at 11:07:57PM +0100, Raphael Hertzog wrote:
 Not any longer (in = 1.15.5), see commit 
 a8a51a4a53e923250ccc4bf0c2c040a211991c90 in
 dpkg's git repo.
 
 The problem still exists for Launchpad-Bugs-Fixed.
 
  This bug report was originally filed about Ubuntu and it can be found at
  http://launchpad.net/bugs/521168
 
 I see a branch here. Why didn't you attach your patch in the Debian bug
 report?

I did after the initial bug filing, sorry about that.
 
 Anyway, I suggest changing Dpkg/Vendor/Ubuntu.pm in the same way that I
 changed find_closes() in a8a51a4a53e923250ccc4bf0c2c040a211991c90. Feel
 free to do the change, test it and send a patch here.

Attached is such a patch that I tested and worked well.
 
-- 
Brian Murray @ubuntu.com
--- scripts/Dpkg/Vendor/Ubuntu.pm	2009-05-21 06:45:45 +
+++ scripts/Dpkg/Vendor/Ubuntu.pm	2010-02-12 22:27:15 +
@@ -91,14 +91,14 @@
 
 sub find_launchpad_closes {
 my ($changes) = @_;
-my @closes = ();
+my %closes;
 
 while ($changes 
   ($changes =~ /lp:\s+\#\d+(?:,\s*\#\d+)*/ig)) {
-   push(@closes, $ =~ /\#?\s?(\d+)/g);
+$closes{$_} = 1 foreach($ =~ /\#?\s?(\d+)/g);
 }
 
-@closes = sort { $a = $b } @closes;
+my @closes = sort { $a = $b } keys %closes;
 
 return \...@closes;
 }



signature.asc
Description: Digital signature


Bug#569257: preinst does not check for /var/log/dpkg/info/denyhosts.postrm before using it

2010-02-10 Thread Brian Murray
Package: denyhosts
Version: 2.6-6.1
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid

Binary package hint: denyhosts

In lucid alpha2 when installing denyhosts on a fresh system aptitude (or 
apt-get) shows an error form the preinst script:

/var/lib/dpkg/tmp.ci/preinst: 10: cannot open 
/var/lib/dpkg/info/denyhosts.postrm: No such file

The existence of the file should be checked before using it.

full output:

r...@ubuntu-lucid-alpha2:~# aptitude -y install denyhosts
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information  
Initializing package states... Done
The following NEW packages will be installed:
  denyhosts 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 66.0kB of archives. After unpacking 442kB will be used.
Writing extended state information... Done
Get:1 http://es.archive.ubuntu.com lucid/universe denyhosts 2.6-6.1 [66.0kB]
Fetched 66.0kB in 0s (139kB/s)
Selecting previously deselected package denyhosts.
(Reading database ... 43531 files and directories currently installed.)
Unpacking denyhosts (from .../denyhosts_2.6-6.1_all.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 10: cannot open 
/var/lib/dpkg/info/denyhosts.postrm: No such file
Processing triggers for ureadahead ...
Setting up denyhosts (2.6-6.1) ...
 * Starting DenyHosts denyhosts 
 [ OK ] 

Reading package lists... Done 
Building dependency tree   
Reading state information... Done
Reading extended state information  
Initializing package states... Done
Writing extended state information... Done

This bug report was originally filed about Ubuntu and it can be found at 
http://launchpad.net/bugs/516160

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#569077: dvb-apps: missing channel for es-Sevilla

2010-02-09 Thread Brian Murray
Package: linuxtv-dvb-apps
Version: 1.1.1+rev1273-1
Severity: normal
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid

Initial scan file for Sevilla (/usr/share/dvb/dvb-t/es-Sevilla) is incomplete. 
It lacks the following line:

T 73800 8MHz 2/3 NONE QAM64 8k 1/4 NONE # Local channels: Giralda TV, Ver-T

This affects all ubuntu releases.

This bug report was originally filed about Ubuntu and it can be found at 
http://launchpad.net/bugs/518605

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#445258: Possible patch

2009-08-24 Thread Brian Murray
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

I was experiencing the same bug in Ubuntu with slrn version
1.0.0~pre11-1 which is sync'ed from Debian.  I'm not familiar with
s-lang but made the attached changes to the multipart.sl macro and
threading behaved much better for me.

-- 
Brian Murray @ubuntu.com
--- /usr/share/slrn/slang/multipart.sl	2009-06-15 13:43:00.0 -0700
+++ multipart.sl	2009-08-24 07:53:36.0 -0700
@@ -40,7 +40,7 @@ define subject_compare_hook ( subject1, 
 
while (tmp  0)
{
-  pos1 = pos1 + 4 + tmp;
+  pos1 = tmp;
   tmp = string_match(subject1, pattern, pos1 + 5);
}
 
@@ -48,7 +48,7 @@ define subject_compare_hook ( subject1, 
tmp = string_match(subject2, pattern, pos2 + 5);
while (tmp  0)
{
-  pos2 = pos2 + 4 + tmp;
+  pos2 = tmp;
   tmp = string_match(subject2, pattern, pos2 + 5);
}
 


Bug#540548: id3lib-3.8.3 crashes in ID3_TagHeader::Size()

2009-08-08 Thread Brian Murray
Package: id3lib-3.8.3
Version: 3.8.3-7.2
Severity: normal 
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu bug http://launchpad.net/bugs/399423, Thomas Eschenbacher
found that id3lib3.8.3 crashes in ID3_TagHeader::Size() due to a missing
null pointer check when parsing some mp3 files.  He reported the bug
upstream at
http://sourceforge.net/tracker/?func=detailaid=2821464group_id=979atid=100979
but it has not yet been looked at or incorporated.  The patch is
attached.

Thanks,
-- 
Brian Murray @ubuntu.com
--- id3lib-3.8.3/src/header_tag.cpp.orig	2003-03-02 01:23:00.0 +0100
+++ id3lib-3.8.3/src/header_tag.cpp	2009-07-13 22:54:21.0 +0200
@@ -54,7 +54,7 @@
 {
   size_t bytesUsed = ID3_TagHeader::SIZE;
 
-  if (_info-is_extended)
+  if (_info  _info-is_extended)
   {
 bytesUsed += _info-extended_bytes;
   }


signature.asc
Description: Digital signature


Bug#523357: German manpage points to english doc file

2009-04-09 Thread Brian Murray
Package: aptitude
Version: 0.4.11.11
Severity: minor 
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

The German manpage of aptitude contains a link to
/usr/share/doc/aptitude/html/index.html which is the non-localized
version of that file.  It should most likely point to
/usr/share/doc/aptitude/html/de/index.html.  I've included a patch that
does that.

This bug was originally reported about Ubuntu and the report is at
http://launchpad.net/bugs/348548.

-- 
Brian Murray @ubuntu.com
--- manpage.xml.orig	2009-04-09 08:33:27.0 -0700
+++ manpage.xml	2009-04-09 08:31:48.0 -0700
@@ -862,7 +862,7 @@
 titleSiehe auch/title
 
 para
-  citerefentryrefentrytitleapt-get/refentrytitlemanvolnum8/manvolnum/citerefentry, citerefentryrefentrytitleapt/refentrytitlemanvolnum8/manvolnum/citerefentry, filename/usr/share/doc/aptitude/html/index.html/filename
+  citerefentryrefentrytitleapt-get/refentrytitlemanvolnum8/manvolnum/citerefentry, citerefentryrefentrytitleapt/refentrytitlemanvolnum8/manvolnum/citerefentry, filename/usr/share/doc/aptitude/html/de/index.html/filename
 /para
   /refsect1
 /refentry


Bug#523140: grsync menu entry in Network seems misplaced

2009-04-08 Thread Brian Murray
Package: grsync
Version: 0.6.2-1
Severity: minor 
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

grsync places a menu entry in network however it doesn't really seem to
have the ability to back up files over network connections.  The debian
control files states:

It currently supports only a limited set of the most important rsync
features, but can be used effectively for local directory
synchronization.

Attached is a patch to change the menu entry from Network to System.
This bug was originally reported about Ubuntu at
http://launchpad.net/bugs/354912.

-- 
Brian Murray @ubuntu.com
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03-menu.dpatch by  leothehob...@gmail.com
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad grsync-0.6.1~/grsync.desktop grsync-0.6.1/grsync.desktop
--- grsync-0.6.1~/grsync.desktop2007-08-20 16:17:09.0 +0200
+++ grsync-0.6.1/grsync.desktop 2009-04-08 12:36:44.0 +0200
@@ -6,7 +6,7 @@
 Icon=grsync.png
 Terminal=false
 Type=Application
-Categories=Application;Network;
+Categories=Application;System;
 Comment=Synchronize files with rsync
 Comment[fr]=Interface GTK pour rsync
 Comment[it]=Sincronizza file con rsync


Bug#450598: exceptions.AttributeError: 'NoneType' object has no attribute 'backend'

2009-04-03 Thread Brian Murray
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jaunty

This bug was also reported about the package version 1.9.36.3+nmu1 in
Ubuntu at http://launchpad.net/bugs/305234.  One of the people
experiencing the bug, Matt Brown, came up with the attached patch.
diff -Nru apt-proxy-1.9.36.3+nmu1/apt_proxy/fetchers.py apt-proxy-1.9.36.3+nmu1ubuntu1/apt_proxy/fetchers.py
--- apt-proxy-1.9.36.3+nmu1/apt_proxy/fetchers.py	2007-04-17 14:52:07.0 -0700
+++ apt-proxy-1.9.36.3+nmu1ubuntu1/apt_proxy/fetchers.py	2009-04-03 10:10:04.0 -0700
@@ -932,7 +932,7 @@
 
 log.debug(start next download (%s) % (self.activeFile.cache_path), 'DownloadQueue')
 
-if self.fetcher is not None:
+if self.fetcher is not None and self.fetcher.backendServer is not None:
 if self.fetcher.backendServer.backend != self.activeFile.backend:
 log.debug(old:%s new:%s %(self.fetcher.backendServer.backend,self.activeFile.backend) 
   , 'DownloadQueue')


signature.asc
Description: Digital signature


Bug#520458: possible buffer overflow

2009-03-19 Thread Brian Murray
Package: vifm
Version: 0.4-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

In Ubuntu the vifm package is built with fortify source and this was
causing vifm to not to run due to a possible buffer overflow because of
an incorrect size in snprintf.  For further information see Ubuntu bug
http://launchpad.net/bugs/301607.  I've attached a patch that resolves
the issue and is based on Kjell Braden's work in the same bug report.

Additionally, when I was creating an updated Ubuntu package I noticed
there were some backup files (README.debian, config.c, debian/rules) in
the package that might need some cleaning up.

-- 
Brian Murray @ubuntu.com
--- vifm-0.4.orig/src/color_scheme.c
+++ vifm-0.4/src/color_scheme.c
@@ -44,7 +44,7 @@
 load_default_colors()
 {
 
-	snprintf(col_schemes[0].name, PATH_MAX, Default);
+	snprintf(col_schemes[0].name, NAME_MAX, Default);
 	snprintf(col_schemes[0].dir, PATH_MAX, /);
 
 	col_schemes[0].color[0].name = MENU_COLOR;
@@ -262,7 +262,7 @@
 	//		sizeof(Col_scheme *) +1);
 
 snprintf(col_schemes[cfg.color_scheme_num].name,
-		PATH_MAX, %s, s1);
+		NAME_MAX, %s, s1);
 
 cfg.color_scheme_num++;
 


signature.asc
Description: Digital signature


Bug#519603: imdb-get fails due to HTML layout changes

2009-03-13 Thread Brian Murray
Package: imdb-tools
Version: 0.7-1
Severity: grave
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

The HTML layout of pages at the imdb changed and now searching fails
without returning any results.  This can be recreated by using a command
like:

 imdb-get -s Hook

A patch was submitted by an Ubuntu user to
http://launchpad.net/bugs/313260.  I've tested the patch it resolves the
issue.

-- 
Brian Murray @ubuntu.com
--- imdb-tools-0.7.orig/imdb-get.sh
+++ imdb-tools-0.7/imdb-get.sh
@@ -216,7 +216,7 @@
else
   TEMPCHOICES=`mktemp`
   files=(${fil...@]} $TEMPCHOICES)
-   $TEMP tidy -iq -w 1000 2/dev/null | sed 's/t\([dr][^]*\)/t\1\n/g' | sed -n '/^ *a href=\/title\/tt/s,^ *a href=/title/\(tt[0-9]*\)/\([^]*\)/a\([^]*\).*,\1%\2 \3,p'  $TEMPCHOICES
+   $TEMP tidy -iq -w 1000 2/dev/null | sed 's/t\([dr][^]*\)/t\1\n/g' | sed -n '/^ *a href=\/title\/tt/s,^ *a href=/title/\(tt[0-9]*\)/.*\([^]\+\)/a\([^]*\).*,\1%\2 \3,p'  $TEMPCHOICES
   (( i = 1 ))
   IFS='
 '


Bug#468424: system-tools-backends: typo in debian/control file

2008-02-28 Thread Brian Murray
Package: system-tools-backends
Version: 2.5.7-0ubuntu1
Severity: minor

The debian control file contains a misspelling of the word regardless in
the Description section for both system-tools-backends and
system-tools-backends-dev.

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages system-tools-backends depends on:
ii  libc62.7-5ubuntu2GNU C Library: Shared libraries
ii  libdbus-1-3  1.1.2-1ubuntu2  simple interprocess messaging syst
ii  libdbus-glib-1-2 0.74-1  simple interprocess messaging syst
ii  libglib2.0-0 2.15.6-0ubuntu2 The GLib library of C routines
ii  libnet-dbus-perl 0.33.5-1Perl extension for the DBus messag
ii  libpolkit-dbus2  0.7-2ubuntu4library for accessing PolicyKit vi
ii  libpolkit2   0.7-2ubuntu4library for accessing PolicyKit

system-tools-backends recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#407949: searching help in openoffice impress on amd64 causes hang

2007-05-21 Thread Brian Murray
I have also noticed this bug using openoffice.org-impress version
2.2.1~rc1-1.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#408155: squid not compiled with --enable-follow-x-forwarded-for option

2007-01-23 Thread Brian Murray
Package: squid
Version: 2.6.5-4
Severity: minor

Squid is not compiled with the --enable-follow-x-forwarded-for option
which is useful when using squid in conjunction with dansguardian.
This was originally reported in launchpad, Ubuntu's bugtracker, by
SirRance.  The original bug is located here:
https://bugs.launchpad.net/ubuntu/+source/squid/+bug/76926 .  More
information about this option can be found here:
http://squid.sourceforge.net/projects.html#follow_xff .  This option
also needs to be enabled in ACL so it seems like a potentially safe
change.

Thanks,

Brian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]