Bug 1389956 - polymake-devel contains an .so file which is a library, not a symlink
Summary: polymake-devel contains an .so file which is a library, not a symlink
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: polymake
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1380878
TreeView+ depends on / blocked
 
Reported: 2016-10-29 22:23 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2017-12-12 10:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:45:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2016-10-29 22:23:57 UTC
Description of problem:

This comes out of https://bugzilla.redhat.com/show_bug.cgi?id=1380878#c2

$ rpmls polymake-devel|grep lib64/lib
-rwxr-xr-x  /usr/lib64/libpolymake-apps.so
lrwxrwxrwx  /usr/lib64/libpolymake.so
$ rpmls polymake|grep lib64/lib
-rwxr-xr-x  /usr/lib64/libpolymake-apps.so.3.0
-rwxr-xr-x  /usr/lib64/libpolymake.so.3.0

I'd expect the -devel subpackage to contain a .so symlink to libpolymake-apps.so.3.0, not a normal .so file.

Version-Release number of selected component (if applicable):
polymake-devel-3.0r2-1.fc25.x86_64

Comment 1 Jerry James 2016-10-30 00:23:41 UTC
What on earth happened there?  You're right.  Something has gone awry.  I will look into it.  Thanks for the report.

Comment 2 Jerry James 2016-10-30 00:32:23 UTC
It looks like upstream is doing this on purpose, although I have no idea why:

gcc -fPIC -shared -Wl,-z,relro  -L/usr/local/lib -fstack-protector-strong -Wl,-z,relro  -fstack-protector-strong -L/usr/local/lib -Wl,-soname,libpolymake-apps.so.3.0 -o ../../lib/libpolymake-apps.so applib_fake.c
gcc -fPIC -shared -Wl,-z,relro  -L/usr/local/lib -fstack-protector-strong -Wl,-z,relro  -fstack-protector-strong -L/usr/local/lib -Wl,-soname,libpolymake-apps.so.3.0 -o ../../lib/libpolymake-apps.so.3.0 applib_stub.c

I'll try to find someone upstream who can tell me what this is supposed to accomplish.

Comment 3 Jerry James 2016-11-04 14:27:26 UTC
What I know so far:
- Nothing in Fedora is linked against libpolymake-apps;
- Other distributions that ship polymake do not include libpolymake-apps;
- The two libraries appear designed to work around some kind of linking problem,
  a problem we have not encountered in Fedora;
- The very small amount of information  available online about libpolymake-apps
  all talks about MacOS X, suggesting that the linking problem only occurs there.

I am rebuilding polymake without libpolymake-apps.  If some reason for including it in Fedora arises in the future, we can revisit this.

Comment 4 Zbigniew Jędrzejewski-Szmek 2016-11-04 16:00:00 UTC
Thanks. This seems to be a reasonable solution.

Comment 5 Jerry James 2017-01-17 04:02:55 UTC
Now we get to revisit this.  It turns out that the next version of Singular, version 4.1.0, expects to link with -lpolymake-apps.  So now I really have to figure out what this is all about.  I'll go ask on the polymake forums.

Comment 6 Jerry James 2017-01-19 16:40:42 UTC
Discussion is here: https://forum.polymake.org/viewtopic.php?f=10&t=538

Comment 7 Fedora End Of Life 2017-11-16 19:01:49 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-12-12 10:45:13 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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