Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726484 - app-editors/e3 does not respect CFLAGS
Summary: app-editors/e3 does not respect CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2020-05-31 18:42 UTC by Agostino Sarubbo
Modified: 2020-05-31 19:58 UTC (History)
0 users

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


Attachments
build.log (build.log,6.68 KB, text/plain)
2020-05-31 18:43 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 2020-05-31 18:42:57 UTC
This is an auto-filed bug because app-editors/e3 does not respect CFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches". If this is not something about c/c++ context you may want to set also FFLAGS and FCFLAGS or just see this bug as an hint to hide the QA warning where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-31 18:43:02 UTC
Created attachment 642906 [details]
build.log

build log and emerge --info
Comment 2 Ulrich Müller gentoo-dev 2020-05-31 19:23:36 UTC
e3 is written in assembly language, therefore it is being built using nasm, not gcc.

Looks like a false positive to me.
Comment 3 Agostino Sarubbo gentoo-dev 2020-05-31 19:36:29 UTC
It looks like a common policy is to disable the qa check on that file like is described at the end of comment 0
Comment 4 Larry the Git Cow gentoo-dev 2020-05-31 19:58:48 UTC
The bug has been closed via the following commit(s):

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

commit a7da86e81692acfbcfc627afb45477756c45290b
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-05-31 19:57:45 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-05-31 19:58:19 +0000

    app-editors/e3: Set QA_FLAGS_IGNORED for e3 binary.
    
    Suppresses false positive QA warning for CFLAGS.
    
    Closes: https://bugs.gentoo.org/726484
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/e3/e3-2.8.2.ebuild | 1 +
 1 file changed, 1 insertion(+)