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

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

    <bug>
          <bug_id>4353</bug_id>
          
          <creation_ts>2004-06-14 03:16:41 +0400</creation_ts>
          <short_desc>рушит pkgconfig</short_desc>
          <delta_ts>2005-07-13 15:46:13 +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>libplanner</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>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Denis Ovsienko">pilot</reporter>
          <assigned_to name="Pavel Vainerman">pv</assigned_to>
          <cc>lav</cc>
    
    <cc>pv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15075</commentid>
    <comment_count>0</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2004-06-14 03:16:41 +0400</bug_when>
    <thetext>В состав libplanner входит libplanner.pc, в котором прописана зависимость на
libxml-2.0. В зависимостях библиотеки соответствующе порции нет, и pkgconfig при
натыкании на libplanner.pc не может нормально работать. Привожу кусок лога с IRC:

&lt;Pilot&gt; &quot;undefined reference to `Gdk::Pixbuf::get_n_channels() const&apos;&quot;. which
packages should i look for?
&lt;danielk&gt; that&apos;s in libgdkmm
&lt;Pilot&gt; i have gdk-pixbuf and gdk-pixbuf-devel
&lt;danielk&gt; but pkg-config --libs gtkmm-2.4 should do everything
* Pilot looks
&lt;danielk&gt; gdkmm is part of gtkmm
&lt;Pilot&gt; $ pkg-config --libs gtkmm-2.4
&lt;Pilot&gt; -lgtkmm-2.4
&lt;Pilot&gt; cool
&lt;danielk&gt; what???
&lt;Pilot&gt; exactly
&lt;danielk&gt; your system is fucking broken
&lt;danielk&gt; daniel@harry:~$ pkg-config --libs gtkmm-2.4
&lt;danielk&gt; -Wl,--export-dynamic -L/opt/gnome2/lib -lgtkmm-2.4 -lgdkmm-2.4
-latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
&lt;Pilot&gt; gtkmm-2.4.pc contains Requires: glibmm-2.4 gdkmm-2.4 pangomm-1.4
atkmm-1.6 gtk+-2.0
&lt;Pilot&gt; Libs: -lgtkmm-2.4
&lt;danielk&gt; weird
&lt;Pilot&gt; i can post a blocker bug
&lt;Pilot&gt; we are expecting a beta soon
&lt;danielk&gt; the Libs: part is right
&lt;danielk&gt; something is wrong with pkg-config on your box
&lt;danielk&gt; it should pull in the deps
&lt;Pilot&gt; pkgconfig-0.15.0
&lt;danielk&gt; same here
&lt;Pilot&gt; pkg-config --list-all shows only pango and pangoxft
&lt;danielk&gt; uh oh
&lt;Pilot&gt; i mean that&apos;s only packages which match *pango*
&lt;Pilot&gt; should there be pangomm*
&lt;Pilot&gt; ?
&lt;danielk&gt; yes
&lt;danielk&gt; daniel@harry:~$ pkg-config --modversion pangomm-1.4
&lt;danielk&gt; 2.4.2
&lt;Pilot&gt; there&apos;s no *atk* or *gtk*
&lt;Pilot&gt; should i file a bug?
&lt;ska-fan_&gt; is gtk2-devel installed?
* Pilot looks at x-chat &quot;about&quot; and sees: &quot;Renderer: Pango&quot;
&lt;Pilot&gt; libgtk+2-devel-2.4.1-alt1
&lt;Pilot&gt; libgtkmm2-devel-2.4.1-alt1
&lt;ska-fan_&gt; does it contain a .pkg file
&lt;ska-fan_&gt; err, .pc file
&lt;Pilot&gt; found!
&lt;ska-fan_&gt; where
&lt;Pilot&gt; all .pc files are present
&lt;ska-fan_&gt; 00:53 &lt; Pilot&gt; $ pkg-config --libs gtkmm-2.4
&lt;ska-fan_&gt; 00:53 &lt; Pilot&gt; -lgtkmm-2.4
&lt;ska-fan_&gt; is definately a bug.
&lt;Pilot&gt; pkgconfig --list-all prints two errors
&lt;Pilot&gt; i guess this is the reason
&lt;Pilot&gt; like:
&lt;Pilot&gt; Package libxml-2.0 was not found in the pkg-config search path.
&lt;Pilot&gt; Perhaps you should add the directory containing `libxml-2.0.pc&apos;
&lt;Pilot&gt; may me, it stops pkgconfig from processing .pc files and breaks recursion
&lt;Pilot&gt; libplanner-1.pc:Requires: glib-2.0 gmodule-2.0 gobject-2.0 libxml-2.0
libgsf-1
&lt;danielk&gt; well
&lt;danielk&gt; gtkmm doesn&apos;t depend on libxml
&lt;Pilot&gt; libplanner-0.11-alt3
&lt;danielk&gt; dunno what that is :)
&lt;Pilot&gt; so it should be a broken dependency or wrong %package %files section
* Pilot files a bug
&lt;Pilot&gt; :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15076</commentid>
    <comment_count>1</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2004-06-14 03:19:41 +0400</bug_when>
    <thetext>И вообще мне кажется, что файлы .pc должны входить в -devel пакеты.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15077</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2004-06-14 03:38:25 +0400</bug_when>
    <thetext>Это из rpm -q --changelog pkgconfig:
* Сбт Янв 03 2004 Yuri N. Sedunov &lt;aris@altlinux.ru&gt; 0.15.0-alt3

- disable recursion while output linker flags. New --recursive option
  restores former behavior.

Так что из вышеописанного актуальна только половина. Возможно, severity тоже
завышена.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15086</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Vainerman">pv</who>
    <bug_when>2004-06-14 20:16:42 +0400</bug_when>
    <thetext>- pkgconfig вынесен в libplanner-devel
- для libplanner-devel добавлена зависимость на libxml2-devel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15284</commentid>
    <comment_count>4</comment_count>
    <who name="Denis Ovsienko">pilot</who>
    <bug_when>2004-06-18 16:27:37 +0400</bug_when>
    <thetext>Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>