>>> emerge (2 of 2) app-admin/tripwire-2.3.1.2-r1 to / >>> Downloading >>> http://gentoo.osuosl.org/distfiles/tripwire_2.3.1.2-6.1.diff.gz --09:28:46-- http://gentoo.osuosl.org/distfiles/tripwire_2.3.1.2-6.1.diff.gz => `/usr/portage/distfiles/tripwire_2.3.1.2-6.1.diff.gz' Resolving gentoo.osuosl.org... 156.56.247.195 Connecting to gentoo.osuosl.org[156.56.247.195]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 608,867 [text/plain] 100%[========================================================>] 608,867 332.53K/s 09:28:48 (331.46 KB/s) - `/usr/portage/distfiles/tripwire_2.3.1.2-6.1.diff.gz' saved [608867/608867] >>> Downloading http://gentoo.osuosl.org/distfiles/tripwire-2.3.1-2.tar.gz --09:28:48-- http://gentoo.osuosl.org/distfiles/tripwire-2.3.1-2.tar.gz => `/usr/portage/distfiles/tripwire-2.3.1-2.tar.gz' Resolving gentoo.osuosl.org... 156.56.247.195 Connecting to gentoo.osuosl.org[156.56.247.195]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,514,955 [application/x-tar] 100%[========================================================>] 1,514,955 217.98K/s ETA 00:00 09:28:54 (239.37 KB/s) - `/usr/portage/distfiles/tripwire-2.3.1-2.tar.gz' saved [1514955/1514955] >>> md5 src_uri ;-) tripwire-2.3.1-2.tar.gz >>> md5 src_uri ;-) tripwire_2.3.1.2-6.1.diff.gz >>> Unpacking source... >>> Unpacking tripwire-2.3.1-2.tar.gz to >>> /var/tmp/portage/tripwire-2.3.1.2-r1/work [ ok ]ing tripwire-2.3.0-50-rfc822.patch.bz2 ... [ ok ]ing tripwire-2.3.1-2-fhs.patch.bz2 ... [ ok ]ing tripwire-2.3.1-2-gcc-3.3.patch.bz2 ... [ ok ]ing tripwire-2.3.1-gcc3.patch.bz2 ... [ ok ]ing tripwire-jbj.patch.bz2 ... [ ok ]ing tripwire-mkstemp.patch.bz2 ... [ ok ]ing debian-patch.diff ... [ ok ]ing tripwire-format-string-email-report.diff ... >>> Source unpacked. echo "\"MAKE RELEASE\"" > release.i686-pc-linux.out date >> release.i686-pc-linux.out echo "\"make -f Makefile twprint_r twadmin_r siggen_r tripwire_r | tee -a release.i686-pc-linux.out\"" >> release.i686-pc-linux.out make -f Makefile twprint_r twadmin_r siggen_r tripwire_r | tee -a release.i686-pc-linux.out make[1]: Entering directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make -C cryptlib -f cryptlib.mak release "SYSPRE=i686-pc-linux" make[2]: Entering directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' test -d ../../lib || mkdir ../../lib test -d ../../lib/i686-pc-linux_r || mkdir ../../lib/i686-pc-linux_r make -f i686-pc-linux.mak clean # We must clean crypto++ before building make[3]: Entering directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' rm -f algebra.o asn.o cryptlib.o des.o dessp.o elgamal.o eprecomp.o filters.o forkjoin.o integer.o iterhash.o misc.o nbtheory.o pch.o queue.o rng.o sha.o zbits.o zdeflate.o zinflate.o ztrees.o rm -f crypto++.i686-pc-linux.dep make[3]: Leaving directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' make -f i686-pc-linux.mak release make[3]: Entering directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' i686-pc-linux.mak:133: crypto++.i686-pc-linux.dep: No such file or directory g++ -M -D_UNIX -D_LINUX -D_LITTLE_ENDIAN -D_GCC -DNDEBUG *.cpp > crypto++.i686-pc-linux.dep make[3]: Leaving directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' make[3]: Entering directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' make -f i686-pc-linux.mak cryptlib.a "D_FLAGS=-DNDEBUG" "LDFLAGS=NDEBUG_LDFLAGS" make[4]: Entering directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' g++ -D_UNIX -D_LINUX -D_LITTLE_ENDIAN -D_GCC -DNDEBUG -w -I../STLport-4.0/stlport -D_UNIX -D_LINUX -D_LITTLE_ENDIAN -D_GCC -c algebra.cpp In file included from algebra.cpp:4: algebra.h:55: error: expected `,' or `...' before '&' token algebra.h:56: error: ISO C++ forbids declaration of `Element' with no type algebra.h: In member function `bool AbstractField::IsUnit(int) const': algebra.h:56: error: `a' undeclared (first use this function) algebra.h:56: error: (Each undeclared identifier is reported only once for each function it appears in.) algebra.h:56: error: there are no arguments to `Zero' that depend on a template parameter, so a declaration of `Zero' must be available algebra.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) algebra.h: At global scope: algebra.h:83: error: expected `,' or `...' before '&' token algebra.h:84: error: ISO C++ forbids declaration of `Element' with no type algebra.h:86: error: `Element' does not name a type algebra.h:86: error: (perhaps `typename AbstractGroup::Element' was intended) algebra.h:89: error: `Element' does not name a type algebra.h:89: error: (perhaps `typename AbstractGroup::Element' was intended) algebra.h:92: error: ISO C++ forbids declaration of `Element' with no type algebra.h:92: error: expected `;' before '&' token algebra.h:95: error: expected `;' before "Element" algebra.h:95: error: `Element' does not name a type algebra.h:95: error: (perhaps `typename AbstractGroup::Element' was intended) algebra.h:98: error: `Element' does not name a type algebra.h:98: error: (perhaps `typename AbstractGroup::Element' was intended) algebra.h:101: error: ISO C++ forbids declaration of `Element' with no type algebra.h:101: error: expected `;' before '&' token algebra.h:104: error: expected `;' before "Element" algebra.h:104: error: `Element' does not name a type algebra.h:104: error: (perhaps `typename AbstractGroup::Element' was intended) algebra.h: In member function `bool MultiplicativeGroup::Equal(int) const': algebra.h:84: error: `a' undeclared (first use this function) algebra.h:84: error: `b' undeclared (first use this function) algebra.h: At global scope: algebra.h:116: error: expected `,' or `...' before '&' token algebra.h:117: error: ISO C++ forbids declaration of `Element' with no type algebra.h:119: error: `Element' does not name a type algebra.h:119: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:122: error: `Element' does not name a type algebra.h:122: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:125: error: ISO C++ forbids declaration of `Element' with no type algebra.h:125: error: expected `;' before '&' token algebra.h:128: error: expected `;' before "Element" algebra.h:128: error: `Element' does not name a type algebra.h:128: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:131: error: `Element' does not name a type algebra.h:131: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:134: error: ISO C++ forbids declaration of `Element' with no type algebra.h:134: error: expected `;' before '&' token algebra.h:137: error: expected `;' before "Element" algebra.h:137: error: `Element' does not name a type algebra.h:137: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:140: error: `Element' does not name a type algebra.h:140: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:143: error: `Element' does not name a type algebra.h:143: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:146: error: `Element' does not name a type algebra.h:146: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:149: error: expected `,' or `...' before '&' token algebra.h:150: error: ISO C++ forbids declaration of `Element' with no type algebra.h:152: error: `Element' does not name a type algebra.h:152: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:155: error: `Element' does not name a type algebra.h:155: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:158: error: `Element' does not name a type algebra.h:158: error: (perhaps `typename AbstractEuclideanDomain::Element' was intended) algebra.h:161: error: `Element' has not been declared algebra.h:161: error: `Element' has not been declared algebra.h:161: error: expected `,' or `...' before '&' token algebra.h:162: error: ISO C++ forbids declaration of `r' with no type algebra.h:162: error: ISO C++ forbids declaration of `q' with no type algebra.h:162: error: ISO C++ forbids declaration of `Element' with no type algebra.h: In member function `bool EuclideanDomainOf::Equal(int) const': algebra.h:117: error: `a' undeclared (first use this function) algebra.h:117: error: `b' undeclared (first use this function) algebra.h: In member function `bool EuclideanDomainOf::IsUnit(int) const': algebra.h:150: error: `a' undeclared (first use this function) algebra.h: In member function `void EuclideanDomainOf::DivisionAlgorithm(int&, int&, int) const': algebra.h:162: error: `Element' is not a class or namespace algebra.h:162: error: `a' undeclared (first use this function) algebra.h:162: error: `d' undeclared (first use this function) algebra.h:162: error: there are no arguments to `Divide' that depend on a template parameter, so a declaration of `Divide' must be available algebra.h: At global scope: algebra.h:170: error: expected `,' or `...' before '&' token algebra.h:171: error: ISO C++ forbids declaration of `Element' with no type algebra.h:176: error: ISO C++ forbids declaration of `Element' with no type algebra.h:176: error: expected `;' before '&' token algebra.h:179: error: expected `;' before "bool" algebra.h:179: error: expected `,' or `...' before '&' token algebra.h:180: error: ISO C++ forbids declaration of `Element' with no type algebra.h:182: error: `Element' does not name a type algebra.h:182: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:185: error: `Element' does not name a type algebra.h:185: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:188: error: ISO C++ forbids declaration of `Element' with no type algebra.h:188: error: expected `;' before '&' token algebra.h:191: error: expected `;' before "Element" algebra.h:191: error: `Element' does not name a type algebra.h:191: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:194: error: `Element' does not name a type algebra.h:194: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:197: error: ISO C++ forbids declaration of `Element' with no type algebra.h:197: error: expected `;' before '&' token algebra.h:200: error: expected `;' before "Element" algebra.h:200: error: `Element' does not name a type algebra.h:200: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:203: error: expected `,' or `...' before '&' token algebra.h:204: error: ISO C++ forbids declaration of `Element' with no type algebra.h:206: error: `Element' does not name a type algebra.h:206: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:209: error: `Element' does not name a type algebra.h:209: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:212: error: `Element' does not name a type algebra.h:212: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:215: error: `Element' does not name a type algebra.h:215: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h:219: error: `Element' does not name a type algebra.h:219: error: (perhaps `typename AbstractRing::Element' was intended) algebra.h: In constructor `QuotientRing::QuotientRing(const T&, int)': algebra.h:171: error: class `QuotientRing' does not have any field named `m_modulus' algebra.h:171: error: `modulus' undeclared (first use this function) algebra.h: In member function `bool QuotientRing::Equal(int) const': algebra.h:180: error: `a' undeclared (first use this function) algebra.h:180: error: `b' undeclared (first use this function) algebra.h:180: error: `m_modulus' undeclared (first use this function) algebra.h: In member function `bool QuotientRing::IsUnit(int) const': algebra.h:204: error: `a' undeclared (first use this function) algebra.h:204: error: `m_modulus' undeclared (first use this function) In file included from algebra.cpp:4: algebra.h: In member function `virtual T AbstractEuclideanDomain::Gcd(const T&, const T&) const': algebra.h:272: error: there are no arguments to `Zero' that depend on a template parameter, so a declaration of `Zero' must be available algebra.h: At global scope: algebra.h:281: error: expected constructor, destructor, or type conversion before "QuotientRing" algebra.h:281: error: expected `;' before "QuotientRing" algebra.h: In member function `virtual T AbstractGroup::IntMultiply(const T&, const Integer&) const': algebra.h:303: error: invalid use of undefined type `const struct Integer' algebra.h:4: error: forward declaration of `const struct Integer' algebra.h:324: error: invalid use of undefined type `const struct Integer' algebra.h:4: error: forward declaration of `const struct Integer' algebra.h: In member function `virtual T AbstractGroup::CascadeIntMultiply(const T&, const Integer&, const T&, const Integer&) const': algebra.h:359: error: invalid use of undefined type `const struct Integer' algebra.h:4: error: forward declaration of `const struct Integer' algebra.h:359: error: invalid use of undefined type `const struct Integer' algebra.h:4: error: forward declaration of `const struct Integer' algebra.h:359: error: no matching function for call to `max(, )' algebra.h:397: error: invalid use of undefined type `const struct Integer' algebra.h:4: error: forward declaration of `const struct Integer' algebra.h:398: error: invalid use of undefined type `const struct Integer' algebra.h:4: error: forward declaration of `const struct Integer' algebra.h: In function `Element GeneralCascadeMultiplication(const AbstractGroup&, Iterator, Iterator)': algebra.h:450: error: incomplete type `Integer' used in nested name specifier algebra.h:452: error: incomplete type `Integer' used in nested name specifier algebra.h: In function `Element GeneralCascadeExponentiation(const AbstractRing&, Iterator, Iterator)': algebra.h:479: error: `field' undeclared (first use this function) make[4]: *** [algebra.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' make[3]: *** [release] Error 2 make[3]: Leaving directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' make[2]: *** [../../lib/i686-pc-linux_r/cryptlib.a] Error 2 make[2]: Leaving directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src/cryptlib' make[1]: *** [cryptlib_r] Error 2 make[1]: Leaving directory `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/src' date >> release.i686-pc-linux.out >>> Test phase [not enabled]: app-admin/tripwire-2.3.1.2-r1 >>> Install tripwire-2.3.1.2-r1 into >>> /var/tmp/portage/tripwire-2.3.1.2-r1/image/ category app-admin >>> dosbin: making >>> /var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/siggen >>> executable... install: cannot stat `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/siggen': No such file or directory >>> dosbin: making >>> /var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/tripwire >>> executable... install: cannot stat `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/tripwire': No such file or directory >>> dosbin: making >>> /var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/twadmin >>> executable... install: cannot stat `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/twadmin': No such file or directory >>> dosbin: making >>> /var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/twprint >>> executable... install: cannot stat `/var/tmp/portage/tripwire-2.3.1.2-r1/work/tripwire-2.3.1-2/bin/*/twprint': No such file or directory man: prepallstrip: strip: strip: >>> Completed installing into /var/tmp/portage/tripwire-2.3.1.2-r1/image/ >>> Merging app-admin/tripwire-2.3.1.2-r1 to / --- /usr/ --- /usr/sbin/ --- /usr/share/ --- /usr/share/man/ --- /usr/share/man/man4/ >>> /usr/share/man/man4/twconfig.4.gz >>> /usr/share/man/man4/twpolicy.4.gz --- /usr/share/man/man5/ >>> /usr/share/man/man5/twfiles.5.gz --- /usr/share/man/man8/ >>> /usr/share/man/man8/siggen.8.gz >>> /usr/share/man/man8/tripwire.8.gz >>> /usr/share/man/man8/twadmin.8.gz >>> /usr/share/man/man8/twintro.8.gz >>> /usr/share/man/man8/twprint.8.gz --- /usr/share/doc/ >>> /usr/share/doc/tripwire-2.3.1.2-r1/ >>> /usr/share/doc/tripwire-2.3.1.2-r1/README.gz >>> /usr/share/doc/tripwire-2.3.1.2-r1/Release_Notes.gz >>> /usr/share/doc/tripwire-2.3.1.2-r1/ChangeLog.gz >>> /usr/share/doc/tripwire-2.3.1.2-r1/policyguide.txt.gz >>> /usr/share/doc/tripwire-2.3.1.2-r1/TRADEMARK.gz >>> /usr/share/doc/tripwire-2.3.1.2-r1/tripwire.gif.gz >>> /usr/share/doc/tripwire-2.3.1.2-r1/tripwire.txt.gz --- /etc/ >>> /etc/tripwire/ >>> /etc/tripwire/twcfg.txt >>> /etc/tripwire/twpol.txt >>> /etc/tripwire/twinstall.sh --- /etc/cron.daily/ >>> /etc/cron.daily/tripwire.cron --- /var/ --- /var/lib/ >>> /var/lib/tripwire/ >>> /var/lib/tripwire/report/ * After installing this package, you should run "/etc/tripwire/twinstall.sh" * to generate cryptographic keys, and "tripwire --init" to initialize the * database Tripwire uses. * * A quickstart guide is included with the documentation. * >>> Regenerating /etc/ld.so.cache... [ ok ]ng service dependencies ... >>> app-admin/tripwire-2.3.1.2-r1 merged. >>> Recording app-admin/tripwire in "world" favorites file... >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. # /etc/tripwire/twinstall.sh ---------------------------------------------- The Tripwire site and local passphrases are used to sign a variety of files, such as the configuration, policy, and database files. Passphrases should be at least 8 characters in length and contain both letters and numbers. See the Tripwire manual for more information. ---------------------------------------------- Creating key files... /etc/tripwire/twinstall.sh: line 124: /usr/sbin/twadmin: No such file or directory Error: site key generation failed root@gandalf:/root# which twadmin which: no twadmin in (/usr/local/admin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.3:/usr/X11R6/bin)