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
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
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: ---


Attachments
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)
Details

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:

$ ▶ ./blatt.sh /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 login.in -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 passwd.in -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 su.in -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 system-auth.in -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 system-login.in -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 system-local-login.in -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 system-remote-login.in -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 system-services.in -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 other.in -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.