Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666524 - dev-lang/rust[cargo] should depend on net-libs/http-parser:=
Summary: dev-lang/rust[cargo] should depend on net-libs/http-parser:=
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-19 00:48 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-10-01 08:23 UTC (History)
0 users

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 Arfrever Frehtes Taifersar Arahesis 2018-09-19 00:48:57 UTC
net-libs/http-parser often has changes in soname of library in new minor versions, so its ebuilds have different subslots.


dev-util/cargo has dependency on net-libs/http-parser:= but dev-lang/rust[cargo] currently has dependency on net-libs/http-parser without ":=".


(I do not know if dependencies of dev-lang/rust-bin[cargo] are even slightly correct. scanelf and grep suggest that no...)
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-09-29 19:04:30 UTC
This has been fixed in 1.29.1, thanks for reporting.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2018-09-30 00:20:50 UTC
I see that in rust-bin, net-libs/http-parser was changed to net-libs/http-parser:= but := operator does not make sense in pre-built packages. "net-libs/http-parser:${some_specific_hardcoded_slot_and_subslot}" could be used, but I do not know what value should be used, since scanelf and grep find nothing.

Maybe upstream has built rust-bin with statically linked http-parser? (It would mean that rust-bin should not have such dependency.)
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-10-01 08:19:24 UTC
Yeah, I think that's what they intended to do. git2-sys seems to want to build http-parser from the vendored sources, but somehow on Gentoo stilll pulls in the installed stuff?

https://github.com/alexcrichton/git2-rs/blob/master/libgit2-sys/build.rs

See also https://github.com/alexcrichton/git2-rs/issues/305
Comment 4 Larry the Git Cow gentoo-dev 2018-10-01 08:23:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b04cb4afe914d5fd2fa2b22a95dc445be6e691

commit 93b04cb4afe914d5fd2fa2b22a95dc445be6e691
Author:     Dirkjan Ochtman <djc@gentoo.org>
AuthorDate: 2018-10-01 08:23:11 +0000
Commit:     Dirkjan Ochtman <djc@gentoo.org>
CommitDate: 2018-10-01 08:23:11 +0000

    dev-lang/rust-bin: cargo binary does not depend on http-parser
    
    Bug: https://bugs.gentoo.org/666524
    Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-lang/rust-bin/rust-bin-1.29.1.ebuild | 1 -
 1 file changed, 1 deletion(-)