Git Product home page Git Product logo

Comments (7)

kdudka avatar kdudka commented on September 17, 2024

Same here with www-client/firefox-66.0.2 and LLVM in slot 6. Per suggestion above, cave resolve ... --abort-at-phase configure, manual fixup of /var/tmp/paludis/www-client-firefox-66.0.2/temp/loadsaveenv and cave resolve ... --skip-until-phase configure made the build start.

from paludis-gentoo-patches.

styrsven avatar styrsven commented on September 17, 2024

My findings on this issue:
in llvm.eclass, the llvm_pkg_setup function adds the llvm path to the PATH variable. The path is the return value from get_llvm_prefix.
get_llvm_prefix uses llvm_check_deps from the ebuild to find which LLVM version the ebuild needs.
Unfortunately, the einfo call in llvm_check_deps contaminates stdout with its text, so that the text (including control characters) gets appended to the path along with the llvm path.

The reason other ebuilds that refers to LLVM in a similar way is probably that autoconf gets used in a way that triggers the error just for firefox. I checked thunderbird and the path gets contaminated the same way, but it builds just fine.

I can think of two possible causes for this issue:

  1. My main hypothesis is that the difference is caused by the fact that einfo is implemented differently in portage (python) vs paludis (bash).
  2. A wild unfounded guess would be that it just happens to work in portage because the error is ignored.

Both of those possible causes is beyond my capacity to try to fix.

My personal workaround is to just comment out the einfo in the ebuild.

from paludis-gentoo-patches.

MageSlayer avatar MageSlayer commented on September 17, 2024

Thanks for your investigation.
I am pretty sure, that your idea about einfo is correct.

BTW.
EAPI7 design also contains:

Output commands no longer pollute stdout
The output channel for commands einfo, elog, etc. was undefined in previous EAPIs. As a result, the messages were frequently output into stdout. While this normally is not a problem, it limits the ability of using them in eclass functions that might be called via command substitution. With the newly-added eqawarn this problem becomes even more likely.
Starting with EAPI 7, those commands are guaranteed not to output to stdout.

Looks like the same logic should be retrofitted into earlier EAPIs :(

from paludis-gentoo-patches.

MageSlayer avatar MageSlayer commented on September 17, 2024

@hlandgarten
Firefox ebuild should emerge now.
Both master and eapi7 branches updated.
Please test and close if ok.

from paludis-gentoo-patches.

kdudka avatar kdudka commented on September 17, 2024

I can confirm that www-client/firefox-66.0.3 builds fine with 9a215e4 but I do not have privileges to close this issue. Thank you for fixing it!

from paludis-gentoo-patches.

hlandgarten avatar hlandgarten commented on September 17, 2024

confirmed bug fixed

from paludis-gentoo-patches.

MageSlayer avatar MageSlayer commented on September 17, 2024

Ok, thanks.

from paludis-gentoo-patches.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.