Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394593 - www-servers/cherokee-1.2.* failed to compile
Summary: www-servers/cherokee-1.2.* failed to compile
Status: RESOLVED DUPLICATE of bug 250627
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 249496
Blocks:
  Show dependency tree
 
Reported: 2011-12-13 19:24 UTC by Vincent Lachenal
Modified: 2011-12-15 17:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lachenal 2011-12-13 19:24:00 UTC
First I would like to thank you for your work on cherokee server integration.

Cherokee server has failed to compile since few week on my platform.
The error occurs on the configuration step:
[...]
checking for libavformat/avformat.h... yes
checking /usr/bin/php-fpm supports FastCGI... ACCESS DENIED  open_wr:      /usr/share/snmp/mibs/.index
yes
checking Python 2.x interpreter... yes
[...]
Thank you for using Cherokee.
>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-24463.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/share/snmp/mibs/.index
A: /usr/share/snmp/mibs/.index
R: /usr/share/snmp/mibs/.index
C: /usr/bin/php-fpm -v -d session.save_path=/tmp 
--------------------------------------------------------------------------------

Reproducible: Always

Steps to Reproduce:
I tried to install cherokee's versions 1.2.99, 1.2.100 and 1.2.101. I have the same error every time.
Actual Results:  
Cherokee installation failed.

Expected Results:  
Cherokee installation would have success.

$ emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 11 Dec 2011 18:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j9"
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.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi akonadi alsa amd64 arts avahi bash-completion bazaar berkdb bluetooth bluray branding bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx daap dbus device-mapper divx dri dvb dvd dvdr emacs esd exif faac faad fam fbcondecor ffmpeg flac fontconfig fortran fuse gdbm gdu gif glade gnome gnutls gphoto2 gpm gstreamer gtk gtk3 hal iconv icu id3tag idn int64 ipv6 jpeg jpeg2k kde kerberos lame libkms libnotify lirc lua lzma mad matroska midi mikmod mmx mng modules mono mp3 mpeg mplayer mtp mudflap mule multilib musepack mysql nautilus ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp oss pam pcre perl pg-intdatetime png policykit postgres pppd python qt3 qt4 quicktime readline realmedia reports rtsp samba scanner schroedinger semantic-desktop session spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode upnp urandom utempter v4l v4l2 vaapi vdpau vim-syntax vorbis wicd wifi wmp x264 xcb xcomposite xinerama xml xorg xscreensaver xvid xvmc zeroconf zip zlib" ALSA_CARDS="intel8x0" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="casio_qv" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="tda1004x tda10046" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l dummy vesa vga fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I tried with MAKEOPTS="-j1" (even if I think the configuration step if not parallelized ...) with the same result.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-13 19:50:33 UTC

*** This bug has been marked as a duplicate of bug 249496 ***
Comment 2 Rafał Mużyło 2011-12-13 19:54:46 UTC
:roll:
That's not a parallel make problem, it's yet another incarnation of bug 324739.

Only way to reasonably fix this would be to prod net-snmp upstream to change this behavior, otherwise, we're stuck with addpredict workarounds.
Comment 3 Rafał Mużyło 2011-12-13 19:57:53 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 249496 ***

Not really a dupe, more like yet another bug to block that one.
It does need to be (again) fixed locally, after all.
Comment 4 Vincent Lachenal 2011-12-13 20:16:32 UTC
Thanks for the quick replies.
Start snmp daemon fixes cherokee installation.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-15 17:37:04 UTC
Fine.

*** This bug has been marked as a duplicate of bug 250627 ***