<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>182283</bug_id>
          
          <creation_ts>2007-06-17 01:54 0000</creation_ts>
          <short_desc>nemiver-0.4 doesn&apos;t compile: invalid conversion from ‘unsigned int*’ to ‘pid_t*’</short_desc>
          <delta_ts>2008-01-11 03:01:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GNOME</component>
          <version>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo-bugs@Auftrags-Killer.org</reporter>
          <assigned_to>remi@gentoo.org</assigned_to>
          <cc>jean.brefort@normalesup.org</cc>
    
    <cc>peter@thecodergeek.com</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo-bugs@Auftrags-Killer.org</who>
            <bug_when>2007-06-17 01:54:41 0000</bug_when>
            <thetext>Emerging nemiver-0.4 fails

Reproducible: Always

Steps to Reproduce:
1. emerge -v &quot;~dev-util/nemiver-0.4.0&quot;

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=\&quot;/usr/share\&quot; -DNEMIVER_INSTALL_PREFIX=\&quot;/usr\&quot; -DNEMIVER_SYSTEM_CONFIG_DIR=\&quot;/usr/lib/nemiver/config\&quot; -DNEMIVER_MODULES_DIR=\&quot;/usr/lib/nemiver/modules\&quot; -DNEMIVER_PLUGINS_DIR=\&quot;/usr/lib/nemiver/plugins\&quot; -DNEMIVER_VERSION=\&quot;0.4.0\&quot; -DGDB_PROG=\&quot;/usr/bin/gdb\&quot; -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 &gt;/dev/null 2&gt;&amp;1
nmv-proc-mgr.cc: In member function ‘virtual const std::list&lt;nemiver::common::IProcMgr::Process, std::allocator&lt;nemiver::common::IProcMgr::Process&gt; &gt;&amp; 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&apos;

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 (&amp;buf_desc, GLIBTOP_KERN_PROC_ALL, 0)  ;
+        pids = (pid_t *) glibtop_get_proclist (&amp;buf_desc, GLIBTOP_KERN_PROC_ALL, 0)  ;
 
         //get a couple of info about each pocess
         for (unsigned i=0 ; i &lt; buf_desc.number ; ++i) {

it compiles fine.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@Auftrags-Killer.org</who>
            <bug_when>2007-06-17 01:58:31 0000</bug_when>
            <thetext>Seems to be fixed upstream:

http://svn.gnome.org/viewcvs/nemiver/trunk/src/common/nmv-proc-mgr.cc?view=markup</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leio@gentoo.org</who>
            <bug_when>2007-06-17 02:00:17 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugs@Auftrags-Killer.org</who>
            <bug_when>2007-06-17 02:08:38 0000</bug_when>
            <thetext>Excuse me, but I just followed the guided page and there was no remi whats-o-ever.
As the ebuild description states &quot;integrates well in to GNOME environment&quot; and it&apos;s hosted in GNOMEs SVN, to click the &quot;GNOME&quot; label in this bugtracker seemed to be the smartest to me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jean.brefort@normalesup.org</who>
            <bug_when>2007-06-17 06:58:46 0000</bug_when>
            <thetext>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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2007-06-17 08:37:39 0000</bug_when>
            <thetext>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&apos;ll come up with a better patch for gnome 2.19 and I&apos;ll remove this unneeded patch meanwhile.

Thanks for understanding</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2007-06-17 08:44:10 0000</bug_when>
            <thetext>Fixed for now. Sorry again</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2007-09-02 13:05:01 0000</bug_when>
            <thetext>The version in portage doesn&apos;t have the patch, the one in the overlay does.

Next version of nemiver will depend on Gnome 2.20. Closing</thetext>
          </long_desc>
      
    </bug>

</bugzilla>