First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 182283
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Rémi Cardona <remi@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Muelli <gentoo-bugs@Auftrags-Killer.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182283 depends on: Show dependency tree
Bug 182283 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-17 01:54 0000
Emerging nemiver-0.4 fails

Reproducible: Always

Steps to Reproduce:
1. emerge -v "~dev-util/nemiver-0.4.0"

Actual Results:  
compilation fails with:

 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgtop-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DENABLE_NLS=1 -DDATADIR=\"/usr/share\"
-DNEMIVER_INSTALL_PREFIX=\"/usr\"
-DNEMIVER_SYSTEM_CONFIG_DIR=\"/usr/lib/nemiver/config\"
-DNEMIVER_MODULES_DIR=\"/usr/lib/nemiver/modules\"
-DNEMIVER_PLUGINS_DIR=\"/usr/lib/nemiver/plugins\" -DNEMIVER_VERSION=\"0.4.0\"
-DGDB_PROG=\"/usr/bin/gdb\" -O3 -march=athlon-xp -fomit-frame-pointer -pipe
-m3dnow -msse -mmmx -fprefetch-loop-arrays -fuse-cxa-atexit -MT
nmv-proc-utils.lo -MD -MP -MF .deps/nmv-proc-utils.Tpo -c nmv-proc-utils.cc -o
nmv-proc-utils.o >/dev/null 2>&1
nmv-proc-mgr.cc: In member function ‘virtual const
std::list<nemiver::common::IProcMgr::Process,
std::allocator<nemiver::common::IProcMgr::Process> >&
nemiver::common::ProcMgr::get_all_process_list() const’:
nmv-proc-mgr.cc:94: error: invalid conversion from ‘unsigned int*’ to
‘pid_t*’
make[3]: *** [nmv-proc-mgr.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/mnt/ramdisk/portage/dev-util/nemiver-0.4.0/work/nemiver-0.4.0/src/common'

Expected Results:  
I expected nemiver to compile fine

After editing nmv-proc-mgr.cc and changing

--- src/common/nmv-proc-mgr.cc.old 2007-06-17 03:02:46.762030470 +0200
+++ src/common/nmv-proc-mgr.cc     2007-06-17 03:02:28.865010576 +0200
@@ -91,7 +91,7 @@

     try {
         //get the list of pids
-        pids = glibtop_get_proclist (&buf_desc, GLIBTOP_KERN_PROC_ALL, 0)  ;
+        pids = (pid_t *) glibtop_get_proclist (&buf_desc,
GLIBTOP_KERN_PROC_ALL, 0)  ;

         //get a couple of info about each pocess
         for (unsigned i=0 ; i < buf_desc.number ; ++i) {

it compiles fine.

------- Comment #1 From Muelli 2007-06-17 01:58:31 0000 -------
Seems to be fixed upstream:

http://svn.gnome.org/viewcvs/nemiver/trunk/src/common/nmv-proc-mgr.cc?view=markup

------- Comment #2 From Mart Raudsepp 2007-06-17 02:00:17 0000 -------
Please check the metadata before assigning bugs to other than bug-wrangles. Not
gnome herd maintained. Reassigning to remi, who is the maintainer of this as
per metadata.xml

------- Comment #3 From Muelli 2007-06-17 02:08:38 0000 -------
Excuse me, but I just followed the guided page and there was no remi
whats-o-ever.
As the ebuild description states "integrates well in to GNOME environment" and
it's hosted in GNOMEs SVN, to click the "GNOME" label in this bugtracker seemed
to be the smartest to me.

------- Comment #4 From Jean Bréfort 2007-06-17 06:58:46 0000 -------
nemiver-0.4.0 compiles fine but does not emerge because of
nemiver-0.4.0-libgtop.patch which needs a more recent libgtop (2.19.X) than
present in gentoo (2.14.9). libgtop version should be tested before applying
the patch.

------- Comment #5 From Rémi Cardona 2007-06-17 08:37:39 0000 -------
Yes, I apologize this is my fault. I discovered this yesterday evening and I
thought it would go unnoticed until I got around to fixing it. Again, my bad.

I'll come up with a better patch for gnome 2.19 and I'll remove this unneeded
patch meanwhile.

Thanks for understanding

------- Comment #6 From Rémi Cardona 2007-06-17 08:44:10 0000 -------
Fixed for now. Sorry again

------- Comment #7 From Rémi Cardona 2007-09-02 13:05:01 0000 -------
The version in portage doesn't have the patch, the one in the overlay does.

Next version of nemiver will depend on Gnome 2.20. Closing

First Last Prev Next    No search results available      Search page      Enter new bug