Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157402 - x11-misc/xlockmore-5.23 links to opengl libs with USE="-opengl"
Summary: x11-misc/xlockmore-5.23 links to opengl libs with USE="-opengl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 22:22 UTC by vyp08
Modified: 2007-05-02 10:47 UTC (History)
0 users

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 vyp08 2006-12-06 22:22:51 UTC
x11-base/xorg-x11-7.1
x11-misc/xlockmore-5.21-r1

1. xlock +enablesaver -allowaccess -mode blank -startCmd "xset dpms 0 0 3"
DPMS is off.
2. xlock +enablesaver -allowaccess -mode blank -startCmd "xset dpms 0 0 4"
DPMS is on.
3. xlock +enablesaver -allowaccess -mode blank -startCmd "xset dpms 0 0 10"
DPMS is on.
4. xlock -enablesaver -allowaccess -mode blank -startCmd "xset dpms 0 0 10"
DPMS is off

It is a bug or feature?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 14:38:52 UTC
Could you specify what's exactly the bug here?
Comment 2 vyp08 2006-12-07 21:40:54 UTC
  My display must go to DPMSOFF over 10 and more second in "blank" mode with "+enablesaver" (on by default). But it not :(. Other xlockmore's modes do it fine.
  May be this is not bug, i don't know. In documentation this case ("-mode blank +enablesaver -dpmsoff x") not considered, and when my users put a question to me - I find answer only in sources.
  Alike question I find on
http://marc2.theaimsgroup.com/?l=xlock-discuss&m=109895492907975&w=2
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-08 01:04:05 UTC
Reopen...
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-02-23 12:37:45 UTC
Is the problem still in 5.23?
Comment 5 vyp08 2007-02-26 06:58:17 UTC
No, command

xlock -nolock +enablesaver -allowaccess -mode blank -startCmd "xset dpms 0 0 10" -endCmd "xset dpms 0 0 0"

work. Thanks.

But. I don't use OpenGL in xlockmore.

# emerge -pv xlockmore
[ebuild   R   ] x11-misc/xlockmore-5.23  USE="crypt pam -debug -esd -gtk -motif -nas -opengl -truetype -unicode -xlockrc" 0 kB

# ldd `which xlock`
        linux-gate.so.1 =>  (0x5749c000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x57481000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x57467000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0x57454000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x573cc000)
        libGL.so.1 => //usr//lib/opengl/nvidia/lib/libGL.so.1 (0x57347000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x572af000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x57280000)
        libpam.so.0 => /lib/libpam.so.0 (0x57276000)
        libdl.so.2 => /lib/libdl.so.2 (0x57272000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x5715b000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x57149000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 (0x57014000)
        libm.so.6 => /lib/libm.so.6 (0x56ff0000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 (0x56fe6000)
        libc.so.6 => /lib/libc.so.6 (0x56ec6000)
        libGLcore.so.1 => //usr//lib/opengl/nvidia/lib/libGLcore.so.1 (0x56703000)
        libnvidia-tls.so.1 => //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0x56701000)
        /lib/ld-linux.so.2 (0x5749d000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x566fc000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x566f5000)

Why OpenGL lib's appears? And outcome:

# xlock
xlock: error while loading shared libraries: //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1: cannot make segment writable for relocation: Permission denied
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-05-02 10:47:51 UTC
(In reply to comment #5)
> xlock: error while loading shared libraries:
> //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1: cannot make segment writable
> for relocation: Permission denied

Fixed.