Opening a cdbs task and assigning to pitti as discussed on irc.
The problem here is that the following script which is run by cdbs is causing a conflict with the pkgstriptranslations script:
# symlink identical Gnome help files within packages
if [ -z "$CDBS_NO_GNOME_HELP_SYMLINKING" ] && [ -d debian/ubuntu-docs/usr/share/gnome/help ]; then \
cd debian/ubuntu-docs && LC_ALL=C fdupes -r1nq usr/share/gnome/help | while read s; do \
set -- $(echo $s | tr ' ' '\n' | sort); \ f=$1; shift; \
for d; do \ echo "symlinking duplicate Gnome help file $d to $f"; \ rm $d; ln -s /$f $d; \ done; \
done; \
fi
The conflict is because that script symlinks various identical xml files to one base xml file, like this:
symlinking duplicate Gnome help file usr/share/gnome/help/windows/be/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/bn/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/ceb/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/da/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/en_AU/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/en_CA/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/eo/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/et/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/fa/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/he/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/hr/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/id/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/jv/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/ka/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/kk/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/kn/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/ku/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/lo/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/lv/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/mk/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/ml/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/ms/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/sl/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/sq/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/sr/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/ta/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/th/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/tl/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/tr/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/uk/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
symlinking duplicate Gnome help file usr/share/gnome/help/windows/ur/migratingdata.xml to usr/share/gnome/help/windows/am/migratingdata.xml
Then pkgstriptranslations moves the symlink target into a separate package, which is not installed for every user.
I will work around this in ubuntu-docs and gnome-user-docs by setting CDBS_NO_GNOME_HELP_SYMLINKING=1 but this seems likely to affect all Gnome packages which ship documentation in /usr/share/gnome/help and which use cdbs. Probably the number of files affected in those packages is small, I don't know.
Opening a cdbs task and assigning to pitti as discussed on irc.
The problem here is that the following script which is run by cdbs is causing a conflict with the pkgstriptransla tions script:
# symlink identical Gnome help files within packages NO_GNOME_ HELP_SYMLINKING " ] && [ -d debian/ ubuntu- docs/usr/ share/gnome/ help ]; then \ gnome/help | while read s; do \
f=$1; shift; \
echo "symlinking duplicate Gnome help file $d to $f"; \
rm $d; ln -s /$f $d; \
done; \
if [ -z "$CDBS_
cd debian/ubuntu-docs && LC_ALL=C fdupes -r1nq usr/share/
set -- $(echo $s | tr ' ' '\n' | sort); \
for d; do \
done; \
fi
The conflict is because that script symlinks various identical xml files to one base xml file, like this:
symlinking duplicate Gnome help file usr/share/ gnome/help/ windows/ be/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ bn/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ ceb/migratingda ta.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ da/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ en_AU/migrating data.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ en_CA/migrating data.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ eo/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ et/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ fa/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ he/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ hr/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ id/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ jv/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ ka/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ kk/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ kn/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ ku/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ lo/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ lv/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ mk/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ ml/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ ms/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ sl/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ sq/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ sr/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ ta/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ th/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ tl/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ tr/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ uk/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml gnome/help/ windows/ ur/migratingdat a.xml to usr/share/ gnome/help/ windows/ am/migratingdat a.xml
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
symlinking duplicate Gnome help file usr/share/
Then pkgstriptransla tions moves the symlink target into a separate package, which is not installed for every user.
I will work around this in ubuntu-docs and gnome-user-docs by setting CDBS_NO_ GNOME_HELP_ SYMLINKING= 1 but this seems likely to affect all Gnome packages which ship documentation in /usr/share/ gnome/help and which use cdbs. Probably the number of files affected in those packages is small, I don't know.