Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667614 - dev-libs/openssl uses -Werror when building the "depend" target
Summary: dev-libs/openssl uses -Werror when building the "depend" target
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-02 21:55 UTC by th
Modified: 2018-10-03 02:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description th 2018-10-02 21:55:33 UTC
openssl build with -Werror and thus fails with deprecated CFLAGS.
See log below:

 * abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -j9 -j1 V=1 depend 
making depend in crypto...
make[1]: Entering directory '/var/tmp/portage/dev-libs/openssl-1.0.2p/work/openssl-1.0.2p-abi_x86_32.x86/crypto'
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
cc1: error: '-mtune=x86-64' is deprecated; use '-mtune=k8' or '-mtune=generic' instead as appropriate [-Werror=deprecated]
cc1: all warnings being treated as errors
make[1]: *** [Makefile:137: local_depend] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/openssl-1.0.2p/work/openssl-1.0.2p-abi_x86_32.x86/crypto'
make: *** [Makefile:487: depend] Error 1
Comment 1 Mike Gilbert gentoo-dev 2018-10-03 02:37:23 UTC
It looks like -Werror is really only used when calculating dependencies (the "depend" target). I think it comes from util/domd.