Mailinglist Archive: zypp-devel (65 mails)

< Previous Next >
Re: [zypp-devel] 7 days ago Michael Andres remove unused 'DueToObsolete' from ResStatus
  • From: "Duncan Mac-Vicar P." <dmacvicar@xxxxxxx>
  • Date: Thu, 26 Feb 2009 00:21:38 +0100
  • Message-id: <49A5D282.9010301@xxxxxxx>
Duncan Mac-Vicar P. wrote:
7 days ago Michael Andres remove unused 'DueToObsolete' from ResStatus


make[3]: Entering directory `/tmp/rpmbuild/PackageKit-0.4.3/backends/zypp'
/bin/sh ../../libtool --tag=CXX --mode=compile /opt/icecream/bin/g++
-DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../lib -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wno-deprecated -DG_DISABLE_SINGLE_INCLUDES
-DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -O2
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT
libpk_backend_zypp_la-pk-backend-zypp.lo -MD -MP -MF
.deps/libpk_backend_zypp_la-pk-backend-zypp.Tpo -c -o
libpk_backend_zypp_la-pk-backend-zypp.lo `test -f 'pk-backend-zypp.cpp' ||
echo './'`pk-backend-zypp.cpp
libtool: compile: /opt/icecream/bin/g++ -DHAVE_CONFIG_H -I. -I../..
-I../../src -I../../lib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wno-deprecated -DG_DISABLE_SINGLE_INCLUDES
-DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -O2
-march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT
libpk_backend_zypp_la-pk-backend-zypp.lo -MD -MP -MF
.deps/libpk_backend_zypp_la-pk-backend-zypp.Tpo -c pk-backend-zypp.cpp -fPIC
-DPIC -o .libs/libpk_backend_zypp_la-pk-backend-zypp.o
pk-backend-zypp.cpp: In function 'gboolean
backend_get_requires_thread(PkBackend*)':
pk-backend-zypp.cpp:221: error: 'class zypp::ResStatus' has no member named
'isToBeUninstalledDueToObsolete'
ICECC[19571] 23:05:50: Compiled on 10.10.101.62
make[3]: *** [libpk_backend_zypp_la-pk-backend-zypp.lo] Error 1
make[3]: Leaving directory `/tmp/rpmbuild/PackageKit-0.4.3/backends/zypp'

PackageKit breaks, what is the fix?

Duncan


Looking at Michael's commit, would it just be ok to remove the
.isToBeUninstalledDueToObsolete () case?

if (it->status ().isToBeUninstalled ()) {
status = PK_INFO_ENUM_REMOVING;
hit = TRUE;
}else if (it->status ().isToBeInstalled ()) {
status = PK_INFO_ENUM_INSTALLING;
hit = TRUE;
}else if (it->status ().isToBeUninstalledDueToUpgrade ()) {
status = PK_INFO_ENUM_UPDATING;
hit = TRUE;
}else if (it->status ().isToBeUninstalledDueToObsolete ()) {
status = PK_INFO_ENUM_OBSOLETING;
hit = TRUE;
}


--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References