Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507476 - dev-libs/libgamin-0.1.10-r5: pulls in old (and irrelevant) pkg-config distfile
Summary: dev-libs/libgamin-0.1.10-r5: pulls in old (and irrelevant) pkg-config distfile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-12 07:33 UTC by Michał Górny
Modified: 2014-04-12 12:10 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-12 07:33:46 UTC
SRC_URI="${SRC_URI}
    mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
    http://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2
    http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf

Is this because of some circular dep issues?
Comment 1 Pacho Ramos gentoo-dev 2014-04-12 09:39:39 UTC
Probably was included at:
  11 Jul 2011; Samuli Suominen <ssuominen@gentoo.org>
  libgamin-0.1.10-r2.ebuild:
  Stop depending on dev-util/pkgconfig wrt #374775 by dragos240. USE="static-libs"
  and remove libtool archive.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-04-12 12:07:44 UTC
(In reply to Michał Górny from comment #0)
> SRC_URI="${SRC_URI}
>     mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
>    
> http://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2
>     http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" #
> pkg.m4 for eautoreconf
> 
> Is this because of some circular dep issues?

yes, something like libgamin -> glib with USE=fam -> pkgconfig -> glib

the ebuild still runs eautoreconf, so the distfile is still required, otherwise eautoreconf fails if dev-util/pkgconfig is not installed
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-04-12 12:10:48 UTC
top of prepare... copy the pkg.m4 to unique directory away from other .m4 files...

mv -vf "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die

bottom of prepare... point the eautoreconf to directory where pkg.m4 is:

AT_M4DIR="${WORKDIR}" eautoreconf