| Summary: | app-backup/cyphertite does not respect CFLAGS during link | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Julian Ospald <hasufell> |
| Component: | Current packages | Assignee: | Brian Evans (RETIRED) <grknight> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
cyphertite-2.0.2:20140706-114628.log
cyphertite-2.0.2-cflags.patch |
||
|
Description
Julian Ospald
2014-07-06 11:59:27 UTC
Created attachment 380294 [details]
cyphertite-2.0.2:20140706-114628.log
not only in linking command, but it also overrides them at some spots with "-O2" afais we need to pass: OPTLEVEL="" to emake DEBUG=$(usex debug -g '') further, this should be DEBUG="" debug USE flags are not meant to control CFLAGS, but rather the preprocessor. *cyphertite-2.0.2-r1 (06 Jul 2014) 06 Jul 2014; Brian Evans <grknight@gentoo.org> +cyphertite-2.0.2-r1.ebuild, -cyphertite-2.0.2.ebuild, files/cyphertite-2.0.2-fix-build.patch: Revision bump to fix CFLAGS and deps as per bug 516498 and bug 516500 unfortunately it still doesn't respect CFLAGS during linking command x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -pthread -o cyphertite ct_main.o ct_ctl.o ct_fb.o ct_fb_ops.o -L../ctutil/obj -L../ctutil -L../libcyphertite/obj -L../libcyphertite -L../../assl -L../../exude -L../../clog -L../../shrink/libshrink -L../../xmlsd -L../../clens -lcyphertite -lctutil -lassl -lexude -lclog -lshrink -lxmlsd -lclens -levent_core -lexpat -lsqlite3 -llzma -llzo2 -lcurl -lcares -lpolarssl -lssl -lcrypto -ldl -ledit -lncurses -lz -lbsd -L/usr/lib -L/usr/ssl/lib see bug #446281#c5 for an explanation why this matters Further, the ebuild fails to emerge if "tc-getCC" returns a string with whitespace (and we know that can happen, see multilib). So we need to quote the result of such tc-get calls to be on the safe side. Created attachment 380316 [details, diff]
cyphertite-2.0.2-cflags.patch
Fixed in -r2 thanks for the patch |