<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>30153</bug_id>
          
          <creation_ts>2014-07-03 15:44:31 +0400</creation_ts>
          <short_desc>Различное поведение библиотеки</short_desc>
          <delta_ts>2014-07-03 22:35:03 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>qt5-base-common</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>anubix</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>146978</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2014-07-03 15:44:31 +0400</bug_when>
    <thetext>В опакеченном libxkbcommon не отрабатывает функция из context.c
ret |= xkb_context_include_path_append(ctx, DFLT_XKB_CONFIG_ROOT);
Следующая за ней
ret |= xkb_context_include_path_append(ctx, user_path);
отрабатывает, что видно по stat на каталог из strace.
C LD_PRELOAD libxkbcommon.so из только что собранного buildroot работает. Из опакеченноого из этого же buildroot уже не пашет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146979</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2014-07-03 15:46:32 +0400</bug_when>
    <thetext>$ LD_PRELOAD=/home/zerg/RPM/TMP/libxkbcommon-buildroot/usr/lib64/libxkbcommon.so strace ./Sigram 2&gt;&amp;1| grep xkb
[...]
stat(&quot;/usr/share/X11/xkb&quot;, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(&quot;/usr/share/X11/xkb&quot;, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access(&quot;/usr/share/X11/xkb&quot;, R_OK|X_OK) = 0
write(2, &quot;xkb_context_include_path_append &quot;..., 57xkb_context_include_path_append DFLT_XKB_CONFIG_ROOT &lt;1&gt;
stat(&quot;/home/zerg/.xkb&quot;, {st_mode=S_IFREG|0644, st_size=79, ...}) = 0
[...]

$ strace ./Sigram 2&gt;&amp;1| grep xkb
stat(&quot;/home/zerg/.xkb&quot;, {st_mode=S_IFREG|0644, st_size=79, ...}) = 0
write(2, &quot;xkbcommon: ERROR: &quot;, 18xkbcommon: ERROR: )      = 18
$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146980</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2014-07-03 15:48:52 +0400</bug_when>
    <thetext>Опробовано на https://github.com/sialan-labs/sigram</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146981</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2014-07-03 16:02:26 +0400</bug_when>
    <thetext>Причем, c LD_PRELOAD=/usr/lib64/libxkbcommon.so тоже работает, а файлы в buildroot и системе идентичны.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146982</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2014-07-03 16:41:48 +0400</bug_when>
    <thetext>Проблема в Qt5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146989</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2014-07-03 22:35:03 +0400</bug_when>
    <thetext>qt5-base-5.3.1-alt3 -&gt; sisyphus:

* Thu Jul 03 2014 Sergey V Turchin &lt;zerg@altlinux&gt; 5.3.1-alt3
- fix xcb-xkb usage (ALT#30153)

* Mon Jun 30 2014 Sergey V Turchin &lt;zerg@altlinux&gt; 5.3.1-alt1.M70P.1
- built for M70P</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>