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

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

    <bug>
          <bug_id>36747</bug_id>
          
          <creation_ts>2019-05-14 12:56:45 +0300</creation_ts>
          <short_desc>alsa.pc: empty Cflags</short_desc>
          <delta_ts>2019-05-14 14:05:16 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libalsa-devel</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="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181628</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2019-05-14 12:56:45 +0300</bug_when>
    <thetext>Надо решить откатывать ли этот коммит, или чинить сломавшиеся пакеты.

author	Takashi Iwai &lt;tiwai@suse.de&gt;	
Tue, 26 Mar 2019 13:48:23 +0000 (14:48 +0100)
committer	Takashi Iwai &lt;tiwai@suse.de&gt;	
Thu, 28 Mar 2019 07:01:34 +0000 (08:01 +0100)
commit	fc0e54c3cc6ad48d12d2cdad18df4473c559a448
tree	86195a1c36b7ae63995edfcb084e54e3f607024e	tree | snapshot
parent	f9056d013cf1cea70f6819cc7e2e7b689dbb3fb7	commit | diff
Drop  -I$includedir/alsa  from  alsa.pc

We  used  to  put  the  additional  include  path  $includedir/alsa  in
pkgconfig  just  because  some  applications  have  included  asoundlib.h
like
    #include  &lt;asoundlib.h&gt;
although  the  canonical  form  should  be
    #include  &lt;alsa/asoundlib.h&gt;

However,  adding  this  include  path  is  significantly  dangerous  due  to
possible  conflicts  of  file  names  like  version.h.    It&apos;s  already  the
reason  to  discourage  people  using  alsa.pc  for  the  packages.

In  this  patch,  the  additional  include  path  from  alsa.pc  is  dropped
finally.    At  the  same  time,  as  a  rescue  plan  for  the  programs
including  via  &lt;asoundlib.h&gt;,  a  stub  header  file  is  provided  in
include/sound/asoundlib.h.    It  just  includes  alsa/asoundlib.h  with  a
warning  to  suggest  for  replacing  with  alsa/asoundlib.h.
Actually  this  is  the  same  file  as  we  install  into  sys/asoundlib.h,  so
the  whole  changes  are  very  minimal  here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181629</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2019-05-14 14:03:53 +0300</bug_when>
    <thetext>Всего по этой причине сломалось десять пакетов:

---
$ grep -A1 unpackaged /beehive/logs/Sisyphus-x86_64/latest/success/libalsa-1:1.1.9-alt1
warning: Installed (but unpackaged) file(s) found:
    /usr/include/asoundlib.h
--- ldv@

Должно быть исправлено в 1.1.9-alt2:

* Tue May 14 2019 Dmitry V. Levin &lt;ldv@altlinux&gt; 1:1.1.9-alt2
- NMU.
- Packaged /usr/include/asoundlib.h introduced in 1.1.9 to fix builds
  of packages that use asoundlib.h header file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181630</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-05-14 14:05:16 +0300</bug_when>
    <thetext>Исправлено в 1.1.9-alt2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>