Skip to contentSkip to conversation

mc: Fix QA warning RDEPENDS of util-linux-libmount

PATCH In review Aníbal Limón 2 participants 4 messages Aug 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mc: Fix QA warning RDEPENDS of util-linux-libmount

mc depends on libmount that uses for try to mount filesystems.

---
 meta/recipes-extended/mc/mc_4.8.14.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/mc/mc_4.8.14.bb +1 -1
index 8fec0b3..e662a9b 100644
@@ -4,7 +4,7 @@ LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2"
 SECTION = "console/utils"
 DEPENDS = "ncurses glib-2.0"
-RDEPENDS_${PN} = "ncurses-terminfo"
+RDEPENDS_${PN} = "ncurses-terminfo util-linux"
 
 SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
            "
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Aníbal Limón

+RDEPENDS_${PN} = "ncurses-terminfo util-linux"

DEPENDS, no RDEPENDS.

Ross

#2 lore raw

The QA warnings saya "mc rdepends on util-linux-libmount",

May be the QA message need to be fixed.

alimon

Quoted 9 lines · Ross
Quoted 2 lines · Aníbal Limón

+RDEPENDS_${PN} = "ncurses-terminfo util-linux"

DEPENDS, no RDEPENDS.

Ross

#3 lore raw
Quoted 2 lines · Aníbal Limón

The QA warnings saya "mc rdepends on util-linux-libmount",

The warning is "%s rdepends on %s, but it isn't a build dependency?". In this case, mc RDEPENDS on util-linux-libmount (via linking to libmount, and then the appropriate RDEPENDS being added automatically) but nothing in DEPENDS provides util-linux-libmount.

In this case where we want libmount to be deterministically on, the solution is to add util-linux to DEPENDS (so util-linux-libmount is always available).

Ross