Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4562 - 'make' depends missing 'pkgconfig'

Attached to Project: Arch Linux
Opened by Woody Gilk (Shadowhand) - Thursday, 04 May 2006, 01:25 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 14 January 2007, 09:48 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I know this has been reported before, but it's never been solved before.

The package 'pkgconfig' should be a dep of 'make' due to the necessity of pkg-config being present for all compiles that use automake (and some other make systems as well). An even better solution would be to have 'pkgconfig' a depend of 'gcc', but that might be a little bit overboard, seeing as 'make' is part of Current/base.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 14 January 2007, 10:01 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Thursday, 04 May 2006, 07:40 GMT
Why in the world would you want to do such a thing, you don't need pkgconfig for make to function. pkgconfig should be a makedepend for every package that needs pkgconfig to build, which happens to be almost every autotools using program in this case.
Comment by 甘露(Lu Gan) (ganlu) - Thursday, 04 May 2006, 11:06 GMT
But many packages don't have such line in their PKGBUILD, so that's the actual problem. Maybe we could find a better way to do with it.
Comment by Jan de Groot (JGC) - Thursday, 04 May 2006, 12:45 GMT
Then that package has a bug. I add it to every package when I get to update it.
Comment by Woody Gilk (Shadowhand) - Thursday, 04 May 2006, 17:11 GMT
What, do you add 'gcc' and 'make' and 'automake' and 'autoconf' to every pkgbuild too?!

A clean, simple solution is to just add 'pkgconfig' as a depend of 'make', problem solved. I don't see why this is such an issue. The package is 50K compressed, and ~150K uncompressed. Almost every single package that uses autotools uses pkg-config as well, so what could possibly be the harm in this?

As far as I can tell, this is something that is 100% obvious. Why is there such resistence to doing this? It should have been fixed AGES ago, seeing that it's been brought up more than once before.
Comment by 甘露(Lu Gan) (ganlu) - Friday, 05 May 2006, 15:31 GMT
Sounds a little hackish, How about make "pkgconfig" as a base install (a clean gnome environment doesn't have pkgconfig installed) like "make" (make is not required by any packages too), then change the "wrong" PKGBUILDS.
Comment by arjan timmerman (blaasvis) - Thursday, 18 May 2006, 13:40 GMT
imho this isn't really a bug.
if we add pkgconfig, we also needs to add intltool and possible more, runtime deps are the biggest problem.
i prefere to see a bug report with a list which packages are missing these ? the problem for us is that we do not see them through an namcap or checkpkg. So it is way harder to fix compile time depends.
Comment by Aaron Griffin (phrakture) - Monday, 22 May 2006, 22:04 GMT
I agree with Shadowhand here.
pkgconfig (and other tools) belong somewhere - if it is as a makedepends=() entry, we're also going to have to add gcc, glibc, and many other things as makedepends to be complete. It will also be a ridiculous amount of packages that need 5-10 entries added to makedepends. There's a point where the excess verbosity is just not necessary.

In the past week or so, I have run across a number of new arch users, who try to use the AUR, and immediately get failures, because pkgconfig is not installed. These AUR packages will also need pkgconfig added to makedepends, which is nearly impossible to enforce.

Adding pkgconfig as a depend of something like make, or gcc, or something, will just make the lives of new users easier. I think, regardless of anything else, this fact should be important.
Comment by arjan timmerman (blaasvis) - Thursday, 25 May 2006, 16:30 GMT
after a bit of thinking it would be nice to have these make deps added to "base" in the installer.
Comment by 甘露(Lu Gan) (ganlu) - Friday, 26 May 2006, 11:58 GMT
That is what I recommended, if by default we install pkgconfig, that's OK for most of cases.
Comment by Aaron Griffin (phrakture) - Friday, 26 May 2006, 14:52 GMT
Aye, I would agree as well. The main reason for this is tha pkg-config is needed for alot of things and not installed by default.
Comment by Tobias Powalowski (tpowa) - Sunday, 14 January 2007, 10:01 GMT
moved in to base

Loading...