Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726890 - dev-lang/teyjus does not respect CFLAGS
Summary: dev-lang/teyjus 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: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2020-06-03 10:53 UTC by Agostino Sarubbo
Modified: 2022-07-17 11:09 UTC (History)
0 users

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


Attachments
build.log (build.log,231.03 KB, text/plain)
2020-06-03 10: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 2020-06-03 10:53:12 UTC
This is an auto-filed bug because dev-lang/teyjus 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 add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS. If this is not something about c/c++ context see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-03 10:53:18 UTC
Created attachment 643206 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-07-17 11:09:56 UTC
The bug has been closed via the following commit(s):

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

commit 6c807fa38179efb2bfe09acf1a332c7bdf7fe0c0
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2022-07-17 11:09:10 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2022-07-17 11:09:10 +0000

    dev-lang/teyjus: Unbundle ocaml inc files, require ocaml[ocamlopt]
    
    Fix 749996, unbundle old ocaml include files, and include the ocaml
    system include files.
    
    Fix 749996, remove the ocamlopt USE flag, and require
    dev-lang/ocaml[ocamlopt].
    
    Fix 726890, edit source/OMakefile to set CFLAGS and LDFLAGS.
    
    Thanks to Toralf Forster and Agostino Sarubbo for reporting.
    
    See also: https://github.com/teyjus/teyjus/pull/126
    Closes: https://bugs.gentoo.org/749996
    Closes: https://bugs.gentoo.org/811210
    Closes: https://bugs.gentoo.org/726890
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 ...p004-Renaming-ccode_stubs-for-compilation.patch |  65 ++++++++++++
 ...yjus-2.1-p005-Unbundle-ocaml-header-files.patch |  44 +++++++++
 .../teyjus/files/teyjus-2.1-p006-Version.patch     |  13 +++
 dev-lang/teyjus/teyjus-2.1-r2.ebuild               | 110 +++++++++++++++++++++
 4 files changed, 232 insertions(+)