Jump to content
funtoo forums
  • 0
ainsley31415926

require echo='echo' to emerge

Question

Recently I have had to add echo='echo' in order to emerge some packages.

 

 

for example with

emerge  dev-libs/libxml2

 

I get lots of errors such as

./libtool: line 941: X--tag=CC: command not found
./libtool: line 941: X--mode=compile: command not found
./libtool: line 1252: X-DHAVE_CONFIG_H: command not found
./libtool: line 1252: Xx86_64-pc-linux-gnu-gcc: command not found
 

 

etc

 

But if I do this:

echo='echo' emerge  dev-libs/libxml2

 

It emerges without problems.

 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I see no difference on my system. Wether I add "echo='echo'" to the emerge command or not makes no difference.

 

Adding that command and seeing the error messages I would say it could be a problem with the quotation mark.

 

Have you tried other commands like e.g. "x='x'"? Are there any other messages? Which version of portage are you using?

Share this post


Link to post
Share on other sites
  • 0

is a "total desaster" _'_

[ebuild     U  ] dev-libs/libsodium-1.0.14 [1.0.13]
[ebuild     U  ] net-misc/youtube-dl-2017.09.15 [2017.09.11]
[ebuild     U  ] sys-cluster/openmpi-2.1.2 [2.1.1]
[ebuild     U  ] sys-apps/portage-2.3.8-r5 [2.3.8-r4]
[ebuild     U  ] kde-apps/akonadi-17.08.1-r1 [17.08.1]
[blocks B      ] >=dev-db/mariadb-10.2 (">=dev-db/mariadb-10.2" is blocking kde-)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (kde-apps/akonadi-17.08.1-r1:5/5::kde-kit, ebuild scheduled for merge) pulled
    >=kde-apps/akonadi-17.08.1:5 required by (kde-apps/kgpg-17.08.1:5/5::kde-kit
    >=kde-apps/akonadi-17.08.1:5 required by (kde-apps/akonadi-contacts-17.08.1:)
    >=kde-apps/akonadi-17.08.1:5 required by (kde-apps/akonadi-mime-17.08.1:5/5:

  (dev-db/mariadb-10.2.8:0/18::dev-kit, installed) pulled in by
    =dev-db/mariadb-10.2*[embedded?,server?,static?] (=dev-db/mariadb-10.2*[embeby (virtual/mysql-5.6-r9:0/18::nokit, installed)
    dev-db/mariadb:0/18[client-libs(+),static-libs?,abi_x86_32(-)?,abi_x86_64(-)ips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_(-)?] (dev-db/mariadb:0/18[client-libs(+),abi_x86_32(-),abi_x86_64(-)]) requiredient-18:0/18::nokit, installed)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages

ci74771ht ~ # emerge -C maridb
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

--- Couldn't find 'maridb' to unmerge.

>>> No packages selected for removal by unmerge
ci74771ht ~ #

Share this post


Link to post
Share on other sites
  • 0

this is pretty much happens often with portage unable to solve conflicts. Daniel is working on improving this, notice that during many years portage developers didn't actually tried to fix it. For this particular problem:

akonadi cannot work with maridab-10.2, and 10.2 is the version you have installed on your box. if you put maridab-10.2 into package.mask, it will solve.

Share this post


Link to post
Share on other sites
  • 0

Recently I have had to add echo='echo' in order to emerge some packages.

 

 

for example with

emerge  dev-libs/libxml2

 

I get lots of errors such as

./libtool: line 941: X--tag=CC: command not found

./libtool: line 941: X--mode=compile: command not found

./libtool: line 1252: X-DHAVE_CONFIG_H: command not found

./libtool: line 1252: Xx86_64-pc-linux-gnu-gcc: command not found

 

 

etc

 

But if I do this:

echo='echo' emerge  dev-libs/libxml2

 

It emerges without problems.

its not possible to get a clue about this failure and why echo='echo' fixes. paste build.log of libxml2 failure.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×