Bug 85633 - Several programs belong to 2 packages and dpkg does not like that
Summary: Several programs belong to 2 packages and dpkg does not like that
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: David Tardon
URL:
Whiteboard: target:4.4.0
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-10-30 05:42 UTC by Jean-Baptiste Faure
Modified: 2014-11-01 15:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Faure 2014-10-30 05:42:11 UTC
I build LO 4.4.0.0.alpha1+ in release mode to install it on several Linux PC.

This morning, after my own nightly build, something changed: dpkg complains about several programs  which belongs to 2 packages

Version: 4.4.0.0.alpha1+
Build ID: 62c125bbb4d27631af6cbcb498e765c0b215b734
built at home under Ubuntu 14.10 x86-64

/opt/libreoffice4.4/program/oosplash belongs to:
libreoffice4.4_4.4.0.0.alpha1-1_amd64.deb
and
libobasis4.4-core_4.4.0.0.alpha1-1_amd64.deb

/opt/libreoffice4.4/program/sbase belongs to
libreoffice4.4-base_4.4.0.0.alpha1-1_amd64.deb
and
libobasis4.4-core_4.4.0.0.alpha1-1_amd64.deb

/opt/libreoffice4.4/program/scalc belongs to
libreoffice4.4-calc_4.4.0.0.alpha1-1_amd64.deb
and
libobasis4.4-core_4.4.0.0.alpha1-1_amd64.deb

/opt/libreoffice4.4/program/sdraw belongs to
libreoffice4.4-draw_4.4.0.0.alpha1-1_amd64.deb
and
libobasis4.4-core_4.4.0.0.alpha1-1_amd64.deb

/opt/libreoffice4.4/program/simpress belongs to
libreoffice4.4-impress_4.4.0.0.alpha1-1_amd64.deb
and
libobasis4.4-core_4.4.0.0.alpha1-1_amd64.deb

/opt/libreoffice4.4/program/smath belongs to
libreoffice4.4-math_4.4.0.0.alpha1-1_amd64.deb
and
libobasis4.4-core_4.4.0.0.alpha1-1_amd64.deb

/opt/libreoffice4.4/program/swriter belongs to
libreoffice4.4-writer_4.4.0.0.alpha1-1_amd64.deb
and
libobasis4.4-core_4.4.0.0.alpha1-1_amd64.deb

Installation worked with the --force-overwrite dpkg option but it is not a solution.

Best regards. JBF
Comment 1 Jean-Baptiste Faure 2014-10-30 05:43:33 UTC
Hi Michael Stahl, 

I put you in cc because yesterday you pushed commits relative to the installer and I guess the error is there.

Best regards. JBF
Comment 2 David Tardon 2014-10-30 12:42:22 UTC
The reason for this is that the new code leaves an extra comma at the beginning or end of Files records (when a macro expands to ''). par2script.pl does not handle that correctly.
Comment 3 Rene Engelhard 2014-10-31 16:57:09 UTC
fwiw, they ahould stay in the correct subpackage, not in -core if this is fixed :)
Comment 4 Commit Notification 2014-11-01 09:16:09 UTC
David Tardon committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=76d2d78ac48c0ec7fcdc27c841d0777cab732464

fdo#85633 filter out empty file records

It will be available in 4.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 5 Jean-Baptiste Faure 2014-11-01 15:35:54 UTC
Thank you David, it works. :-)

Best regards. JBF