Your message dated Mon, 26 Sep 2011 12:32:13 +0000 with message-id <20110926123213.31943.qm...@803a1c1ccbacfc.315fe32.mid.smarden.org> and subject line Re: Bug#642990: git: missing build-dev libssl-dev has caused the Debian Bug report #642990, regarding git: missing build-dev libssl-dev 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 642990: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642990 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: git Version: 1:1.7.2.5-2 Severity: minor The git package on squeeze is missin the libssl-dev build dep. Installing it fixes the problem. Symptoms are: a git checkout fails to build, see log below. zsh» git co v1.7.2.5 HEAD is now at b91779f... Git 1.7.2.5 zsh» make CC fast-import.o In file included from builtin.h:4, from fast-import.c:147: git-compat-util.h:140:25: error: openssl/ssl.h: No such file or directory git-compat-util.h:141:25: error: openssl/err.h: No such file or directory In file included from builtin.h:6, from fast-import.c:147: cache.h:9:21: error: openssl/sha.h: No such file or directory In file included from fast-import.c:156: csum-file.h:10: error: expected specifier-qualifier-list before ‘SHA_CTX’ fast-import.c: In function ‘store_object’: fast-import.c:995: error: ‘SHA_CTX’ undeclared (first use in this function) fast-import.c:995: error: (Each undeclared identifier is reported only once fast-import.c:995: error: for each function it appears in.) fast-import.c:995: error: expected ‘;’ before ‘c’ fast-import.c:1000: warning: implicit declaration of function ‘SHA1_Init’ fast-import.c:1000: error: ‘c’ undeclared (first use in this function) fast-import.c:1001: warning: implicit declaration of function ‘SHA1_Update’ fast-import.c:1003: warning: implicit declaration of function ‘SHA1_Final’ fast-import.c: At top level: fast-import.c:1118: error: expected declaration specifiers or ‘...’ before ‘SHA_CTX’ fast-import.c: In function ‘truncate_pack’: fast-import.c:1126: error: ‘struct sha1file’ has no member named ‘total’ fast-import.c:1128: error: ‘struct sha1file’ has no member named ‘ctx’ fast-import.c:1128: error: ‘ctx’ undeclared (first use in this function) fast-import.c: In function ‘stream_blob’: fast-import.c:1140: error: ‘SHA_CTX’ undeclared (first use in this function) fast-import.c:1140: error: expected ‘;’ before ‘c’ fast-import.c:1141: error: expected ‘;’ before ‘pack_file_ctx’ fast-import.c:1154: error: ‘pack_file_ctx’ undeclared (first use in this function) fast-import.c:1154: error: ‘struct sha1file’ has no member named ‘ctx’ fast-import.c:1160: error: ‘c’ undeclared (first use in this function) fast-import.c:1220: error: too many arguments to function ‘truncate_pack’ fast-import.c:1227: error: too many arguments to function ‘truncate_pack’ make: *** [fast-import.o] Error 1 -- System Information: Debian Release: 6.0.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libcurl3-gnutls 7.21.0-2 Multi-protocol file transfer libra ii liberror-perl 0.17-1 Perl module for error/exception ha ii libexpat1 2.0.1-7 XML parsing C library - runtime li ii perl-modules 5.10.1-17squeeze2 Core Perl modules ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages git recommends: ii less 436-1 pager program similar to more ii openssh-client [ssh-client] 1:5.5p1-6 secure shell (SSH) client, for sec ii patch 2.6-2 Apply a diff file to an original ii rsync 3.0.7-2 fast remote file copy program (lik Versions of packages git suggests: pn git-arch <none> (no description available) pn git-cvs <none> (no description available) pn git-daemon-run <none> (no description available) pn git-doc <none> (no description available) pn git-email <none> (no description available) pn git-gui <none> (no description available) pn git-svn <none> (no description available) ii gitk 1:1.7.2.5-2 fast, scalable, distributed revisi pn gitweb <none> (no description available) -- no debconf information
--- End Message ---
--- Begin Message ---On Mon, Sep 26, 2011 at 12:43:53PM +0200, Valentin Haenel wrote: > The git package on squeeze is missin the libssl-dev build dep. Installing it > fixes the problem. Symptoms are: a git checkout fails to build, see log below. Hi Valentin, thanks for the report. The Debian package uses NO_OPENSSL=1 as build option, not only because there's a compatibility issue with the openssl license and the GPL. Openssl actually isn't needed, see the upstream INSTALL instructions: - "openssl" library is used by git-imap-send to use IMAP over SSL. If you don't need it, use NO_OPENSSL. By default, git uses OpenSSL for SHA1 but it will use it's own library (inspired by Mozilla's) with either NO_OPENSSL or BLK_SHA1. Also included is a version optimized for PowerPC (PPC_SHA1). Regards, Gerrit.
--- End Message ---

