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

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

    <bug>
          <bug_id>38290</bug_id>
          
          <creation_ts>2020-03-27 22:48:16 +0300</creation_ts>
          <short_desc>Потеряно имя библиотеки</short_desc>
          <delta_ts>2020-03-28 11:29:28 +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>python3-dev</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>george</cc>
    
    <cc>glebfm</cc>
    
    <cc>grenka</cc>
    
    <cc>imz</cc>
    
    <cc>kotopesutility</cc>
    
    <cc>vitty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>188905</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2020-03-27 22:48:16 +0300</bug_when>
    <thetext>3.7
$ grep ^Libs: /usr/lib64/pkgconfig/python3.pc
Libs: -lpython3.7m

3.8
$ grep ^Libs: /usr/lib64/pkgconfig/python3.pc
Libs:

Что приводит к 
verify-elf: ERROR: ./usr/lib64/libpyside2.cpython-38.so.5.12.6: undefined symbol: _Py_FalseStruct</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188908</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2020-03-28 11:20:17 +0300</bug_when>
    <thetext>Принято.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188909</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2020-03-28 11:25:25 +0300</bug_when>
    <thetext>git diff 3.7.4-alt3:python3/Misc/python.pc.in 3.8.1-alt1:python3/Misc/python.pc.in

--- a/python3/Misc/python.pc.in
+++ b/python3/Misc/python.pc.in
@@ -5,9 +5,9 @@ libdir=@libdir@
 includedir=@includedir@
 
 Name: Python
-Description: Python library
-Requires: 
+Description: Build a C extension for Python
+Requires:
 Version: @VERSION@
 Libs.private: @LIBS@
-Libs: -L${libdir} -lpython@VERSION@@ABIFLAGS@
+Libs:
 Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188910</commentid>
    <comment_count>3</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2020-03-28 11:29:28 +0300</bug_when>
    <thetext>commit 0a8e57248b913851640c64375600f05157c997df
Author: Victor Stinner &lt;vstinner@redhat.com&gt;
Date:   Thu May 23 03:30:23 2019 +0200

    bpo-36721: Add --embed option to python-config (GH-13500)
    
    To embed Python into an application, a new --embed option must be
    passed to &quot;python3-config --libs --embed&quot; to get &quot;-lpython3.8&quot; (link
    the application to libpython). To support both 3.8 and older, try
    &quot;python3-config --libs --embed&quot; first and fallback to &quot;python3-config
    --libs&quot; (without --embed) if the previous command fails.
    
    Add a pkg-config &quot;python-3.8-embed&quot; module to embed Python into an
    application: &quot;pkg-config python-3.8-embed --libs&quot; includes
    &quot;-lpython3.8&quot;.  To support both 3.8 and older, try &quot;pkg-config
    python-X.Y-embed --libs&quot; first and fallback to &quot;pkg-config python-X.Y
    --libs&quot; (without --embed) if the previous command fails (replace
    &quot;X.Y&quot; with the Python version).
    
    On the other hand, &quot;pkg-config python3.8 --libs&quot; no longer contains
    &quot;-lpython3.8&quot;. C extensions must not be linked to libpython (except
    on Android, case handled by the script); this change is backward
    incompatible on purpose.
    
    &quot;make install&quot; now also installs &quot;python-3.8-embed.pc&quot;.

diff --git a/Misc/python.pc.in b/Misc/python.pc.in
index ae698674bb..87e04decc2 100644
--- a/Misc/python.pc.in
+++ b/Misc/python.pc.in
@@ -5,9 +5,9 @@ libdir=@libdir@
 includedir=@includedir@
 
 Name: Python
-Description: Python library
-Requires: 
+Description: Build a C extension for Python
+Requires:
 Version: @VERSION@
 Libs.private: @LIBS@
-Libs: -L${libdir} -lpython@VERSION@@ABIFLAGS@
+Libs:
 Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>