[Apt-Rpm] 0.5.15lorg3.93 Solaris build issue
David Halik
dhalik at jla.rutgers.edu
Wed Sep 19 12:01:17 PDT 2007
I've gotten a little farther, but I think ultimately suncc doesn't like
the c++ code. Using the patch found here:
http://svn.macports.org/repository/macports/trunk/dports/sysutils/apt-rpm/files/patch-rpmsense.diff
... I was able to rid of the RPMSENSE errors, but now its telling me:
"/usr/local/include/rpm/rpmevr.h", line 21: Error: evrFlags_e is not
defined.
...which was added by the patch.
The full error is below:
source='rpm/rpmhandler.cc' object='rpm/rpmhandler.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../buildlib/depcomp \
/bin/bash ../libtool --tag=CXX --mode=compile CC
-DHAVE_CONFIG_H -I. -I../include -I../include/apt-pkg
-DLIBDIR=\"/usr/local/lib\" -DPKGDATADIR=\"/usr/local/share/apt\"
-DLOCALEDIR=\"/usr/local/share/locale\" -DAPT_DOMAIN=\"apt\"
-I../lua/include -I../lua/local -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include -I/usr/local/include/rpm
-I/usr/include/rpm -g -c -o rpm/rpmhandler.lo rpm/rpmhandler.cc
CC -DHAVE_CONFIG_H -I. -I../include -I../include/apt-pkg
-DLIBDIR=\"/usr/local/lib\" -DPKGDATADIR=\"/usr/local/share/apt\"
-DLOCALEDIR=\"/usr/local/share/locale\" -DAPT_DOMAIN=\"apt\"
-I../lua/include -I../lua/local -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include -I/usr/local/include/rpm
-I/usr/include/rpm -g -c rpm/rpmhandler.cc -KPIC -DPIC -o
rpm/.libs/rpmhandler.o
"../include/apt-pkg/fileutl.h", line 77: Warning: FileName hides
FileFd::FileName.
"../include/apt-pkg/cacheiterators.h", line 55: Warning: Owner hides
pkgCache::PkgIterator::Owner.
"../include/apt-pkg/cacheiterators.h", line 96: Warning: Owner hides
pkgCache::PkgIterator::Owner.
"../include/apt-pkg/cacheiterators.h", line 151: Warning: Owner hides
pkgCache::VerIterator::Owner.
"../include/apt-pkg/cacheiterators.h", line 216: Warning: Owner hides
pkgCache::DepIterator::Owner.
"../include/apt-pkg/cacheiterators.h", line 222: Warning: Owner hides
pkgCache::DepIterator::Owner.
"../include/apt-pkg/cacheiterators.h", line 268: Warning: Owner hides
pkgCache::PrvIterator::Owner.
"../include/apt-pkg/cacheiterators.h", line 274: Warning: Owner hides
pkgCache::PrvIterator::Owner.
"/usr/local/include/rpm/rpmlib.h", line 979: Warning: Identifier
expected instead of "}".
"../include/apt-pkg/rpmhandler.h", line 347: Warning: String literal
converted to char* in formal argument Tag in call to
RPMRepomdReaderHandler::FindTag(char*).
"../include/apt-pkg/rpmhandler.h", line 348: Warning: String literal
converted to char* in formal argument Tag in call to
RPMRepomdReaderHandler::FindTag(char*).
"../include/apt-pkg/rpmhandler.h", line 349: Warning: String literal
converted to char* in formal argument Tag in call to
RPMRepomdReaderHandler::FindVerTag(char*).
"../include/apt-pkg/rpmhandler.h", line 350: Warning: String literal
converted to char* in formal argument Tag in call to
RPMRepomdReaderHandler::FindVerTag(char*).
"../include/apt-pkg/rpmhandler.h", line 351: Warning: String literal
converted to char* in formal argument Tag in call to
RPMRepomdReaderHandler::FindVerTag(char*).
"../include/apt-pkg/tagfile.h", line 58: Warning: Stop hides
pkgTagSection::Stop.
"../include/apt-pkg/tagfile.h", line 61: Warning: Stop hides
pkgTagSection::Stop.
"../include/apt-pkg/rpmpackagedata.h", line 42: Warning: declarator
required in declaration.
"../include/apt-pkg/rpmpackagedata.h", line 42: Error: Use ";" to
terminate declarations.
"../include/apt-pkg/rpmpackagedata.h", line 42: Error: "}" expected
instead of ">".
"../include/apt-pkg/rpmpackagedata.h", line 42: Error: Use ";" to
terminate declarations.
"../include/apt-pkg/rpmpackagedata.h", line 42: Error: A declaration was
expected instead of ">".
"../include/apt-pkg/rpmpackagedata.h", line 75: Error: A declaration was
expected instead of "public".
"../include/apt-pkg/rpmpackagedata.h", line 79: Error: Priorities is not
defined.
"../include/apt-pkg/rpmpackagedata.h", line 79: Error: Priorities is not
defined.
"../include/apt-pkg/rpmpackagedata.h", line 79: Error: Badly formed
expression.
"../include/apt-pkg/rpmpackagedata.h", line 79: Error: Badly formed
expression.
"../include/apt-pkg/rpmpackagedata.h", line 80: Error: Priorities is not
defined.
"../include/apt-pkg/rpmpackagedata.h", line 84: Error: Flags is not defined.
"../include/apt-pkg/rpmpackagedata.h", line 88: Error: IgnorePackages is
not defined.
"../include/apt-pkg/rpmpackagedata.h", line 88: Error: IgnorePackages is
not defined.
"../include/apt-pkg/rpmpackagedata.h", line 88: Error: Badly formed
expression.
"../include/apt-pkg/rpmpackagedata.h", line 88: Error: Badly formed
expression.
"../include/apt-pkg/rpmpackagedata.h", line 123: Error:
DuplicatedPackages is not defined.
"../include/apt-pkg/rpmpackagedata.h", line 147: Error: There must be an
identifier to declare.
"/usr/local/include/rpm/rpmevr.h", line 21: Error: evrFlags_e is not
defined.
"/usr/local/include/rpm/rpmevr.h", line 22: Error: evrFlags_e is not
defined.
"/usr/local/include/rpm/rpmevr.h", line 67: Warning: Identifier expected
instead of "}".
"/usr/local/include/rpm/rpmns.h", line 51: Warning: Identifier expected
instead of "}".
"rpm/rpmhandler.cc", line 783: Error: Singleton is not a member of
RPMPackageData.
"rpm/rpmhandler.cc", line 840: Warning: WriteLock hides
RPMDBHandler::WriteLock.
20 Error(s) and 20 Warning(s) detected.
David Halik wrote:
> Actually, I was just able to fix part of this. Didn't realize
> /usr/local/include/rpm was not in the CPP path. Now I'm getting the
> RPMSENSE problem like I saw on the list already. I'll try those patches
> out later and see how it goes. Maybe I can get this to compile afterall...
>
> "rpm/rpmhandler.cc", line 92: Error: RPMSENSE_ANY is not defined.
> "rpm/rpmhandler.cc", line 247: Error: RPMSENSE_MISSINGOK is not defined.
> "rpm/rpmhandler.cc", line 777: Error: Singleton is not a member of
> RPMPackageData.
> "rpm/rpmhandler.cc", line 834: Warning: WriteLock hides
> RPMDBHandler::WriteLock.
> "rpm/rpmhandler.cc", line 1291: Error: RPMSENSE_ANY is not defined.
> "rpm/rpmhandler.cc", line 1688: Error: RPMSENSE_ANY is not defined.
> 24 Error(s) and 20 Warning(s) detected.
>
>
More information about the Apt-Rpm
mailing list