Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605622 - net-dns/updatedd do not work without .la files
Summary: net-dns/updatedd do not work without .la files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-13 23:29 UTC by Maciej S. Szmigiero
Modified: 2017-01-14 06:34 UTC (History)
1 user (show)

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 Maciej S. Szmigiero 2017-01-13 23:29:00 UTC
The fix for bug 577248 broke net-dns/updatedd - now it complains that it can't
find its plugins:
updatedd[24235]: no such plugin: ovh

It turns out that when updatedd searches for plugins what it actually searches for is .la files:
(from src/updatedd.c)
 get_service(DIR *dir, char *buf, size_t size)
{
        struct dirent *dir_info;

        while( (dir_info = readdir(dir)) ) {
                int n;
                char *ptr = strstr(dir_info->d_name, ".la");

                if(strlen(dir_info->d_name) < 6)
                        continue;
(/from src/updatedd.c)

Either the .la files need to be kept or the software need to be modified to search for its plugins in a different way.
Comment 1 Michael Orlitzky gentoo-dev 2017-01-14 06:34:08 UTC
I kept the "--disable-static" parameter to econf, in the hopes that I can fix this bug without reintroducing bug 577248. Please let me know if this doesn't work.

commit 6fa5eeb2e0e5535700c3964f18de4e3de4b23d7f
Author: Michael Orlitzky <mjo@gentoo.org>
Date:   Sat Jan 14 01:31:50 2017 -0500

    net-dns/updatedd: new revision restoring the .la plugins.

    The fix for bug 577248 broke the plugin discovery of updatedd. It's
    not clear if the ".la" extension can simply be replaced by ".so", so
    I've restored the ".la" files for now (by eliminating a call to
    prune_libtool_files).

    Gentoo-Bug: 605622
    Reported-By: Maciej S. Szmigiero

    Package-Manager: portage-2.3.0