DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

git does not build #163

Closed markuspf closed 8 years ago

markuspf commented 9 years ago

With my recent poudriere run git stopped building:

Quoting from the log:

cc -isystem/usr/local/include -pipe -O2 -fno-strict-aliasing -I. -I/usr/local/include -DUSE_CURL_FOR_IMAP_SEND -I/usr/include -DUSE_ST_TIMESPEC -DNO_GETTEXT -pthread -DHAVE_PATHS_H -DHAVE_STRINGS_H -DXDL_FAST_HASH -DHAVE_CLOCK_GETTIME -DHAVE_CLOCK_MONOTONIC -DHAVE_BSD_SYSCTL -DHAVE_GETDELIM -DSHA1_HEADER='<openssl/sha.h>'  -DSHELL_PATH='"/bin/sh"' -o git-imap-send -L/usr/local/lib   imap-send.o http.o \
        libgit.a xdiff/lib.a  -lz -L/usr/lib -R/usr/lib -lcrypto -pthread -lrt -L/usr/lib -R/usr/lib -lssl -L/usr/lib -R/usr/lib -lcrypto -L/usr/local/lib -R/usr/local/lib -lcurl -lcom_err
/usr/libexec/binutils225/elf/ld.bfd: cannot find -lcom_err
Makefile:1967: recipe for target 'git-imap-send' failed

This seems to be related with the removal of libcom_err. Adding krb5 somewhere as a dependency solves the problem (of git not building), obviously adds the problem that krb5 is installed.

Note that I am using my own set of options for this poudriere bulk build. The options file for git is as follows (these are the default options for git though):

# This file is auto-generated by 'make config'.
# Options for git-2.5.1
_OPTIONS_READ=git-2.5.1
_FILE_COMPLETE_OPTIONS_LIST=CONTRIB CURL CVS ETCSHELLS GITWEB GUI HTMLDOCS ICONV NLS P4 PERL SVN
OPTIONS_FILE_SET+=CONTRIB
OPTIONS_FILE_SET+=CURL
OPTIONS_FILE_SET+=CVS
OPTIONS_FILE_SET+=ETCSHELLS
OPTIONS_FILE_UNSET+=GITWEB
OPTIONS_FILE_UNSET+=GUI
OPTIONS_FILE_UNSET+=HTMLDOCS
OPTIONS_FILE_SET+=ICONV
OPTIONS_FILE_UNSET+=NLS
OPTIONS_FILE_UNSET+=P4
OPTIONS_FILE_SET+=PERL
OPTIONS_FILE_UNSET+=SVN
jrmarino commented 8 years ago

I'm having difficulty recalling, but I think we addressed this.