Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614866 - sci-mathematics/lpsolve-5.5.2.5 released
Summary: sci-mathematics/lpsolve-5.5.2.5 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-06 17:11 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2023-02-04 17:25 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2017-04-06 17:11:58 UTC
sci-mathematics/lpsolve-5.5.2.5 was released on 2016-09-24.
Comment 1 Michael Orlitzky gentoo-dev 2020-03-27 00:52:14 UTC
This upstream release it totally broken. The ./configure script isn't executable, which is OK I guess, because it tries to create its Makefile from a Makefile.in that doesn't exist. Even running eautoreconf can't fix it.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2020-11-28 19:16:01 UTC
(In reply to Michael Orlitzky from comment #1)
> This upstream release it totally broken. The ./configure script isn't
> executable, which is OK I guess, because it tries to create its Makefile
> from a Makefile.in that doesn't exist. Even running eautoreconf can't fix it.

5.5.2.9 is similarly braindead.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-11-29 04:09:28 UTC
sci-mathematics/lpsolve-5.5.2.0 has SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz", and that lpsolve-5.5.2.0.tar.xz is different than lp_solve_5.5.2.0_source.tar.gz from upstream.

lp_solve_5.5.2.0_source.tar.gz from upstream does not contain any Makefile* files.

lpsolve-5.5.2.0.tar.xz contains configure.ac and Makefile.am written by Tomáš Chvátal <scarabeus@gentoo.org>.

> $ cat lpsolve-5.5.2.0/configure.ac
> dnl Process this file with autoconf to create configure.
> 
> # header
> # ------------------------------------------------------------------------------
> # Copyright (C) 2011 Tomáš 'scarabeus' Chvátal <tomas.chvatal@gmail.com>
> # ------------------------------------------------------------------------------
> AC_PREREQ([2.65])
> 
> dnl Version definitions.
> m4_define([lpsolve_version_major],[5])
> m4_define([lpsolve_version_minor],[5])
> m4_define([lpsolve_version_micro],[2])
> m4_define([lpsolve_version_patchlevel],[0])
> m4_define([lpsolve_version],[lpsolve_version_major.lpsolve_version_minor.lpsolve_version_micro.lpsolve_version_patchlevel])
> 
> AC_INIT([lpsolve],[lpsolve_version],[http://sourceforge.net/projects/lpsolve/])
> AC_CONFIG_MACRO_DIR([m4])
> AM_INIT_AUTOMAKE([1.11 foreign dist-xz])
> m4_define([AM_SILENT_RULES])
> AC_LANG([C])
> 
> # Checks for programs.
> AC_PROG_CC
> AC_PROG_LIBTOOL
> AC_PROG_YACC
> AC_PROG_LEX
> 
> AC_CHECK_HEADERS([math.h],,[AC_MSG_ERROR([math.h not found.])])
> AC_SEARCH_LIBS([m],,[AC_MSG_ERROR([m library not found.])])
> AC_CHECK_HEADERS([colamd.h],,[AC_MSG_ERROR([colamd.h not found.])])
> AC_SEARCH_LIBS([colamd],,[AC_MSG_ERROR([colamd library not found.])])
> LIBS="-lm -lcolamd -ldl"
> 
> # trailer
> AC_CONFIG_FILES([Makefile])
> 
> AC_OUTPUT


Probably you can continue using configure.ac and Makefile.am written by Tomáš Chvátal <scarabeus@gentoo.org>, with potential updates for newer version.
Creating custom archive is maybe unnecessary.
These 2 small files can be added to ${FILESDIR}.
Comment 4 A.J. 2021-01-06 16:30:44 UTC
Probably need to address this ASAP because dev.gentooexperimental.com is currently dead.  It's blocking libreoffice for me.

sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild:SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"

FWIW other uses of dev.gentooexperimental.org:

sci-mathematics/ggnfs/ggnfs-0.77.1-r2.ebuild:	http://dev.gentooexperimental.org/~dreeevil/${P}.zip
sys-devel/ucpp/ucpp-1.3.4.ebuild:SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
Comment 5 Michael Orlitzky gentoo-dev 2021-01-06 18:32:50 UTC
lpsolve-5.5.2.11 was released only a week ago but is still completely unusable out of the box. I'm not going to waste time on it if upstream won't even pretend to make an effort to release something that works.
Comment 6 A.J. 2021-02-04 21:25:45 UTC
is there an archive the lpsolve-5.5.2 dist file can be retrieved from?  It's kind of a joke that I haven't been able to install a common office suite because I can't download/build the dependency.
Comment 7 Jack 2022-02-21 19:58:14 UTC
I just deleted the lpsolve tarball from my distfiles dir, and ran "ebuild path/to/ebuild fetch" and it downloaded just fine - but not from http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz (from the ebuild) it actually fetched https://mirror.leaseweb.com/gentoo/distfiles/aa/lpsolve-5.5.2.0.tar.xz.  I can't figure out where it made the switch in servers.
Comment 8 Andreas Sturmlechner gentoo-dev 2022-02-21 19:59:58 UTC
It is because you have GENTOO_MIRRORS configured properly.
Comment 9 Jack 2022-02-21 22:28:35 UTC
Ah, thank for that clue.  However, shouldn't the ebuild still be changed so the SRC_URI isn't pointing to a dead site?  (Yes, I realize that's a minor matter given the other issues here.)
Comment 10 Larry the Git Cow gentoo-dev 2023-02-03 03:24:18 UTC
The bug has been closed via the following commit(s):

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

commit 4d99a7bbea555c90ad7a180ac42de81579464dee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-03 03:21:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-03 03:21:57 +0000

    sci-mathematics/lpsolve: add 5.5.2.11
    
    Closes: https://bugs.gentoo.org/614866
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-mathematics/lpsolve/Manifest                   |   1 +
 .../lpsolve/files/lpsolve-5.5.2.11-misc.patch      | 328 +++++++++++++++++++++
 sci-mathematics/lpsolve/lpsolve-5.5.2.11.ebuild    |  39 +++
 3 files changed, 368 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2023-02-03 03:49:50 UTC
The bug has been referenced in the following commit(s):

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

commit e00dce2f8eabd06e24eabd8f4d940d6dcec1ebc2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-03 03:49:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-03 03:49:26 +0000

    Revert "sci-mathematics/lpsolve: add 5.5.2.11"
    
    This reverts commit 4d99a7bbea555c90ad7a180ac42de81579464dee.
    
    I didn't mean to push this yet.
    
    Bug: https://bugs.gentoo.org/614866
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-mathematics/lpsolve/Manifest                   |   1 -
 .../lpsolve/files/lpsolve-5.5.2.11-misc.patch      | 328 ---------------------
 sci-mathematics/lpsolve/lpsolve-5.5.2.11.ebuild    |  39 ---
 3 files changed, 368 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2023-02-03 05:11:07 UTC
The bug has been closed via the following commit(s):

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

commit 014467d7cc4b8096fbb189c6d2a97a5e5710c50b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-03 03:21:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-03 04:17:19 +0000

    sci-mathematics/lpsolve: add 5.5.2.11
    
    Note that this is -r1 because of e00dce2f8eabd06e24eabd8f4d940d6dcec1ebc2.
    
    Closes: https://bugs.gentoo.org/614866
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-mathematics/lpsolve/Manifest                   |   1 +
 .../lpsolve/files/lpsolve-5.5.2.11-misc.patch      | 335 +++++++++++++++++++++
 sci-mathematics/lpsolve/lpsolve-5.5.2.11-r1.ebuild |  44 +++
 3 files changed, 380 insertions(+)
Comment 13 Andreas Sturmlechner gentoo-dev 2023-02-03 20:40:21 UTC
Needs a slot op, revdep needs a slot dep.

!!! existing preserved libs:
>>> package: sci-mathematics/lpsolve-5.5.2.11-r1
 *  - /usr/lib64/liblpsolve55.so.0
 *  - /usr/lib64/liblpsolve55.so.0.0.0
 *      used by /usr/lib64/libreoffice/program/libsolverlo.so (app-office/libreoffice-7.4.5.1)
Comment 14 Andreas Sturmlechner gentoo-dev 2023-02-03 20:43:07 UTC
*subslot
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-03 20:55:23 UTC
Please feel free to do it now or I'll do it myself when back at computer soon. Sorry for missing.
Comment 16 Larry the Git Cow gentoo-dev 2023-02-04 17:25:59 UTC
The bug has been closed via the following commit(s):

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

commit 0ebebe508b9dffbd7bbc10155c2ddcee593960aa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-04 17:19:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-04 17:22:57 +0000

    sci-mathematics/lpsolve: add subslot for new version
    
    It broke ABI and I didn't realise, sorry!
    
    Closes: https://bugs.gentoo.org/614866
    Signed-off-by: Sam James <sam@gentoo.org>

 ...psolve-5.5.2.11-r1.ebuild => lpsolve-5.5.2.11-r2.ebuild} | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit afbf63cff600c28f5d064b8495e7ea5e45d123c8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-04 17:22:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-04 17:22:59 +0000

    app-office/libreoffice: add lpsolve subslot dep
    
    Not revbumping myself as LO is one of those packages which needs
    some special care around doing so given huge build time and there's
    possibly a version bump soon anyway.
    
    Bug: https://bugs.gentoo.org/614866
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/libreoffice/libreoffice-7.3.7.2.ebuild  | 2 +-
 app-office/libreoffice/libreoffice-7.4.4.2.ebuild  | 2 +-
 app-office/libreoffice/libreoffice-7.4.5.1.ebuild  | 2 +-
 app-office/libreoffice/libreoffice-7.4.9999.ebuild | 2 +-
 app-office/libreoffice/libreoffice-9999.ebuild     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

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

commit 25774a0a53557d280b9519cd6b85cf7da886e95f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-04 17:19:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-04 17:22:58 +0000

    sci-biology/augustus: add lpsolve subslot dep
    
    Bug: https://bugs.gentoo.org/614866
    Signed-off-by: Sam James <sam@gentoo.org>

 .../augustus/{augustus-3.4.0-r2.ebuild => augustus-3.4.0-r3.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)