Bug 2321532 - Review Request: lpsolve-xli-CPLEX - CPLEX XLI plugin for lpsolve
Summary: Review Request: lpsolve-xli-CPLEX - CPLEX XLI plugin for lpsolve
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://sourceforge.net/projects/lpso...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-24 15:48 UTC by Petr Pisar
Modified: 2024-10-25 23:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2024-10-24 15:48:22 UTC
Spec URL: https://ppisar.fedorapeople.org/lpsolve-xli-CPLEX/lpsolve-xli-CPLEX.spec
SRPM URL: https://ppisar.fedorapeople.org/lpsolve-xli-CPLEX/lpsolve-xli-CPLEX-5.5.2.11-1.fc42.src.rpm
Description:
This library allows lpsolve to read and write model files in the CPLEX linear
programming format.

Fedora Account System Username: ppisar

Comment 1 Fedora Review Service 2024-10-24 15:50:51 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8172849
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2321532-lpsolve-xli-cplex/fedora-rawhide-x86_64/08172849-lpsolve-xli-CPLEX/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 James.Gunning@csiro.au 2024-10-24 22:47:37 UTC
That's great, thanks!
Except it needs the files yacc_read.[ch]
from the main lpsolve source tree to build properly, I believe: if I copy them in in a hacky way I think it builds ok.

Comment 3 James.Gunning@csiro.au 2024-10-24 23:19:53 UTC
Confirming also it seems to run fine, as long as the built libxli_CPLEX.so is in a sane place on the path (probably /lib/lib64 ?)
Just for records, usage is usually something like
% lp_solve -rxli xli_CPLEX model.lpt

Comment 4 Petr Pisar 2024-10-25 08:42:26 UTC
It only needs yacc_read.h header file. I added that file into lpsolve-devel-5.5.2.11-7.fc42.

Comment 5 James.Gunning@csiro.au 2024-10-25 23:21:38 UTC
Thanks Petr. That should do the trick. There are other xli interfaces too in the lpsolve code, 
so others may profit from the header in the lpsolve-devel rpm if those other interfaces appear as separate rpms in the future...


Note You need to log in before you can comment on or make changes to this bug.