Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628590 - =dev-libs/apr-1.6.2: (regression on Cygwin) missing shared linkable libapr-1.dll.a
Summary: =dev-libs/apr-1.6.2: (regression on Cygwin) missing shared linkable libapr-1....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://archives.gentoo.org/gentoo-de...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-22 10:16 UTC by Michael Haubenwallner (RETIRED)
Modified: 2017-08-22 12:24 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 Michael Haubenwallner (RETIRED) gentoo-dev 2017-08-22 10:16:28 UTC
=dev-libs/apr-1.5.2 was using prune_libtool_files, but
=dev-libs/apr-1.6.2 now uses find \( -name "*.a" \) -delete

Problem here is that Cygwin uses "lib*.dll.a" (get_libname returns ".dll.a") for linking against the shared library, which is erroneously removed by matching "*.a".

Please either use find \( -name "*.a" -not -name "*$(get_libname)" \), or switch back to prune_libtool_files (along "inherit ltprune" these days[1]).

[1] https://archives.gentoo.org/gentoo-dev/message/04e6b63d9c645688166e160812be2113

Thanks!
/haubi/
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-08-22 12:24:58 UTC
commit b555f57f9d33e18600c6d68a3403cadbdab1f1b9     
Author: Lars Wendler <polynomial-c@gentoo.org>      
Date:   Tue Aug 22 14:15:13 2017                    

    dev-libs/apr: Re-added prune_libtool_files (bug #628590).                                            
                                                    
    Package-Manager: Portage-2.3.8, Repoman-2.3.3