maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   svn, segmentation fault (https://talk.maemo.org/showthread.php?t=70570)

ajack 2011-03-26 00:41

Re: svn, segmentation fault
 
Quote:

Originally Posted by Mentalist Traceur (Post 975636)
sat2050: I would much rather take your solution to mece's one. Can you possibly request to be the maintainer of the subversion package in the repository and push your fixed-for-latest-version-of-the-libs subversion package to the repository?

Not that I can't compile myself, and I probably will using your steps, but it'd be nice if people didn't have to deal with either of the fixes in this thread from now on.

- Edit -

My problem with Mece's solution is obviously we had something that installed a more recent version of that lib - if something else depends on the later lib, now or in the future, we're back into dependency hell.

I agree with what you've said. However, Mece's solution gives us an immediate working subversion. Also, if such dependencies exist, it would have been highlighted by apt-get and the other dependent application would have been removed in the process.

Moving forward, we should report this to the maintainer and let them sort this out. Looking at the "apt-cache show libaprutil1" output, the maintainer is sebastien.lelong@gmail.com, do you want me to email this person?

ethernin 2011-03-26 09:16

Re: svn, segmentation fault
 
Quote:

Originally Posted by ajack (Post 975892)
I agree with what you've said. However, Mece's solution gives us an immediate working subversion. Also, if such dependencies exist, it would have been highlighted by apt-get and the other dependent application would have been removed in the process.

Moving forward, we should report this to the maintainer and let them sort this out. Looking at the "apt-cache show libaprutil1" output, the maintainer is sebastien.lelong@gmail.com, do you want me to email this person?


I Just want to say that you guys are AWESOME and this saved my day. I've been battling this for a long time and just found this. THANK YOU FOR ALL YOUR EFFORTS I LOVE THIS COMMUNITY! :D

ajack 2011-03-26 09:27

Re: svn, segmentation fault
 
I've emailed Sebastien:

Subversion problems on Maemo 5
From: Ajack <*******>
To: sebastien.lelong@gmail.com
Hi Sebastien,

The current version of subversion is having problems and we've identified the
following two packages as the culprit. They are libaprutil1 and libapr1. You
can find out more from the TMO thread at URL
http://talk.maemo.org/showthread.php...ght=subversion

Since you are listed as the maintainer of the two libraries, I was hoping you
can look into this problem so that this problem is resolved.

Regards,
Adrian (aka ajack)

ajack 2011-03-26 10:22

Re: svn, segmentation fault
 
I just got a reply... doesn't look good people... :(

-------

> Hi Adrian,
>
> Sorry to say, but I'm not in N900 dev anymore. I can remember I packaged
> a SVN, wasn't easy, mainly because weird dependencies (you can still skip
> them, and ./configure almost silents them, but then you got a very
> restrictive svn not able to checkout repos through https for
> instance...).
>
> I had a quick look at your thread, it seems you guys got a solution, the
> better is some of you replaces the deb I packaged, don't you think ?
> Sorry I can't dig this further. I've subscribed to the thread and will
> chime when I think I can help anyway.
>
> So many things to do, so little time... :)
>
>
> Cheers,
> Seb

ajack 2011-03-26 10:25

Re: svn, segmentation fault
 
I appreciate his (Sebastien Lelong) honesty and we do have a solution... maybe we can get TMO to downgrade the repos... but I am sure there are various QA issues involved. What now brown cow?

sat2050 2011-03-28 08:58

Re: svn, segmentation fault
 
Hello Guys,

Has some one been able to figure out if libapr is a dependecy for some package except for subversion, because it seems that the latest version of both libapr1 and libapr-util1 was patched for n900 using debian guidelines.
Also the source packages available at the package instance page dont seem to be proper because they had some files missing.
Therefore I had to download sources from subversion website again to recompile it.
Mece's versions are more stable than the latest versions for libapr1 and libaprutil-1.
For now subversion seems to run fine,
except one problem if the network hangs or connection is lost while checkout subversion stops responding and the drive may get corrupted so please run fsck utility if svn crashes.

mece 2011-03-28 09:15

Re: svn, segmentation fault
 
@sat2050 they are not "my versions" just the previous versions, that worked ;)
anyway, you can request to maintain the package and then upload fixed versions if you get it working.

sat2050 2011-03-28 10:06

Re: svn, segmentation fault
 
Quote:

Originally Posted by mece (Post 976964)
@sat2050 they are not "my versions" just the previous versions, that worked ;)
anyway, you can request to maintain the package and then upload fixed versions if you get it working.

I dont think I will be able to maintain the subversion package for now since I dont have much info about the svn build, I also need to be aware of the dfsg rules and maemo patches if applicable. Learning this will require a lot of time But with some help I am sure we can definitely try to maintian this package :)

Thanks

ajack 2011-03-28 17:10

Re: svn, segmentation fault
 
To sum it all up in one simple post, it has been identified that the libraries libapr1 and libaprutil1 is causing subversion to crash with a "segmentation fault" error. You can fix this by typing in:

Code:

sudo apt-get install libaprutil1=1.3.9-2 libapr1=1.4.2-1
However, this will cause the libraries to be replace when you do a package update with HAM, FAM or apt-get. To prevent these libraries from updating to the latest, create or edit the file at:

/etc/apt/preferences

And add in the following entires into the file:

Code:

Package: libaprutil1
Pin: version 1.3.9-2
Pin-Priority: 1001

Package: libapr1
Pin: version 1.4.2-1
Pin-Priority: 1001

This will pin the libraries and prevent them from being updated with the newer/faulty versions.

There was also reports that people had problems getting the older version of the two libs files. To download these two files, go to the following two URLs:

http://maemo.org/packages/view/libaprutil1/
http://maemo.org/packages/view/libapr1/

To install these DEBs, use the following command (as root):

Code:

dpkg -i <deb_file_armel.deb>
Hope this helps. :)

g_k 2011-03-30 12:03

Re: svn, segmentation fault
 
This is great news! However, I get the error message:

Quote:

E: Version '1.3.9-2' for 'libaprutil1' was not found
For libapr1 it is the same problem...

Do you have an idea why this can be?

Thanks in advance!


All times are GMT. The time now is 13:51.

vBulletin® Version 3.8.8