Skip to content

Commit

Permalink
libmcrypt: fix multilib conflict
Browse files Browse the repository at this point in the history
It fails to install libmcrypt-dev and lib32-libmcrypt-dev at same time:

Error: Transaction test error:
  file /usr/bin/libmcrypt-config conflicts between attempted installs of
  libmcrypt-dev-2.5.8-r0.core2_64 and lib32-libmcrypt-dev-2.5.8-r0.i586

Use MULTILIB_SCRIPTS from multilib_script.bbclass to handle them.

Signed-off-by: Kai Kang <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kkang-wr authored and kraj committed Sep 1, 2023
1 parent 87ae6f0 commit ea21dd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d2
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcrypt/files/Libmcrypt/"
UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P<pver>\d+(\.\d+)+)/"

inherit autotools-brokensep gettext binconfig
inherit autotools-brokensep gettext binconfig multilib_script

CFLAGS += "-Wno-error=implicit-int"

Expand All @@ -28,3 +28,5 @@ do_configure() {
}

CLEANBROKEN = "1"

MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/libmcrypt-config"

0 comments on commit ea21dd1

Please sign in to comment.