Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430508 - net-misc/rabbitmq-server-2.8.5 fails to build
Summary: net-misc/rabbitmq-server-2.8.5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 02:43 UTC by Patrick Lauer
Modified: 2012-09-03 16:04 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 Patrick Lauer gentoo-dev 2012-08-09 02:43:02 UTC
touch mochiweb-wrapper/mochiweb-git/.done
erlc -Wall +debug_info -D no_specs -I ./eldap-wrapper/eldap-git/generated -o ./eldap-wrapper/eldap-git/generated eldap-wrapper/eldap-git/src/ELDAPv3.asn
echo UPSTREAM_SHORT_HASH:=`git --git-dir=./eldap-wrapper/eldap-git/.git log -n 1 HEAD | grep commit | cut -b 8-14` >eldap-wrapper/build/hash.mk
remote: Total 1517 (delta 959), reused 1411 (delta 868)
Receiving objects: 100% (1517/1517), 1.32 MiB | 236 KiB/s, done.
Resolving deltas: 100% (959/959), done.
cd ./webmachine-wrapper/webmachine-git && git checkout 52e62bc655d700dfc8f409d44db0a07b39c3234f
Note: checking out '52e62bc655d700dfc8f409d44db0a07b39c3234f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 52e62bc... Add bot notification.
patch -d ./webmachine-wrapper/webmachine-git -p1 <./webmachine-wrapper/10-remove-crypto-dependency.patch && :
patching file ebin/webmachine.app
patching file src/webmachine.erl
patching file src/webmachine_request.erl
touch webmachine-wrapper/webmachine-git/.done
sed -n -e 's|^.*{vsn, *"\([^"]*\)".*$|ORIGINAL_VERSION:=\1|p' <sockjs-erlang-wrapper/sockjs-erlang-git/src/sockjs.app.src >sockjs-erlang-wrapper/build/version.mk
sed -n -e 's|^.*{vsn, *"\([^"]*\)".*$|ORIGINAL_VERSION:=\1|p' <webmachine-wrapper/webmachine-git/ebin/webmachine.app >webmachine-wrapper/build/version.mk
echo UPSTREAM_SHORT_HASH:=`git --git-dir=sockjs-erlang-wrapper/sockjs-erlang-git/.git log -n 1 HEAD | grep commit | cut -b 8-14` >sockjs-erlang-wrapper/build/hash.mk
echo UPSTREAM_SHORT_HASH:=`git --git-dir=./webmachine-wrapper/webmachine-git/.git log -n 1 HEAD | grep commit | cut -b 8-14` >webmachine-wrapper/build/hash.mk
cp ./mochiweb-wrapper/mochiweb-git/src/mochiweb.app.src ./mochiweb-wrapper/mochiweb-git/mochiweb.app
echo UPSTREAM_SHORT_HASH:=`git --git-dir=erlang-rfc4627-wrapper/erlang-rfc4627-git/.git log -n 1 HEAD | grep commit | cut -b 8-14` >erlang-rfc4627-wrapper/build/hash.mk
echo UPSTREAM_SHORT_HASH:=`git --git-dir=./mochiweb-wrapper/mochiweb-git/.git log -n 1 HEAD | grep commit | cut -b 8-14` >mochiweb-wrapper/build/hash.mk
echo UPSTREAM_SHORT_HASH:=`git --git-dir=cowboy-wrapper/cowboy-git/.git log -n 1 HEAD | grep commit | cut -b 8-14` >cowboy-wrapper/build/hash.mk
sed -n -e 's|^.*{vsn, *"\([^"]*\)".*$|ORIGINAL_VERSION:=\1|p' <cowboy-wrapper/cowboy-git/src/cowboy.app.src >cowboy-wrapper/build/version.mk
sed -n -e 's|^.*{vsn, *"\([^"]*\)".*$|ORIGINAL_VERSION:=\1|p' <mochiweb-wrapper/mochiweb-git/mochiweb.app >mochiweb-wrapper/build/version.mk
[elided] generate deps
[elided] fix test deps
sed -e 's|eldap-wrapper/build/deps.mk|$(DEPS_FILE)|' eldap-wrapper/build/deps.mk > eldap-wrapper/build/deps.mk.tmp && mv eldap-wrapper/build/deps.mk.tmp eldap-wrapper/build/deps.mk
make[2]: Leaving directory `/chroot/build/portage/net-misc/rabbitmq-server-2.8.5/work/rabbitmq-server-2.8.5/plugins-src'
make[2]: Entering directory `/chroot/build/portage/net-misc/rabbitmq-server-2.8.5/work/rabbitmq-server-2.8.5/plugins-src'
do-package.mk:507: *** Failed to produce cowboy-wrapper/build/deps.mk.  Stop.
make[2]: Leaving directory `/chroot/build/portage/net-misc/rabbitmq-server-2.8.5/work/rabbitmq-server-2.8.5/plugins-src'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/chroot/build/portage/net-misc/rabbitmq-server-2.8.5/work/rabbitmq-server-2.8.5/plugins-src'
make: *** [plugins] Error 2
 * ERROR: net-misc/rabbitmq-server-2.8.5 failed (compile phase):
 *   emake failed


Portage 2.2.0_alpha120 (default/linux/amd64/10.0/desktop/kde, gcc-4.7.1, glibc-2.15-r2, 3.5.0vs2.3.4-vs2.3.4 x86_64)
=================================================================
System uname: Linux-3.5.0vs2.3.4-vs2.3.4-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1
Timestamp of tree: Unknown
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x11 qt Testing kde
Installed sets: @kde-live
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/chroot/distfiles"
EMERGE_DEFAULT_OPTS="--load-average=5 --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://gentoo.osuosl.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB de de_DE zh_CN"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/chroot/build"
PORTDIR="/home/pl/code/gentoo-x86"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/qt /home/pl/overlay /home/pl/code/kde"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli compat consolekit crypt cups curl cxx dbus declarative dri dts dvd dvdr dvdread emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif gnutls gpm gtk iconv icq idn imagemagick imap imlib innodb ipod ipv6 jabber java javascript jingle jpeg jpeg2k kde kdehiddenvisibility kipi lame lcms ldap libnotify lzo mad matroska md5sum midi mmap mmx mng modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql ncurses nls nptl nsplugin offensive ogg openal openexr opengl openmp oscar pam pango pcre pdf perl php plasma png policykit ppds python qt3support qt4 quicktime r600-llvm-compiler raw rdesktop readline rss samba sdl semantic-desktop session speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg syslog taglib tcpd threads tidy tiff truetype udev udisks unicode upower usb vlc vorbis wifi wmf wxwidgets wxwindows x264 xattr xcb xcomposite xine xinerama xml xmlrpc xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB de de_DE zh_CN" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Ultrabug gentoo-dev 2012-08-09 17:07:18 UTC
No time to fix this and #430510 yet, but can you confirm it builds with MAKEOPTS="-j1" plz ?
Comment 2 Christian Affolter 2012-08-15 11:25:54 UTC
I got the same build error and can confirm that it builds OK with MAKEOPTS="-j1".
Comment 3 Patrick Lauer gentoo-dev 2012-08-20 03:19:38 UTC
make[2]: Leaving directory `/chroot/build/portage/net-misc/rabbitmq-server-2.8.5/work/rabbitmq-server-2.8.5/plugins-src'
nc: invalid option -- 'z'
Usage:
        nc [options...] hostname port
        nc -l -p port [-s addr] [options...] [hostname] [port]

Recognized options are:
 -4                     Use only IPv4
 -6                     Use only IPv6
 -b, --bluetooth        Use Bluetooth (defaults to L2CAP protocol)
 -U, --unix             Connect to unix domain sockets
 --buffer-size=BYTES    Set buffer size
 --continuous           Continuously accept connections
                        (only in listen mode with --exec)
 --disable-nagle        Disable nagle algorithm for TCP connections
 -e, --exec=CMD         Exec command after connect
 --half-close           Handle network half-closes correctly
 -h, --help             Display help
 -l, --listen           Listen mode, for inbound connects
 --mtu=BYTES            Set MTU for network connection transmits
 -n                     Numeric-only IP addresses, no DNS
 --no-reuseaddr         Disable SO_REUSEADDR socket option
                        (only in listen mode)

 --nru=BYTES            Set NRU for network connection receives
 -p, --port=PORT        Local port
 -q, --hold-timeout=SEC1[:SEC2]
                        Set hold timeout(s) for local [and remote]
 --rcvbuf-size          Kernel receive buffer size for network sockets
 --recv-only            Only receive data, don't transmit
 -s, --address=ADDRESS  Local source address
 --sco                  Use SCO over Bluetooth
 --send-only            Only transmit data, don't receive
 --sndbuf-size          Kernel send buffer size for network sockets
 -t, --idle-timeout=SECONDS
                        Idle connection timeout
 -u, --udp              Require use of UDP
 -v                     Increase program verbosity
                        (call twice for max verbosity)
 --version              Display nc6 version information
 -w, --timeout=SECONDS  Timeout for connects/accepts
 -x, --transfer         File transfer mode
 -X, --rev-transfer     File transfer mode (reverse direction)



this build system is such a huge pile of broken stuff, every time I try to fix a thing I hit two new failures :(
Comment 4 ivanov 2012-08-28 09:08:01 UTC
Not sure if it related to this bug
Rabbitmq needs netcat package in order to be built. This package should be added to dependencies. Unless this, there's a build error "/bin/sh: nc: command not found"
Comment 5 Travis Hansen 2012-08-31 15:58:09 UTC
I was getting a similar issue and -j1 'fixed' it.  I also see the nc issue about missing -z but it didn't seem to kill the build.
Comment 6 Ultrabug gentoo-dev 2012-09-03 16:04:21 UTC
Thanks Patrick, fixed in tree !

+*rabbitmq-server-2.8.6 (03 Sep 2012)
+
+  03 Sep 2012; Ultrabug <ultrabug@gentoo.org> -rabbitmq-server-2.8.1-r1.ebuild,
+  rabbitmq-server-2.8.4.ebuild, rabbitmq-server-2.8.5.ebuild,
+  +rabbitmq-server-2.8.6.ebuild, files/rabbitmq.service,
+  files/rabbitmq-script-wrapper:
+  Drop old. Add GPL-2 LICENSE fix #426092. Enhanced systemd service file fix
+  #419531 and init script fix #416345 thx to Maksim Melnikau. Fix #430510 VCS
+  fetching in compilation. Fix #430508 parallel building. Version bump.
+