Summary: | master install set broken on Debian systems: dependency problems | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Jean-Baptiste Faure <jbfaure> |
Component: | Installation | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | altsysrq, arnaud.versini, bjoern.michaelsen, cloph, gautier.sophie, glgxg, ignaz.forster, ikuya, jmadero.dev, lohmaier, p_kongstad, rene, sbergman, tim |
Version: | 4.2.0.0.alpha0+ Master | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=78234 | ||
Whiteboard: | target:4.2.0 target:4.3.0 | ||
i915 platform: | i915 features: | ||
Attachments: |
log of dpkg
log of dpkg in English |
Description
Jean-Baptiste Faure
2013-10-18 04:53:57 UTC
Hello Jean-Baptiste, *, I can confirm this bug with Debian Testing AMD64 and LO Version: 4.2.0.0.alpha0+ Build ID: 6aa0488da21ef21b9da68253682b174f11f305f5 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2013-10-17_00:51:48 ... :( I will change the status to new. Sorry for the inconvenience Thomas. The dependencies on both >= %PACKAGEVERSION and <= %PACKAGEVERSION were introduced into the setup_native/source/packinfo/packinfo_*.txt files with the fix for bug 65541. But it looks like that %PACKAGEVERSION expands to a shorter value than what is actually used for the DEB Version, "4.2.0.0.alpha0" vs. "4.2.0.0.alpha0-1". See the comment "There appears to be some confusion in those files between %PACKAGEVERSION and %ABOUTBOXPRODUCTVERSION, but those seem to always get identical values in instsetoo_native/util/openoffice.lst.in." [<http://cgit.freedesktop.org/libreoffice/core/commit/?id=d07cbe86f34ca6dfc6580b63879235c339831a5e> "http://cgit.freedesktop.org/libreoffice/core/commit/?id=d07cbe86f34ca6dfc6580b63879235c339831a5e"] Maybe %ABOUTBOXPRODUCTVERSION started to expand to the longer value now, leading to the mismatch? (In reply to comment #2) > See the comment "There appears to be some confusion in those files between > %PACKAGEVERSION and %ABOUTBOXPRODUCTVERSION, but those seem to always get > identical values in instsetoo_native/util/openoffice.lst.in." > [<http://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=d07cbe86f34ca6dfc6580b63879235c339831a5e> > "http://cgit.freedesktop.org/libreoffice/core/commit/ > ?id=d07cbe86f34ca6dfc6580b63879235c339831a5e"] Maybe > %ABOUTBOXPRODUCTVERSION started to expand to the longer value now, leading > to the mismatch? Unlikely, as (a) ABOUTBOXPRODUCTVERSION and PACKAGEVERSION are still defined the same in instsetoo_native/util/openoffice.lst.in and (b) the "-1" suffix was already there in the 4.1 DEB Versions according to comment 0. So might be a problem in EPM and/or our use of EPM, that DEB Versions get a "-1" suffix appended to the packinfo_*.txt "packageversion" value somewhere along the way, but which is not reflected in the corresponding version information encoded in packinfo_*.txt "requires" values? Adding some people on CC who might be knowledgeable. Christian Lohmaier committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=65a7e714292dbf4c5a2a4f5760f3b546d603c40c fdo#70596 - fix version dependency for deb-packages 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. Thank you very much Christian. With your fix I can install the master under Ubuntu without error messages from dpkg. Sophie: good news for you :-) Best regards. JBF Christian Lohmaier committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4356aef48a8fcbd9dd019c0ca2d6a189d7332d0c fdo#70596 - fix version dependency for linux package - 2nd try 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. Christian Lohmaier committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c002aa137860fc91be815eaf44a489c2653e39f9&h=libreoffice-4-2 fdo#70596 - fix version dependency for linux package - 2nd try It will be available in LibreOffice 4.2.1. 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. Christian Lohmaier committed a patch related to this issue. It has been pushed to "libreoffice-4-2-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=28ad7024bb21ff27316c0af7ebd082506f555432&h=libreoffice-4-2-0 fdo#70596 - fix version dependency for linux package - 2nd try It will be available already in LibreOffice 4.2.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. Created attachment 91747 [details]
log of dpkg
Hi Christian,
I am afraid that your patch broke something. When I install my release build of LO 4.2.1.0+ I get many error messages for dependency problems.
I attached the log from dpkg on Ubuntu 13.10 x86-64
I did 2 trials, firstly I installed the new packages over the old ones, then I removed all LO 4.2.1 packages and tried again.
Best regards. JBF
Reopened according to my previous comment. Best regards. JBF Thanks. So while the first patch did only work for RC1 versions, the second/current one does work for all RCs, but still doesn't work for branch/master builds (as they have additional part in version-number) Created attachment 91749 [details]
log of dpkg in English
Same log but in English.
Best regards. JBF
removing from the mab4.2 issue, as it won't occur for release-builds, only master/branch when there's the additional version element that isn't dealt with yet. (i.e. not only maj.min.mic.rel but maj.min.mic.rel.0+) Hi, just wondering if any more headway has been made on fixing this in the master builds. When installing a daily 4.2 build, I get many of the "dependency problems prevent configuration" errors described previously. Ditto with master (4.3alpha) Thanks. Note that you get a rather recent releases from https://launchpad.net/~libreoffice/+archive/ppa and even prereleases from https://launchpad.net/~libreoffice/+archive/libreoffice-prereleases *** Bug 77396 has been marked as a duplicate of this bug. *** Hi, I copy here my notes from my duplicate of this bug (#77396), for those wanting to carry on with daily builds: I had, possibly foolishly, followed the normal README_en-US instructions, ie doing a "sudo dpkg -i *.deb" to install. The instructions ate https://wiki.documentfoundation.org/Installing_in_parallel indicate that it's better to install as a normal user in a directory within the DEBS, using "for i in ../*.deb; do dpkg-deb -x $i . ; done" Using this second technique the installation of 4.2.4.0 daily build (dated 14/04/14) succeeded. So I guess that the fault (if it's agreed there is an issue) is the instructions within the daily build readmes. It would help if these were omitted completely, and a URL to the wiki document above was supplied, or corrected for daily builds. A simple fix for this would be to just append a '+' to the version in the generated upper bound dependency, so the dependencies would look like: Depends: libreofficedev4.2-ure (>= 4.2.0.0.alpha0), libreofficedev4.2-ure (<= 4.2.0.0.alpha0+) Since + sorts after - in dpkg version comparisons, this will achieve what's wanted here: $ dpkg --compare-versions '4.2.0.0.alpha0-1' \<= '4.2.0.0.alpha0' && echo OK $ dpkg --compare-versions '4.2.0.0.alpha0-1' \<= '4.2.0.0.alpha0+' && echo OK OK $ dpkg --compare-versions '4.2.0.0.alpha1-1' \<= '4.2.0.0.alpha0+' && echo OK That's assuming that the dependency just needs a package with the same upstream version ("4.2.0.0.alpha0" in this case), or that you just never produce packages with a debian revision other than "-1". Or if you want an exact version dependency, you can specify that using: Depends: libreofficedev4.2-ure (= ${binary:Version}) The "${binary:Version}" is literal - it gets expanded by deb-substvars when the binary packages are assembled. *** Bug 78234 has been marked as a duplicate of this bug. *** *** Bug 78852 has been marked as a duplicate of this bug. *** On 05/18/2014 12:00 PM, bugzilla-daemon@freedesktop.org wrote: > Jorendc <mailto:jorendc@libreoffice.org> changed bug 70596 > <https://bugs.freedesktop.org/show_bug.cgi?id=70596> > What Removed Added > CC p_kongstad@op.pl > > *Comment # 21 <https://bugs.freedesktop.org/show_bug.cgi?id=70596#c21> > on bug 70596 <https://bugs.freedesktop.org/show_bug.cgi?id=70596> from > Jorendc <mailto:jorendc@libreoffice.org> * > ***Bug 78852 <show_bug.cgi?id=78852> has been marked as a duplicate of this bug. *** > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You are on the CC list for the bug. > Hi, This has not been an issue for me in the past only on 4.3, so I disagree that this is resolved and a duplicate of 70596 Christian Lohmaier committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a95d12b547e2635e10aa074fe42f12a0ea151163 fdo#70596 dependency problem with debian packages for master/dev builds 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. Christian Lohmaier committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7ffba8e88ac527e473ca74996c6a453f392e63f1&h=libreoffice-4-2 fdo#70596 dependency problem with debian packages for master/dev builds It will be available in LibreOffice 4.2.6. 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. Hi, This is so trivial I wasn't sure if I should report it, but when you enable the "Systray Quickstarter" in Linux, it doesn't work. Or it doesn't work with MY Linux. I am using Zorin-OS version 8. I have been using LibreOffice for quite some time, donated $10 awhile back and I have been very happy seeing how this software has developed. I am using it more than MS-Office. Everything else is great. and this is relevant to this issue how? correct it isn't. This seems to be fixed - if I'm incorrect, apologies. Setting to RESOLVED->FIXED. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.