Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

rpmbuild hadoop-cdh5.5.1 error Variable PACK_ENG_COMMON undefined

Highlighted

rpmbuild hadoop-cdh5.5.1 error Variable PACK_ENG_COMMON undefined

New Contributor

when I run this command

rpmbuild --nodeps --rebuild hadoop-2.6.0+cdh5.5.1+924-1.cdh5.5.1.p0.15.src.rpm

get error info

 

++ echo 'Variable PACK_ENG_COMMON undefined - this needs to point to the directory ec2_build/bin/pack-eng-common in the cdh4 branch of cdh'
Variable PACK_ENG_COMMON undefined - this needs to point to the directory ec2_build/bin/pack-eng-common in the cdh4 branch of cdh
++ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.2fiimu (%install)


RPM build errors:
InstallSourcePackage at: psm.c:244: Header V4 DSA/SHA1 Signature, key ID e8f86acd: NOKEY
Bad exit status from /var/tmp/rpm-tmp.2fiimu (%install)

1 REPLY 1

Re: rpmbuild hadoop-cdh5.5.1 error Variable PACK_ENG_COMMON undefined

Contributor

Is there any documentation, how to build Cloudera? Toolchains needed, build scripts, ...

 

There are many hacks and bad practices (I hope that bundled openssl is not really needed :-)), but it could be useful to be able to rebuild packages (testing patches, ...).

 

The same problem is with Debian package:

 

++ echo 'Variable PACK_ENG_COMMON undefined - this needs to point to the directory ec2_build/bin/pack-eng-common in the cdh4 branch of cdh'
Variable PACK_ENG_COMMON undefined - this needs to point to the directory ec2_build/bin/pack-eng-common in the cdh4 branch of cdh
++ exit 1
make[1]: *** [override_dh_auto_install] Error 1

 

Don't have an account?
Coming from Hortonworks? Activate your account here