Your message dated Fri, 29 Apr 2005 15:34:19 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#247799: fails to build from source
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 7 May 2004 06:21:46 +0000
>From [EMAIL PROTECTED] Thu May 06 23:21:38 2004
Return-path: <[EMAIL PROTECTED]>
Received: from rcpt-expgw.biglobe.ne.jp [202.225.89.157]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BLyjq-00021w-00; Thu, 06 May 2004 23:21:38 -0700
Received: from smtp-gw.biglobe.ne.jp
by rcpt-expgw.biglobe.ne.jp (nkrw/4506240104) with ESMTP id i476LYr26032
for <[EMAIL PROTECTED]>; Fri, 7 May 2004 15:21:34 +0900 (JST)
X-Biglobe-Sender: <[EMAIL PROTECTED]>
Received: from [172.16.3.63] (210.128.90.14 [210.128.90.14]) by
smtp-gw.biglobe.ne.jp
id PASJC0A82708; Fri, 07 May 2004 15:21:34 +0900 (JST)
Date: Fri, 07 May 2004 15:21:33 +0900
From: fumihiko kakuma <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: fails to build from source
Message-Id: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.05.04
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 1
Package: openssl
Version: 0.9.7d-1
openssl fails to build from source on i386.
Build log follows:
======================================================================
dh_shlibdeps -l`pwd` -Xlibssl.so
# Hack, to depend on version of libc6 which supports the i686 directory
if [ "i386" == "i386" ]; \
then \
SHLIB=`cat debian/libssl0.9.7.substvars`; \
LIBC_VERSION=`echo $SHLIB | sed s'/.*libc6 (>= \(.*\))/\1/'`; \
if dpkg --compare-versions 2.3.1-10 gt $LIBC_VERSION; \
then \
echo $SHLIB | sed s'/libc6 (>= \(.*\))/libc6 (>= 2.3.1-10)/' >
debian/libssl0.9.7.substvars; \
fi \
fi
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dh_makeshlibs -m 0.9.7
dh_installdeb
dh_md5sums
dh_builddeb
dpkg-deb: building package `openssl' in `../openssl_0.9.7d-1_i386.deb'.
dpkg-deb: parse error, in file `debian/libssl0.9.7/DEBIAN/control' near line 6
package `libssl0.9.7':
`Depends' field, syntax error after reference to package `debconf'
dh_builddeb: command returned error code
make: *** [binary-arch] Error 1
debuild: fatal error at line 456:
dpkg-buildpackage failed!
~/sid/openssl-0.9.7d/$ cd debian
~/sid/openssl-0.9.7d/debian$ cat libssl0.9.7.substvars
misc:Depends=debconf (>= 0.5) shlibs:Depends=libc6 (>= 2.3.1-10)
~/sid/openssl-0.9.7d/debian$ cat openssl.substvars
perl:Depends=perl
shlibs:Depends=libc6 (>= 2.2.4-4), libssl0.9.7
~/sid/openssl-0.9.7d/debian
======================================================================
This occurs when the version of libc6 is less than a value of
${WANTED_LIBC_VERSION}.
The reason is that contents in a debian/libssl0.9.7.substvars
file is wrongly created.
~/sid/openssl-0.9.7d/debian$ cat libssl0.9.7.substvars
misc:Depends=debconf (>= 0.5) shlibs:Depends=libc6 (>= 2.3.1-10)
So, In line 166 in a debian/rules file, I think that you must put
$$SHLIB between double quotes.
I made the following patch.
======================================================================
diff -urN openssl-0.9.7c.orig/debian/rules openssl-0.9.7c/debian/rules
--- openssl-0.9.7c.orig/debian/rules Wed Mar 3 12:57:06 2004
+++ openssl-0.9.7c/debian/rules Thu Mar 4 03:15:27 2004
@@ -162,7 +162,7 @@
LIBC_VERSION=`echo $$SHLIB | sed s'/.*libc6 (>= \(.*\))/\1/'`; \
if dpkg --compare-versions ${WANTED_LIBC_VERSION} gt $$LIBC_VERSION; \
then \
- echo $$SHLIB | sed s'/libc6 (>= \(.*\))/libc6 (>=
${WANTED_LIBC_VERSION})/' > debian/libssl0.9.7.substvars; \
+ echo "$$SHLIB" | sed s'/libc6 (>= \(.*\))/libc6 (>=
${WANTED_LIBC_VERSION})/' > debian/libssl0.9.7.substvars; \
fi \
fi
dh_gencontrol
======================================================================
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux deb1 2.4.17 #1 SMP Thu Apr 11 13:30:19 JST 2002 i686 unknown
Locale: LANG=C, LC_CTYPE=C
Versions of packages openssl depends on:
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries and
Timezone d
No packages found matching libssl0.9.7.
ii perl 5.6.1-8.6 Larry Wall's Practical Extraction and
Report L
---------------------------------------
Received: (at 247799-done) by bugs.debian.org; 29 Apr 2005 13:36:03 +0000
>From [EMAIL PROTECTED] Fri Apr 29 06:36:03 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mailgate1.verwaltung.uni-mainz.de
(patty.verwaltung.uni-mainz.de) [134.93.144.165]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DRVf1-0004q0-00; Fri, 29 Apr 2005 06:36:03 -0700
Received: from charlie.verwaltung.uni-mainz.de (charlie.verwaltung.uni-mainz.de
[134.93.226.11])
by patty.verwaltung.uni-mainz.de (8.13.4/8.13.4/Debian-1) with ESMTP id
j3TDYMn9022405
(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT);
Fri, 29 Apr 2005 15:34:22 +0200
Received: from [134.93.226.8] (woodstock.verwaltung.uni-mainz.de [134.93.226.8])
(authenticated bits=0)
by charlie.verwaltung.uni-mainz.de (8.12.3/8.12.3/Debian-7.1) with
ESMTP id j3TDYJXH005431
(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
Fri, 29 Apr 2005 15:34:22 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 29 Apr 2005 15:34:19 +0200
From: Christoph Martin <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.5) Gecko/20050116
Thunderbird/1.0 Mnenhy/0.7.1
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
To: fumihiko kakuma <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#247799: fails to build from source
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
X-Enigmail-Version: 0.90.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig7A7E17B48C2F7B03FC707AB3"
X-Virus-Scanned-From: mailgate1.verwaltung.uni-mainz.de
X-Spam-Scanned-From: mailgate1.verwaltung.uni-mainz.de
X-Scanned-By: MIMEDefang 2.51 on 134.93.226.4
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7A7E17B48C2F7B03FC707AB3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi,
I close this bug report, because this is really a "can't build sarge
source on woody system" bug. And I don't see what I can do about it.
Christoph
fumihiko kakuma schrieb:
> Thank you for your mail.
>
> On Tue, 11 May 2004 09:03:43 +0200
> Christoph Martin <[EMAIL PROTECTED]> wrote:
>
>
>>
>>fumihiko kakuma schrieb:
>>
>>>Package: openssl
>>>Version: 0.9.7d-1
>>>
>>>openssl fails to build from source on i386.
>>>
>>>Build log follows:
>>
>>======================================================================
>
>
> cut
>
>
>>I can't see why this should be a problem or why this patch should fix
>>anthing. $SHLIB only contains the string 2.3.1-10. Quoting this string
>>does not change anything. Line 162 essentially does the same and you did
>>not need quotes. Can you please send me the contents of
>>debian/libssl0.9.7/DEBIAN/control?
>>
>>Christoph
>>
>>--
>>============================================================================
>>Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
>> Internet-Mail: [EMAIL PROTECTED]
>> Telefon: +49-6131-3926337
>> Fax: +49-6131-3922856
>
>
> I'm sorry that my explanation was insufficient for you.
> I modified Build-Depends in debian/control from debhelper (>=4.1.16)
> to debhelper (>= 4.0.2) to build openssl on i386 with Woody.
>
> debian/libssl0.9.7/DEBIAN/control:
> ======================================================================
> Package: libssl0.9.7
> Version: 0.9.7d-1
> Section: libs
> Priority: standard
> Architecture: i386
> Depends: debconf (>= 0.5) shlibs:Depends=libc6 (>= 2.3.1-10)
> Conflicts: ssleay (<< 0.9.2b), libssl, openssl (<< 0.9.6-2), libssl096-dev
> (<< 0.9.6-2)
> Installed-Size: 4732
> Maintainer: Christoph Martin <[EMAIL PROTECTED]>
> Source: openssl
> Description: SSL shared libraries
> libssl and libcrypto shared libraries needed by programs like
> apache-ssl, telnet-ssl and openssh.
> .
> It is part of the OpenSSL implementation of SSL.
> ======================================================================
>
> debian/control:
> ======================================================================
> Source: openssl
> Build-Depends: debhelper (>= 4.0.2), perl-base
> Section: utils
> Priority: optional
> Maintainer: Christoph Martin <[EMAIL PROTECTED]>
> Standards-Version: 3.5.8
>
> Package: openssl
> Priority: optional
> Architecture: any
> Depends: ${shlibs:Depends}, ${perl:Depends}
> Conflicts: ssleay (<< 0.9.2b)
> Suggests: ca-certificates
> Description: Secure Socket Layer (SSL) binary and related cryptographic tools
> This package contains the openssl binary and related tools.
> .
> It is part of the OpenSSL implementation of SSL.
> .
> You need it to perform certain cryptographic actions like:
> o Creation of RSA, DH and DSA Key Parameters
> o Creation of X.509 Certificates, CSRs and CRLs
> o Calculation of Message Digests
> o Encryption and Decryption with Ciphers
> o SSL/TLS Client and Server Tests
> o Handling of S/MIME signed or encrypted Mail
>
> Package: libssl0.9.7
> Section: libs
> Priority: standard
> Architecture: any
> Depends: ${shlibs:Depends}, ${misc:Depends}
> Conflicts: ssleay (<< 0.9.2b), libssl, openssl (<< 0.9.6-2), libssl096-dev
> (<< 0.9.6-2)
> Description: SSL shared libraries
> libssl and libcrypto shared libraries needed by programs like
> apache-ssl, telnet-ssl and openssh.
> .
> It is part of the OpenSSL implementation of SSL.
>
> Package: libssl-dev
> Section: libdevel
> Priority: optional
> Architecture: any
> Depends: libssl0.9.7 (= ${Source-Version})
> Conflicts: ssleay (<< 0.9.2b), libssl08-dev, libssl09-dev, libssl095a-dev,
> libssl096-dev
> Description: SSL development libraries, header files and documentation
> libssl and libcrypt development libraries, header files and manpages
> .
> It is part of the OpenSSL implementation of SSL.
> ======================================================================
>
--
============================================================================
Christoph Martin, EDV der Verwaltung, Uni-Mainz, Germany
Internet-Mail: [EMAIL PROTECTED]
Telefon: +49-6131-3926337
Fax: +49-6131-3922856
--------------enig7A7E17B48C2F7B03FC707AB3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCcjfbgeVih7XOVJcRAgcSAJ0Wjdxii1HjsQmAk1hlpd3AltdeEACff+8H
7Dv/lQlEhtOqV/H+PH6HzC4=
=tamS
-----END PGP SIGNATURE-----
--------------enig7A7E17B48C2F7B03FC707AB3--
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]