Bug#905761: backuppc: FTBFS with merged /usr

2018-08-09 Thread Damyan Ivanov
Package: backuppc
Version: 3.3.1-5
Severity: serious

Hi,

backuppc fails to build with merged /usr in a sbuild chroot, created with 
current debootstrap. Debootstrap enabled merged /usr since version 1.0.85, see 
https://bugs.debian.org/839046

The build fails when a patch is applied to the generated config.pl file. Since 
the path to cat is now /usr/bin/cat instead of /bin/cat, the patch fails to 
apply.

Here's the failing part of the patch:
-
@@ -224,7 +227,7 @@
 # Full path to various commands for archiving
 #
 $Conf{SplitPath} = '/usr/bin/split';
-$Conf{ParPath}   = '/usr/bin/par2';
+$Conf{ParPath}   = '/usr/bin/par2' if -x '/usr/bin/par2';
 $Conf{CatPath}   = '/bin/cat';
 $Conf{GzipPath}  = '/bin/gzip';
 $Conf{Bzip2Path} = '/bin/bzip2';
-

And here's the failing part of the build log:
--
install --mode=644 debian/apache.conf debian/backuppc/etc/backuppc
rmdir debian/backuppc/var/lib/backuppc/conf/
rmdir: failed to remove 'debian/backuppc/var/lib/backuppc/conf/': No such file o
r directory
make: [debian/rules:67: install] Error 1 (ignored)
(cd debian/backuppc/usr/share/backuppc/cgi-bin; ln -s ../image; ln -s /usr/lib/b
ackuppc/cgi-bin/index.cgi )
patch --no-backup-if-mismatch -p0 < debian/config.pl.diff
patching file debian/backuppc/etc/backuppc/config.pl
Hunk #2 FAILED at 227.
Hunk #4 succeeded at 1021 (offset -3 lines).
1 out of 7 hunks FAILED -- saving rejects to file debian/backuppc/etc/backuppc/c
onfig.pl.rej
make: *** [debian/rules:69: install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit
status 2
-

Full build log attached.

Apparently, the official builds' chroots didn't use merged /usr when the 
package was last built (February 2018), but at some point some of them will, 
leading to inability to build backuppc on official infrastructure.

IMO, adapting the patch to the merged /usr would not work, since then the patch 
will fail on systems without merged /usr.


-- dam
sbuild (Debian sbuild) 0.77.0 (06 July 2018) on pc1.creditreform.bg

+==+
| backuppc 3.3.1-5 (amd64) Wed, 08 Aug 2018 14:22:31 + |
+==+

Package: backuppc
Version: 3.3.1-5
Source Version: 3.3.1-5
Distribution: sid
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary

I: NOTICE: Log filtering will replace 
'var/run/schroot/mount/sid+exp-perl-amd64-b67b90b7-ae44-4d20-b602-62f9cb7b4d9a' 
with '<>'
I: NOTICE: Log filtering will replace 'build/backuppc-t497R0/resolver-4nL5LG' 
with '<>'

+--+
| Update chroot|
+--+

Get:1 http://proxy:/debian sid InRelease [233 kB]
Get:2 http://proxy:/debian experimental InRelease [101 kB]
Get:3 http://perl.debian.net/test-repo perl-5.28 InRelease [2871 B]
Get:4 http://proxy:/debian sid/main amd64 Packages.diff/Index [27.9 kB]
Get:5 http://proxy:/debian sid/main amd64 Packages 2018-08-04-0814.44.pdiff 
[20.5 kB]
Get:6 http://proxy:/debian sid/main amd64 Packages 2018-08-04-1411.17.pdiff 
[9739 B]
Get:7 http://proxy:/debian sid/main amd64 Packages 2018-08-04-2013.33.pdiff 
[17.8 kB]
Get:8 http://proxy:/debian sid/main amd64 Packages 2018-08-05-0209.24.pdiff 
[15.5 kB]
Get:9 http://proxy:/debian sid/main amd64 Packages 2018-08-05-0806.31.pdiff 
[2966 B]
Get:10 http://proxy:/debian sid/main amd64 Packages 
2018-08-05-1409.33.pdiff [18.0 kB]
Get:11 http://proxy:/debian sid/main amd64 Packages 
2018-08-05-2014.01.pdiff [9558 B]
Get:12 http://proxy:/debian sid/main amd64 Packages 
2018-08-06-0208.11.pdiff [4773 B]
Get:13 http://proxy:/debian sid/main amd64 Packages 
2018-08-06-0809.42.pdiff [5408 B]
Get:14 http://proxy:/debian sid/main amd64 Packages 
2018-08-06-1412.59.pdiff [16.0 kB]
Get:15 http://proxy:/debian sid/main amd64 Packages 
2018-08-06-2047.08.pdiff [31.4 kB]
Get:16 http://proxy:/debian sid/main amd64 Packages 
2018-08-07-0215.15.pdiff [9234 B]
Get:17 http://proxy:/debian sid/main amd64 Packages 
2018-08-07-0814.06.pdiff [5576 B]
Get:18 http://proxy:/debian sid/main amd64 Packages 
2018-08-07-1417.50.pdiff [17.6 kB]
Get:19 http://proxy:/debian sid/main amd64 Packages 
2018-08-07-2009.40.pdiff [13.1 kB]
Get:20 http://proxy:/debian sid/main amd64 Packages 
2018-08-08-0208.47.pdiff [4775 B]
Get:21 http://proxy:/debian sid/main amd64 Packages 
2018-08-08-0809.52.pdiff [7784 B]
Get:21 http://proxy:/debian sid/main amd64 Packages 
2018-08-08-0809.52.pdiff [7784 B]
Get:22 

Bug#752024: Perl 5.20 transition imminent

2014-07-28 Thread Damyan Ivanov
Control: severity -1 serious

Perl 5.20 is planned to hit unstable around the 12th of August, at which
point your package will become unbuildable and/or uninstallable.

We plan to start doing NMUs to DELAYED/5 of all the packages which have
a patch attached on or about 2nd of August, but a maintainer upload
would be warmly appreciated.

-- dam
   Debian Perl Group


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53d6b47d.17a0617.210e7...@ktnx.net



Bug#752470: Perl 5.20 transition imminent

2014-07-28 Thread Damyan Ivanov
Control: severity -1 serious

Perl 5.20 is planned to hit unstable around the 12th of August, at which
point your package will become unbuildable and/or uninstallable.

We plan to start doing NMUs to DELAYED/5 of all the packages which have
a patch attached on or about 2nd of August, but a maintainer upload
would be warmly appreciated.

-- dam
   Debian Perl Group


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53d6b47d.17a3696.41dca...@ktnx.net



Bug#752799: Perl 5.20 transition imminent

2014-07-28 Thread Damyan Ivanov
Control: severity -1 serious

Perl 5.20 is planned to hit unstable around the 12th of August, at which
point your package will become unbuildable and/or uninstallable.

We plan to start doing NMUs to DELAYED/5 of all the packages which have
a patch attached on or about 2nd of August, but a maintainer upload
would be warmly appreciated.

-- dam
   Debian Perl Group


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53d6b47d.17a378d.70f6f...@ktnx.net



Bug#752346: graphviz: hardcodes /usr/lib/perl5

2014-06-30 Thread Damyan Ivanov
Control: tag -1 patch

-=| Niko Tyni, 22.06.2014 23:03:21 +0300 |=-
 Package: graphviz
 Version: 2.26.3-17
 Severity: important
 User: debian-p...@lists.debian.org
 Usertags: perl-5.20-transition
 
 Starting with version 5.20.0 (currently in experimental), the Debian
 perl package is changing the vendorarch library path (currently
 /usr/lib/perl5) to include the multiarch triplet and the perl version. See
 #748380 for details.
 
 For this to work, packages containing binary perl modules need to migrate
 from using the hardcoded /usr/lib/perl5 directory to the value of the
 $Config{vendorarch} variable, as defined in the 'Config' module.
 
 This package builds successfully with perl_5.20.0-1 from experimental,
 but still installs the Perl files into /usr/lib/perl5 so they won't be
 on the Perl search path anymore.

Attached is a patch that makes use of $Config{vendorarch} in 
libgv-perl.install. Note that even though the original file used 
${DEB_HOST_MULTIARCH}, $Config{vendorarch} is still better, as the 
later may also change with different perl releases.

Cheers,
dam
diff --git a/debian/libgv-perl.install b/debian/libgv-perl.install
index f607d6c..933d15e 100755
--- a/debian/libgv-perl.install
+++ b/debian/libgv-perl.install
@@ -1,5 +1,8 @@
-#! /usr/bin/dh-exec --with-scripts=subst-multiarch
-usr/lib/*/graphviz/perl/gv.pm usr/lib/perl5
-usr/lib/*/graphviz/perl/gv.so usr/lib/${DEB_HOST_MULTIARCH}/perl5/auto/gv
-usr/lib/*/graphviz/perl/libgv_perl.so usr/lib/${DEB_HOST_MULTIARCH}/perl5/auto/gv
-usr/share/man/man3/gv.3perl
+#! /usr/bin/perl
+use Config;
+my $vendorarch = substr( $Config{vendorarch}, 1 );
+
+print usr/lib/*/graphviz/perl/gv.pm $vendorarch\n;
+print usr/lib/*/graphviz/perl/gv.so $vendorarch/auto/gv\n;
+print usr/lib/*/graphviz/perl/libgv_perl.so $vendorarch/auto/gv\n;
+print usr/share/man/man3/gv.3perl\n;


Bug#747710: amanda: FTBFS on sid/amd64: configure: error: Cannot build the Amazon S3 device

2014-05-26 Thread Damyan Ivanov
Control: -1 patch

-=| Niko Tyni, 11.05.2014 14:13:09 +0300 |=-
 On Sun, May 11, 2014 at 01:37:04PM +0300, Niko Tyni wrote:
  Package: amanda
  Version: 1:3.3.3-2 
  Severity: serious
  
  This package fails to build on current sid/amd64. Tail of the build log:
 
checking for HMAC_CTX_init in -lcrypto... no
 
  It looks like the build dependencies don't pull in libssl-dev anymore
  on a clean system.
 
 This is probably due to this change:
 
 curl (7.36.0-2) unstable; urgency=medium
 
   * Move Depends on -dev packages needed to use static libraries to 
   Suggests

Adding libssl-dev to the build-dependencies makes the configure step 
pass, but here's what I get during compilation:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config 
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -D_GNU_SOURCE -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -O2 -g -Wall 
-DAMANDATES_FILE=\/var/lib/amanda/amandates\ -DIGNORE_TAR_ERRORS -MT 
localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c localcharset.c  
-fPIC -DPIC -o .libs/localcharset.o
In file included from localcharset.c:28:0:
./stdio.h:456:20: error: 'gets' undeclared here (not in a function)
 _GL_WARN_ON_USE (gets, gets is a security hole - use fgets instead);
^
Makefile:1318: recipe for target 'localcharset.lo' failed
make[5]: *** [localcharset.lo] Error 1

The commit for the above change removes a bunch of dependencies, but 
I get this error even if I add all of them (excluding libssh2-1-dev, 
which seems to bring a conflict around libgcrypt-dev virtual package).

This seems to be a problem with gnulib/stdio.in.h. Removing lines 
140-145 fixes the error.

Cheers,
dam


signature.asc
Description: Digital signature


Bug#306895: Reopening #306895: Wrong charset in myspell-bg

2010-09-03 Thread Damyan Ivanov
unarchive 306895
found 306895 3.0-5
retitle 306895 wrong charset in myspell-bg
thanks

Today I was bitten again by this bug, the fix for which was reverted 
in 3.0-5.

It seems that OpenOffice.org and the other libraries accessing the 
dictionary cannot settle on one valid encoding name. OO.o insists on 
microsoft-cp1251, while the rest of the world understands cp1251.

Either an universally-acceptible charset should be used, or the file should 
be converted to UTF-8, which everybody should understand.

Gedit and other hunspell-using applications seem to be happy with 
Windows-1251 and cp1251, while OO.o only accepts microsoft-cp1251.

Converting the file (and the .dic) to UTF-8 and setting the SET header 
to that makes everyone happy.

I'll try to provide a patch for using UTF-8 for myspell-bg.


signature.asc
Description: Digital signature


Bug#306895: #306895: recode bg_BG.ff and bg_BG.dic to UTF-8

2010-09-03 Thread Damyan Ivanov
tags 306895 patch
thanks

Here is a patch that recodes bg_BG.aff and bg_BG.dic to UTF-8.



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1283511677-6878-1-git-send-email-...@debian.org



Bug#306895: #306895: recode bg_BG.ff and bg_BG.dic to UTF-8

2010-09-03 Thread Damyan Ivanov
tags 306895 patch
thanks

Here relly is a patch that recodes bg_BG.aff and bg_BG.dic to UTF-8.

My first attempt with git-send-mail was unsuccessful.
From dff1c8eb730f657a2f190f7cf68b4b0157904457 Mon Sep 17 00:00:00 2001
From: Damyan Ivanov d...@debian.org
Date: Fri, 3 Sep 2010 13:50:14 +0300
Subject: [PATCH] recode bg_BG.aff and bg_BG.dic to UTF-8

This fixes #306895 in Debian and #346856 in Ubuntu.

Only these two files are recoded and the heading in bg_BG.add is changed from
'SET microsoft-1251' to 'SET UTF-8'

The .dic file becomes ~80% larger after the conversion (1.5MB), but I guess
this is a price to be paid.
---
 debian/changelog |8 
 debian/rules |5 +++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dc805be..cc62005 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+bgoffice (3.0-12) UNRELEASED; urgency=low
+
+  * convert bg_BG.{dic,aff} to UTF-8.
+Finally closes: #306895 and LP#346856 -- myspell: wrong charset for either
+OpenOffice.org or mozilla-thinderbird/gedit/gtranslator/...
+
+ -- Damyan Ivanov d...@debian.org  Fri, 03 Sep 2010 12:42:13 +0300
+
 bgoffice (3.0-11) unstable; urgency=medium
 
   * QA upload.
diff --git a/debian/rules b/debian/rules
index e617ffb..b5481f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,12 +31,13 @@ build-stamp:
 	 }' ${build_dir}/bg_BG.aff debian/bg_affix.dat
 	awk '{ \
 		if($$1 == SET) \
-			print SET microsoft-cp1251; \
+			print SET UTF-8; \
 		else \
 			print; \
-	 }' ${build_dir}/bg_BG.aff debian/bg_BG.aff
+	 }' ${build_dir}/bg_BG.aff | konwert cp1251-utf8  debian/bg_BG.aff
 	awk -f debian/oo2ispell.awk ${build_dir}/bg_BG.aff ${build_dir}/bulgarian.aff
 	tail -n +2 ${build_dir}/bg_BG.dic | sort -t/ -k1,1 -f ${build_dir}/bulgarian.dic
+	konwert -O cp1251-utf8 ${build_dir}/bg_BG.dic
 	cd ${build_dir}  buildhash bulgarian.dic bulgarian.aff bulgarian.hash
 	LC_ALL=bg_BG sort ${build_dir}/bg_words.dat ${build_dir}/bulgarian
 	mkdir -p debian/docs
-- 
1.7.1



signature.asc
Description: Digital signature