Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge update always wants to remerge openldap
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
Mikkl
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 79

PostPosted: Thu Nov 20, 2014 6:37 pm    Post subject: [solved] emerge update always wants to remerge openldap Reply with quote

Hello,

since I've found no one asking the same thing yet I have to ask this myself, but I fear I'm the only one with that problem:

I don't know exactly when it happened, but it started a week or two ago. Since then, on every world update, portage wants to re-merge net-nds/openldap:
Code:

# emerge -pu world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  rR    ] net-nds/openldap-2.4.40-r3  USE="berkdb crypt ipv6 ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -minimal -odbc -overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB


Even if I let portage re-merge it, it will be re-merged again next time. As you can guess, this gets annoying pretty fast. I guess this could have happened with any other package. So my question should better be: How can I find the cause for a package to be re-merged? Apparently there are no USE flag changes or other flags changes that could be the reason and I even didn't tell portage to do it --newuse. Is there another way this might be caused, every time?

Hope someone can help

Greetings, Mikkl


Last edited by Mikkl on Sun Nov 23, 2014 8:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mikkl
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 79

PostPosted: Sat Nov 22, 2014 11:22 am    Post subject: Reply with quote

OK, I tried to look a little deeper into the problem. Portage now only wants to re-merge if I add --deep option to emerge, though I don't know what changed this behaviour.
Code:
emerge --debug -puD openldap


Unfortunately, the resulting ouput is very large and I don't really know what to look out for. wgetpastebin says it is too large, too. A part of the output that may be of interest:

Code:
      Arg: @__auto_slot_operator_replace_installed__
     Atom: net-nds/openldap:0

Child:         (net-nds/openldap-2.4.40-r3:0/0::gentoo, ebuild scheduled for merge) USE="berkdb crypt ipv6 ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -minimal -odbc -overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd -static-libs" ABI_X86="64 -32 -x32"
Parent Dep:    net-nds/openldap:0 required by @__auto_slot_operator_replace_installed__


Does someone know where to start looking? I'm afraid I don't know portage well enough to get on here. Maybe file a bug?
Back to top
View user's profile Send private message
piorekf
n00b
n00b


Joined: 10 Feb 2013
Posts: 2

PostPosted: Sat Nov 22, 2014 4:21 pm    Post subject: Reply with quote

I have exactly same problem. Please share if you find anything interesting.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4555
Location: Germany

PostPosted: Sat Nov 22, 2014 6:08 pm    Post subject: Reply with quote

I had the same problem with openldap

Unmerge openldap and re-merge helps
Code:
emerge --unmerge openldap ; emerge -av1 openldap
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Sun Nov 23, 2014 2:52 pm    Post subject: Reply with quote

may be run

emerge -avuDNt world

to see which package pulls out openldap
Back to top
View user's profile Send private message
Mikkl
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 79

PostPosted: Sun Nov 23, 2014 5:22 pm    Post subject: Reply with quote

Hmm, I did try re-merging it by hand, that didn't help. I don't have ldap in my USE flags. The only package that needs openldap is libreoffice. But openldap somehow pulls out itself, as if the ebuild changed and with it some flag. No idea what's going on :/
Back to top
View user's profile Send private message
Mikkl
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 79

PostPosted: Sun Nov 23, 2014 8:18 pm    Post subject: Reply with quote

I somehow managed to find a solution by unmerging libreoffice, which was the only package depending on openldap, and doing an emerge --depclean. After emerging libreoffice again (and with it openldap), there are now no more complaints. I don't really know what exactly the problem was and what fixed it, but this did it. Surely, it's not an optimal solution. Unmerging and re-emerging e.g. libreoffice and maybe a lot more packages that depend on openldap may take a lot of time. Maybe there is a shorter way. For now, i'm going to mark this as solved. Thank you all for the advice!
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 709
Location: Sota algun pi o alzina...

PostPosted: Wed Nov 26, 2014 10:23 am    Post subject: Reply with quote

Mikkl wrote:
I somehow managed to find a solution by unmerging libreoffice, which was the only package depending on openldap, and doing an emerge --depclean. After emerging libreoffice again (and with it openldap), there are now no more complaints. I don't really know what exactly the problem was and what fixed it, but this did it. Surely, it's not an optimal solution. Unmerging and re-emerging e.g. libreoffice and maybe a lot more packages that depend on openldap may take a lot of time. Maybe there is a shorter way. For now, i'm going to mark this as solved. Thank you all for the advice!


some problem for me, unmerging libreoffice emerge -c and re-merging libreoffice , but this don't refolve the thing.
:roll:
_________________
"~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470
Back to top
View user's profile Send private message
Mikkl
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 79

PostPosted: Wed Nov 26, 2014 5:04 pm    Post subject: Reply with quote

papu, did you do an emerge --depclean so that openldap and its dependencies got purged from the system? For me, libreoffice was the only package depending on openldap, but it may be different for you.
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 709
Location: Sota algun pi o alzina...

PostPosted: Wed Nov 26, 2014 5:31 pm    Post subject: Reply with quote

Mikkl wrote:
papu, did you do an emerge --depclean so that openldap and its dependencies got purged from the system? For me, libreoffice was the only package depending on openldap, but it may be different for you.


yes i say emerge -c that is equal to emerge --depclean
libreoffice is the only one depence for my openldap
and the version openldap is like yours

this occurs every time i emerge something not only doing a emerge world


extra info:
https://tinyurl.com/obxd2kx
https://tinyurl.com/loblf64
_________________
"~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470


Last edited by papu on Thu Nov 27, 2014 12:04 pm; edited 2 times in total
Back to top
View user's profile Send private message
elyes
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2008
Posts: 121
Location: Calvados Normandie France

PostPosted: Thu Nov 27, 2014 9:31 am    Post subject: Reply with quote

I have the same problem with openldap
Code:
equery depends openldap
 * These packages depend on openldap:
app-crypt/gnupg-2.0.26-r2 (ldap ? net-nds/openldap)
app-emulation/wine-1.7.29 (ldap ? net-nds/openldap)
                          (ldap ? >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)])
app-text/acroread-9.5.5-r2 (ldap ? >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)])
net-misc/curl-7.39.0 (ldap ? >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
net-misc/openssh-6.7_p1-r3 (ldap ? net-nds/openldap)

and emerge -C gnupg wine acroread openssh
do not fix the problem

Thx
_________________
Most of U don't even have an IDEA of the MAGNITUDE of the Israeli genocide on Palestine https://sites.google.com/site/palestiniangenocide/
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Nov 27, 2014 9:43 am    Post subject: Reply with quote

elyes wrote:
I have the same problem with openldap
Code:
equery depends openldap
 * These packages depend on openldap:
app-crypt/gnupg-2.0.26-r2 (ldap ? net-nds/openldap)
app-emulation/wine-1.7.29 (ldap ? net-nds/openldap)
                          (ldap ? >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)])
app-text/acroread-9.5.5-r2 (ldap ? >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)])
net-misc/curl-7.39.0 (ldap ? >=net-nds/openldap-2.4.38-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
net-misc/openssh-6.7_p1-r3 (ldap ? net-nds/openldap)

and emerge -C gnupg wine acroread openssh
do not fix the problem

Thx
You could unmerge net-dns/openldap and temporarily put it into /etc/portage/package.mask, then do emerge -uDpvt world.
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 709
Location: Sota algun pi o alzina...

PostPosted: Fri Nov 28, 2014 2:20 am    Post subject: Reply with quote

the solution is--> net-nds/openldap -berkdb
seems that sys-libs/db:6 and this USE are incompatible right now.
then mask db versions or put -berkdb

:mrgreen:
_________________
"~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470
Back to top
View user's profile Send private message
Mikkl
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2006
Posts: 79

PostPosted: Tue Dec 02, 2014 10:21 pm    Post subject: Reply with quote

papu wrote:
the solution is--> net-nds/openldap -berkdb
seems that sys-libs/db:6 and this USE are incompatible right now.
then mask db versions or put -berkdb

After having had the issue on another box now, too, my previous solution didn't work anymore, but yours did. Thanks!
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Dec 03, 2014 9:36 am    Post subject: Reply with quote

papu wrote:
the solution is--> net-nds/openldap -berkdb


Thanks for the information. It works like a charm.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 709
Location: Sota algun pi o alzina...

PostPosted: Wed Dec 03, 2014 8:45 pm    Post subject: Reply with quote

yeah! thanks you my friends.

this solution was from an user of irc that tell me about the same problem that he had, then the thanks are, at the same time, to him and this post

:oops:
_________________
"~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470
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