Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285151 - [dilfridge overlay] emerge www-misc/zoneminder(-1.24.2) fails with gnutls
Summary: [dilfridge overlay] emerge www-misc/zoneminder(-1.24.2) fails with gnutls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on: 359605
Blocks:
  Show dependency tree
 
Reported: 2009-09-16 03:54 UTC by Eugene Rosenzweig
Modified: 2013-12-25 17:40 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge build log (zoneminder.log,29.66 KB, text/plain)
2009-09-16 04:03 UTC, Eugene Rosenzweig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Rosenzweig 2009-09-16 03:54:26 UTC
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
Comment 1 Eugene Rosenzweig 2009-09-16 04:03:23 UTC
Created attachment 204284 [details]
emerge build log
Comment 2 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2009-09-20 12:17:08 UTC
Try recompiling gnutls and then retry emerging zoneminder.
Comment 3 Stefan Bergler 2009-09-22 14:56:53 UTC
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
Comment 4 Oo.et.oO 2009-11-04 06:02:40 UTC
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!
Comment 5 David Smith 2010-01-17 17:56:09 UTC
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.
Comment 6 Vlad 2010-04-07 11:24:59 UTC
Dublicate bug #281198
Comment 7 Frank Eichentopf 2010-08-03 09:50:20 UTC
when using openssl as ssl lib, zoneminder compiles fine

ZM_SSL_LIB=openssl emerge zoneminder
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-28 15:54:51 UTC
Removed from main tree.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2011-09-16 19:54:07 UTC
Reopened for tracking and hopefully zoneminder revival
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2011-09-17 19:32:23 UTC
Well, if gnutls makes big problems, then let's use openssl instead.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2013-12-25 17:40:52 UTC
this seems to be really fixed now (1.26.5), gnutls build works fine