Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736940 - media-plugins/ir_lv2-1.3.4 does not respect CFLAGS
Summary: media-plugins/ir_lv2-1.3.4 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: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2020-08-13 06:54 UTC by Agostino Sarubbo
Modified: 2020-08-13 09:35 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,33.07 KB, text/plain)
2020-08-13 06:54 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-08-13 06:54:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-plugins/ir_lv2-1.3.4 does not respect CFLAGS.
Discovered on: amd64 (internal ref: ci)

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-08-13 06:54:50 UTC
Created attachment 654392 [details]
build.log

build log and emerge --info
Comment 2 Miroslav Šulc gentoo-dev 2020-08-13 08:22:07 UTC
i don't get this qa notice. how can i turn it on? i was not able to find it in docs :-|
Comment 3 Agostino Sarubbo gentoo-dev 2020-08-13 08:46:12 UTC
(In reply to Miroslav Šulc from comment #2)
> i don't get this qa notice. how can i turn it on? i was not able to find it
> in docs :-|

see comment 0
Comment 4 Miroslav Šulc gentoo-dev 2020-08-13 09:01:52 UTC
(In reply to Agostino Sarubbo from comment #3)
> (In reply to Miroslav Šulc from comment #2)
> > i don't get this qa notice. how can i turn it on? i was not able to find it
> > in docs :-|
> 
> see comment 0

this is what i get:

# CFLAGS=-frecord-gcc-switches emerge -va1 ir_lv2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-plugins/ir_lv2-1.3.4::gentoo  USE="-tools" 0 KiB
...
>>> Source compiled.
>>> Test phase [not enabled]: media-plugins/ir_lv2-1.3.4

>>> Install media-plugins/ir_lv2-1.3.4 into /var/tmp/portage/media-plugins/ir_lv2-1.3.4/image
make -j9 INSTDIR=/var/tmp/portage/media-plugins/ir_lv2-1.3.4/image/usr/lib64/lv2 install 
mkdir -p /var/tmp/portage/media-plugins/ir_lv2-1.3.4/image/usr/lib64/lv2/ir.lv2
cp ir.so ir_gui.so ir.ttl manifest.ttl /var/tmp/portage/media-plugins/ir_lv2-1.3.4/image/usr/lib64/lv2/ir.lv2
>>> Completed installing media-plugins/ir_lv2-1.3.4 into /var/tmp/portage/media-plugins/ir_lv2-1.3.4/image

 * Final size of build directory: 608 KiB
 * Final size of installed tree:  260 KiB

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/lv2/ir.lv2/ir_gui.so
   /usr/lib64/lv2/ir.lv2/ir.so

>>> Installing (1 of 1) media-plugins/ir_lv2-1.3.4::gentoo
...
Comment 5 Agostino Sarubbo gentoo-dev 2020-08-13 09:14:50 UTC
comment 0 says to set -frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS not not just only CFLAGS
Comment 6 Miroslav Šulc gentoo-dev 2020-08-13 09:22:21 UTC
(In reply to Agostino Sarubbo from comment #5)
> comment 0 says to set -frecord-gcc-switches" to
> CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS not not just only CFLAGS

ah, now it works, thanks :-) i read / as 'or' and not as 'and'... :-)
Comment 7 Larry the Git Cow gentoo-dev 2020-08-13 09:30:32 UTC
The bug has been closed via the following commit(s):

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

commit 926515481beb34c661b83750ac2cfa5500299dd1
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-08-13 09:30:14 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-08-13 09:30:27 +0000

    media-plugins/ir_lv2: respecting CFLAGS in 1.3.4
    
    Closes: https://bugs.gentoo.org/736940
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../ir_lv2/files/ir_lv2-1.3.4-respect-flags.patch  | 36 +++++++++++++++++++---
 ...{ir_lv2-1.3.4.ebuild => ir_lv2-1.3.4-r1.ebuild} |  0
 2 files changed, 32 insertions(+), 4 deletions(-)
Comment 8 Agostino Sarubbo gentoo-dev 2020-08-13 09:35:33 UTC
(In reply to Miroslav Šulc from comment #6)
> (In reply to Agostino Sarubbo from comment #5)
> > comment 0 says to set -frecord-gcc-switches" to
> > CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS not not just only CFLAGS
> 
> ah, now it works, thanks :-) i read / as 'or' and not as 'and'... :-)

no problem =)