Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] libreoffice emerge no longer works with mysql use
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Mon Feb 18, 2019 6:57 pm    Post subject: [solved] libreoffice emerge no longer works with mysql use Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Mon Feb 18, 2019 7:46 pm    Post subject: Reply with quote

Like this https://bugs.gentoo.org/674450?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Mon Feb 18, 2019 7:55 pm    Post subject: Reply with quote

Quote:
Like this https://bugs.gentoo.org/674450?


Yes, like those errors.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Mon Feb 18, 2019 8:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Mon Feb 18, 2019 10:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Tue Feb 19, 2019 10:32 am    Post subject: Reply with quote

No need to unmask, just emerge --sync.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 729

PostPosted: Wed Feb 20, 2019 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Wed Feb 20, 2019 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum