Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Andreas Tille
Hi, I had a look into #771753 and noticed that the proper maintscripts that should deal with the issue are included into the packaging. However, I can confirm that it only works for package libavifile-0.7c2 but not for libavifile-0.7-bin and libavifile-0.7-dev. I had tried whether the

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Ondřej Surý
I found two things you need to do to avoid breakages: 1. Strip trailing slash for any argument (especially the first argument, e.g. the path) 2. Strip full path for old_path, as readlink -f is a beast in case you have symlink-symlink-dir or something like that E.g. do: symlink_to_dir

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Jean-Michel Nirgal Vourgère
Andreas Tille: I had a look into #771753 and noticed that the proper maintscripts that should deal with the issue are included into the packaging. However, I can confirm that it only works for package libavifile-0.7c2 but not for libavifile-0.7-bin and libavifile-0.7-dev. (...) Does

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Andreas Tille
Hi, On Fri, Dec 12, 2014 at 02:11:59PM +0100, Ondřej Surý wrote: I found two things you need to do to avoid breakages: 1. Strip trailing slash for any argument (especially the first argument, e.g. the path) 2. Strip full path for old_path, as readlink -f is a beast in case you have

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Ondřej Surý
This will never work: Unpacking libavifile-0.7-bin (1:0.7.48~20090503.ds-16.2) over (1:0.7.48~20090503.ds-16.2) ... as the old version is greater than version specified in *.maintscript. Please re-do the test in clean (wheezy, jessie) environment O. On Fri, Dec 12, 2014, at 16:28, Andreas

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Andreas Tille
Hi Jean-Michel, On Fri, Dec 12, 2014 at 02:58:17PM +, Jean-Michel Nirgal Vourgère wrote: Andreas Tille: Does anybody have a clue why symlink_to_dir works perfectly for libavifile-0.7c2 but not for libavifile-0.7-bin and libavifile-0.7-dev? -bin and -dev are missing the Pre-Depends:

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Andreas Tille
Hi, On Fri, Dec 12, 2014 at 04:33:11PM +0100, Ondřej Surý wrote: This will never work: Unpacking libavifile-0.7-bin (1:0.7.48~20090503.ds-16.2) over (1:0.7.48~20090503.ds-16.2) ... as the old version is greater than version specified in *.maintscript. Please re-do the test in clean

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Ying-Chun Liu (PaulLiu)
Hi Andreas, Thanks a lot. I was planned to fix this bug in the weekends. But it seems you've already done. So please just NMU it without any delays, or LowNMU if you like. Yours Sincerely, Paul -- PaulLiu (劉穎駿) E-mail: Ying-Chun Liu (PaulLiu) paul...@debian.org

Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Andreas Tille
Hi Paul, On Sat, Dec 13, 2014 at 12:09:51AM +0800, Ying-Chun Liu (PaulLiu) wrote: Hi Andreas, Thanks a lot. I was planned to fix this bug in the weekends. But it seems you've already done. So please just NMU it without any delays, or LowNMU if you like. Done. Unblock bug filed as well.