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#5069 - mc needs pkgconfig as makedep

Attached to Project: Arch Linux
Opened by Andreas Radke (AndyRTR) - Tuesday, 18 July 2006, 20:22 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Low
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm just rebuilding mc in a very clean chroot to get drop an unwanted dependency (slang). That's the state now: depends=('e2fsprogs' 'glib2' 'gpm')
But it seems mc wants to have old glib or pkgconfig+glib2 to solve configure checks.

checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
checking for glib-config... no
checking for glib12-config... no
checking for glib-config... no
checking for GLIB - version >= 1.2.6... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: Test for glib failed.
GNU Midnight Commander requires glib 1.2.6 or above.
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting...

With glib installed it builds fine but namcap reports this:

[andyrtr@workstation64 archboot]$ namcap /home/daten/arch64/chroot/current/home/andyrtr/current_packages/mc-4.6.1-4.2.pkg.tar.gz
mc E: Dependency detected and not included (glib) from files ['usr/bin/mc', 'usr/bin/mcview', 'usr/bin/mcedit']
mc W: Dependency included and not needed (glib2)

removing glib and installing pkgconfig solves all errors. so it should be the best way to add pkgconfig as a makedep for next update.
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 19 July 2006, 17:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in CVS HEAD.

Loading...