Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799404 - dev-util/cargo-ebuild-0.3.2: missing net-libs/http-parser in RDEPEND
Summary: dev-util/cargo-ebuild-0.3.2: missing net-libs/http-parser in RDEPEND
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-01 00:25 UTC by Andrew Udvare
Modified: 2021-07-01 16:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2021-07-01 00:25:42 UTC
I get this error when I try to run cargo-ebuild without http-parser installed, and it's not pulled in by cargo-ebuild.

 $ cargo-ebuild -h
cargo-ebuild: error while loading shared libraries: libhttp_parser.so.2.9: cannot open shared object file: No such file or directory

Reproducible: Always

Steps to Reproduce:
1. emerge -C net-libs/http-parser
2. emerge -1 dev-util/cargo-ebuild
3. Run `cargo-ebuild`
Actual Results:  
Does not run.

Expected Results:  
Should run.
Comment 1 Ionen Wolkens gentoo-dev 2021-07-01 04:12:46 UTC
Hm, wonder where that came from.

Mine isn't linked with http_parser and it doesn't seem to be automagic either (doesn't matter whether I have it installed or not), unless there's some other requirement to trigger it.

What does
    lddtree /usr/bin/cargo-ebuild
output?
Comment 2 Andrew Udvare 2021-07-01 04:19:30 UTC
I checked my PATH and it had ~/.cargo/bin and of course somehow cargo-ebuild got in there, not built from Portage. That was the one requesting http-parser be present.

Invalid ticket.
Comment 3 Ionen Wolkens gentoo-dev 2021-07-01 04:32:53 UTC
Ah sneaky .cargo, thanks for re-checking.
Comment 4 Georgy Yakovlev archtester gentoo-dev 2021-07-01 16:16:57 UTC
yeah old cargo-ebuild used to depend on it (because it used full cargo as a library, which depends on http parser) 

you must have built it manually at some point =)

new one does not, it uses cargo-metadata crate which does not even download anything.