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

Bug 444068

Summary: sys-auth/pambase-20120417 does hardcoded CPP calls
Product: Gentoo Linux Reporter: Denis M. (Phr33d0m) <god>
Component: New packagesAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build log: sys-auth:pambase-20120417-r1.log

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.