View previous topic :: View next topic |
Author |
Message |
jagdpanther l33t
Joined: 22 Nov 2003 Posts: 729
|
Posted: Mon Feb 18, 2019 6:57 pm Post subject: [solved] libreoffice emerge no longer works with mysql use |
|
|
When I attempted to update libreoffice-6.1.4.2 to libreoffice-6.1.5.2 (stable) today I received several compile-time errors. I noticed that "mysql" was present in these errors and after reading the following news item, I added a "-mysql" use flag to my libreoffice line in /etc/portage/package.use/portage and the new libreoffice emerged without issue.
news item:
Quote: | 2019-02-13-virtual-mysql-depenedency
Title MySQL server and library dependency shift
Author Brian Evans <grknight@gentoo.org>
Posted 2019-02-13
Revision 1
Due to the complexity of supporting multiple client libraries,
the Gentoo MySQL maintainers have decided to drop dependencies on the
server installation where it is not absolutely necessary.
This will mean that packages might not automatically install the server
as a dependency since it does not have to exist on the local machine.
To ensure uninterrupted service, verify that the server package,
such as dev-db/mariadb, dev-db/mysql, etc, is included in the world file
where it is in operation. This can be accomplished by running emerge
with the --noreplace option.
Eg.: emerge --noreplace dev-db/mariadb |
Last edited by jagdpanther on Wed Feb 20, 2019 5:42 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Mon Feb 18, 2019 7:46 pm Post subject: |
|
|
Like this https://bugs.gentoo.org/674450? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
jagdpanther l33t
Joined: 22 Nov 2003 Posts: 729
|
Posted: Mon Feb 18, 2019 7:55 pm Post subject: |
|
|
Yes, like those errors. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Mon Feb 18, 2019 8:01 pm Post subject: |
|
|
The try to unmask mysql-connector-c++-1.1.11 or 1.1.12 if you want mysql use flag _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
jagdpanther l33t
Joined: 22 Nov 2003 Posts: 729
|
Posted: Mon Feb 18, 2019 10:55 pm Post subject: |
|
|
fedeliallalinea:
Thank you.
For Libreoffice I don't really need the mysql use flag. I have it set in /etc/portage/make.conf because I use mysql (actually mariadb) for a couple of other packages. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Tue Feb 19, 2019 10:32 am Post subject: |
|
|
No need to unmask, just emerge --sync. |
|
Back to top |
|
|
jagdpanther l33t
Joined: 22 Nov 2003 Posts: 729
|
Posted: Wed Feb 20, 2019 5:39 pm Post subject: |
|
|
Problem solved. No more "-mysql" use flag needed.
(dev-db/mysql-connector-c++-1.1.11 is now a dependency that is emerged if "mysql" use flag is set.)
Thanks asturm. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Wed Feb 20, 2019 6:39 pm Post subject: |
|
|
The dependency was always there, it's just that 1.1.11 has been stabilised and is now available to all stable users, fixing the issue that apparently some users had (inconclusive about the real reason; neither stable testers nor my systems were able to reproduce the build issue). |
|
Back to top |
|
|
|