Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444068 - sys-auth/pambase-20120417 does hardcoded CPP calls
Summary: sys-auth/pambase-20120417 does hardcoded CPP calls
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2012-11-20 18:43 UTC by Denis M. (Phr33d0m)
Modified: 2012-11-20 19:20 UTC (History)
0 users

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

build log: sys-auth:pambase-20120417-r1.log (sys-auth:pambase-20120417-r1:20121120-130756.log,4.56 KB, text/plain)
2012-11-20 18:44 UTC, Denis M. (Phr33d0m)

Note You need to log in before you can comment on or make changes to this bug.
Description Denis M. (Phr33d0m) 2012-11-20 18:43:37 UTC
Hello, more info:

$ ▶ ./ /var/tmp/portage/logs/sys-auth\:pambase-20120417-r1\:20121120-130756.log 
>>> sys-auth/pambase-20120417: ISSUES FOUND
> Hardcoded calls:
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o login
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o passwd
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o su
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o system-auth
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o system-login
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o system-local-login
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o system-remote-login
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o system-services
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010106 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 -o other

Reproducible: Always
Comment 1 Denis M. (Phr33d0m) 2012-11-20 18:44:16 UTC
Created attachment 330092 [details]
build log: sys-auth:pambase-20120417-r1.log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-20 19:03:56 UTC
cpp used this way is an unix command, not technically part of the compiler suite.
Comment 3 Denis M. (Phr33d0m) 2012-11-20 19:14:43 UTC
Thank you Diego, will know for future! Initially I thought x86_64-pc-linux-gnu-cpp should have been used instead.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-20 19:20:29 UTC
Basically it's the difference between `cpp` and `gcc -E`. They are slightly different in the way they works.