Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331719 - sys-libs/gdbm-1.8.3-r4: unable to open datatbase after upgrade from -r3
Summary: sys-libs/gdbm-1.8.3-r4: unable to open datatbase after upgrade from -r3
Status: RESOLVED DUPLICATE of bug 299390
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 07:20 UTC by Peter Volkov (RETIRED)
Modified: 2010-08-09 07:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2010-08-09 07:20:52 UTC
After upgrade from gdbm-1.8.3-r3 to -r4 qpopper's popauth is unable to open database any more with the following error:

1257 etc # popauth -list
popauth: unable to open POP authentication DB /etc/pop.auth:
	Invalid argument (22) [1046]

Relevant code from qpopper's ./popper/popauth.c:

    db = gdbm_open ( auth_file, 512, GDBM_READER, 0, 0 );
    if ( db == NULL)
        adios ( HERE, "unable to open POP authentication DB %s:\n\t%s (%i) [%i]",
                auth_file, strerror(errno), errno, __LINE__ );

Nothing special here, so I'm unsure why upgrade broke database. Does upgrade on -r4 works for anybody ?
Comment 1 SpanKY gentoo-dev 2010-08-09 07:45:39 UTC
the ebuild clearly warned you about this.  please read the log messages in the future.

*** This bug has been marked as a duplicate of bug 299390 ***