Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801187 - [guru] app-shells/zoxide-0.7.2 does not respect CFLAGS/LDFLAGS
Summary: [guru] app-shells/zoxide-0.7.2 does not respect CFLAGS/LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Ruhier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-07-08 11:53 UTC by Agostino Sarubbo
Modified: 2024-06-28 08:02 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,150.05 KB, text/plain)
2021-07-08 11:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-07-08 11:53:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-shells/zoxide-0.7.2 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-08 11:53:44 UTC
Created attachment 722686 [details]
build.log

build log and emerge --info
Comment 2 Anthony Ruhier 2021-07-08 11:57:10 UTC
I don't understand. Zoxide is in rust, so isn't it normal that it doesn't respect the CFLAGS and LDFLAGS?
Comment 3 Agostino Sarubbo gentoo-dev 2021-07-08 12:11:31 UTC
(In reply to Anthony Ruhier from comment #2)
> I don't understand.

Did you read _entirely_ comment 0 ?
Comment 4 Anthony Ruhier 2021-07-08 12:25:15 UTC
(In reply to Agostino Sarubbo from comment #3)
> (In reply to Anthony Ruhier from comment #2)
> > I don't understand.
> 
> Did you read _entirely_ comment 0 ?

I did, and my answer wasn't against your bug, just that I was surprised that that kind of checks are ran over ebuilds using cargo. I find misleading to add QA_FLAGS_IGNORED because it's not true, RUSTFLAGS is used.
Comment 5 Eli Burch 2024-06-27 15:31:01 UTC
app-shells/zoxide has been treecleaned and moved to ::gentoo:
https://github.com/gentoo/guru/commit/dea18e215f40736fc7ed91c4e3ddad4dc476d213

Therefore this bug should be closed.