Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 677600

Summary: sys-apps/portage: 10ignored-flags misfires on non-native ELF files as "Files built without respecting CFLAGS have been detected" (was: dev-scheme/guile-2.2.4 ignores CFLAGS)
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: ago, scheme, slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=724076
https://bugs.gentoo.org/show_bug.cgi?id=724074
https://bugs.gentoo.org/show_bug.cgi?id=724072
https://bugs.gentoo.org/show_bug.cgi?id=724070
https://bugs.gentoo.org/show_bug.cgi?id=724068
https://bugs.gentoo.org/show_bug.cgi?id=722078
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: statprof.go

Description Arfrever Frehtes Taifersar Arahesis 2019-02-10 03:06:56 UTC
* QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/guile/2.2/ccache/sxml/ssax/input-parse.go
 * /usr/lib64/guile/2.2/ccache/sxml/xpath.go
 * /usr/lib64/guile/2.2/ccache/sxml/ssax.go
 * /usr/lib64/guile/2.2/ccache/sxml/simple.go
 * /usr/lib64/guile/2.2/ccache/sxml/fold.go
 * /usr/lib64/guile/2.2/ccache/sxml/apply-templates.go
 * /usr/lib64/guile/2.2/ccache/sxml/transform.go
 * /usr/lib64/guile/2.2/ccache/sxml/match.go
 * /usr/lib64/guile/2.2/ccache/texinfo/docbook.go
 * /usr/lib64/guile/2.2/ccache/texinfo/serialize.go
 * /usr/lib64/guile/2.2/ccache/texinfo/string-utils.go
 * /usr/lib64/guile/2.2/ccache/texinfo/html.go
 * /usr/lib64/guile/2.2/ccache/texinfo/indexing.go
 * /usr/lib64/guile/2.2/ccache/texinfo/reflection.go
 * /usr/lib64/guile/2.2/ccache/texinfo/plain-text.go
 * /usr/lib64/guile/2.2/ccache/web/server/http.go
 * /usr/lib64/guile/2.2/ccache/web/server.go
 * /usr/lib64/guile/2.2/ccache/web/uri.go
 * /usr/lib64/guile/2.2/ccache/web/response.go
 * /usr/lib64/guile/2.2/ccache/web/request.go
 * /usr/lib64/guile/2.2/ccache/web/http.go
 * /usr/lib64/guile/2.2/ccache/web/client.go
 * /usr/lib64/guile/2.2/ccache/scripts/display-commentary.go
 * /usr/lib64/guile/2.2/ccache/scripts/summarize-guile-TODO.go
 * /usr/lib64/guile/2.2/ccache/scripts/generate-autoload.go
 * /usr/lib64/guile/2.2/ccache/scripts/list.go
 * /usr/lib64/guile/2.2/ccache/scripts/disassemble.go
 * /usr/lib64/guile/2.2/ccache/scripts/read-rfc822.go
 * /usr/lib64/guile/2.2/ccache/scripts/scan-api.go
 * /usr/lib64/guile/2.2/ccache/scripts/read-text-outline.go
 * /usr/lib64/guile/2.2/ccache/scripts/lint.go
 * /usr/lib64/guile/2.2/ccache/scripts/punify.go
 * /usr/lib64/guile/2.2/ccache/scripts/compile.go
 * /usr/lib64/guile/2.2/ccache/scripts/snarf-guile-m4-docs.go
 * /usr/lib64/guile/2.2/ccache/scripts/api-diff.go
 * /usr/lib64/guile/2.2/ccache/scripts/read-scheme-source.go
 * /usr/lib64/guile/2.2/ccache/scripts/frisk.go
 * /usr/lib64/guile/2.2/ccache/scripts/autofrisk.go
 * /usr/lib64/guile/2.2/ccache/scripts/doc-snarf.go
 * /usr/lib64/guile/2.2/ccache/scripts/help.go
 * /usr/lib64/guile/2.2/ccache/scripts/snarf-check-and-output-texi.go
 * /usr/lib64/guile/2.2/ccache/scripts/use2dot.go
 * /usr/lib64/guile/2.2/ccache/rnrs.go
 * /usr/lib64/guile/2.2/ccache/system/repl/debug.go
 * /usr/lib64/guile/2.2/ccache/system/repl/server.go
 * /usr/lib64/guile/2.2/ccache/system/repl/error-handling.go
 * /usr/lib64/guile/2.2/ccache/system/repl/command.go
 * /usr/lib64/guile/2.2/ccache/system/repl/repl.go
 * /usr/lib64/guile/2.2/ccache/system/repl/coop-server.go
 * /usr/lib64/guile/2.2/ccache/system/repl/common.go
 * /usr/lib64/guile/2.2/ccache/system/foreign-object.go
 * /usr/lib64/guile/2.2/ccache/system/vm/debug.go
 * /usr/lib64/guile/2.2/ccache/system/vm/loader.go
 * /usr/lib64/guile/2.2/ccache/system/vm/trace.go
 * /usr/lib64/guile/2.2/ccache/system/vm/disassembler.go
 * /usr/lib64/guile/2.2/ccache/system/vm/frame.go
 * /usr/lib64/guile/2.2/ccache/system/vm/assembler.go
 * /usr/lib64/guile/2.2/ccache/system/vm/dwarf.go
 * /usr/lib64/guile/2.2/ccache/system/vm/inspect.go
 * /usr/lib64/guile/2.2/ccache/system/vm/elf.go
 * /usr/lib64/guile/2.2/ccache/system/vm/program.go
 * /usr/lib64/guile/2.2/ccache/system/vm/coverage.go
 * /usr/lib64/guile/2.2/ccache/system/vm/traps.go
 * /usr/lib64/guile/2.2/ccache/system/vm/trap-state.go
 * /usr/lib64/guile/2.2/ccache/system/vm/linker.go
 * /usr/lib64/guile/2.2/ccache/system/vm/vm.go
 * /usr/lib64/guile/2.2/ccache/system/base/pmatch.go
 * /usr/lib64/guile/2.2/ccache/system/base/message.go
 * /usr/lib64/guile/2.2/ccache/system/base/compile.go
 * /usr/lib64/guile/2.2/ccache/system/base/ck.go
 * /usr/lib64/guile/2.2/ccache/system/base/target.go
 * /usr/lib64/guile/2.2/ccache/system/base/syntax.go
 * /usr/lib64/guile/2.2/ccache/system/base/lalr.go
 * /usr/lib64/guile/2.2/ccache/system/base/types.go
 * /usr/lib64/guile/2.2/ccache/system/base/language.go
 * /usr/lib64/guile/2.2/ccache/system/foreign.go
 * /usr/lib64/guile/2.2/ccache/system/syntax.go
 * /usr/lib64/guile/2.2/ccache/system/xref.go
 * /usr/lib64/guile/2.2/ccache/rnrs/enums.go
 * /usr/lib64/guile/2.2/ccache/rnrs/files.go
 * /usr/lib64/guile/2.2/ccache/rnrs/bytevectors.go
 * /usr/lib64/guile/2.2/ccache/rnrs/io/simple.go
 * /usr/lib64/guile/2.2/ccache/rnrs/io/ports.go
 * /usr/lib64/guile/2.2/ccache/rnrs/sorting.go
 * /usr/lib64/guile/2.2/ccache/rnrs/control.go
 * /usr/lib64/guile/2.2/ccache/rnrs/base.go
 * /usr/lib64/guile/2.2/ccache/rnrs/programs.go
 * /usr/lib64/guile/2.2/ccache/rnrs/syntax-case.go
 * /usr/lib64/guile/2.2/ccache/rnrs/hashtables.go
 * /usr/lib64/guile/2.2/ccache/rnrs/exceptions.go
 * /usr/lib64/guile/2.2/ccache/rnrs/lists.go
 * /usr/lib64/guile/2.2/ccache/rnrs/arithmetic/flonums.go
 * /usr/lib64/guile/2.2/ccache/rnrs/arithmetic/bitwise.go
 * /usr/lib64/guile/2.2/ccache/rnrs/arithmetic/fixnums.go
 * /usr/lib64/guile/2.2/ccache/rnrs/mutable-pairs.go
 * /usr/lib64/guile/2.2/ccache/rnrs/records/inspection.go
 * /usr/lib64/guile/2.2/ccache/rnrs/records/procedural.go
 * /usr/lib64/guile/2.2/ccache/rnrs/records/syntactic.go
 * /usr/lib64/guile/2.2/ccache/rnrs/unicode.go
 * /usr/lib64/guile/2.2/ccache/rnrs/eval.go
 * /usr/lib64/guile/2.2/ccache/rnrs/r5rs.go
 * /usr/lib64/guile/2.2/ccache/rnrs/conditions.go
 * /usr/lib64/guile/2.2/ccache/rnrs/mutable-strings.go
 * /usr/lib64/guile/2.2/ccache/ice-9/atomic.go
 * /usr/lib64/guile/2.2/ccache/ice-9/curried-definitions.go
 * /usr/lib64/guile/2.2/ccache/ice-9/iconv.go
 * /usr/lib64/guile/2.2/ccache/ice-9/receive.go
 * /usr/lib64/guile/2.2/ccache/ice-9/common-list.go
 * /usr/lib64/guile/2.2/ccache/ice-9/null.go
 * /usr/lib64/guile/2.2/ccache/ice-9/debug.go
 * /usr/lib64/guile/2.2/ccache/ice-9/expect.go
 * /usr/lib64/guile/2.2/ccache/ice-9/q.go
 * /usr/lib64/guile/2.2/ccache/ice-9/optargs.go
 * /usr/lib64/guile/2.2/ccache/ice-9/poe.go
 * /usr/lib64/guile/2.2/ccache/ice-9/streams.go
 * /usr/lib64/guile/2.2/ccache/ice-9/networking.go
 * /usr/lib64/guile/2.2/ccache/ice-9/control.go
 * /usr/lib64/guile/2.2/ccache/ice-9/time.go
 * /usr/lib64/guile/2.2/ccache/ice-9/channel.go
 * /usr/lib64/guile/2.2/ccache/ice-9/command-line.go
 * /usr/lib64/guile/2.2/ccache/ice-9/list.go
 * /usr/lib64/guile/2.2/ccache/ice-9/binary-ports.go
 * /usr/lib64/guile/2.2/ccache/ice-9/threads.go
 * /usr/lib64/guile/2.2/ccache/ice-9/safe.go
 * /usr/lib64/guile/2.2/ccache/ice-9/top-repl.go
 * /usr/lib64/guile/2.2/ccache/ice-9/weak-vector.go
 * /usr/lib64/guile/2.2/ccache/ice-9/vlist.go
 * /usr/lib64/guile/2.2/ccache/ice-9/rw.go
 * /usr/lib64/guile/2.2/ccache/ice-9/sandbox.go
 * /usr/lib64/guile/2.2/ccache/ice-9/safe-r5rs.go
 * /usr/lib64/guile/2.2/ccache/ice-9/stack-catch.go
 * /usr/lib64/guile/2.2/ccache/ice-9/session.go
 * /usr/lib64/guile/2.2/ccache/ice-9/serialize.go
 * /usr/lib64/guile/2.2/ccache/ice-9/syncase.go
 * /usr/lib64/guile/2.2/ccache/ice-9/lineio.go
 * /usr/lib64/guile/2.2/ccache/ice-9/hcons.go
 * /usr/lib64/guile/2.2/ccache/ice-9/fdes-finalizers.go
 * /usr/lib64/guile/2.2/ccache/ice-9/ports.go
 * /usr/lib64/guile/2.2/ccache/ice-9/local-eval.go
 * /usr/lib64/guile/2.2/ccache/ice-9/pretty-print.go
 * /usr/lib64/guile/2.2/ccache/ice-9/deprecated.go
 * /usr/lib64/guile/2.2/ccache/ice-9/posix.go
 * /usr/lib64/guile/2.2/ccache/ice-9/regex.go
 * /usr/lib64/guile/2.2/ccache/ice-9/boot-9.go
 * /usr/lib64/guile/2.2/ccache/ice-9/popen.go
 * /usr/lib64/guile/2.2/ccache/ice-9/unicode.go
 * /usr/lib64/guile/2.2/ccache/ice-9/psyntax-pp.go
 * /usr/lib64/guile/2.2/ccache/ice-9/poll.go
 * /usr/lib64/guile/2.2/ccache/ice-9/slib.go
 * /usr/lib64/guile/2.2/ccache/ice-9/textual-ports.go
 * /usr/lib64/guile/2.2/ccache/ice-9/string-fun.go
 * /usr/lib64/guile/2.2/ccache/ice-9/eval.go
 * /usr/lib64/guile/2.2/ccache/ice-9/runq.go
 * /usr/lib64/guile/2.2/ccache/ice-9/r5rs.go
 * /usr/lib64/guile/2.2/ccache/ice-9/getopt-long.go
 * /usr/lib64/guile/2.2/ccache/ice-9/i18n.go
 * /usr/lib64/guile/2.2/ccache/ice-9/occam-channel.go
 * /usr/lib64/guile/2.2/ccache/ice-9/arrays.go
 * /usr/lib64/guile/2.2/ccache/ice-9/buffered-input.go
 * /usr/lib64/guile/2.2/ccache/ice-9/calling.go
 * /usr/lib64/guile/2.2/ccache/ice-9/peg.go
 * /usr/lib64/guile/2.2/ccache/ice-9/match.go
 * /usr/lib64/guile/2.2/ccache/ice-9/format.go
 * /usr/lib64/guile/2.2/ccache/ice-9/save-stack.go
 * /usr/lib64/guile/2.2/ccache/ice-9/suspendable-ports.go
 * /usr/lib64/guile/2.2/ccache/ice-9/peg/using-parsers.go
 * /usr/lib64/guile/2.2/ccache/ice-9/peg/cache.go
 * /usr/lib64/guile/2.2/ccache/ice-9/peg/simplify-tree.go
 * /usr/lib64/guile/2.2/ccache/ice-9/peg/codegen.go
 * /usr/lib64/guile/2.2/ccache/ice-9/peg/string-peg.go
 * /usr/lib64/guile/2.2/ccache/ice-9/ftw.go
 * /usr/lib64/guile/2.2/ccache/ice-9/mapping.go
 * /usr/lib64/guile/2.2/ccache/ice-9/history.go
 * /usr/lib64/guile/2.2/ccache/ice-9/documentation.go
 * /usr/lib64/guile/2.2/ccache/ice-9/rdelim.go
 * /usr/lib64/guile/2.2/ccache/ice-9/scm-style-repl.go
 * /usr/lib64/guile/2.2/ccache/ice-9/eval-string.go
 * /usr/lib64/guile/2.2/ccache/ice-9/ls.go
 * /usr/lib64/guile/2.2/ccache/ice-9/futures.go
 * /usr/lib64/guile/2.2/ccache/ice-9/readline.go
 * /usr/lib64/guile/2.2/ccache/ice-9/and-let-star.go
 * /usr/lib64/guile/2.2/ccache/ice-9/hash-table.go
 * /usr/lib64/guile/2.2/ccache/ice-9/gap-buffer.go
 * /usr/lib64/guile/2.2/ccache/language/brainfuck/compile-scheme.go
 * /usr/lib64/guile/2.2/ccache/language/brainfuck/compile-tree-il.go
 * /usr/lib64/guile/2.2/ccache/language/brainfuck/spec.go
 * /usr/lib64/guile/2.2/ccache/language/brainfuck/parse.go
 * /usr/lib64/guile/2.2/ccache/language/cps/specialize-primcalls.go
 * /usr/lib64/guile/2.2/ccache/language/cps/cse.go
 * /usr/lib64/guile/2.2/ccache/language/cps/contification.go
 * /usr/lib64/guile/2.2/ccache/language/cps/handle-interrupts.go
 * /usr/lib64/guile/2.2/ccache/language/cps/specialize-numbers.go
 * /usr/lib64/guile/2.2/ccache/language/cps/spec.go
 * /usr/lib64/guile/2.2/ccache/language/cps/primitives.go
 * /usr/lib64/guile/2.2/ccache/language/cps/utils.go
 * /usr/lib64/guile/2.2/ccache/language/cps/with-cps.go
 * /usr/lib64/guile/2.2/ccache/language/cps/intmap.go
 * /usr/lib64/guile/2.2/ccache/language/cps/reify-primitives.go
 * /usr/lib64/guile/2.2/ccache/language/cps/simplify.go
 * /usr/lib64/guile/2.2/ccache/language/cps/licm.go
 * /usr/lib64/guile/2.2/ccache/language/cps/type-fold.go
 * /usr/lib64/guile/2.2/ccache/language/cps/intset.go
 * /usr/lib64/guile/2.2/ccache/language/cps/prune-top-level-scopes.go
 * /usr/lib64/guile/2.2/ccache/language/cps/verify.go
 * /usr/lib64/guile/2.2/ccache/language/cps/effects-analysis.go
 * /usr/lib64/guile/2.2/ccache/language/cps/slot-allocation.go
 * /usr/lib64/guile/2.2/ccache/language/cps/peel-loops.go
 * /usr/lib64/guile/2.2/ccache/language/cps/optimize.go
 * /usr/lib64/guile/2.2/ccache/language/cps/constructors.go
 * /usr/lib64/guile/2.2/ccache/language/cps/closure-conversion.go
 * /usr/lib64/guile/2.2/ccache/language/cps/compile-bytecode.go
 * /usr/lib64/guile/2.2/ccache/language/cps/prune-bailouts.go
 * /usr/lib64/guile/2.2/ccache/language/cps/renumber.go
 * /usr/lib64/guile/2.2/ccache/language/cps/rotate-loops.go
 * /usr/lib64/guile/2.2/ccache/language/cps/split-rec.go
 * /usr/lib64/guile/2.2/ccache/language/cps/type-checks.go
 * /usr/lib64/guile/2.2/ccache/language/cps/elide-values.go
 * /usr/lib64/guile/2.2/ccache/language/cps/types.go
 * /usr/lib64/guile/2.2/ccache/language/cps/self-references.go
 * /usr/lib64/guile/2.2/ccache/language/cps/dce.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/runtime/value-slot.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/runtime/function-slot.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/compile-tree-il.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/spec.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/parser.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/lexer.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/runtime.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/bindings.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/falias.go
 * /usr/lib64/guile/2.2/ccache/language/elisp/boot.go
 * /usr/lib64/guile/2.2/ccache/language/bytecode.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/tokenize.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/base.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/compile-tree-il.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/spec.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/array.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/parse.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/function.go
 * /usr/lib64/guile/2.2/ccache/language/ecmascript/impl.go
 * /usr/lib64/guile/2.2/ccache/language/cps.go
 * /usr/lib64/guile/2.2/ccache/language/value/spec.go
 * /usr/lib64/guile/2.2/ccache/language/bytecode/spec.go
 * /usr/lib64/guile/2.2/ccache/language/scheme/compile-tree-il.go
 * /usr/lib64/guile/2.2/ccache/language/scheme/spec.go
 * /usr/lib64/guile/2.2/ccache/language/scheme/decompile-tree-il.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/debug.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/spec.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/canonicalize.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/primitives.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/compile-cps.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/fix-letrec.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/analyze.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/peval.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/effects.go
 * /usr/lib64/guile/2.2/ccache/language/tree-il/optimize.go
 * /usr/lib64/guile/2.2/ccache/texinfo.go
 * /usr/lib64/guile/2.2/ccache/statprof.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-2.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-4.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-4/gnu.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-11.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-19.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-45.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-14.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-60.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-17.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-69.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-28.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-34.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-64.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-71.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-37.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-18.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-42.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-6.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-8.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-43.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-67.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-13.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-39.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-27.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-31.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-111.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-9.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-16.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-41.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-9/gnu.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-98.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-38.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-26.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-35.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-10.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-88.go
 * /usr/lib64/guile/2.2/ccache/srfi/srfi-1.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/active-slot.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/simple.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/stklos.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/composite-slot.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/describe.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/internal.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/accessors.go
 * /usr/lib64/guile/2.2/ccache/oop/goops/save.go
 * /usr/lib64/guile/2.2/ccache/oop/goops.go
Comment 1 Sergei Trofimovich gentoo-dev 2019-02-10 09:59:02 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #0)
> * QA Notice: Files built without respecting CFLAGS have been detected
>  *  Please include the following list of files in your report:
>  * /usr/lib64/guile/2.2/ccache/sxml/ssax/input-parse.go
>  * /usr/lib64/guile/2.2/ccache/sxml/xpath.go

I think it's a portage bug to complain about non-native ELF files. Guile's ELFs don't contain machine code at all. there is no place to use CFLAGS.

$ file /usr/lib64/guile/2.2/ccache/sxml/ssax/input-parse.go
/usr/lib64/guile/2.2/ccache/sxml/ssax/input-parse.go: ELF 64-bit LSB shared object, no machine, version 1 (embedded), dynamically linked, with debug_info, not stripped

Note "no machine" in input.
Comment 2 Sergei Trofimovich gentoo-dev 2019-03-16 19:51:09 UTC
Created attachment 569394 [details]
statprof.go

Example file to test portage's QA check.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-05-02 20:40:42 UTC
*** Bug 720412 has been marked as a duplicate of this bug. ***
Comment 4 Zac Medico gentoo-dev 2020-05-19 22:53:42 UTC
My first thought is to use QA_FLAGS_IGNORED for these files. Is there a reason not to?
Comment 5 Zac Medico gentoo-dev 2020-05-19 23:18:33 UTC
If there's some way to sanely distinguish when CFLAGS should not be applied to a given ELF file, then yeah, I guess we should adjust the QA check to account for that.
Comment 6 Sergei Trofimovich gentoo-dev 2020-05-22 17:45:08 UTC
(In reply to Zac Medico from comment #4)
> My first thought is to use QA_FLAGS_IGNORED for these files. Is there a
> reason not to?

If it would be a one file in one ebuild I'd agree. But it is already added into a few eclasses.

(In reply to Zac Medico from comment #5)
> If there's some way to sanely distinguish when CFLAGS should not be applied
> to a given ELF file, then yeah, I guess we should adjust the QA check to
> account for that.

Sounds complicated. But maybe doable if we base gcc detection on some heuristics. 

For example gcc adds '.comment' section with a compiler version free-form string that start with 'GCC'. Clansg adds '.comment' section with 'clang'.
Comment 7 Arfrever Frehtes Taifersar Arahesis 2020-05-22 18:13:12 UTC
(In reply to Sergei Trofimovich from comment #6)
> For example gcc adds '.comment' section with a compiler version free-form
> string that start with 'GCC'. Clansg adds '.comment' section with 'clang'.

There is no such section when using -fno-ident option (supported by both GCC and Clang).
Comment 8 Larry the Git Cow gentoo-dev 2020-05-22 18:22:12 UTC
The bug has been referenced in the following commit(s):

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

commit 6cebaeb21b849b62633ae160bde8fb58be73767e
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-05-22 18:18:45 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-05-22 18:18:45 +0000

    dev-scheme/guile-sqlite3: add QA CFLAGS workaround, bug #724074
    
    guile does not use CFLAGS, it's a portage's false positive
    (see bug #677600).
    
    Reported-by:  Agostino Sarubbo
    Closes: https://bugs.gentoo.org/724074
    Bug: https://bugs.gentoo.org/677600
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-scheme/guile-sqlite3/guile-sqlite3-0.1.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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

commit 5d02c9f942ec243350c902e6ac4286360c178029
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-05-22 18:17:12 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-05-22 18:17:12 +0000

    dev-scheme/guile-git: add QA CFLAGS workaround, bug #724072
    
    guile does not use CFLAGS, it's a portage's false positive
    (see bug #677600).
    
    Reported-by:  Agostino Sarubbo
    Closes: https://bugs.gentoo.org/724072
    Bug: https://bugs.gentoo.org/677600
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-scheme/guile-git/guile-git-0.3.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

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

commit 4ebe40715db22f1494ee1b5d950e49b5240a4a62
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-05-22 18:15:23 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-05-22 18:15:23 +0000

    dev-scheme/guile-gcrypt: add QA CFLAGS workaround, bug #724070
    
    guile does not use CFLAGS, it's a portage's false positive
    (see bug #677600).
    
    Reported-by:  Agostino Sarubbo
    Closes: https://bugs.gentoo.org/724070
    Bug: https://bugs.gentoo.org/677600
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-scheme/guile-gcrypt/guile-gcrypt-0.2.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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

commit ddf55b31f72159a7066300e2bc54cdef1493aa0c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-05-22 18:13:10 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-05-22 18:13:32 +0000

    dev-scheme/bytestructures: add QA CFLAGS workaround, bug #724068
    
    guile does not use CFLAGS, it's a portage's false positive
    (see bug #677600).
    
    Reported-by:  Agostino Sarubbo
    Closes: https://bugs.gentoo.org/724068
    Bug: https://bugs.gentoo.org/677600
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-scheme/bytestructures/bytestructures-1.0.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 9 Sergei Trofimovich gentoo-dev 2020-05-22 18:37:06 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #7)
> (In reply to Sergei Trofimovich from comment #6)
> > For example gcc adds '.comment' section with a compiler version free-form
> > string that start with 'GCC'. Clansg adds '.comment' section with 'clang'.
> 
> There is no such section when using -fno-ident option (supported by both GCC
> and Clang).

I'm fine with losing QA warnings for such cases.
Comment 10 Arfrever Frehtes Taifersar Arahesis 2020-05-22 19:03:48 UTC
Maybe good automated way would be to skip this QA check for files with machine type = EM_NONE:

  (dev-scheme/guile-sqlite3)
  $ scanelf -F "%F: %a" /usr/lib64/guile/2.2/site-ccache/sqlite3.go
  FILE ARCH 
  /usr/lib64/guile/2.2/site-ccache/sqlite3.go: EM_NONE

  (dev-db/sqlite)
  $ scanelf -F "%F: %a" /usr/bin/sqlite3
  FILE ARCH 
  /usr/bin/sqlite3: EM_X86_64
Comment 11 Sergei Trofimovich gentoo-dev 2020-05-22 19:48:39 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #10)
> Maybe good automated way would be to skip this QA check for files with
> machine type = EM_NONE:
> 
>   (dev-scheme/guile-sqlite3)
>   $ scanelf -F "%F: %a" /usr/lib64/guile/2.2/site-ccache/sqlite3.go
>   FILE ARCH 
>   /usr/lib64/guile/2.2/site-ccache/sqlite3.go: EM_NONE
> 
>   (dev-db/sqlite)
>   $ scanelf -F "%F: %a" /usr/bin/sqlite3
>   FILE ARCH 
>   /usr/bin/sqlite3: EM_X86_64

We have false positives from native codegens as well, like bug #722820.
Comment 12 Arfrever Frehtes Taifersar Arahesis 2020-05-22 20:59:02 UTC
(In reply to Sergei Trofimovich from comment #11)

Is it standard behavior for all Haskell ELF files or anomaly for few of them?
Do Haskell ELF files have some property allowing to distinguish them from non-Haskell ELF files?
Comment 13 Sergei Trofimovich gentoo-dev 2020-05-22 21:09:21 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #12)
> (In reply to Sergei Trofimovich from comment #11)
> 
> Is it standard behavior for all Haskell ELF files or anomaly for few of them?
> Do Haskell ELF files have some property allowing to distinguish them from
> non-Haskell ELF files?

ghc generates assembly directly and uses 'gcc -S' to build final binaries/libraries. It's a default behaviour for most haskell packages.

Don't think there is an easily defined properly unless we want to detect specific symbols from runtime library (symbols are not guaranteed to be stable).
Comment 14 Zac Medico gentoo-dev 2020-05-22 21:54:39 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #7)
> (In reply to Sergei Trofimovich from comment #6)
> > For example gcc adds '.comment' section with a compiler version free-form
> > string that start with 'GCC'. Clansg adds '.comment' section with 'clang'.
> 
> There is no such section when using -fno-ident option (supported by both GCC
> and Clang).

Can we disable this QA check entirely if the -fno-ident option is present? The '.comment' section seems seems like a very convenient way to solve this problem.
Comment 15 Larry the Git Cow gentoo-dev 2020-05-24 17:47:15 UTC
The bug has been referenced in the following commit(s):

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

commit fe563cbaa21fd257b28ae773987b81db87af00d4
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-05-24 17:44:50 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-05-24 17:46:31 +0000

    ghc-package.eclass: disable CFLAGS QA check, bug #722078
    
    GHC uses it's own native code generator. Portage's
    QA check generates false positive because it assumes
    presence of GCC-specific sections.
    
    Workaround false positiove by disabling the check completely.
    bug #722078, bug #677600
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/722078
    Bug: https://bugs.gentoo.org/677600
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 eclass/ghc-package.eclass | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 16 Larry the Git Cow gentoo-dev 2020-05-25 10:56:28 UTC
The bug has been referenced in the following commit(s):

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

commit caf207dd9d6bdc71885f9f459625856665972df1
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-05-25 10:55:52 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-05-25 10:55:52 +0000

    sci-biology/abyss: disable CFLAGS QA check on samtobreak
    
    GHC uses it's own native code generator. Portage's
    QA check generates false positive because it assumes
    presence of GCC-specific sections.
    
    Workaround false positiove by disabling the check, bug #677600.
    
    Bug: https://bugs.gentoo.org/677600
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sci-biology/abyss/abyss-2.0.3-r1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)