Package: mahara
Version: 1.5.1-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package produces a lot of
debsums errors after a squeeze->wheezy upgrade:

2m3.4s ERROR: FAIL: debsums reports modifications inside the chroot:
  /usr/share/php/dwoo/Dwoo.php
  /usr/share/php/dwoo/plugins/builtin/functions/math.php
  /usr/share/php/dwoo/plugins/builtin/functions/extendsCheck.php
  /usr/share/php/dwoo/plugins/builtin/functions/tif.php
  /usr/share/php/dwoo/plugins/builtin/functions/load_templates.php
  /usr/share/php/dwoo/plugins/builtin/blocks/block.php
  /usr/share/php/dwoo/plugins/builtin/blocks/textformat.php
  /usr/share/php/dwoo/plugins/builtin/blocks/section.php
  /usr/share/php/dwoo/plugins/builtin/blocks/for.php
  /usr/share/php/dwoo/plugins/builtin/blocks/template.php
  /usr/share/php/dwoo/Dwoo/Adapters/CodeIgniter/controllers/dwoowelcome.php
  /usr/share/php/dwoo/Dwoo/Adapters/CakePHP/dwoo.php
  /usr/share/php/dwoo/Dwoo/Adapters/ZendFramework/View.php
  /usr/share/php/dwoo/Dwoo/Compiler.php
  /usr/share/php/dwoo/Dwoo/Data.php
  /usr/share/php/dwoo/Dwoo/ITemplate.php
  /usr/share/php/dwoo/Dwoo/Smarty/Adapter.php

This is probably caused by some symlink mess:

1m55.4s INFO: dirname part contains a symlink:
  /usr/share/mahara/lib/dwoo/dwoo/CHANGELOG != /usr/share/php/dwoo/CHANGELOG 
(mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo != /usr/share/php/dwoo/Dwoo (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo.compiled.php != 
/usr/share/php/dwoo/Dwoo.compiled.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo.php != /usr/share/php/dwoo/Dwoo.php 
(mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo/Adapters != 
/usr/share/php/dwoo/Dwoo/Adapters (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo/Adapters/Agavi != 
/usr/share/php/dwoo/Dwoo/Adapters/Agavi (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo/Adapters/Agavi/DwooRenderer.php != 
/usr/share/php/dwoo/Dwoo/Adapters/Agavi/DwooRenderer.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins != 
/usr/share/php/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins/t.php != 
/usr/share/php/dwoo/Dwoo/Adapters/Agavi/dwoo_plugins/t.php (mahara)
[...]
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/reverse.php != 
/usr/share/php/dwoo/plugins/builtin/functions/reverse.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/safe.php != 
/usr/share/php/dwoo/plugins/builtin/functions/safe.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/spacify.php != 
/usr/share/php/dwoo/plugins/builtin/functions/spacify.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/string_format.php 
!= /usr/share/php/dwoo/plugins/builtin/functions/string_format.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/strip_tags.php != 
/usr/share/php/dwoo/plugins/builtin/functions/strip_tags.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/tif.php != 
/usr/share/php/dwoo/plugins/builtin/functions/tif.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/truncate.php != 
/usr/share/php/dwoo/plugins/builtin/functions/truncate.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/upper.php != 
/usr/share/php/dwoo/plugins/builtin/functions/upper.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/whitespace.php != 
/usr/share/php/dwoo/plugins/builtin/functions/whitespace.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/functions/wordwrap.php != 
/usr/share/php/dwoo/plugins/builtin/functions/wordwrap.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/helper.array.php != 
/usr/share/php/dwoo/plugins/builtin/helper.array.php (mahara)
  /usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/processors != 
/usr/share/php/dwoo/plugins/builtin/processors (mahara)
  
/usr/share/mahara/lib/dwoo/dwoo/plugins/builtin/processors/pre.smarty_compat.php
 != /usr/share/php/dwoo/plugins/builtin/processors/pre.smarty_compat.php 
(mahara)

This looks like stuff is getting installed over an existing symlink,
overwriting other files ... dpk intentionally does not replace
directories with syminks and vice versa. You need to use maintainer
scripts to support this properly, usually:
* link becomes dir: preinst: delete symlink that shall become a directory
* dir becomes link: postinst: delete empty directory and create symlink
   manually


Andreas

Attachment: mahara_1.5.1-2.log.gz
Description: GNU Zip compressed data

Reply via email to