Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-arch/libarchive: revbump to support static linking #2412

Closed
wants to merge 1 commit into from
Closed

app-arch/libarchive: revbump to support static linking #2412

wants to merge 1 commit into from

Conversation

doughdemon
Copy link
Contributor

No description provided.

@NP-Hardass NP-Hardass added assigned PR successfully assigned to the package maintainer(s). bugfix labels Sep 26, 2016
@NP-Hardass NP-Hardass self-assigned this Sep 26, 2016
lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP},static-libs(+)] )
nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP},static-libs(+)] )
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP},static-libs(+)] )"
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of this replacement thing, just do sys-libs/zlib[${MULTILIB_USEDEP},static-libs(+)?] for instance. Many ebuilds in the tree do this. Doing bash replacement for RDEPEND is not nice.

@doughdemon
Copy link
Contributor Author

doughdemon commented Sep 26, 2016 via email

@SoapGentoo
Copy link
Member

SoapGentoo commented Sep 26, 2016

Ok, that is indeed a valid point. One way to circumvent the problem is to either require both flags, or none, which excludes the "-static +static-libs" case (which is undesirable for Gentoo in most cases anyways). Hence, REQUIRED_USE="static? ( static-libs ) static-libs? ( static )"
Ok, your call then anyways. LGTM.

@doughdemon
Copy link
Contributor Author

doughdemon commented Sep 27, 2016 via email

@mgorny
Copy link
Member

mgorny commented Sep 27, 2016

Do you have a very good reason to use static linking there? Static linking is a huge can of worms, and shouldn't be introduced unless there is no other solution.

@doughdemon
Copy link
Contributor Author

doughdemon commented Sep 27, 2016 via email

@mgorny mgorny removed the assigned PR successfully assigned to the package maintainer(s). label Nov 25, 2016
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull Request assignment

Areas affected: ebuilds
Packages affected: app-arch/libarchive

app-arch/libarchive: @gentoo/bsd

@gentoo-repo-qa-bot gentoo-repo-qa-bot added the assigned PR successfully assigned to the package maintainer(s). label Nov 25, 2016
@mgorny mgorny removed the bugfix label Dec 11, 2016
@mgorny
Copy link
Member

mgorny commented Jul 14, 2017

I'm against static linking, and nobody else in the team has merged the PR in 10 months. I think it's quite unlikely for any more progress to be made here, so I'm closing it. We can reopen if anything changes in the future.

@mgorny mgorny closed this Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s).
Projects
None yet
5 participants