<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">That's more or less quite easy:<div class=""><br class=""></div><div class="">perl has a bundled extutils-makemaker which installs the script and the standalone extutils-makemaker wants to install the updated script.</div><div class="">Even if it's now the same - the cpan module is updated more often and bring changes before they're merged into core (likely).</div><div class=""><br class=""></div><div class="">So I'd prefer - even if both files are the same - that cpan > core (poky).</div><div class=""><br class=""></div><div class="">Jens<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 02.02.2019 um 20:30 schrieb Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" class="">alex.kanavin@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">In cases like this I would dig deeper and find out *why* these two<br class="">components want to install binaries with the same name, how the<br class="">binaries differ (if they do), and what do desktop distros do about the<br class="">situation. I typically view patches that add 'blind' use of<br class="">update-alternatives as treating symptoms rather than the issue, but I<br class="">prefer not to fight against it :)<br class=""><br class="">Alex<br class=""><br class="">On Sat, 2 Feb 2019 at 18:38, Jens Rehsack <<a href="mailto:sno@netbsd.org" class="">sno@netbsd.org</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">Hi,<br class=""><br class="">I'm trying to get some recipes building after perl-update, but I'm struggeling for:<br class=""><br class="">ERROR: plack-middleware-fixmissingbodyinredirect-perl-0.12-r0 do_prepare_recipe_sysroot: The file /usr/bin/instmodsh is installed by both perl-native and extutils-makemaker-perl-native, aborting<br class="">ERROR: plack-middleware-fixmissingbodyinredirect-perl-0.12-r0 do_prepare_recipe_sysroot: Function failed: extend_recipe_sysroot<br class="">ERROR: Logfile of failure stored in: /home/sno/gpw-community-bsp/gpw-yocto-platform/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/plack-middleware-fixmissingbodyinredirect-perl/0.12-r0/temp/log.do_prepare_recipe_sysroot.23078<br class=""><br class="">Logfile contains:<br class="">DEBUG: Executing python function do_prepare_recipe_sysroot<br class="">DEBUG: Executing python function extend_recipe_sysroot<br class="">NOTE: Direct dependencies are ['virtual:native:/home/sno/gpw-community-bsp/sources/poky/meta/recipes-devtools/qemu/qemu_3.1.0.bb:do_populate_sysroot', '/home/sno/gpw-community-bsp/sources/poky/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb:do_populate_sysroot', '/home/sno/gpw-community-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_8.2.bb:do_populate_sysroot', 'virtual:native:/home/sno/gpw-community-bsp/sources/meta-cpan/recipes-devel/extutils-makemaker-perl/extutils-makemaker-perl_7.34.bb:do_populate_sysroot', '/home/sno/gpw-community-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_8.2.bb:do_populate_sysroot', '/home/sno/gpw-community-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.29.bb:do_populate_sysroot', 'virtual:native:/home/sno/gpw-community-bsp/sources/poky/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb:do_populate_sysroot', '/home/sno/gpw-community-bsp/sources/poky/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb:do_populate_sysroot', 'virtual:native:/home/sno/gpw-community-bsp/sources/meta-cpan/recipes-www/http-message-perl/http-message-perl_6.18.bb:do_populate_sysroot']<br class="">ERROR: The file /usr/bin/instmodsh is installed by both perl-native and extutils-makemaker-perl-native, aborting<br class="">DEBUG: Python function extend_recipe_sysroot finished<br class="">DEBUG: Python function do_prepare_recipe_sysroot finished<br class="">ERROR: Function failed: extend_recipe_sysroot<br class=""><br class="">Typically such an issue is fixed by:<br class=""><br class="">poky:<br class=""><br class="">diff --git a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb<br class="">index 71653feb53..f66f96919e 100644<br class="">--- a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb<br class="">+++ b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb<br class="">@@ -168,6 +168,39 @@ perl_package_preprocess () {<br class=""> ${PKGD}${libdir}/perl5/config.sh<br class=""> }<br class=""><br class="">+inherit update-alternatives<br class="">+<br class="">+ALTERNATIVE_PRIORITY = "100"<br class="">+<br class="">+ALTERNATIVE_${PN} = "corelist cpan enc2xs encguess h2ph h2xs instmodsh json_pp libnetcfg \<br class="">+ piconv pl2pm pod2html pod2man pod2text pod2usage podchecker podselect \<br class="">+ prove ptar ptardiff ptargrep shasum splain xsubpp zipdetails"<br class="">+ALTERNATIVE_LINK_NAME[corelist] = "${bindir}/corelist"<br class="">+ALTERNATIVE_LINK_NAME[cpan] = "${bindir}/cpan"<br class="">+ALTERNATIVE_LINK_NAME[enc2xs] = "${bindir}/enc2xs"<br class="">+ALTERNATIVE_LINK_NAME[encguess] = "${bindir}/encguess"<br class="">+ALTERNATIVE_LINK_NAME[h2ph] = "${bindir}/h2ph"<br class="">+ALTERNATIVE_LINK_NAME[h2xs] = "${bindir}/h2xs"<br class="">+ALTERNATIVE_LINK_NAME[instmodsh] = "${bindir}/instmodsh"<br class="">+ALTERNATIVE_LINK_NAME[json_pp] = "${bindir}/json_pp"<br class="">+ALTERNATIVE_LINK_NAME[libnetcfg] = "${bindir}/libnetcfg"<br class="">+ALTERNATIVE_LINK_NAME[piconv] = "${bindir}/piconv"<br class="">+ALTERNATIVE_LINK_NAME[pl2pm] = "${bindir}/pl2pm"<br class="">+ALTERNATIVE_LINK_NAME[pod2html] = "${bindir}/pod2html"<br class="">+ALTERNATIVE_LINK_NAME[pod2man] = "${bindir}/pod2man"<br class="">+ALTERNATIVE_LINK_NAME[pod2text] = "${bindir}/pod2text"<br class="">+ALTERNATIVE_LINK_NAME[pod2usage] = "${bindir}/pod2usage"<br class="">+ALTERNATIVE_LINK_NAME[podchecker] = "${bindir}/podchecker"<br class="">+ALTERNATIVE_LINK_NAME[podselect] = "${bindir}/podselect"<br class="">+ALTERNATIVE_LINK_NAME[prove] = "${bindir}/prove"<br class="">+ALTERNATIVE_LINK_NAME[ptar] = "${bindir}/ptar"<br class="">+ALTERNATIVE_LINK_NAME[ptardiff] = "${bindir}/ptardiff"<br class="">+ALTERNATIVE_LINK_NAME[ptargrep] = "${bindir}/ptargrep"<br class="">+ALTERNATIVE_LINK_NAME[shasum] = "${bindir}/shasum"<br class="">+ALTERNATIVE_LINK_NAME[splain] = "${bindir}/splain"<br class="">+ALTERNATIVE_LINK_NAME[xsubpp] = "${bindir}/xsubpp"<br class="">+ALTERNATIVE_LINK_NAME[zipdetails] = "${bindir}/zipdetails"<br class="">+<br class=""> require perl-ptest.inc<br class=""><br class=""> FILES_${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/libperl.so* \<br class=""><br class="">meta-cpan:<br class=""><br class="">diff --git a/recipes-devel/extutils-makemaker-perl/extutils-makemaker-perl_7.34.bb b/recipes-devel/extutils-makemaker-perl/extutils-makemaker-perl_7.34.bb<br class="">index a9d21b1..7a958ed 100644<br class="">--- a/recipes-devel/extutils-makemaker-perl/extutils-makemaker-perl_7.34.bb<br class="">+++ b/recipes-devel/extutils-makemaker-perl/extutils-makemaker-perl_7.34.bb<br class="">@@ -41,4 +41,11 @@ do_install_prepend_class-native() {<br class=""> export PERL5LIB="${PERL_ARCHLIB}"<br class=""> }<br class=""><br class="">+inherit update-alternatives<br class="">+<br class="">+ALTERNATIVE_PRIORITY = "90"<br class="">+<br class="">+ALTERNATIVE_${PN} = "instmodsh"<br class="">+ALTERNATIVE_LINK_NAME[instmodsh] = "${bindir}/instmodsh"<br class="">+<br class=""> BBCLASSEXTEND = "native"<br class=""><br class="">But unfortunately it doesn't show any effect.<br class=""><br class="">Any ideas?<br class=""><br class="">Best regards<br class="">--<br class="">Jens Rehsack - <a href="mailto:rehsack@gmail.com" class="">rehsack@gmail.com</a><br class=""><br class=""></blockquote></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">-- </div><div class="">Jens Rehsack - <a href="mailto:rehsack@gmail.com" class="">rehsack@gmail.com</a></div></div></div>
</div>
<br class=""></div></body></html>