![]() |
Re: svn, segmentation fault
Quote:
|
Re: svn, segmentation fault
Please ignore my previous comment
I was just going through http://maemo.org/packages/package_in...sion/1.6.12-3/ and saw the last patch that was made and hence was speculating but I did not see the date :D Sorry for the inconvenience caused but I am trying to resolve the problem as well and will post any updates I get Sorry again |
Re: svn, segmentation fault
Hi,
I am trying to recompile svn on maemo sdk but unable to configure the package. It seems there is some discrepancy in the libapr version. check following log Code:
maemo@maemo-desktop:~/subversion-1.6.12$ ./configure --with-ssl |
Re: svn, segmentation fault
I re-extracted the source for subversion 1.6.12-3 from
http://maemo.org/packages/source/vie...sion/1.6.12-3/ but did not apply the diff patch and was able to build svn successfully without errors. It seems errors raised after patching are due to missing directories for dependencies like libtool,libapr,sqllite,neon etc I shall test the armrel version in the morning. Will update the details here. |
Re: svn, segmentation fault
Quote:
|
Re: svn, segmentation fault
Quote:
Another question... How do we report bugs like this so that the maemo community can update the repos? |
Re: svn, segmentation fault
Guys this is the first time I am using maemo sdk to compile a package.
You can get the virtual image for the sdk and download the source for subversion. Use the sdk to compile this source. Also if you apply the patch to source please remember you will have to give paths to the lib directories alongwith configure because it raises while configuration. I have some work to finish up before I can start on this today. thanks any help is appreciated Update : Within Scratchbox I am able to install libapr1 from extras-devel Unable to install libaprutil1 Log output Code:
dpkg: regarding .../libaprutil1_1.3.9+dfsg-5~bpo50+1maemo2_i386.deb containing libaprutil1: |
Re: svn, segmentation fault
Quote:
|
Re: svn, segmentation fault
Quote:
Check Here I am unable to install libaprutil1 I am also unabel to compile libaprutil1 Code:
[sbox-FREMANTLE_X86: ~/apr-util-1.3.9+dfsg] > ./configure --with-apr=../apr-1.4.2/configure |
Re: svn, segmentation fault
Do keep us posted... Thanks again for your efforts... :)
|
Re: svn, segmentation fault
Okay I was able to compile apr-1.3.12 and apr-util-1.3.10
on scratchbox x86 config I am also able to run autogen and configure scripts for subversion but when I try to compile the source by invoking make command it returns error. Code:
cd subversion/svn && /bin/sh /home/maemo/svn/subversion-1.6.12/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -rpath /usr/local/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o conflict-callbacks.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o list-cmd.o lock-cmd.o log-cmd.o main.o merge-cmd.o mergeinfo-cmd.o mkdir-cmd.o move-cmd.o notify.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o tree-conflicts.o unlock-cmd.o update-cmd.o util.o ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_wc/libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_diff/libsvn_diff-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/local/apr/lib/libaprutil-1.la -lexpat /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread -ldl -L/scratchbox/devkits/svn/lib -Wl,-rpath -Wl,/scratchbox/host_shared/lib/ -Wl,-rpath -Wl,/scratchbox/tools/lib/ -Wl,-rpath -Wl,/scratchbox/devkits/svn/lib/ -L/scratchbox/devkits/svn/lib -lneon |
Re: svn, segmentation fault
Are you missing libopenssl-dev package?
|
Re: svn, segmentation fault
Quote:
Code:
apt-get install libssl-dev |
Re: svn, segmentation fault
Adding --without-neon I was able to compile svn on scratchbox x86
Code:
[sbox-FREMANTLE_X86: ~/svn/subversion-1.6.12] > ./subversion/svn/svn --version |
Re: svn, segmentation fault
Solved this one like this:
Code:
root Edit: Doing apt-get upgrade would break it again, naturally. But at least this method is simple enough for anyone to do. |
Re: svn, segmentation fault
@Mece: Thanks man! You've saved me from a lot of heartache! :D:D
@Sat2050: Thanks for the effort, but I guess I'll use Mece's method which is so much easier for the average user to follow. But your efforts is GREATLY APPRECIATED!!! :) |
Re: svn, segmentation fault
Quote:
|
Re: svn, segmentation fault
Quote:
and I was able to compile it on ARMREL as well :D |
Re: svn, segmentation fault
Quote:
|
Re: svn, segmentation fault
Quote:
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. |
Re: svn, segmentation fault
Quote:
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? |
Re: svn, segmentation fault
Quote:
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 |
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) |
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 |
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?
|
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. |
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. |
Re: svn, segmentation fault
Quote:
Thanks |
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 /etc/apt/preferences And add in the following entires into the file: Code:
Package: libaprutil1 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> |
Re: svn, segmentation fault
This is great news! However, I get the error message:
Quote:
Do you have an idea why this can be? Thanks in advance! |
Re: svn, segmentation fault
Quote:
there seems to be some problem with these packages on repo |
Re: svn, segmentation fault
Quote:
http://maemo.org/packages/view/libaprutil1/ http://maemo.org/packages/view/libapr1/ |
Re: svn, segmentation fault
Thanks a lot!
*yawn* What a great feeling to have subversion on my N900! :) |
Re: svn, segmentation fault
*Sigh* Wish maintainers actually COMMITTED to maintaining something for years down the line.
Meh. Oh, also, for those who don't feel like manually fetching old dependencies, or in case the repository auto-deletes them (which it does sometimes do) there's also git and the git-svn plugin for it available, so you can use git-svn to get your svn access. - Edit - Of course, to be fair, I understand that life gets in the way and other circumstances can demotivate, so I don't hold it against the developer. Also, I haven't actually tries git-svn yet - I just happened to find it when looking it up in the repository. - Edit 2 - Maybe not. Trying to apt-get the git-svn package gets a package not found, and the maemo.org/packages search, although it lists a git-svn package, doesn't seem to actually have anything to download. |
Re: svn, segmentation fault
Is there any reason why the repositories are not fixed yet? It's annoying to have them in an unstable state.
|
Re: svn, segmentation fault
apt-cache show subversion
show install subversion 1.6.12 & 1.6.16 i'm try apt-get purge subversion and apt-get install subversion |
[tutorial] compile subversion
Here is a step by step installation process of subversion and all the tools needed :
Beware, compilation and installation is not optified (add --prefix=/opt on every ./configure, but not tested) and not packaged (didn't dig into it), it's from upstream tarballs. 1) install compiler Code:
sudo gainroot Code:
sudo gainroot 3.1) download Code:
wget -c http://ftp.gnu.org/gnu/m4/m4-1.4.15.tar.gz Code:
gunzip m4-1.4.15.tar.gz Code:
cd m4-1.4.15 Code:
sudo gainroot Code:
cd .. 4.1) download Code:
wget -c http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz Code:
gunzip autoconf-2.68.tar.gz Code:
cd autoconf-2.68 Code:
sudo gainroot Code:
cd .. Code:
sudo gainroot Code:
sudo gainroot 7.1) download Code:
wget -c http://apache.mirrors.tds.net//apr/apr-1.4.5.tar.gz Code:
gunzip apr-1.4.5.tar.gz Code:
cd apr-1.4.5 Code:
sudo gainroot Code:
cd .. 8.1) download Code:
wget -c http://apache.mirrors.tds.net//apr/apr-util-1.3.12.tar.gz Code:
gunzip apr-util-1.3.12.tar.gz Code:
cd apr-util-1.3.12 Code:
sudo gainroot Code:
cd .. 9.1) download Code:
wget -c http://ftp.gnu.org/gnu/diffutils/diffutils-3.2.tar.gz Code:
gunzip diffutils-3.2.tar.gz Code:
cd diffutils-3.2 Code:
sudo gainroot Code:
cd .. 10.1) download Code:
wget -c http://subversion.tigris.org/downloads/subversion-1.6.17.tar.gz Code:
gunzip subversion-1.6.17.tar.gz Code:
cd subversion-1.6.17 Code:
sudo gainroot Code:
cd .. |
Re: svn, segmentation fault
2 Attachment(s)
Just found this thread as I was having the same problem. Big thanks
guys for finding the solution, it works fantastic. Only one thing, otherwise I would not have bothered bumping a two years old thread. Quote:
|
All times are GMT. The time now is 04:56. |
vBulletin® Version 3.8.8