Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697716 - dev-tcltk/togl-2.0-r2 unconditionally installs static libraries
Summary: dev-tcltk/togl-2.0-r2 unconditionally installs static libraries
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: static-libs
  Show dependency tree
 
Reported: 2019-10-14 17:14 UTC by Alessandro Barbieri
Modified: 2019-10-18 02:58 UTC (History)
1 user (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 Alessandro Barbieri 2019-10-14 17:14:37 UTC
It install /usr/lib64/libToglstub2.0.a without an useflag

equery f togl
 * Searching for togl ...
 * Contents of dev-tcltk/togl-2.0-r2:
/usr
/usr/bin
/usr/include
/usr/include/togl.h
/usr/include/toglDecls.h
/usr/include/togl_ws.h
/usr/lib64
/usr/lib64/Togl2.0
/usr/lib64/Togl2.0/LICENSE
/usr/lib64/Togl2.0/libTogl2.0.so
/usr/lib64/Togl2.0/pkgIndex.tcl
/usr/lib64/libToglstub2.0.a
/usr/share
/usr/share/doc
/usr/share/doc/togl-2.0-r2
/usr/share/doc/togl-2.0-r2/README.bin
/usr/share/doc/togl-2.0-r2/README.stubs
/usr/share/doc/togl-2.0-r2/html
/usr/share/doc/togl-2.0-r2/html/capi.html
/usr/share/doc/togl-2.0-r2/html/download.html
/usr/share/doc/togl-2.0-r2/html/faq.html
/usr/share/doc/togl-2.0-r2/html/header.js
/usr/share/doc/togl-2.0-r2/html/index.html
/usr/share/doc/togl-2.0-r2/html/stereo.html
/usr/share/doc/togl-2.0-r2/html/tclapi.html
/usr/share/doc/togl-2.0-r2/html/upgrading.html
/usr/share/doc/togl-2.0-r2/html/using.html
Comment 1 Tupone Alfredo gentoo-dev 2019-10-17 06:20:43 UTC
why you do not want the stub library installed ?
Comment 2 Alessandro Barbieri 2019-10-17 20:09:08 UTC
Because it's a static library, see

https://archives.gentoo.org/gentoo-dev/message/2dada80c2b9c85b0e83e6328428bf8ab
https://flameeyes.blog/2011/08/29/useless-flag-static-libs/

for more context.
After reading https://wiki.tcl-lang.org/page/Stubs I'm more confused than before.
@Soap what do you think?
Comment 3 David Seifert gentoo-dev 2019-10-17 20:58:49 UTC
(In reply to Alessandro Barbieri from comment #2)
> Because it's a static library, see
> 
> https://archives.gentoo.org/gentoo-dev/message/
> 2dada80c2b9c85b0e83e6328428bf8ab
> https://flameeyes.blog/2011/08/29/useless-flag-static-libs/
> 
> for more context.
> After reading https://wiki.tcl-lang.org/page/Stubs I'm more confused than
> before.
> @Soap what do you think?

This is probably a special case. I still wonder whether there's a real world gain for Gentoo here...
Comment 4 Alessandro Barbieri 2019-10-18 02:58:44 UTC
Closing