Package: po-debconf
Version: 0.8.18
Severity: minor
Tags: patch

Hi. I've tried to build my package in fakechroot environment. The build process
hangs up on po2debconf and question about mv command. It is probably the problem
with fakechroot because it is just a hack but there is very easy workaround
for po2debconf.

The message from debuild:

po2debconf --podir=debian/po 'debian/tmp-php5-common/DEBIAN/templates' > 
'debian/tmp-php5-commo
n/DEBIAN/templates.merge'
Warning:Outdated PO file: debian/po/cs.po, running
  debconf-updatepo --podir=debian/po
mv: overwrite `/tmp/po2debconf.XXXX8Omd53', overriding mode 0600?

The output from ls:

-rw-------  1 root root 4734 Feb  6 06:25 /tmp/po2debconf.XXXX8Omd53
-rw-------  1 root root    0 Feb  6 06:25 /tmp/po2debconf.XXXXWdJiYP

The trivial patch:

--- /usr/bin/po2debconf.orig    2005-02-07 12:21:08.000000000 +0000
+++ /usr/bin/po2debconf 2005-02-07 12:21:14.000000000 +0000
@@ -283,7 +283,7 @@
         exit 1
 }
 ls -l $tmpfile $outfile 1>&2
-sed -e 's/^DefaultChoice/Default/' $outfile > $tmpfile && mv $tmpfile $outfile
+sed -e 's/^DefaultChoice/Default/' $outfile > $tmpfile && mv -f $tmpfile 
$outfile

 [ -n "$is_tmp" ] && cat "$outfile"



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages po-debconf depends on:
ii  gettext                    0.14.1-8      GNU Internationalization utilities
ii  intltool-debian            0.30+20040213 Help i18n of RFC822 compliant conf
ii  perl                       5.8.4-5       Larry Wall's Practical Extraction 

-- no debconf information


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

Reply via email to