Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613352 - app-text/bibutils: Please upgrade to 5.11 - ebuild attached
Summary: app-text/bibutils: Please upgrade to 5.11 - ebuild attached
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 529950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-20 22:10 UTC by segmentation fault
Modified: 2019-01-11 21:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bibutils-5.11.ebuild (bibutils-5.11.ebuild,1.64 KB, text/plain)
2017-03-20 22:10 UTC, segmentation fault
Details

Note You need to log in before you can comment on or make changes to this bug.
Description segmentation fault 2017-03-20 22:10:34 UTC
Created attachment 467756 [details]
bibutils-5.11.ebuild

Current 4.12 version of bibutils is ancient (in itself not a problem for me) and buggy (big problem for me): see https://bugs.gentoo.org/show_bug.cgi?id=613346

Please upgrade to the current 5.11 version!

For your convenience, I attach an ebuild that does the job - I used it to merge 5.11 myself. It compiles the dynamic version of bibutils, i.e. the one with libbibutils.so.5.11. The ebuild patches two files in place.  It is not perfect: usually you would patch 

configure 

and

lib/Makefile.dynamic

then put the patches in the files directory and tell the ebuild to patch. I was somewhat lazy, so I used sed to edit those two files in the prepare phase. Somewhat quick'n dirty, but nothing extraordinary.
See the comments in the ebuild.

Now you have no excuse: just take the attached ebuild and bump that fine version - finally! :-)
Comment 1 segmentation fault 2017-03-20 22:18:01 UTC
I forgot:

You might have to change SRC_URI in the ebuild - but that's certainly not a problem. I downloaded the source tarball into my /usr/portage/distfiles directory manually, so I did not encounter any problems there.

My problem was: how do I specify a sourceforge URI that does not end up with all those URL parameters in the filename? That's why I downloaded the sources manually first.

I am sure you can fix that very easily in the ebuild.
Comment 2 Michael Orlitzky gentoo-dev 2017-03-22 00:57:30 UTC
(In reply to segmentation fault from comment #1)
> 
> My problem was: how do I specify a sourceforge URI that does not end up with
> all those URL parameters in the filename? That's why I downloaded the
> sources manually first.

We have some special syntax for sourceforge; for example,

  SRC_URI="mirror://sourceforge/limitcpu/${P}.tar.gz"

Another thing you could do is rename the tarball after downloading it. See "Renaming sources" on

  https://devmanual.gentoo.org/ebuild-writing/variables/index.html#src_uri
Comment 3 Pacho Ramos gentoo-dev 2018-02-19 14:26:54 UTC
*** Bug 529950 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2019-01-11 21:23:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c3adb551b63268fd4011bb1eb14a1018b49ea0

commit d9c3adb551b63268fd4011bb1eb14a1018b49ea0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2019-01-11 21:23:11 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2019-01-11 21:23:38 +0000

    app-text/bibutils: Version bump
    
    Closes: https://bugs.gentoo.org/613346
    Closes: https://bugs.gentoo.org/613352
    Bug: https://bugs.gentoo.org/662884
    Package-Manager: Portage-2.3.54, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 app-text/bibutils/Manifest            |  1 +
 app-text/bibutils/bibutils-6.7.ebuild | 47 +++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)