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

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

    <bug>
          <bug_id>40274</bug_id>
          
          <creation_ts>2021-06-23 16:04:30 +0300</creation_ts>
          <short_desc>armh: &quot;zlib.h: present but cannot be compiled&quot;</short_desc>
          <delta_ts>2021-06-23 16:59:43 +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>synfigstudio</component>
          <version>unstable</version>
          <rep_platform>arm</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://git.altlinux.org/tasks/275530/logs/events.1.1.log</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>glebfm</cc>
    
    <cc>grenka</cc>
    
    <cc>iv</cc>
    
    <cc>ldv</cc>
    
    <cc>rider</cc>
    
    <cc>sbolshakov</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>199416</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2021-06-23 16:04:30 +0300</bug_when>
    <thetext>$ grep zlib /tasks/275530/build/100/armh/srpm.log
&lt;13&gt;Jun 23 12:47:32 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1590016421 installed

$ grep zlib /tasks/275530/build/100/armh/log
[00:00:44] checking zlib.h usability... no
[00:00:44] checking zlib.h presence... yes
[00:00:44] configure: WARNING: zlib.h: present but cannot be compiled
[00:00:44] configure: WARNING: zlib.h:     check for missing prerequisite headers?
[00:00:44] configure: WARNING: zlib.h: see the Autoconf documentation
[00:00:44] configure: WARNING: zlib.h:     section &quot;Present But Cannot Be Compiled&quot;
[00:00:44] configure: WARNING: zlib.h: proceeding with the compiler&apos;s result
[00:00:44] checking for zlib.h... no
[00:00:44] configure: error:  ** You need to install zlib</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>199418</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-06-23 16:59:43 +0300</bug_when>
    <thetext>$ sed -n &apos;/checking zlib.h usability/,/^$/p&apos; /usr/src/RPM/BUILD/synfigstudio-1.4.1/synfig-core/config.log
configure:23456: checking zlib.h usability
configure:23456: armh-alt-linux-gnueabi-g++ -c -pipe -frecord-gcc-switches -Wall -fomit-frame-pointer -march=armv7-a -mthumb -fpermissive -std=c++11 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -O2 -DNDEBUG -W -pg -fprofile-arcs  conftest.cpp &gt;&amp;5
armh-alt-linux-gnueabi-g++: error: -pg and -fomit-frame-pointer are incompatible
configure:23456: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME &quot;Synfig Core&quot;
| #define PACKAGE_TARNAME &quot;synfig&quot;
| #define PACKAGE_VERSION &quot;1.4.1&quot;
| #define PACKAGE_STRING &quot;Synfig Core 1.4.1&quot;
| #define PACKAGE_BUGREPORT &quot;https://github.com/synfig/synfig/issues&quot;
| #define PACKAGE_URL &quot;&quot;
| #define PACKAGE &quot;synfig&quot;
| #define VERSION &quot;1.4.1&quot;
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR &quot;.libs/&quot;
| #define LT_MODULE_EXT &quot;.so&quot;
| #define LT_MODULE_PATH_VAR &quot;LD_LIBRARY_PATH&quot;
| #define LT_DLSEARCH_PATH &quot;/lib:/usr/lib&quot;
| #define HAVE_LIBDL 1
| #define HAVE_DLERROR 1
| #define HAVE_LIBDLLOADER 1
| #define HAVE_ARGZ_H 1
| #define HAVE_ERROR_T 1
| #define HAVE_ARGZ_ADD 1
| #define HAVE_ARGZ_APPEND 1
| #define HAVE_ARGZ_COUNT 1
| #define HAVE_ARGZ_CREATE_SEP 1
| #define HAVE_ARGZ_INSERT 1
| #define HAVE_ARGZ_NEXT 1
| #define HAVE_ARGZ_STRINGIFY 1
| #define HAVE_WORKING_ARGZ 1
| #define HAVE_PRELOADED_SYMBOLS 1
| #define HAVE_LTDL 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_CLOSEDIR 1
| #define HAVE_OPENDIR 1
| #define HAVE_READDIR 1
| #define HAVE_STRLCAT 1
| #define HAVE_STRLCPY 1
| #define LT_LIBEXT &quot;a&quot;
| #define LT_LIBPREFIX &quot;lib&quot;
| #define LT_SCOPE extern
| #define WITH_LIBAVCODEC /**/
| #define WITH_FONTCONFIG /**/
| #define GETTEXT_PACKAGE &quot;synfig&quot;
| /* end confdefs.h.  */
| #include &lt;stdio.h&gt;
| #ifdef HAVE_SYS_TYPES_H
| # include &lt;sys/types.h&gt;
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include &lt;sys/stat.h&gt;
| #endif
| #ifdef STDC_HEADERS
| # include &lt;stdlib.h&gt;
| # include &lt;stddef.h&gt;
| #else
| # ifdef HAVE_STDLIB_H
| #  include &lt;stdlib.h&gt;
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS &amp;&amp; defined HAVE_MEMORY_H
| #  include &lt;memory.h&gt;
| # endif
| # include &lt;string.h&gt;
| #endif
| #ifdef HAVE_STRINGS_H
| # include &lt;strings.h&gt;
| #endif
| #ifdef HAVE_INTTYPES_H
| # include &lt;inttypes.h&gt;
| #endif
| #ifdef HAVE_STDINT_H
| # include &lt;stdint.h&gt;
| #endif
| #ifdef HAVE_UNISTD_H
| # include &lt;unistd.h&gt;
| #endif
| #include &lt;zlib.h&gt;
configure:23456: result: no
configure:23456: checking zlib.h presence
configure:23456: armh-alt-linux-gnueabi-g++ -E  conftest.cpp
configure:23456: $? = 0
configure:23456: result: yes
configure:23456: WARNING: zlib.h: present but cannot be compiled
configure:23456: WARNING: zlib.h:     check for missing prerequisite headers?
configure:23456: WARNING: zlib.h: see the Autoconf documentation
configure:23456: WARNING: zlib.h:     section &quot;Present But Cannot Be Compiled&quot;
configure:23456: WARNING: zlib.h: proceeding with the compiler&apos;s result
configure:23456: checking for zlib.h
configure:23456: result: no
configure:23464: error:  ** You need to install zlib

JFYI:
$ sed -n &apos;/ifarch/,/^$/p&apos; synfigstudio.spec
%ifarch %e2k
# -lgcov not there yet...
find -name subs.m4 | xargs sed -i &apos;s, -pg,,;s, -fprofile-arcs,,&apos;
%endif</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>