emerge www-misc/zoneminder-1.24.2 fails due to compilation errors Reproducible: Always Steps to Reproduce: 1. emerge -v zoneminder Actual Results: emerge fails see attached build log Expected Results: successfull build Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30.5-r1 i686) ================================================================= System uname: Linux-2.6.30.5-r1-i686-Pentium_III_-Coppermine-with-gentoo-1.12.11.1 Timestamp of tree: Tue, 15 Sep 2009 13:00:03 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1, 3.1.1 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="mmx nptl nptlonly pam pcre ssl threads truetype x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 204284 [details] emerge build log
Try recompiling gnutls and then retry emerging zoneminder.
I had the same problem (error regarding md5 defines). Reemerging gnutls solved it. Is there a way to issue some hints like this, when zoneminder fails to compile? I think it's not the first time I had problems like this. But it's not always obvious which packages 'should' be recompiled in a first try. Thanks, Stefan
i had the hardest time streaming video from my cams using this install. i finally checked the apache error log: [Tue Nov 03 21:34:11 2009] [error] [client 127.0.0.1] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer: http://localhost/zoneminder/index.php?view=montage&group=0 ebuild places nph-zms in the wrong place for default apache2 merge. this might depend on if someone has vhosts or not. i also had to disable ccache to build this. i thought i responded earlier with that caveat, but i don't see it in this nor the other 1.24.2 bug thanks for everyones' work on this!
I had same build error; reemerging gnutls 2.8 did not fix, I had to pull the gnutls 2.4.1 ebuild from cvs history to get this to work. It compiled properly with gnutls-2.4.1. Had same compile error with gnutls 2.6.6 from portage.
Dublicate bug #281198
when using openssl as ssl lib, zoneminder compiles fine ZM_SSL_LIB=openssl emerge zoneminder
Removed from main tree.
Reopened for tracking and hopefully zoneminder revival
Well, if gnutls makes big problems, then let's use openssl instead.
this seems to be really fixed now (1.26.5), gnutls build works fine