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

sys-devel/elftoolchain: Build and install all avalable tools #20138

Closed
wants to merge 1 commit into from

Conversation

jsmolic
Copy link
Member

@jsmolic jsmolic commented Mar 26, 2021

No description provided.

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @jsmolic
Areas affected: ebuilds
Packages affected: sys-devel/elftoolchain

sys-devel/elftoolchain: @jsmolic, @gentoo/proxy-maint

Linked bugs

Bugs linked: 778452


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Mar 26, 2021
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-03-26 23:09 UTC
Newest commit scanned: bd9a0f7
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/1d163636ab/output.html

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-03-26 23:19 UTC
Newest commit scanned: 013ddf2
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/ea76b964f2/output.html

dodoc README
_bmake \
DESTDIR="${D}" \
BINDIR="${EPREFIX}"/usr/bin/${CHOST}-elftoolchain \
Copy link
Member

Choose a reason for hiding this comment

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

Clang/LLVM do /usr/lib/llvm/11/bin/clang, but obviously they don't bother with tuples in the paths. I'm honestly not that bothered about what we do here as long as it doesn't collide with anything else or confuse people.

-elftoolchain is pretty unique although I feel like we're abusing that part of the tuple. @SoapGentoo?

Closes: https://bugs.gentoo.org/778452

Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2021-03-28 11:39 UTC
Newest commit scanned: 5a027c8
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/5ae78b2664/output.html

@jsmolic jsmolic deleted the elftoolchain branch March 30, 2021 10:20
@Alessandro-Barbieri
Copy link
Contributor

Alessandro-Barbieri commented Mar 30, 2021

It doesn't build for me

>>> Compiling source in /var/tmp/portage/sys-devel/elftoolchain-0.7.1-r1/work/elftoolchain-0.7.1 ...
usage: bmake [-BeikNnqrSstWwX]
            [-C directory] [-D variable] [-d flags] [-f makefile]
            [-I directory] [-J private] [-j max_jobs] [-m directory] [-T file]
            [-V variable] [-v variable] [variable=value] [target ...]
 * ERROR: sys-devel/elftoolchain-0.7.1-r1::gentoo failed (compile phase):
 *   (no error message)

@jsmolic
Copy link
Member Author

jsmolic commented Mar 30, 2021

@Alessandro-Barbieri hmm, it works fine for me, not sure why you are hitting that

@jsmolic
Copy link
Member Author

jsmolic commented Mar 30, 2021

@Alessandro-Barbieri Seems to work fine on ago's CI as well... What version of bmake do you have?

@ionenwks
Copy link
Contributor

@Alessandro-Barbieri I assume you're setting MAKEFLAGS given the usual, what is it set to now?

For example MAKEFLAGS='-bad' would cause this.

@Alessandro-Barbieri
Copy link
Contributor

Oh, I didn't file a bug because my chroot it's too experimental. I'm using MAKEFLAGS="LIBTOOL=rlibtool"

@ionenwks
Copy link
Contributor

I see, probably something else then given just that should be fine. bmake does read many env vars, so likely something you have set somewhere causing this, can't really reproduce here and it's fine.

@Alessandro-Barbieri
Copy link
Contributor

Alessandro-Barbieri commented Mar 30, 2021

Oh, I've find out: I was using MAKEFLAGS="LIBTOOL=rlibtool ${MAKEOPTS}" and that doesn't make sense. Removing ${MAKEOPTS} will compile

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). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
6 participants