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

Bug 726376

Summary: app-arch/zoo does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20606
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-31 08:33:13 UTC
This is an auto-filed bug because app-arch/zoo does not respect CFLAGS/LDFLAGS.
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" and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". 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/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-31 08:33:18 UTC
Created attachment 642818 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-04 22:17:35 UTC
The bug has been closed via the following commit(s):

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

commit 4047c3d29b22672dbe829c8440617c0ab53bb6b5
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-04-29 21:46:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-04 22:17:00 +0000

    app-arch/zoo: Port to EAPI 7, fix CFLAGS, tc-directly
    
    Closes: https://bugs.gentoo.org/726376
    Closes: https://bugs.gentoo.org/721888
    Closes: https://bugs.gentoo.org/729126
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/zoo/files/zoo-2.10-gentoo-fbsd-r1.patch | 10 ++++----
 app-arch/zoo/files/zoo-2.10-makefile.patch       | 32 ++++++++++++++++++++++++
 app-arch/zoo/zoo-2.10-r5.ebuild                  | 21 ++++++++--------
 3 files changed, 48 insertions(+), 15 deletions(-)