Discussion:
[users] rapidsvn-0.9.6-2 segmentation fault
Abed-nego G. Escobal, Jr.
2011-04-20 09:35:02 UTC
Permalink
I would like to report a possible bug in rapidsvn

rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1

uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64

Previously it was working as expected but after the update of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I click on the repo bookmarks giving the error "Segmentation fault" in the command line when I start rapidsvn from the command line. Workign copy bookmarks works and I can browse through them. I have already tried reinstalling rapidsvn and wxGTK to no avail.

Please advise on any additional info that I should be stating.

Thanks!
Abed-nego G. Escobal, Jr.
2011-04-28 06:25:40 UTC
Permalink
Some additional info. I have up updated to the latest glibc and ncsd version

rpm -qa glibc\* ncsd
glibc-devel-2.5-58.el5_6.2.7.centos
glibc-headers-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
nscd-2.5-58.el5_6.2.7.centos
glibc-common-2.5-58.el5_6.2.7.centos


but still, rapidsvn crashes. After noticing this, I downgraded rapidsvn to 0.9.6-1 with wxGTK 2.6 yet it still crashes. I downgraded my subversion from 1.6 to 1.4 and used the latest wxGTK and rapidsvn then it worked again! So basically subversion 1.6 from official repo does not go well with the latest rapidsvn from rpmforge repo.

I will try rebuilding rapidsvn src.rpm against subversion 1.6 of official repo and see if problems will go away.
From: Abed-nego G. Escobal, Jr. <abednegoyulo at yahoo.com>
Subject: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMForge Users List" <users at lists.rpmforge.net>
Date: Wednesday, 20 April, 2011, 5:35 PM
I would like to report a possible bug
in rapidsvn
rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1
uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64
Previously it was working as expected but after the update
of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I
click on the repo bookmarks giving the error "Segmentation
fault" in the command line when I start rapidsvn from the
command line. Workign copy bookmarks works and I can browse
through them. I have already tried reinstalling rapidsvn and
wxGTK to no avail.
Please advise on any additional info that I should be
stating.
Thanks!
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Alfred Ganz
2011-04-28 13:17:43 UTC
Permalink
Abed-nego,

When you rebuild, make sure to use the latest glibc versions. The
ones that you listed in your message (glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for centos-5.6
seem to be glibc-2.5-58.el5_6.3.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 01:34:38 UTC
Permalink
I just hit a problem

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: alfred-ganz+dag at agci.com, users at lists.rpmforge.net
Date: Thursday, 28 April, 2011, 9:17 PM
Abed-nego,
When you rebuild, make sure to use the latest glibc
versions. The
ones that you listed in your message
(glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for
centos-5.6
seem to be glibc-2.5-58.el5_6.3.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Alfred Ganz
2011-04-29 03:41:55 UTC
Permalink
Date: Thu, 28 Apr 2011 18:34:38 -0700 (PDT)
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
Read the configure script and see how it tests for APR. You may have to
run it with --with-apr-config as instructed.

I presume it creates a small test program and tries to link it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a different place
than where they are installed, or it looks for a different version.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Alfred Ganz
2011-04-29 03:41:55 UTC
Permalink
Date: Thu, 28 Apr 2011 18:34:38 -0700 (PDT)
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
Read the configure script and see how it tests for APR. You may have to
run it with --with-apr-config as instructed.

I presume it creates a small test program and tries to link it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a different place
than where they are installed, or it looks for a different version.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Alfred Ganz
2011-04-29 03:41:55 UTC
Permalink
Date: Thu, 28 Apr 2011 18:34:38 -0700 (PDT)
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
Read the configure script and see how it tests for APR. You may have to
run it with --with-apr-config as instructed.

I presume it creates a small test program and tries to link it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a different place
than where they are installed, or it looks for a different version.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Alfred Ganz
2011-04-29 03:41:55 UTC
Permalink
Date: Thu, 28 Apr 2011 18:34:38 -0700 (PDT)
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
Read the configure script and see how it tests for APR. You may have to
run it with --with-apr-config as instructed.

I presume it creates a small test program and tries to link it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a different place
than where they are installed, or it looks for a different version.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Alfred Ganz
2011-04-29 03:41:55 UTC
Permalink
Date: Thu, 28 Apr 2011 18:34:38 -0700 (PDT)
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
Read the configure script and see how it tests for APR. You may have to
run it with --with-apr-config as instructed.

I presume it creates a small test program and tries to link it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a different place
than where they are installed, or it looks for a different version.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 05:53:20 UTC
Permalink
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file

%configure \
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

Seems to me that it already has --with-apr-config.

I found out that --with-apr-config locates the file apr-config but for the case of rhel5 and thus its derivatives, it is called apr-1-config. On my CentOS 5.6, it is located at

which apr-1-config
/usr/bin/apr-1-config

I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?

On the top portion of the spec file, only

%{?dtag: %{expand: %%define %dtag 1}}

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

%define desktop_vendor rpmforge

but no %define _bindir /usr/bin or any line that ressembles defining of _bindir.

If it is the recommended fix, not just some hack-type-fix, how should I be defining _bindir? I mean, are there any guidlines or standards that I should be following?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: users at lists.rpmforge.net
Date: Friday, 29 April, 2011, 11:41 AM
??? Date: Thu, 28 Apr
2011 18:34:38 -0700 (PDT)
??? Subject: Re: [users] rapidsvn-0.9.6-2
segmentation fault
???
??? checking for APR... not found
??? configure: error: APR is required. Try
--with-apr-config.
??? error: Bad exit status from
/var/tmp/rpm-tmp.14783 (%build)
???
??? What I have
???
??? rpm -qa --qf '%{name} %{vendor}
%{arch}\n' apr\*
??? apr-util CentOS x86_64
??? apr-devel CentOS x86_64
??? apr-util-devel CentOS x86_64
??? apr CentOS x86_64
???
??? Any suggestions?
Read the configure script and see how it tests for APR. You
may have to
run it with --with-apr-config as instructed.
I presume it creates a small test program and tries to link
it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a
different place
than where they are installed, or it looks for a different
version.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Alan Bartlett
2011-04-29 19:43:20 UTC
Permalink
On 29 April 2011 06:53, Abed-nego G. Escobal, Jr.
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)

Alan.
Alan Bartlett
2011-04-29 19:43:20 UTC
Permalink
On 29 April 2011 06:53, Abed-nego G. Escobal, Jr.
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)

Alan.
Alan Bartlett
2011-04-29 19:43:20 UTC
Permalink
On 29 April 2011 06:53, Abed-nego G. Escobal, Jr.
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)

Alan.
Alan Bartlett
2011-04-29 19:43:20 UTC
Permalink
On 29 April 2011 06:53, Abed-nego G. Escobal, Jr.
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)

Alan.
Alan Bartlett
2011-04-29 19:43:20 UTC
Permalink
On 29 April 2011 06:53, Abed-nego G. Escobal, Jr.
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)

Alan.
Abed-nego G. Escobal, Jr.
2011-04-20 09:35:02 UTC
Permalink
I would like to report a possible bug in rapidsvn

rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1

uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64

Previously it was working as expected but after the update of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I click on the repo bookmarks giving the error "Segmentation fault" in the command line when I start rapidsvn from the command line. Workign copy bookmarks works and I can browse through them. I have already tried reinstalling rapidsvn and wxGTK to no avail.

Please advise on any additional info that I should be stating.

Thanks!
Abed-nego G. Escobal, Jr.
2011-04-28 06:25:40 UTC
Permalink
Some additional info. I have up updated to the latest glibc and ncsd version

rpm -qa glibc\* ncsd
glibc-devel-2.5-58.el5_6.2.7.centos
glibc-headers-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
nscd-2.5-58.el5_6.2.7.centos
glibc-common-2.5-58.el5_6.2.7.centos


but still, rapidsvn crashes. After noticing this, I downgraded rapidsvn to 0.9.6-1 with wxGTK 2.6 yet it still crashes. I downgraded my subversion from 1.6 to 1.4 and used the latest wxGTK and rapidsvn then it worked again! So basically subversion 1.6 from official repo does not go well with the latest rapidsvn from rpmforge repo.

I will try rebuilding rapidsvn src.rpm against subversion 1.6 of official repo and see if problems will go away.
From: Abed-nego G. Escobal, Jr. <abednegoyulo at yahoo.com>
Subject: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMForge Users List" <users at lists.rpmforge.net>
Date: Wednesday, 20 April, 2011, 5:35 PM
I would like to report a possible bug
in rapidsvn
rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1
uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64
Previously it was working as expected but after the update
of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I
click on the repo bookmarks giving the error "Segmentation
fault" in the command line when I start rapidsvn from the
command line. Workign copy bookmarks works and I can browse
through them. I have already tried reinstalling rapidsvn and
wxGTK to no avail.
Please advise on any additional info that I should be
stating.
Thanks!
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Alfred Ganz
2011-04-28 13:17:43 UTC
Permalink
Abed-nego,

When you rebuild, make sure to use the latest glibc versions. The
ones that you listed in your message (glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for centos-5.6
seem to be glibc-2.5-58.el5_6.3.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 01:34:38 UTC
Permalink
I just hit a problem

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: alfred-ganz+dag at agci.com, users at lists.rpmforge.net
Date: Thursday, 28 April, 2011, 9:17 PM
Abed-nego,
When you rebuild, make sure to use the latest glibc
versions. The
ones that you listed in your message
(glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for
centos-5.6
seem to be glibc-2.5-58.el5_6.3.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 05:53:20 UTC
Permalink
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file

%configure \
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

Seems to me that it already has --with-apr-config.

I found out that --with-apr-config locates the file apr-config but for the case of rhel5 and thus its derivatives, it is called apr-1-config. On my CentOS 5.6, it is located at

which apr-1-config
/usr/bin/apr-1-config

I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?

On the top portion of the spec file, only

%{?dtag: %{expand: %%define %dtag 1}}

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

%define desktop_vendor rpmforge

but no %define _bindir /usr/bin or any line that ressembles defining of _bindir.

If it is the recommended fix, not just some hack-type-fix, how should I be defining _bindir? I mean, are there any guidlines or standards that I should be following?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: users at lists.rpmforge.net
Date: Friday, 29 April, 2011, 11:41 AM
??? Date: Thu, 28 Apr
2011 18:34:38 -0700 (PDT)
??? Subject: Re: [users] rapidsvn-0.9.6-2
segmentation fault
???
??? checking for APR... not found
??? configure: error: APR is required. Try
--with-apr-config.
??? error: Bad exit status from
/var/tmp/rpm-tmp.14783 (%build)
???
??? What I have
???
??? rpm -qa --qf '%{name} %{vendor}
%{arch}\n' apr\*
??? apr-util CentOS x86_64
??? apr-devel CentOS x86_64
??? apr-util-devel CentOS x86_64
??? apr CentOS x86_64
???
??? Any suggestions?
Read the configure script and see how it tests for APR. You
may have to
run it with --with-apr-config as instructed.
I presume it creates a small test program and tries to link
it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a
different place
than where they are installed, or it looks for a different
version.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-20 09:35:02 UTC
Permalink
I would like to report a possible bug in rapidsvn

rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1

uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64

Previously it was working as expected but after the update of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I click on the repo bookmarks giving the error "Segmentation fault" in the command line when I start rapidsvn from the command line. Workign copy bookmarks works and I can browse through them. I have already tried reinstalling rapidsvn and wxGTK to no avail.

Please advise on any additional info that I should be stating.

Thanks!
Abed-nego G. Escobal, Jr.
2011-04-28 06:25:40 UTC
Permalink
Some additional info. I have up updated to the latest glibc and ncsd version

rpm -qa glibc\* ncsd
glibc-devel-2.5-58.el5_6.2.7.centos
glibc-headers-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
nscd-2.5-58.el5_6.2.7.centos
glibc-common-2.5-58.el5_6.2.7.centos


but still, rapidsvn crashes. After noticing this, I downgraded rapidsvn to 0.9.6-1 with wxGTK 2.6 yet it still crashes. I downgraded my subversion from 1.6 to 1.4 and used the latest wxGTK and rapidsvn then it worked again! So basically subversion 1.6 from official repo does not go well with the latest rapidsvn from rpmforge repo.

I will try rebuilding rapidsvn src.rpm against subversion 1.6 of official repo and see if problems will go away.
From: Abed-nego G. Escobal, Jr. <abednegoyulo at yahoo.com>
Subject: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMForge Users List" <users at lists.rpmforge.net>
Date: Wednesday, 20 April, 2011, 5:35 PM
I would like to report a possible bug
in rapidsvn
rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1
uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64
Previously it was working as expected but after the update
of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I
click on the repo bookmarks giving the error "Segmentation
fault" in the command line when I start rapidsvn from the
command line. Workign copy bookmarks works and I can browse
through them. I have already tried reinstalling rapidsvn and
wxGTK to no avail.
Please advise on any additional info that I should be
stating.
Thanks!
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Alfred Ganz
2011-04-28 13:17:43 UTC
Permalink
Abed-nego,

When you rebuild, make sure to use the latest glibc versions. The
ones that you listed in your message (glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for centos-5.6
seem to be glibc-2.5-58.el5_6.3.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 01:34:38 UTC
Permalink
I just hit a problem

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: alfred-ganz+dag at agci.com, users at lists.rpmforge.net
Date: Thursday, 28 April, 2011, 9:17 PM
Abed-nego,
When you rebuild, make sure to use the latest glibc
versions. The
ones that you listed in your message
(glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for
centos-5.6
seem to be glibc-2.5-58.el5_6.3.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 05:53:20 UTC
Permalink
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file

%configure \
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

Seems to me that it already has --with-apr-config.

I found out that --with-apr-config locates the file apr-config but for the case of rhel5 and thus its derivatives, it is called apr-1-config. On my CentOS 5.6, it is located at

which apr-1-config
/usr/bin/apr-1-config

I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?

On the top portion of the spec file, only

%{?dtag: %{expand: %%define %dtag 1}}

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

%define desktop_vendor rpmforge

but no %define _bindir /usr/bin or any line that ressembles defining of _bindir.

If it is the recommended fix, not just some hack-type-fix, how should I be defining _bindir? I mean, are there any guidlines or standards that I should be following?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: users at lists.rpmforge.net
Date: Friday, 29 April, 2011, 11:41 AM
??? Date: Thu, 28 Apr
2011 18:34:38 -0700 (PDT)
??? Subject: Re: [users] rapidsvn-0.9.6-2
segmentation fault
???
??? checking for APR... not found
??? configure: error: APR is required. Try
--with-apr-config.
??? error: Bad exit status from
/var/tmp/rpm-tmp.14783 (%build)
???
??? What I have
???
??? rpm -qa --qf '%{name} %{vendor}
%{arch}\n' apr\*
??? apr-util CentOS x86_64
??? apr-devel CentOS x86_64
??? apr-util-devel CentOS x86_64
??? apr CentOS x86_64
???
??? Any suggestions?
Read the configure script and see how it tests for APR. You
may have to
run it with --with-apr-config as instructed.
I presume it creates a small test program and tries to link
it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a
different place
than where they are installed, or it looks for a different
version.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-20 09:35:02 UTC
Permalink
I would like to report a possible bug in rapidsvn

rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1

uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64

Previously it was working as expected but after the update of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I click on the repo bookmarks giving the error "Segmentation fault" in the command line when I start rapidsvn from the command line. Workign copy bookmarks works and I can browse through them. I have already tried reinstalling rapidsvn and wxGTK to no avail.

Please advise on any additional info that I should be stating.

Thanks!
Abed-nego G. Escobal, Jr.
2011-04-28 06:25:40 UTC
Permalink
Some additional info. I have up updated to the latest glibc and ncsd version

rpm -qa glibc\* ncsd
glibc-devel-2.5-58.el5_6.2.7.centos
glibc-headers-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
nscd-2.5-58.el5_6.2.7.centos
glibc-common-2.5-58.el5_6.2.7.centos


but still, rapidsvn crashes. After noticing this, I downgraded rapidsvn to 0.9.6-1 with wxGTK 2.6 yet it still crashes. I downgraded my subversion from 1.6 to 1.4 and used the latest wxGTK and rapidsvn then it worked again! So basically subversion 1.6 from official repo does not go well with the latest rapidsvn from rpmforge repo.

I will try rebuilding rapidsvn src.rpm against subversion 1.6 of official repo and see if problems will go away.
From: Abed-nego G. Escobal, Jr. <abednegoyulo at yahoo.com>
Subject: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMForge Users List" <users at lists.rpmforge.net>
Date: Wednesday, 20 April, 2011, 5:35 PM
I would like to report a possible bug
in rapidsvn
rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1
uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64
Previously it was working as expected but after the update
of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I
click on the repo bookmarks giving the error "Segmentation
fault" in the command line when I start rapidsvn from the
command line. Workign copy bookmarks works and I can browse
through them. I have already tried reinstalling rapidsvn and
wxGTK to no avail.
Please advise on any additional info that I should be
stating.
Thanks!
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Alfred Ganz
2011-04-28 13:17:43 UTC
Permalink
Abed-nego,

When you rebuild, make sure to use the latest glibc versions. The
ones that you listed in your message (glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for centos-5.6
seem to be glibc-2.5-58.el5_6.3.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 01:34:38 UTC
Permalink
I just hit a problem

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: alfred-ganz+dag at agci.com, users at lists.rpmforge.net
Date: Thursday, 28 April, 2011, 9:17 PM
Abed-nego,
When you rebuild, make sure to use the latest glibc
versions. The
ones that you listed in your message
(glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for
centos-5.6
seem to be glibc-2.5-58.el5_6.3.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 05:53:20 UTC
Permalink
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file

%configure \
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

Seems to me that it already has --with-apr-config.

I found out that --with-apr-config locates the file apr-config but for the case of rhel5 and thus its derivatives, it is called apr-1-config. On my CentOS 5.6, it is located at

which apr-1-config
/usr/bin/apr-1-config

I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?

On the top portion of the spec file, only

%{?dtag: %{expand: %%define %dtag 1}}

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

%define desktop_vendor rpmforge

but no %define _bindir /usr/bin or any line that ressembles defining of _bindir.

If it is the recommended fix, not just some hack-type-fix, how should I be defining _bindir? I mean, are there any guidlines or standards that I should be following?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: users at lists.rpmforge.net
Date: Friday, 29 April, 2011, 11:41 AM
??? Date: Thu, 28 Apr
2011 18:34:38 -0700 (PDT)
??? Subject: Re: [users] rapidsvn-0.9.6-2
segmentation fault
???
??? checking for APR... not found
??? configure: error: APR is required. Try
--with-apr-config.
??? error: Bad exit status from
/var/tmp/rpm-tmp.14783 (%build)
???
??? What I have
???
??? rpm -qa --qf '%{name} %{vendor}
%{arch}\n' apr\*
??? apr-util CentOS x86_64
??? apr-devel CentOS x86_64
??? apr-util-devel CentOS x86_64
??? apr CentOS x86_64
???
??? Any suggestions?
Read the configure script and see how it tests for APR. You
may have to
run it with --with-apr-config as instructed.
I presume it creates a small test program and tries to link
it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a
different place
than where they are installed, or it looks for a different
version.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-20 09:35:02 UTC
Permalink
I would like to report a possible bug in rapidsvn

rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1

uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64

Previously it was working as expected but after the update of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I click on the repo bookmarks giving the error "Segmentation fault" in the command line when I start rapidsvn from the command line. Workign copy bookmarks works and I can browse through them. I have already tried reinstalling rapidsvn and wxGTK to no avail.

Please advise on any additional info that I should be stating.

Thanks!
Abed-nego G. Escobal, Jr.
2011-04-28 06:25:40 UTC
Permalink
Some additional info. I have up updated to the latest glibc and ncsd version

rpm -qa glibc\* ncsd
glibc-devel-2.5-58.el5_6.2.7.centos
glibc-headers-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
glibc-2.5-58.el5_6.2.7.centos
nscd-2.5-58.el5_6.2.7.centos
glibc-common-2.5-58.el5_6.2.7.centos


but still, rapidsvn crashes. After noticing this, I downgraded rapidsvn to 0.9.6-1 with wxGTK 2.6 yet it still crashes. I downgraded my subversion from 1.6 to 1.4 and used the latest wxGTK and rapidsvn then it worked again! So basically subversion 1.6 from official repo does not go well with the latest rapidsvn from rpmforge repo.

I will try rebuilding rapidsvn src.rpm against subversion 1.6 of official repo and see if problems will go away.
From: Abed-nego G. Escobal, Jr. <abednegoyulo at yahoo.com>
Subject: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMForge Users List" <users at lists.rpmforge.net>
Date: Wednesday, 20 April, 2011, 5:35 PM
I would like to report a possible bug
in rapidsvn
rapidsvn-0.9.6-2.el5.rf
wxGTK-2.8.12-1.el5.rf
subversion-1.6.11-7.el5_6.3
centos-release-5-6.el5.centos.1
uname -rmi
2.6.18-238.9.1.el5xen x86_64 x86_64
Previously it was working as expected but after the update
of CentOS from 5.5 to 5.6, rapidsvn keep crashing whenever I
click on the repo bookmarks giving the error "Segmentation
fault" in the command line when I start rapidsvn from the
command line. Workign copy bookmarks works and I can browse
through them. I have already tried reinstalling rapidsvn and
wxGTK to no avail.
Please advise on any additional info that I should be
stating.
Thanks!
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Alfred Ganz
2011-04-28 13:17:43 UTC
Permalink
Abed-nego,

When you rebuild, make sure to use the latest glibc versions. The
ones that you listed in your message (glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for centos-5.6
seem to be glibc-2.5-58.el5_6.3.

AG
--
----------------------------------------------------------------------
Alfred Ganz alfred-ganz:at:agci.com
AG Consulting, Inc. (203) 624-9667
440 Prospect Street # 11
New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 01:34:38 UTC
Permalink
I just hit a problem

checking for APR... not found
configure: error: APR is required. Try --with-apr-config.
error: Bad exit status from /var/tmp/rpm-tmp.14783 (%build)

What I have

rpm -qa --qf '%{name} %{vendor} %{arch}\n' apr\*
apr-util CentOS x86_64
apr-devel CentOS x86_64
apr-util-devel CentOS x86_64
apr CentOS x86_64

Any suggestions?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: alfred-ganz+dag at agci.com, users at lists.rpmforge.net
Date: Thursday, 28 April, 2011, 9:17 PM
Abed-nego,
When you rebuild, make sure to use the latest glibc
versions. The
ones that you listed in your message
(glibc-2.5-58.el5_6.2.7.centos)
look like they may be out of date. The latest updates for
centos-5.6
seem to be glibc-2.5-58.el5_6.3.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-04-29 05:53:20 UTC
Permalink
Since it is now verified that I don't have any lacking packages, I will now try to modify the spec file. Inspecting the contents of the spec file

%configure \
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

Seems to me that it already has --with-apr-config.

I found out that --with-apr-config locates the file apr-config but for the case of rhel5 and thus its derivatives, it is called apr-1-config. On my CentOS 5.6, it is located at

which apr-1-config
/usr/bin/apr-1-config

I found a fedora 9 bug that dates back to 2009 which indicates that fedora 9 redefines %{_bindir} as /bin instead of /usr/bin. I don't know if it is the case as I am in now but I just want to be sure. How will I know if %{_bindir} has /bin or /usr/bin ?

On the top portion of the spec file, only

%{?dtag: %{expand: %%define %dtag 1}}

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

%define desktop_vendor rpmforge

but no %define _bindir /usr/bin or any line that ressembles defining of _bindir.

If it is the recommended fix, not just some hack-type-fix, how should I be defining _bindir? I mean, are there any guidlines or standards that I should be following?
From: Alfred Ganz <alfred-ganz+dag at agci.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "Abed-nego G. Escobal, Jr." <abednegoyulo at yahoo.com>
Cc: users at lists.rpmforge.net
Date: Friday, 29 April, 2011, 11:41 AM
??? Date: Thu, 28 Apr
2011 18:34:38 -0700 (PDT)
??? Subject: Re: [users] rapidsvn-0.9.6-2
segmentation fault
???
??? checking for APR... not found
??? configure: error: APR is required. Try
--with-apr-config.
??? error: Bad exit status from
/var/tmp/rpm-tmp.14783 (%build)
???
??? What I have
???
??? rpm -qa --qf '%{name} %{vendor}
%{arch}\n' apr\*
??? apr-util CentOS x86_64
??? apr-devel CentOS x86_64
??? apr-util-devel CentOS x86_64
??? apr CentOS x86_64
???
??? Any suggestions?
Read the configure script and see how it tests for APR. You
may have to
run it with --with-apr-config as instructed.
I presume it creates a small test program and tries to link
it, and it
either looks for libapr-1.so.0 or libaprutil-1.so.0 in a
different place
than where they are installed, or it looks for a different
version.
AG
--
----------------------------------------------------------------------
???Alfred Ganz???
??? ??? ???
??? alfred-ganz:at:agci.com
???AG Consulting, Inc.???
??? ??? ???
(203) 624-9667
???440 Prospect Street # 11
???New Haven, CT 06511
----------------------------------------------------------------------
Abed-nego G. Escobal, Jr.
2011-05-02 07:09:20 UTC
Permalink
Thanks Alan. Upon checking the files, I saw the following in /usr/lib/rpm/macros

%_prefix /usr
%_exec_prefix %{_prefix}
%_bindir %{_exec_prefix}/bin

So indeed _bindir has /usr/bin. So this leaves the spec file as the culprit, or it seems to be.

So far these are the things that has been verified
1. No lacking package
2. _bindir is defined as it should be

Since those two facts are established. I played around with the spec file and finally got it to rebuild. Below is the patch for the spec file in rapidsvn-0.9.6-2.rf.src.rpm

/***********begin patch************/

*** rapidsvn.spec.orig 2011-05-02 14:51:34.000000000 +0800
--- rapidsvn.spec 2011-05-02 14:52:07.000000000 +0800
***************
*** 11,17 ****
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
--- 11,17 ----
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.1.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
***************
*** 58,65 ****
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! %{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
! %{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}
--- 58,65 ----
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! --with-apr-config="%{_bindir}/apr-1-config" \
! --with-apu-config="%{_bindir}/apu-1-config"
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

/************end patch*************/

I am a little puzzled with my solution because, in my understanding, the following lines should enable the --with-apr-config and --with-apu-config options.

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

I can only guess that bash does not recognize these lines thus failing to enable the two options. BTW, I forgot to delete those two lines when I created the patch.

Not only I have a working rapidsvn but this also gave me some additional knowledge! Thanks very much to all!
From: Alan Bartlett <ajb at elrepo.org>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Saturday, 30 April, 2011, 3:43 AM
On 29 April 2011 06:53, Abed-nego G.
Escobal, Jr.
<abednegoyulo at yahoo.com>
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking
packages, I will now try to modify the spec file. Inspecting
the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which
indicates that fedora 9 redefines %{_bindir} as /bin instead
of /usr/bin. I don't know if it is the case as I am in now
but I just want to be sure. How will I know if %{_bindir}
has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)
Alan.
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Yury V. Zaytsev
2011-05-02 15:01:04 UTC
Permalink
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave me some
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes here?

https://github.com/repoforge/rpms

Patches floating around the mailing list against unknown versions of the
specs are generally hard to understand and track. I don't see what you
have really changed.

Do I get it right that the rebuild of rapidsvn against subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-05-02 15:01:04 UTC
Permalink
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave me some
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes here?

https://github.com/repoforge/rpms

Patches floating around the mailing list against unknown versions of the
specs are generally hard to understand and track. I don't see what you
have really changed.

Do I get it right that the rebuild of rapidsvn against subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-05-02 15:01:04 UTC
Permalink
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave me some
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes here?

https://github.com/repoforge/rpms

Patches floating around the mailing list against unknown versions of the
specs are generally hard to understand and track. I don't see what you
have really changed.

Do I get it right that the rebuild of rapidsvn against subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-05-02 15:01:04 UTC
Permalink
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave me some
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes here?

https://github.com/repoforge/rpms

Patches floating around the mailing list against unknown versions of the
specs are generally hard to understand and track. I don't see what you
have really changed.

Do I get it right that the rebuild of rapidsvn against subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
Yury V. Zaytsev
2011-05-02 15:01:04 UTC
Permalink
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave me some
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes here?

https://github.com/repoforge/rpms

Patches floating around the mailing list against unknown versions of the
specs are generally hard to understand and track. I don't see what you
have really changed.

Do I get it right that the rebuild of rapidsvn against subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
Abed-nego G. Escobal, Jr.
2011-05-03 02:26:38 UTC
Permalink
Yes. That is correct. Rebuilding rapidsvn against the current subversion in EL5.6 fixed it.

In EL5.5, the version of subversion is 1.4 and it got bumped to 1.6 in EL5.6. After the update, rapidsvn was crashing when selecting a repo from the bookmarks. A rapidsvn started from the command line will crash and exit with an error of "segmentation fault" after clicking a repo in the bookmark. I tried getting a copy of subversion 1.4 from the official repo and installing it. After that rapidsvn worked again. This hinted me that I should try to rebuild rapidsvn against the current subversion version of EL5.6.

Basically, I did not modify the spec file to a very different one. I just converted this

%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}

to this

--with-apr-config="%{_bindir}/apr-1-config" \
--with-apu-config="%{_bindir}/apu-1-config"

If my understading is correct, the lines

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

controls the enabling of apr and apu options in the configure part. Since I saw that those have been assigned with value 1, then I assumed that apr and apu are enabled during configure. The weird part is I keep failing on rebuilding the src.rpm file against the current version of subverion with the error "try --with-apr". Honestly, it drived me nuts. I've even done installing i386 version of all devel packages just to see if it will fix it. I really have doubts that there is a problem with the spec file. I was going to revert back to subversion 1.4 when curiosity hit me and decided try to remove the %{?_with_apr1: and %{?_with_apu1: parts. Then bam! it compiled.
Post by Yury V. Zaytsev
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Ok, I am new to this. Should my modifications be counted as a submission worth submitting? I just enabled apr and apu without relying on some other variables. Those variables did not work for me but I am under the impression that it will work for the maintainer. So just by rebuilding the rapidsvn against the current version of subversion, the segmentation fault will be fixed.

IMHO, a request for a rebuild is much better.

Please advise. Thanks!
Post by Yury V. Zaytsev
From: Yury V. Zaytsev <yury at shurup.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Monday, 2 May, 2011, 11:01 PM
On Mon, 2011-05-02 at 00:09 -0700,
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave
me some
Post by Abed-nego G. Escobal, Jr.
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Patches floating around the mailing list against unknown
versions of the
specs are generally hard to understand and track. I don't
see what you
have really changed.
Do I get it right that the rebuild of rapidsvn against
subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-02 07:09:20 UTC
Permalink
Thanks Alan. Upon checking the files, I saw the following in /usr/lib/rpm/macros

%_prefix /usr
%_exec_prefix %{_prefix}
%_bindir %{_exec_prefix}/bin

So indeed _bindir has /usr/bin. So this leaves the spec file as the culprit, or it seems to be.

So far these are the things that has been verified
1. No lacking package
2. _bindir is defined as it should be

Since those two facts are established. I played around with the spec file and finally got it to rebuild. Below is the patch for the spec file in rapidsvn-0.9.6-2.rf.src.rpm

/***********begin patch************/

*** rapidsvn.spec.orig 2011-05-02 14:51:34.000000000 +0800
--- rapidsvn.spec 2011-05-02 14:52:07.000000000 +0800
***************
*** 11,17 ****
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
--- 11,17 ----
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.1.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
***************
*** 58,65 ****
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! %{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
! %{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}
--- 58,65 ----
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! --with-apr-config="%{_bindir}/apr-1-config" \
! --with-apu-config="%{_bindir}/apu-1-config"
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

/************end patch*************/

I am a little puzzled with my solution because, in my understanding, the following lines should enable the --with-apr-config and --with-apu-config options.

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

I can only guess that bash does not recognize these lines thus failing to enable the two options. BTW, I forgot to delete those two lines when I created the patch.

Not only I have a working rapidsvn but this also gave me some additional knowledge! Thanks very much to all!
From: Alan Bartlett <ajb at elrepo.org>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Saturday, 30 April, 2011, 3:43 AM
On 29 April 2011 06:53, Abed-nego G.
Escobal, Jr.
<abednegoyulo at yahoo.com>
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking
packages, I will now try to modify the spec file. Inspecting
the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which
indicates that fedora 9 redefines %{_bindir} as /bin instead
of /usr/bin. I don't know if it is the case as I am in now
but I just want to be sure. How will I know if %{_bindir}
has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)
Alan.
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-03 02:26:38 UTC
Permalink
Yes. That is correct. Rebuilding rapidsvn against the current subversion in EL5.6 fixed it.

In EL5.5, the version of subversion is 1.4 and it got bumped to 1.6 in EL5.6. After the update, rapidsvn was crashing when selecting a repo from the bookmarks. A rapidsvn started from the command line will crash and exit with an error of "segmentation fault" after clicking a repo in the bookmark. I tried getting a copy of subversion 1.4 from the official repo and installing it. After that rapidsvn worked again. This hinted me that I should try to rebuild rapidsvn against the current subversion version of EL5.6.

Basically, I did not modify the spec file to a very different one. I just converted this

%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}

to this

--with-apr-config="%{_bindir}/apr-1-config" \
--with-apu-config="%{_bindir}/apu-1-config"

If my understading is correct, the lines

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

controls the enabling of apr and apu options in the configure part. Since I saw that those have been assigned with value 1, then I assumed that apr and apu are enabled during configure. The weird part is I keep failing on rebuilding the src.rpm file against the current version of subverion with the error "try --with-apr". Honestly, it drived me nuts. I've even done installing i386 version of all devel packages just to see if it will fix it. I really have doubts that there is a problem with the spec file. I was going to revert back to subversion 1.4 when curiosity hit me and decided try to remove the %{?_with_apr1: and %{?_with_apu1: parts. Then bam! it compiled.
Post by Yury V. Zaytsev
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Ok, I am new to this. Should my modifications be counted as a submission worth submitting? I just enabled apr and apu without relying on some other variables. Those variables did not work for me but I am under the impression that it will work for the maintainer. So just by rebuilding the rapidsvn against the current version of subversion, the segmentation fault will be fixed.

IMHO, a request for a rebuild is much better.

Please advise. Thanks!
Post by Yury V. Zaytsev
From: Yury V. Zaytsev <yury at shurup.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Monday, 2 May, 2011, 11:01 PM
On Mon, 2011-05-02 at 00:09 -0700,
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave
me some
Post by Abed-nego G. Escobal, Jr.
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Patches floating around the mailing list against unknown
versions of the
specs are generally hard to understand and track. I don't
see what you
have really changed.
Do I get it right that the rebuild of rapidsvn against
subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-02 07:09:20 UTC
Permalink
Thanks Alan. Upon checking the files, I saw the following in /usr/lib/rpm/macros

%_prefix /usr
%_exec_prefix %{_prefix}
%_bindir %{_exec_prefix}/bin

So indeed _bindir has /usr/bin. So this leaves the spec file as the culprit, or it seems to be.

So far these are the things that has been verified
1. No lacking package
2. _bindir is defined as it should be

Since those two facts are established. I played around with the spec file and finally got it to rebuild. Below is the patch for the spec file in rapidsvn-0.9.6-2.rf.src.rpm

/***********begin patch************/

*** rapidsvn.spec.orig 2011-05-02 14:51:34.000000000 +0800
--- rapidsvn.spec 2011-05-02 14:52:07.000000000 +0800
***************
*** 11,17 ****
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
--- 11,17 ----
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.1.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
***************
*** 58,65 ****
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! %{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
! %{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}
--- 58,65 ----
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! --with-apr-config="%{_bindir}/apr-1-config" \
! --with-apu-config="%{_bindir}/apu-1-config"
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

/************end patch*************/

I am a little puzzled with my solution because, in my understanding, the following lines should enable the --with-apr-config and --with-apu-config options.

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

I can only guess that bash does not recognize these lines thus failing to enable the two options. BTW, I forgot to delete those two lines when I created the patch.

Not only I have a working rapidsvn but this also gave me some additional knowledge! Thanks very much to all!
From: Alan Bartlett <ajb at elrepo.org>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Saturday, 30 April, 2011, 3:43 AM
On 29 April 2011 06:53, Abed-nego G.
Escobal, Jr.
<abednegoyulo at yahoo.com>
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking
packages, I will now try to modify the spec file. Inspecting
the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which
indicates that fedora 9 redefines %{_bindir} as /bin instead
of /usr/bin. I don't know if it is the case as I am in now
but I just want to be sure. How will I know if %{_bindir}
has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)
Alan.
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-03 02:26:38 UTC
Permalink
Yes. That is correct. Rebuilding rapidsvn against the current subversion in EL5.6 fixed it.

In EL5.5, the version of subversion is 1.4 and it got bumped to 1.6 in EL5.6. After the update, rapidsvn was crashing when selecting a repo from the bookmarks. A rapidsvn started from the command line will crash and exit with an error of "segmentation fault" after clicking a repo in the bookmark. I tried getting a copy of subversion 1.4 from the official repo and installing it. After that rapidsvn worked again. This hinted me that I should try to rebuild rapidsvn against the current subversion version of EL5.6.

Basically, I did not modify the spec file to a very different one. I just converted this

%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}

to this

--with-apr-config="%{_bindir}/apr-1-config" \
--with-apu-config="%{_bindir}/apu-1-config"

If my understading is correct, the lines

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

controls the enabling of apr and apu options in the configure part. Since I saw that those have been assigned with value 1, then I assumed that apr and apu are enabled during configure. The weird part is I keep failing on rebuilding the src.rpm file against the current version of subverion with the error "try --with-apr". Honestly, it drived me nuts. I've even done installing i386 version of all devel packages just to see if it will fix it. I really have doubts that there is a problem with the spec file. I was going to revert back to subversion 1.4 when curiosity hit me and decided try to remove the %{?_with_apr1: and %{?_with_apu1: parts. Then bam! it compiled.
Post by Yury V. Zaytsev
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Ok, I am new to this. Should my modifications be counted as a submission worth submitting? I just enabled apr and apu without relying on some other variables. Those variables did not work for me but I am under the impression that it will work for the maintainer. So just by rebuilding the rapidsvn against the current version of subversion, the segmentation fault will be fixed.

IMHO, a request for a rebuild is much better.

Please advise. Thanks!
Post by Yury V. Zaytsev
From: Yury V. Zaytsev <yury at shurup.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Monday, 2 May, 2011, 11:01 PM
On Mon, 2011-05-02 at 00:09 -0700,
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave
me some
Post by Abed-nego G. Escobal, Jr.
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Patches floating around the mailing list against unknown
versions of the
specs are generally hard to understand and track. I don't
see what you
have really changed.
Do I get it right that the rebuild of rapidsvn against
subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-02 07:09:20 UTC
Permalink
Thanks Alan. Upon checking the files, I saw the following in /usr/lib/rpm/macros

%_prefix /usr
%_exec_prefix %{_prefix}
%_bindir %{_exec_prefix}/bin

So indeed _bindir has /usr/bin. So this leaves the spec file as the culprit, or it seems to be.

So far these are the things that has been verified
1. No lacking package
2. _bindir is defined as it should be

Since those two facts are established. I played around with the spec file and finally got it to rebuild. Below is the patch for the spec file in rapidsvn-0.9.6-2.rf.src.rpm

/***********begin patch************/

*** rapidsvn.spec.orig 2011-05-02 14:51:34.000000000 +0800
--- rapidsvn.spec 2011-05-02 14:52:07.000000000 +0800
***************
*** 11,17 ****
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
--- 11,17 ----
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.1.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
***************
*** 58,65 ****
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! %{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
! %{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}
--- 58,65 ----
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! --with-apr-config="%{_bindir}/apr-1-config" \
! --with-apu-config="%{_bindir}/apu-1-config"
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

/************end patch*************/

I am a little puzzled with my solution because, in my understanding, the following lines should enable the --with-apr-config and --with-apu-config options.

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

I can only guess that bash does not recognize these lines thus failing to enable the two options. BTW, I forgot to delete those two lines when I created the patch.

Not only I have a working rapidsvn but this also gave me some additional knowledge! Thanks very much to all!
From: Alan Bartlett <ajb at elrepo.org>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Saturday, 30 April, 2011, 3:43 AM
On 29 April 2011 06:53, Abed-nego G.
Escobal, Jr.
<abednegoyulo at yahoo.com>
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking
packages, I will now try to modify the spec file. Inspecting
the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which
indicates that fedora 9 redefines %{_bindir} as /bin instead
of /usr/bin. I don't know if it is the case as I am in now
but I just want to be sure. How will I know if %{_bindir}
has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)
Alan.
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-03 02:26:38 UTC
Permalink
Yes. That is correct. Rebuilding rapidsvn against the current subversion in EL5.6 fixed it.

In EL5.5, the version of subversion is 1.4 and it got bumped to 1.6 in EL5.6. After the update, rapidsvn was crashing when selecting a repo from the bookmarks. A rapidsvn started from the command line will crash and exit with an error of "segmentation fault" after clicking a repo in the bookmark. I tried getting a copy of subversion 1.4 from the official repo and installing it. After that rapidsvn worked again. This hinted me that I should try to rebuild rapidsvn against the current subversion version of EL5.6.

Basically, I did not modify the spec file to a very different one. I just converted this

%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}

to this

--with-apr-config="%{_bindir}/apr-1-config" \
--with-apu-config="%{_bindir}/apu-1-config"

If my understading is correct, the lines

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

controls the enabling of apr and apu options in the configure part. Since I saw that those have been assigned with value 1, then I assumed that apr and apu are enabled during configure. The weird part is I keep failing on rebuilding the src.rpm file against the current version of subverion with the error "try --with-apr". Honestly, it drived me nuts. I've even done installing i386 version of all devel packages just to see if it will fix it. I really have doubts that there is a problem with the spec file. I was going to revert back to subversion 1.4 when curiosity hit me and decided try to remove the %{?_with_apr1: and %{?_with_apu1: parts. Then bam! it compiled.
Post by Yury V. Zaytsev
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Ok, I am new to this. Should my modifications be counted as a submission worth submitting? I just enabled apr and apu without relying on some other variables. Those variables did not work for me but I am under the impression that it will work for the maintainer. So just by rebuilding the rapidsvn against the current version of subversion, the segmentation fault will be fixed.

IMHO, a request for a rebuild is much better.

Please advise. Thanks!
Post by Yury V. Zaytsev
From: Yury V. Zaytsev <yury at shurup.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Monday, 2 May, 2011, 11:01 PM
On Mon, 2011-05-02 at 00:09 -0700,
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave
me some
Post by Abed-nego G. Escobal, Jr.
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Patches floating around the mailing list against unknown
versions of the
specs are generally hard to understand and track. I don't
see what you
have really changed.
Do I get it right that the rebuild of rapidsvn against
subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-02 07:09:20 UTC
Permalink
Thanks Alan. Upon checking the files, I saw the following in /usr/lib/rpm/macros

%_prefix /usr
%_exec_prefix %{_prefix}
%_bindir %{_exec_prefix}/bin

So indeed _bindir has /usr/bin. So this leaves the spec file as the culprit, or it seems to be.

So far these are the things that has been verified
1. No lacking package
2. _bindir is defined as it should be

Since those two facts are established. I played around with the spec file and finally got it to rebuild. Below is the patch for the spec file in rapidsvn-0.9.6-2.rf.src.rpm

/***********begin patch************/

*** rapidsvn.spec.orig 2011-05-02 14:51:34.000000000 +0800
--- rapidsvn.spec 2011-05-02 14:52:07.000000000 +0800
***************
*** 11,17 ****
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
--- 11,17 ----
Summary: Graphical front-end for the Subversion concurrent versioning system.
Name: rapidsvn
Version: 0.9.6
! Release: 2.1.rf
License: BSD
Group: Development/Tools
URL: http://rapidsvn.tigris.org/
***************
*** 58,65 ****
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! %{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
! %{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}
--- 58,65 ----
--disable-no-exceptions \
--with-docbook-xsl="%{_datadir}/sgml/docbook/xsl-stylesheets" \
--with-svn-lib="%{_libdir}" \
! --with-apr-config="%{_bindir}/apr-1-config" \
! --with-apu-config="%{_bindir}/apu-1-config"
# --with-svn-include="%{_includedir}/subversion-1" \
# --with-wx-config="%{_bindir}/wxgtk-2.4-config" \
%{__make} %{?_smp_mflags}

/************end patch*************/

I am a little puzzled with my solution because, in my understanding, the following lines should enable the --with-apr-config and --with-apu-config options.

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

I can only guess that bash does not recognize these lines thus failing to enable the two options. BTW, I forgot to delete those two lines when I created the patch.

Not only I have a working rapidsvn but this also gave me some additional knowledge! Thanks very much to all!
From: Alan Bartlett <ajb at elrepo.org>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Saturday, 30 April, 2011, 3:43 AM
On 29 April 2011 06:53, Abed-nego G.
Escobal, Jr.
<abednegoyulo at yahoo.com>
Post by Abed-nego G. Escobal, Jr.
Since it is now verified that I don't have any lacking
packages, I will now try to modify the spec file. Inspecting
the contents of the spec file
<snip>
Post by Abed-nego G. Escobal, Jr.
I found a fedora 9 bug that dates back to 2009 which
indicates that fedora 9 redefines %{_bindir} as /bin instead
of /usr/bin. I don't know if it is the case as I am in now
but I just want to be sure. How will I know if %{_bindir}
has /bin or /usr/bin ?
Off the top of my head, I'll say check in your
/usr/lib/rpm/[redhat/]macros files. (Both of them.)
Alan.
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Abed-nego G. Escobal, Jr.
2011-05-03 02:26:38 UTC
Permalink
Yes. That is correct. Rebuilding rapidsvn against the current subversion in EL5.6 fixed it.

In EL5.5, the version of subversion is 1.4 and it got bumped to 1.6 in EL5.6. After the update, rapidsvn was crashing when selecting a repo from the bookmarks. A rapidsvn started from the command line will crash and exit with an error of "segmentation fault" after clicking a repo in the bookmark. I tried getting a copy of subversion 1.4 from the official repo and installing it. After that rapidsvn worked again. This hinted me that I should try to rebuild rapidsvn against the current subversion version of EL5.6.

Basically, I did not modify the spec file to a very different one. I just converted this

%{?_with_apr1:--with-apr-config="%{_bindir}/apr-1-config"} \
%{?_with_apu1:--with-apu-config="%{_bindir}/apu-1-config"}

to this

--with-apr-config="%{_bindir}/apr-1-config" \
--with-apu-config="%{_bindir}/apu-1-config"

If my understading is correct, the lines

%{?el5: %define _with_apr1 1}
%{?el5: %define _with_apu1 1}

controls the enabling of apr and apu options in the configure part. Since I saw that those have been assigned with value 1, then I assumed that apr and apu are enabled during configure. The weird part is I keep failing on rebuilding the src.rpm file against the current version of subverion with the error "try --with-apr". Honestly, it drived me nuts. I've even done installing i386 version of all devel packages just to see if it will fix it. I really have doubts that there is a problem with the spec file. I was going to revert back to subversion 1.4 when curiosity hit me and decided try to remove the %{?_with_apr1: and %{?_with_apu1: parts. Then bam! it compiled.
Post by Yury V. Zaytsev
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Ok, I am new to this. Should my modifications be counted as a submission worth submitting? I just enabled apr and apu without relying on some other variables. Those variables did not work for me but I am under the impression that it will work for the maintainer. So just by rebuilding the rapidsvn against the current version of subversion, the segmentation fault will be fixed.

IMHO, a request for a rebuild is much better.

Please advise. Thanks!
Post by Yury V. Zaytsev
From: Yury V. Zaytsev <yury at shurup.com>
Subject: Re: [users] rapidsvn-0.9.6-2 segmentation fault
To: "RPMforge users" <users at lists.rpmforge.net>
Date: Monday, 2 May, 2011, 11:01 PM
On Mon, 2011-05-02 at 00:09 -0700,
Post by Abed-nego G. Escobal, Jr.
Not only I have a working rapidsvn but this also gave
me some
Post by Abed-nego G. Escobal, Jr.
additional knowledge! Thanks very much to all!
Could you please submit a pull request with your changes
here?
https://github.com/repoforge/rpms
Patches floating around the mailing list against unknown
versions of the
specs are generally hard to understand and track. I don't
see what you
have really changed.
Do I get it right that the rebuild of rapidsvn against
subversion from
EL5.6 helped you to sort it out?
--
Sincerely yours,
Yury V. Zaytsev
_______________________________________________
users mailing list
users at lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/users
Loading...