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

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

    <bug>
          <bug_id>15316</bug_id>
          
          <creation_ts>2008-04-11 14:58:02 +0400</creation_ts>
          <short_desc>В kdebase cломана сборка с openssl с поддержкой kerberos</short_desc>
          <delta_ts>2008-09-09 17:22:48 +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>kdebase</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>15105</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Sinelnikov">sin</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>kipruss</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68074</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2008-04-11 14:58:02 +0400</bug_when>
    <thetext>При сборке kssl не используются необходимые заголовочные файлы для openssl. 
То есть в pkg-config они прописаны:
$ pkg-config openssl --cflags
-I/usr/include/krb5
А во время сборки kdebase не используются...
Steps to Reproduce:
1. Установить openssl с поддержкой kerberos
http://git.altlinux.org/people/sin/packages/?p=openssl.git;a=summary
2. Попытаться собрать kdebase
Actual Results:  
Making all in crypto
make[3]: Entering directory
`/home/imelnikov/RPM/BUILD/kdebase-3.5.9/kcontrol/crypto&apos;
/usr/lib/qt3/bin/moc ./kdatetimedlg.h -o kdatetimedlg.moc
/usr/lib/qt3/bin/moc ./crypto.h -o crypto.moc
/usr/lib/qt3/bin/moc ./certexport.h -o certexport.moc
creating kcm_crypto_la.all_cpp.cpp ...
/bin/sh ../../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../..  -I/usr/lib/qt3/include/ -I.   -DQT_THREAD_SUPPORT -pipe -Wall -Os
-march=athlon -mtune=athlon-xp -L/usr/lib/qt3/lib -DX11CONFDIR=&apos;&quot;/etc/X11&quot;&apos;
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -pipe -Wall -Os -march=athlon
-mtune=athlon-xp -L/usr/lib/qt3/lib -DX11CONFDIR=&apos;&quot;/etc/X11&quot;&apos; -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE
 -DLIBDIR=/usr/lib -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG
-DNO_DEBUG -O2 -pipe -Wall -Os -march=athlon -mtune=athlon-xp -L/usr/lib/qt3/lib
-DX11CONFDIR=&apos;&quot;/etc/X11&quot;&apos; -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE
 -MT kcm_crypto_la.all_cpp.lo -MD -MP -MF .deps/kcm_crypto_la.all_cpp.Tpo -c -o
kcm_crypto_la.all_cpp.lo kcm_crypto_la.all_cpp.cpp
In file included from /usr/include/openssl/ssl.h:191,
                 from crypto.cpp:76,
                 from kcm_crypto_la.all_cpp.cpp:2:
/usr/include/openssl/kssl.h:72:18: error: krb5.h: No such file or directory
/usr/include/openssl/kssl.h:138: error: &apos;krb5_enctype&apos; does not name a type
/usr/include/openssl/kssl.h:140: error: expected &apos;;&apos; before &apos;*&apos; token
/usr/include/openssl/kssl.h:153: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:157: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:159: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:161: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:163: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:165: error: variable or field
&apos;kssl_krb5_free_data_contents&apos; declared void
/usr/include/openssl/kssl.h:165: error: &apos;krb5_context&apos; was not declared in this
scope
/usr/include/openssl/kssl.h:165: error: &apos;krb5_data&apos; was not declared in this scope
/usr/include/openssl/kssl.h:165: error: &apos;data&apos; was not declared in this scope
/usr/include/openssl/kssl.h:165: error: initializer expression list treated as
compound expression
/usr/include/openssl/kssl.h:166: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:169: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:171: error: &apos;krb5_error_code&apos; does not name a type
/usr/include/openssl/kssl.h:173: error: &apos;krb5_enctype&apos; was not declared in this
scope
/usr/include/openssl/kssl.h:173: error: expected primary-expression before
&apos;unsigned&apos;
/usr/include/openssl/kssl.h:173: error: initializer expression list treated as
compound expression
make[3]: *** [kcm_crypto_la.all_cpp.lo] Error 1
make[3]: Leaving directory `/home/imelnikov/RPM/BUILD/kdebase-3.5.9/kcontrol/crypto&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/imelnikov/RPM/BUILD/kdebase-3.5.9/kcontrol&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/imelnikov/RPM/BUILD/kdebase-3.5.9&apos;
make: *** [all] Error 2
make: Leaving directory `/home/imelnikov/RPM/BUILD/kdebase-3.5.9&apos;
ошибка: Неверный код возврата из /home/imelnikov/tmp/rpm-tmp.10344 (%build)


Ошибки сборки пакетов:
    Неверный код возврата из /home/imelnikov/tmp/rpm-tmp.10344 (%build)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73359</commentid>
    <comment_count>1</comment_count>
      <attachid>2688</attachid>
    <who name="Konstantin Baev">kipruss</who>
    <bug_when>2008-06-30 17:31:41 +0400</bug_when>
    <thetext>Created attachment 2688
Патч, с которым kdebase собирается (при наличии поддержки kerberos в openssl)

В файле admin/acinclude.m4.in пути к krb5.h ищутся перебором. В этот перебор добавлен поиск в нужной папке, в данном случае в /usr/include/krb5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77369</commentid>
    <comment_count>2</comment_count>
    <who name="Konstantin Baev">kipruss</who>
    <bug_when>2008-09-09 15:31:18 +0400</bug_when>
    <thetext>fixed in 3.5.9-alt9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77380</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2008-09-09 17:22:47 +0400</bug_when>
    <thetext>Я забыл срезолвить :-)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>2688</attachid>
            <date>2008-06-30 17:31:41 +0400</date>
            <delta_ts>2008-06-30 17:31:41 +0400</delta_ts>
            <desc>Патч, с которым kdebase собирается (при наличии поддержки kerberos в openssl)</desc>
            <filename>kdebase-3.5.9-alt-conf-path-to-krb5-fix.patch</filename>
            <type>text/plain</type>
            <size>516</size>
            <attacher name="Konstantin Baev">kipruss</attacher>
            
              <data encoding="base64">LS0tIGtkZWJhc2UtMy41LjkvYWRtaW4vYWNpbmNsdWRlLm00LmlufgkyMDA4LTA2LTIzIDAzOjQ3
OjUzICswNDAwCisrKyBrZGViYXNlLTMuNS45L2FkbWluL2FjaW5jbHVkZS5tNC5pbgkyMDA4LTA2
LTIzIDAzOjQ2OjUxICswNDAwCkBAIC01ODQxLDYgKzU4NDEsOCBAQCBTU0xfSU5DTFVERVM9CiBp
ZiB0ZXN0ICIkc3NsX2luY2x1ZGVzIiA9ICIvdXNyL2luY2x1ZGUiOyB0aGVuCiAgIGlmIHRlc3Qg
LWYgL3Vzci9rZXJiZXJvcy9pbmNsdWRlL2tyYjUuaDsgdGhlbgogCVNTTF9JTkNMVURFUz0iLUkv
dXNyL2tlcmJlcm9zL2luY2x1ZGUiCisgIGVsaWYgdGVzdCAtZiAvdXNyL2luY2x1ZGUva3JiNS9r
cmI1Lmg7IHRoZW4KKwlTU0xfSU5DTFVERVM9Ii1JL3Vzci9pbmNsdWRlL2tyYjUiCiAgIGZpCiBl
bGlmIHRlc3QgICIkc3NsX2luY2x1ZGVzIiAhPSAiL3Vzci9sb2NhbC9pbmNsdWRlIiAmJiB0ZXN0
IC1uICIkc3NsX2luY2x1ZGVzIjsgdGhlbgogICBTU0xfSU5DTFVERVM9Ii1JJHNzbF9pbmNsdWRl
cyIK
</data>

          </attachment>
      

    </bug>

</bugzilla>