aMule Forum

English => en_Bugs => Topic started by: phileo on January 02, 2006, 08:26:24 PM

Title: Mandriva 2006 RPM Problem
Post by: phileo on January 02, 2006, 08:26:24 PM
It seems there is a problem with Mandriva RPM provided by Oldfrog for 2.1.0
Amule won't start complaining of missing dependencies with wxgtk even if Oldfrog package for wx-gtk2-2.6.2 is installed.

The RPM for CVS 2006-01-02 seems to work fine . Are there known problems in this version ?

Thank you to all the team for your good work. Happy knew year
Title: Re: Mandriva 2006 RPM Problem
Post by: Gerd78 on January 02, 2006, 08:32:14 PM
Could you please post the exact wording of the error message?

BTW: CVS 20060101 is 100% the same (*) code as the 2.1.0 release, you can use that instead. There's no difference.

(*) There are actually 2 or 3 different #ifdef's, but these are for __WXMAC__ only and don't affect Linux at all.
Title: Re: Mandriva 2006 RPM Problem
Post by: phileo on January 02, 2006, 09:00:09 PM
Here is the message :
amule: /usr/lib/libwx_gtk2u_core-2.6.so.0: version `WXU_2.6.2' not found (required by amule)

The Amule RPM CVS 2006-01-01 works with the same config.
CVS requires wx 2.7 CVS

Without I have this :
amule: error while loading shared libraries: libwx_gtk2u_adv-2.7.so.0: cannot open shared object file: No such file or directory

With Wx CVS it starts but it seems unstable : It just crashed with this message :

A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/board.php?boardid=67
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule CVS using wxGTK2 v2.7.0 (Unicoded) (Snapshot: Sun Jan  1 07:01:49 CET 2006)
Running on: Linux 2.6.12-12mdksmp i686

[2] ?? in amule [0x806c945]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.7.so.0[0xb79d7cb6]
[4] ?? in [0xffffe420]
[5] ?? in amule [0x80cc092]
[6] ?? in amule [0x80cc283]
[7] ?? in amule [0x80cda1a]
[8] wxThreadInternal::PthreadStart(wxThread*) in /usr/lib/libwx_baseu-2.7.so.0[0xb79d311f]
[9] wxPthreadStart in /usr/lib/libwx_baseu-2.7.so.0[0xb79d318c]
[10] ?? in /lib/tls/libpthread.so.0 [0xb7ed2c40]
[11] __clone in /lib/tls/libc.so.6[0xb779f0ee]
Title: Re: Mandriva 2006 RPM Problem
Post by: stefanero on January 02, 2006, 09:02:54 PM
you have some wxCVS rpms installed which work with aMule-cvs, BUT

the 2.1.0 rpms were build with the stable 2.6.2 rpms

redownload ALL files here:

http://www.oldfrog.info/Linux/RPMsaMule/wxGTKu%202.6.2%20(patched%20for%20locales)/

and install those...
Title: Re: Mandriva 2006 RPM Problem
Post by: phileo on January 02, 2006, 09:20:53 PM
Stefanero

Thank you for your answer but that's what i have already done

amule 2.1.0 + wx 2.6.2 RPMS from Oldfrog (your Link which is the same that was mentioned in Kry's post I used previously ) don't work , at least for me.
I reports :
amule: /usr/lib/libwx_gtk2u_core-2.6.so.0: version `WXU_2.6.2' not found (required by amule)
as mentioned earlier

amule CVS 2006-01-01 with vx 2.7 CVS (RPM also from Oldfrog) starts but seems a bit unstable
(2 crashes in less than five minutes, works since more than 15 at the moment)

Are there other Mandriva users wich can succesfully use theseRPMs ?

Ask if you need more info.
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 02, 2006, 11:20:13 PM
Sorry I just saw this thread now. That's weird. I uninstalled all wxGTKCVS and reinstalled 2.6.2 and the rpm worked fine. And the rpm gives these dependencies :
Quote
bin/sh , /bin/sh , rpmlib(PayloadFilesHavePrefix) (<= 4.0-1), rpmlib(CompressedFileNames) (<= 3.0.4-1), libbfd-2.16.91.0.2.so , libc.so.6 , libc.so.6(GLIBC_2.0) , libc.so.6(GLIBC_2.1) , libc.so.6(GLIBC_2.1.3) , libc.so.6(GLIBC_2.2) , libc.so.6(GLIBC_2.3.4) , libfontconfig.so.1 , libfreetype.so.6 , libgcc_s.so.1 , libgcc_s.so.1(GCC_3.0) , libgcc_s.so.1(GLIBC_2.0) , libgd.so.2 , libjpeg.so.62 , libm.so.6 , libm.so.6(GLIBC_2.0) , libncurses.so.5 , libpng12.so.0 , libpthread.so.0 , libpthread.so.0(GLIBC_2.0) , libpthread.so.0(GLIBC_2.2) , libreadline.so.5 , libstdc++.so.6 , libstdc++.so.6(GLIBCXX_3.4) , libwx_baseu-2.6.so.0 , libwx_baseu_net-2.6.so.0 , libwx_gtk2u_adv-2.6.so.0 , libwx_gtk2u_core-2.6.so.0 , libX11.so.6 , libXpm.so.4 , libz.so.1

Did a ldd /usr/bin/amule on 2.1.0 and got

Quote
...
        libwx_gtk2u_adv-2.6.so.0 => /usr/lib/libwx_gtk2u_adv-2.6.so.0 (0xb7db6000)
        libwx_gtk2u_core-2.6.so.0 => /usr/lib/libwx_gtk2u_core-2.6.so.0 (0xb7ad2000)
        libwx_baseu_net-2.6.so.0 => /usr/lib/libwx_baseu_net-2.6.so.0 (0xb7aa4000)
        libwx_baseu-2.6.so.0 => /usr/lib/libwx_baseu-2.6.so.0 (0xb7971000)
...

So nothing related to wxGtk-CVS (seen as 2.7).
The spec file to build wxGtk-2.6.2 is almost the same I use for wxGtk-CVS.
So the files are independant, except for /usr/bin/wx-config, so the only risk is if you want to use both devel packages.

All I can figure here is maybe a bad install of wxGtk-2.6.2 on your system, or an overided one. Could you give a try to uninstall wxGTK-CVS and wxGtk-2.6.2 (my own provided rpms) and then reinstall wxGtk-2.6.2 only ?

Don't forget to stop any program that could use one of them to be sure.
Then install again aMule-2.1

Then re-install amule ?

Anyway, until now I installed CVS in /usr/bin. From now on I'll do the correct way and install releases in /usr and CVS in /usr/local.
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 02, 2006, 11:47:16 PM
Reinstalled wxGtk-2.6.2 and aMule-2.1 from rpms. No problem here, but you need to uninstall first all existing wxGtk-2.6.2 versions or install mine upon the existing one with

urpmi xxx.rpm --allow-force

Beware there is a 2.6.2 used by vlc provided with the distro. But I don't know if it has been patched by plf.

I noticed too only one possible conflict having both my wxGtk 2.6.2 and wxGtk-CVS with the following file :

/usr/share/bakefile/presets/wx_unix.bkl

So, not really a problem


But, as they have the same internal name, installing wxGtk-CVS removes my 2.6.2.
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 03, 2006, 12:09:32 AM
Quote
Originally posted by phileo

Are there other Mandriva users wich can succesfully use theseRPMs ?



Actually there were 88 accesses, 24 downloads for aMule and 16 for wxGtk-2.6.2 ( ?()  today, so I guess people tried it. But no news until now
Title: Re: Mandriva 2006 RPM Problem
Post by: garou on January 03, 2006, 12:59:31 AM
Hi Everybody,

I am sorry to confirm that this version is quite unstable with Mandrake :
-------------------------------------------------------------------------------------------------------------------------
Current version is: aMule 2.1.0 using wxGTK2 v2.6.2 (Unicoded)
Running on: Linux 2.6.8.1-12mdk i686

[2] ?? in amule [0x806b95f]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.6.so.0[0x40545656]
[4] ?? in [0xffffe420]
[5] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x40acc431]
--------------------------------------------------------------------------------------------------------------------------

it was difficult to install it, I got conflicts with some packages : same messages than Phileo.
But I managed to install it with some packages from the cooker version... I can start the apllication but it crashes several time in 10 minutes (see message above).

Hope it could help you,

Regards
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 03, 2006, 08:00:16 AM
Well it seems the wxGtk-2.6.2 I built is not quite stable.
Uninstall it and reinstall libwxgtku2.6-2.6.1-1mdk (You need to fully reinstall it as my own rpm override it) from Mandriva for now and give a try to this one :  (http://www.oldfrog.info/Linux/RPMsaMule/wxGTKu 2.6.2 (patched for locales)/aMule-2.1.0-2.6u.i586.rpm)

The weird thing is that wxGtk-CVS I build (see here (http://www.oldfrog.info/Linux/RPMsaMule/wxGTKu%20CVS%2020051202) ) plus aMule-CVS is very stable for me (Never had a crash for the past 15 days).

I could not build wxGtk-CVS as of jan 1st anyway.

Anyone knowing of a true stable patched wxGtk-unicode-2.6.2 rpm for Mandriva with related -devel ?
Title: Re: Mandriva 2006 RPM Problem
Post by: garou on January 03, 2006, 09:26:21 AM
OldFrog,

I unstalled everything (libwx,wxgtk, and amule) and installed :
- libwxgtku2.6-2.6.1-1mdk from mandriva
- wxGTK2.6-2.6.1-1mdk from mandriva (because of dependancies)
- aMule-2.1.0-2.6u.i586.rpm

but if the installation was successfull, I still have some crashes :

HTTP download thread started
Host: emulepawcio.sourceforge.net:80
URL: http://emulepawcio.sourceforge.net/nieuwe_site/Ipfilter_fakes/ipfilter.dat
Response: 302 (Error: 0)
Host: emulepawcio.sourceforge.net:80
URL: http://emulepawcio.sourceforge.net/downloads/get.php?file=ipfilter.dat
Response: 302 (Error: 0)

--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    http://forum.amule.org/board.php?boardid=67
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.1.0 using wxGTK2 v2.6.1 (Unicoded)
Running on: Linux 2.6.8.1-12mdk i686

[2] ?? in amule [0x806b94f]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.6.so.0[0x40577c93]


----------------------

Maybe I should change the settings of aMule, because it crashes each time it tries to download IPfilter.dat. If I avoid the download aMule starts and seems to work fine (no crash for 15 minutes).

Thanks again for your help,
Title: Re: Mandriva 2006 RPM Problem
Post by: Gerd78 on January 03, 2006, 02:44:19 PM
Quote
Originally posted by OldFrog
I could not build wxGtk-CVS as of jan 1st anyway.
What exactly was the problem? It should be easily fixable.
Title: Re: Mandriva 2006 RPM Problem
Post by: Kry on January 03, 2006, 04:41:33 PM
This looks like the wxScoket bug I fixed after wx2.6.2 was out... so wxCVS should fix it.
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 03, 2006, 07:58:49 PM
Make Rules not defined for a .cpp. Don't remember which one.
And for now, no way todownload the current wxGtk-CVS.

As I'm testing a new spec file for aMule-CVS I can't test 2.1 running and loading ipfilter.dat, but I never had this problem since I use WXGtk-CVS, that is for the past 6 months :roll:


Anyway, I wonder it is worth to provide aMule-2.1.0 built on wxGtk-CVS ? Any opinion on that ?

Besides that, I found out too vlc, which is the only other app using wxGtk-2.6 is completely broken, whether using Mandriva's rpm or line of wxGtk-2.6 (Mandriva and plf provide only 2.6.1).


@garou : Linux 2.6.8.1-12mdk i686 means you are using Mandrake 10.1. There has been many changes when going to Mandriva 2006 (Which is my own distro). So it's normal you needed to update your libs. Anyway, you should better update to M2006 instead of using Cooker. It's worth the pain !
Title: Re: Mandriva 2006 RPM Problem
Post by: Gerd78 on January 03, 2006, 08:11:40 PM
Quote
Originally posted by OldFrog
Anyway, I wonder it is worth to provide aMule-2.1.0 built on wxGtk-CVS ? Any opinion on that ?
Why not?

The Mac binaries are built with wx-CVS, too. If it works, maybe even better than the last released version, why not?
Title: Re: Mandriva 2006 RPM Problem
Post by: phileo on January 03, 2006, 08:22:27 PM
Oldfrog

Thank you for your answers

There were two parts in my second post

1) I had Wx CVS (2.7) because I installed it to use your amule CVS 2006-01-01 rpm (since I couldn't use 2.1.0)

This RPM (CVS) works but is a bit unstable / unreliable.
 I had two crashes in less than five minutes then it worked for almost 12 hours until I stopped it in the morning.

So nothing wrong there.

2) Prior to that I tried amule 2.1.0 RPM associated with wx 2.6.2 (from your site) and couldn't use it.

Today

I tried to uninstall an reinstall everything (aMule-2.1.0-1.i586.rpm and wx-gtk2-unicode-2.6.2-1.i586.rpm) : same problem
amule: /usr/lib/libwx_gtk2u_core-2.6.so.0: version `WXU_2.6.2' not found (required by amule)

I then tried your second amule 2.1.0 RPM (aMule-2.1.0-2.6u.i586.rpm) and it works fine.
It's running for more than 40 minutes now

So I'm Happy.


Thank you Oldfrog for providing RPMs
Thank you again to all the team for your great work and this great gift for beginning 2006 , the (so long) awaited amule 2.1.0
Title: Re: Mandriva 2006 RPM Problem
Post by: phileo on January 03, 2006, 08:35:26 PM
Olfrog

Regarding the opportunity to build amule 2.1.0 RPM using Wx CVS it's up to you.

If amule works better with Wx CVS then go ahead and do it.
Title: Re: Mandriva 2006 RPM Problem
Post by: Gerd78 on January 03, 2006, 08:42:18 PM
Just to let people know: The server with the wx-CVS tarballs is up again.

http://biolpc22.york.ac.uk/pub/CVS_HEAD/files/

Anyway, it's always possible to do a "real" CVS checkout:

http://www.wxwidgets.org/cvs.htm

For Linux, remember to check out "wxGTK" instead of "wxWidgets", it can save a lot of time, bandwidth and disk space.
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 03, 2006, 10:31:18 PM
Yes, I'm compiling wxGtk-CVS as of today now. Will be used starting from tomorrow to build CVS.

Beside that, you'll find CVS RPMs + a new rpm for 2.1.0 built against wxGtk-CVS as of 2005-12-02 here  (http://www.oldfrog.info/Linux/RPMsaMule/wxGTKu%20CVS%2020051202/) for Mandriva 2006 and higher.

aMule-CVS starting from today will be in /usr/local.

Both RPMs (CVS and 2.1.0) may coexist and have different entries in menu Internet/File Transfer (aMule and wxcas, I'll add amulegui later).
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 06, 2006, 08:39:34 AM
Quote
Originally posted by Kry
This looks like the wxScoket bug I fixed after wx2.6.2 was out... so wxCVS should fix it.


I did the wxGtk-CVS compilation, but anyway, Kry, could you please tell me what you did so as I correct the socket bug in my wxGtk-2.6.2 RPM ?
The reason is I guess many people won't like to use a devlopmnt package.
Title: Re: Mandriva 2006 RPM Problem
Post by: Kry on January 06, 2006, 06:58:30 PM
http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/src/unix/gsocket.cpp.diff?r1=1.53&r2=1.54
Title: Re: Mandriva 2006 RPM Problem
Post by: OldFrog on January 06, 2006, 07:10:52 PM
Lol, this was a tiny one ! Thanks a lot !
Title: Re: Mandriva 2006 RPM Problem
Post by: Kry on January 06, 2006, 07:16:02 PM
Please move this discussion to the packagers forum.