Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524150 - www-apache/passenger-4.0.52 - In file included from /usr/include/ev++.h:46:0, from ext/common/agents/HelperAgent/Main.cpp:51: /usr/include/ev.h:663:48: error: ‘ev_loop_callback_nothrow’ declared with an exception specification
Summary: www-apache/passenger-4.0.52 - In file included from /usr/include/ev++.h:46:0,...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal with 1 vote (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 19:00 UTC by Serge
Modified: 2014-10-27 19:56 UTC (History)
2 users (show)

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


Attachments
build log (www-apache%3Apassenger-4.0.52%3A20140930-184349.log,74.07 KB, text/plain)
2014-09-30 19:03 UTC, Serge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serge 2014-09-30 19:00:20 UTC
updating passenger from 4.0.49 to  4.0.52 give:

mkdir -p buildout/agents/
c++ -o buildout/agents/PassengerHelperAgent.o  -Iext -Iext/common  -I/usr/include/libev -Iext/libeio -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes  -DHAS_ALLOCA_H -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -std=gnu++11 -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -c ext/common/agents/HelperAgent/Main.cpp
In file included from /usr/include/ev++.h:46:0,
                 from ext/common/agents/HelperAgent/Main.cpp:51:
/usr/include/ev.h:663:48: erreur: ‘ev_loop_callback_nothrow’ declared with an exception specification
In file included from ext/boost/system/system_error.hpp:14:0,
                 from ext/boost/thread/exceptions.hpp:22,
                 from ext/boost/thread/pthread/thread_data.hpp:10,
                 from ext/boost/thread/thread_only.hpp:17,
                 from ext/boost/thread/thread.hpp:12,
                 from ext/boost/thread.hpp:13,
                 from ext/common/agents/HelperAgent/Main.cpp:45:


Reproducible: Always

Steps to Reproduce:
1. emerge -uDavtbk world
2.
3.
Actual Results:  
mkdir -p buildout/agents/
c++ -o buildout/agents/PassengerHelperAgent.o  -Iext -Iext/common  -I/usr/include/libev -Iext/libeio -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes  -DHAS_ALLOCA_H -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -std=gnu++11 -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -c ext/common/agents/HelperAgent/Main.cpp
In file included from /usr/include/ev++.h:46:0,
                 from ext/common/agents/HelperAgent/Main.cpp:51:
/usr/include/ev.h:663:48: erreur: ‘ev_loop_callback_nothrow’ declared with an exception specification
In file included from ext/boost/system/system_error.hpp:14:0,
                 from ext/boost/thread/exceptions.hpp:22,
                 from ext/boost/thread/pthread/thread_data.hpp:10,
                 from ext/boost/thread/thread_only.hpp:17,
                 from ext/boost/thread/thread.hpp:12,
                 from ext/boost/thread.hpp:13,
                 from ext/common/agents/HelperAgent/Main.cpp:45:
ext/boost/system/error_code.hpp:222:36: attention : ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
ext/boost/system/error_code.hpp:223:36: attention : ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
ext/boost/system/error_code.hpp:224:36: attention : ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
rake aborted!
Command failed with status (1): [c++ -o buildout/agents/PassengerHelperAgent.o  -Iext -Iext/common  -I/usr/include/libev -Iext/libeio -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes  -DHAS_ALLOCA_H -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -std=gnu++11 -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -c ext/common/agents/HelperAgent/Main.cpp]
/var/tmp/portage/www-apache/passenger-4.0.52/work/all/passenger-4.0.52/build/cplusplus_support.rb:51:in `run_compiler'
/var/tmp/portage/www-apache/passenger-4.0.52/work/all/passenger-4.0.52/build/cplusplus_support.rb:61:in `compile_cxx'
/var/tmp/portage/www-apache/passenger-4.0.52/work/all/passenger-4.0.52/build/agents.rb:95:in `block in <top (required)>'
Tasks: TOP => apache2 => buildout/agents/PassengerHelperAgent
(See full trace by running task with --trace)
 * ERROR: www-apache/passenger-4.0.52::gentoo failed (compile phase):
 *   rake failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4535:  Called ruby-ng_src_compile
 *   environment, line 4280:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  500:  Called all_ruby_compile
 *   environment, line  545:  Called die
 * The specific snippet of code:
 *       V=1 EXTRA_LDFLAGS="${LDFLAGS}" APXS2="${APXS}" HTTPD="${APACHE_BIN}" USE_VENDORED_LIBEV="no" LIBEV_LIBS="-lev" ruby -S rake apache2 || die "rake failed"
 *


Expected Results:  
package compile
Comment 1 Serge 2014-09-30 19:01:13 UTC
gentoo-vm-cli ~ # emerge --info
Portage 2.2.8-r2 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.19-r1, 3.14.16-gentoo i686)
=================================================================
System uname: Linux-3.14.16-gentoo-i686-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     1034248 total,    567700 free
KiB Swap:     257004 total,    256724 free
Timestamp of tree: Tue, 30 Sep 2014 16:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p50
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ldap logrotate modules mysql ncurses nls nptl nptlonly oci8-instant-client openmp pam pcre perl python readline session ssl tcpd unicode vhosts x86 zlib" ABI_X86="32" 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" APACHE2_MODULES="cgi 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Serge 2014-09-30 19:03:56 UTC
Created attachment 385840 [details]
build log
Comment 3 Serge 2014-09-30 19:05:01 UTC
gentoo-vm-cli ~ # emerge -pqv '=www-apache/passenger-4.0.52::gentoo'
[ebuild     U ] www-apache/passenger-4.0.52 [4.0.49] USE="-debug {-test}" RUBY_TARGETS="ruby19 ruby20 -ruby21"
gentoo-vm-cli ~ #
Comment 4 Hans de Graaff gentoo-dev Security 2014-10-01 05:55:11 UTC
Which version of libev do you have installed?
Comment 5 Hans de Graaff gentoo-dev Security 2014-10-01 05:56:25 UTC
Also, does 4.0.49 still build for you?
Comment 6 Serge 2014-10-01 11:06:12 UTC
4.0.49 compilation break with the same error
libev is 4.18

I reinstalled libev and get same result for passenger 4.0.49 and 4.0.52
Comment 7 Joachim IONOFF 2014-10-03 16:54:33 UTC
Updating libev from 4.18 to 4.19 resolved the problem for me.

Links: 
- https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1145190
- http://lists.schmorp.de/pipermail/libev/2014q3/002441.html
Comment 8 Serge 2014-10-03 18:28:42 UTC
4.19 is not yet in portage.
So I did revert to stable tree for libev and installed 4.15-r1.

Passenger build fine now
Thanks
Comment 9 Hans de Graaff gentoo-dev Security 2014-10-05 08:45:04 UTC
Thanks for testing. This looks like a bug in libev, so I'm reassigning it to its maintainer.
Comment 10 Yixun Lan archtester gentoo-dev 2014-10-20 02:28:11 UTC
libev-4.19 in tree, and should fix this.

I'd rather not back port the patch for libev-4.18, but wait for stabilization version 4.19. but do let me know if you feel the backporting is necessary.

thanks all
Comment 11 Serge 2014-10-20 18:42:44 UTC
tested libev 4.19 with passenger 4.0.53 on "Linux gentoo-vm-cli 3.14.16-gentoo #1 SMP" 

and it compile and work.

No idea about backporting
Thanks
Comment 12 Hans de Graaff gentoo-dev Security 2014-10-27 19:56:17 UTC
(In reply to Yixun Lan from comment #10)
> libev-4.19 in tree, and should fix this.
> 
> I'd rather not back port the patch for libev-4.18, but wait for
> stabilization version 4.19. but do let me know if you feel the backporting
> is necessary.

This looks to be an issue in libev 4.18 so my approach would be to simply remove that version from the tree.