Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776643 - [sage-on-gentoo overlay] singular-4.1.1_p2-r3 x86_64-pc-linux-gnu-g++: error: weak: No such file or directory when using slibtool
Summary: [sage-on-gentoo overlay] singular-4.1.1_p2-r3 x86_64-pc-linux-gnu-g++: error:...
Status: RESOLVED DUPLICATE of bug 778563
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: François Bissey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 09:35 UTC by Alessandro Barbieri
Modified: 2022-04-22 11:14 UTC (History)
2 users (show)

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


Attachments
singular-4.1.1_p2-r3:20210316-022943.log (singular-4.1.1_p2-r3:20210316-022943.log,589.98 KB, text/plain)
2021-03-16 09:36 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-16 09:35:58 UTC
slibtool: link: x86_64-pc-linux-gnu-g++ templates/.libs/p_Procs_FieldIndep_la-p_Procs_Lib.o -Os -pipe -march=native -Os -pipe -march=native -fPIC -fno-common -g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unus
ed-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-lo
ops -fno-delete-null-pointer-checks -fno-rtti -dynamic -weak_reference_mismatches weak -undefined dynamic_lookup -flat_namespace -Wl,-O1 -Wl,--as-needed -fPIC -pipe -fno-common -g0 -O3 -Wno-unused-function -Wno-
trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fconserve-space -funroll-loops -fno-delete-null-pointe
r-checks -rdynamic -Wl,-undefined,dynamic_lookup -shared -fPIC -o .libs/p_Procs_FieldIndep.so -Wl,--export-dynamic
x86_64-pc-linux-gnu-g++: error: weak: No such file or directory                                          
x86_64-pc-linux-gnu-g++: error: dynamic_lookup: No such file or directory                                
x86_64-pc-linux-gnu-g++: error: unrecognized command-line option ‘-weak_reference_mismatches’                                                                                                                      
x86_64-pc-linux-gnu-g++: error: unrecognized command-line option ‘-flat_namespace’                                                                                                                                 
slibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages).                                                                                                          
slibtool: < returned to > slbt_exec_link(), line 1836.                                                                                                                                                             
make[5]: *** [Makefile:960: p_Procs_FieldIndep.la] Error 2                                                                                                                                                         
make[5]: *** Waiting for unfinished jobs....
Comment 1 Alessandro Barbieri 2021-03-16 09:36:30 UTC
Created attachment 691752 [details]
singular-4.1.1_p2-r3:20210316-022943.log

buildlog
Comment 2 Ionen Wolkens gentoo-dev 2021-03-16 14:11:27 UTC
sage-on-gentoo is an unofficial overlay and bugs aren't supposed to be tracked here

https://github.com/cschwan/sage-on-gentoo/issues
Comment 3 Alessandro Barbieri 2021-03-16 16:19:43 UTC
Is this a new policy? I've always reported bug directed to overlays without critics
Comment 4 Ionen Wolkens gentoo-dev 2021-03-16 16:29:43 UTC
(In reply to Alessandro Barbieri from comment #3)
> Is this a new policy? I've always reported bug directed to overlays without
> critics
That's fine for official overlays, like ::java, ::science, ::guru

Status is indicated in:
https://api.gentoo.org/overlays/repositories.xml
Comment 5 Ionen Wolkens gentoo-dev 2021-03-16 16:38:03 UTC
(In reply to Ionen Wolkens from comment #4)
> That's fine for official overlays [...]
..not that it's a huge deal and sometimes gets a pass anyway, but I believe most unofficial overlays prefer to deal with issues on their own bug tracker.
Comment 6 Ionen Wolkens gentoo-dev 2021-03-16 17:31:22 UTC
Oh and to be clear i don't think there's a policy on this (regardless of official status).

It's also hard to tell what each overlay prefer unless they mention it in the description, if they have an active external bug tracker then I take the assumption (I've just been trying to do what makes sense, if you think it should be assigned here anyway just re-open and I'll do it).
Comment 7 Joakim Tjernlund 2021-03-16 18:41:11 UTC
If I were to guess I think libtool filters options and removes unrecognized ones.
Just remove the offending options from the sw pkg
Comment 8 Ionen Wolkens gentoo-dev 2021-03-17 07:42:45 UTC
Actually I'll change my stance, assigning. Sorry for the noise/delay and thanks for making me question myself.

Haven't needed to deal with my many of non-official ones given they're rare (here) so I wasn't entirely sure what to do. I'll just do otherwise if repositories.xml says so.
Comment 9 François Bissey 2021-03-17 08:10:59 UTC
Thank you for forwarding to me. I do also track issues from github but I have always had a flow from bugzilla. I also appreciate that it could be terminated at any time since my overlay is not official. I just hope there will be a notice.

@Alessandro your attached build log is unfortunately not very readable but from what you posted it looks like some options have been incorrectly parsed. It may be an issue with slibtool itself.
Comment 10 Michael Orlitzky gentoo-dev 2022-01-30 14:42:20 UTC
This should be fixed upstream now:

https://github.com/Singular/Singular/issues/1127

I plan to backport the fix to 4.3.0 when I add it.
Comment 11 Larry the Git Cow gentoo-dev 2022-04-22 00:50:11 UTC
The bug has been referenced in the following commit(s):

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

commit 63aade48ce1eab3facd2da194df1112516be3f5f
Author:     François Bissey <frp.bissey@gmail.com>
AuthorDate: 2022-04-06 22:21:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-22 00:50:01 +0000

    sci-mathematics/singular: added upstream fixes for #776643 and #830279
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
    Bug: https://bugs.gentoo.org/776643
    Bug: https://bugs.gentoo.org/830279
    Closes: https://github.com/gentoo/gentoo/pull/24888
    Signed-off-by: Sam James <sam@gentoo.org>

 .../singular/files/singular-4.3.0-includes.patch   | 29 +++++++++++++++++++
 .../singular/files/singular-4.3.0-slibtool.patch   | 33 ++++++++++++++++++++++
 sci-mathematics/singular/singular-4.3.0.ebuild     |  2 ++
 3 files changed, 64 insertions(+)
Comment 12 Michael Orlitzky gentoo-dev 2022-04-22 11:14:38 UTC
Let's resolve this in favor of the ::gentoo bug.

*** This bug has been marked as a duplicate of bug 778563 ***