Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546044 - =net-im/bitlbee-3.2.2 with USE=libevent fails tests - check_irc.c:46:F:Core:test_login:0: Assertion 'g_io_channel_read_to_end(ch2, &raw, NULL, NULL) == G_IO_STATUS_NORMAL' failed
Summary: =net-im/bitlbee-3.2.2 with USE=libevent fails tests - check_irc.c:46:F:Core:t...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-09 10:00 UTC by eroen
Modified: 2016-04-23 16:29 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,11.82 KB, text/plain)
2015-04-09 10:00 UTC, eroen
Details
build.log (from another user; same issue) (build.log,15.72 KB, text/x-log)
2016-01-17 20:37 UTC, Sophie Hamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2015-04-09 10:00:32 UTC
Created attachment 400892 [details]
build.log

occam ~ # ~eroen/repos/freshstage3/freshstage3.bash all =net-im/bitlbee-3.2.2
Will create fresh stage3 in /tmp/testroot
Running setup() ...
Current stage3: 20150402/stage3-amd64-20150402.tar.bz2
Tree timestamp: 1428519901 Wed 08 Apr 2015 07:05:01 PM UTC
+ tar xpf ../stage3-amd64-20150402.tar.bz2
+ mkdir usr/portage
+ mount --bind /usr/portage/ usr/portage
++ portageq envvar DISTDIR
+ mount --bind /var/distfiles usr/portage/distfiles
+ mount -t proc none proc
+ mount -t sysfs none sys
+ mount --rbind /dev dev
+ cp /etc/resolv.conf etc/resolv.conf
+ set +x
Enabling FEATURES="-news noclean test" ...
Removing bindist from USE ...
Populating with template/ ...
+ cp /home/eroen/repos/freshstage3/freshstage3.bash ./testscript.bash
+ set +x
Chrooting ...
+ env -i TERM=xterm-256color chroot . /bin/bash /testscript.bash build =net-im/bitlbee-3.2.2
Running build() ...
+ env-update
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'
>>> Regenerating /etc/ld.so.cache...
+ set +x
Sourcing /etc/profile quietly ...
Adding =net-im/bitlbee-3.2.2 to package.accept_keywords ...
+ emerge -v1 =net-im/bitlbee-3.2.2

Performing Global Updates
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'
/usr/portage/profiles/updates/2Q-2015....



These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libevent-2.0.22  USE="ssl {test} threads -debug -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] dev-libs/check-0.9.11  USE="-static-libs -subunit" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] app-admin/metalog-3-r1  USE="unicode" 0 KiB
[ebuild  N     ] virtual/logger-0  0 KiB
[ebuild  N     ] net-im/bitlbee-3.2.2  USE="ipv6 jabber libevent oscar plugins ssl {test} yahoo -debug -gnutls -msn -nss -otr -purple (-selinux) -skype -twitter -xinetd" PYTHON_TARGETS="python2_7" 0 KiB

Total: 5 packages (5 new), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 5) dev-libs/libevent-2.0.22::gentoo
... ... ...

make -C tests
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/tests'
* Compiling check.c
* Compiling check_util.c
* Compiling check_nick.c
* Compiling check_md5.c
* Compiling check_arc.c
check_arc.c: In function 'check_decod':
check_arc.c:85:7: warning: variable 'len' set but not used [-Wunused-but-set-variable]
   int len;
       ^
* Compiling check_irc.c
check_irc.c: In function 'test_login':
check_irc.c:30:10: warning: unused variable 'error' [-Wunused-variable]
  GError *error = NULL;
          ^
* Compiling check_help.c
* Compiling check_user.c
* Compiling check_set.c
* Compiling check_jabber_sasl.c
check_jabber_sasl.c: In function 'check_get_part':
check_jabber_sasl.c:89:7: warning: unused variable 'len' [-Wunused-variable]
   int len;
       ^
* Compiling check_jabber_util.c
* Linking check
./check 
Warning: Unable to read configuration file `(null)'.
Running suite(s): Util
 Nick
 MD5
 ArcFour
 IRC
 Help
 User
 Set
 jabber/sasl
 jabber/util
97%: Checks: 34, Failures: 1, Errors: 0
check_irc.c:46:F:Core:test_login:0: Assertion 'g_io_channel_read_to_end(ch2, &raw, NULL, NULL) == G_IO_STATUS_NORMAL' failed
Makefile:10: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/tests'
Makefile:73: recipe for target 'check' failed
make: *** [check] Error 2
 * ERROR: net-im/bitlbee-3.2.2::gentoo failed (test phase):
 *   Make check failed. See above for details.
 * 
 * Call stack:
 *            ebuild.sh, line   93:  Called src_test
 *          environment, line 3311:  Called default
 *   phase-functions.sh, line  770:  Called default_src_test
 *   phase-functions.sh, line  799:  Called __eapi0_src_test
 *     phase-helpers.sh, line  672:  Called die
 * The specific snippet of code:
 *   		$emake_cmd ${internal_opts} check || \
 *   			die "Make check failed. See above for details."
 * 
 * If you need support, post the output of `emerge --info '=net-im/bitlbee-3.2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-im/bitlbee-3.2.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-im/bitlbee-3.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/bitlbee-3.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2'
 * S: '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2'
Comment 1 eroen 2015-04-09 10:01:25 UTC
occam / # emerge --info '=net-im/bitlbee-3.2.2::gentoo'
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r2, 3.18.2.e0-occam0+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.2.e0-occam0+-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     7944088 total,   1009624 free
KiB Swap:   16777212 total,  16634972 free
Timestamp of tree: Wed, 08 Apr 2015 19:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync noclean parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/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=""
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 libav mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" 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, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

occam / # emerge -pqv '=net-im/bitlbee-3.2.2::gentoo'
[ebuild  N    ] net-im/bitlbee-3.2.2  USE="ipv6 jabber libevent oscar plugins ssl {test} yahoo -debug -gnutls -msn -nss -otr -purple (-selinux) -skype -twitter -xinetd" PYTHON_TARGETS="python2_7"
Comment 2 Sophie Hamilton 2016-01-17 20:32:26 UTC
I can confirm this - the bitlbee-3.2.2.ebuild (currently marked stabled on amd64, ppc and x86) fails the test suite with the error in the original post. ("emerge --info" output below, additional build log to be attached)

However, I only found this out when I was doing a version bump in a local overlay for bitlbee-3.4.1, which also fails the test suite, and was wondering if the current one (which I've been using for some time without a hitch) failed too. (I apparently don't have automatic testing enabled on this box, so it was able to install and I've been using it.) As such, although it fails the test suite, this may not actually be a problem so far as usability is concerned.

===
emerge --info:

Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.1.5-x86_64-linode61 x86_64)
=================================================================
System uname: Linux-4.1.5-x86_64-linode61-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_v2_@_2.80GHz-with-gentoo-2.2
KiB Mem:     4094628 total,    585504 free
KiB Swap:     786428 total,    780304 free
Timestamp of repository gentoo: Sun, 10 Jan 2016 13:00:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.3::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

matrix-local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/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"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre perl readline seccomp session sse sse2 ssl tcpd unicode vim-syntax xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 substitute" APACHE2_MPMS="peruser" 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" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Sophie Hamilton 2016-01-17 20:37:49 UTC
Created attachment 423194 [details]
build.log (from another user; same issue)

matrix ~ # cd /usr/portage/net-im/bitlbee
matrix bitlbee # ebuild bitlbee-3.2.2.ebuild clean
matrix bitlbee # ebuild bitlbee-3.2.2.ebuild test
Forcing test.
 * bitlbee-3.2.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking bitlbee-3.2.2.tar.gz to /var/tmp/portage/net-im/bitlbee-3.2.2/work
>>> Source unpacked in /var/tmp/portage/net-im/bitlbee-3.2.2/work
>>> Preparing source in /var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2 ...
 * Applying bitlbee-3.2.1-configure.patch ...                                                                                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2 ...
 * Using gnutls for SSL support
BitlBee configure

Architecture: Linux

Configuration done:
  Debugging disabled.
  Building PIE executable
  Binary stripping disabled.
  Off-the-Record (OTR) Messaging disabled.
  systemd enabled.
  Using event handler: libevent
  Using SSL library: gnutls
  Building with these protocols: msn jabber oscar yahoo twitter
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2 ...
make -j4
* Compiling bitlbee.c
* Compiling dcc.c
* Compiling help.c
* Compiling ipc.c
ipc.c: In function ‘ipc_readline’:
ipc.c:595:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     *recv_fd = *(int*) CMSG_DATA( cmsg );
     ^
ipc.c: In function ‘ipc_send_fd’:
ipc.c:780:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *(int*)CMSG_DATA( cmsg ) = send_fd;
  ^
* Compiling irc.c
* Compiling irc_im.c
* Compiling irc_channel.c
* Compiling irc_commands.c
* Compiling irc_send.c
* Compiling irc_user.c
* Compiling irc_util.c
* Compiling nick.c
* Compiling query.c
* Compiling root_commands.c
* Compiling set.c
* Compiling storage.c
* Compiling storage_xml.c
* Compiling unix.c
* Compiling conf.c
unix.c: In function ‘main’:
unix.c:156:4: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result]
    setgid( pw->pw_gid );
    ^
unix.c:157:4: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result]
    setuid( pw->pw_uid );
    ^
* Compiling log.c
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/lib'
* Compiling arc.c
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols'
* Compiling account.c
make -C doc
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/doc'
# Only build the docs if this is a bzr checkout
test ! -d ../.bzr || make -C user-guide
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/doc'
mkdir -p init
sed 's|@sbindir@|/usr/sbin/|' init/bitlbee.service.in > init/bitlbee.service
* Compiling base64.c
sed 's|@sbindir@|/usr/sbin/|' init/bitlbee@.service.in > init/bitlbee@.service
* Compiling events_libevent.c
* Compiling ftutil.c
* Compiling http_client.c
* Compiling ini.c
* Compiling json.c
* Compiling bee.c
* Compiling json_util.c
* Compiling bee_chat.c
* Compiling md5.c
* Compiling misc.c
md5.c: In function ‘md5_finish’:
md5.c:153:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ((uint32_t *) ctx->in)[14] = cvt32(ctx->bits[0]);
  ^
md5.c:154:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  ((uint32_t *) ctx->in)[15] = cvt32(ctx->bits[1]);
  ^
* Compiling oauth.c
* Compiling bee_ft.c
* Compiling oauth2.c
* Compiling bee_user.c
* Compiling proxy.c
* Compiling sha1.c
* Compiling ssl_gnutls.c
* Compiling nogaim.c
* Compiling url.c
* Compiling xmltree.c
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/msn'
* Compiling msn.c
* Compiling msn_util.c
msn_util.c: In function ‘msn_handler’:
msn_util.c:274:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write( 2, "->C:", 4 );
   ^
msn_util.c:275:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write( 2, h->rxq + h->rxlen - st, st );
   ^
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/jabber'
* Compiling conference.c
* Compiling ns.c
* Linking lib.o
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/lib'
* Compiling sb.c
* Compiling soap.c
* Compiling io.c
soap.c: In function ‘msn_soap_debug_print’:
soap.c:224:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
    write( 2, headers, s - headers + 4 );
    ^
soap.c:226:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
    write( 2, headers, strlen( headers ) );
    ^
* Compiling tables.c
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/oscar'
* Compiling admin.c
* Compiling auth.c
* Compiling iq.c
* Linking msn_mod.o
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/msn'
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/yahoo'
* Compiling yahoo.c
* Compiling bos.c
* Compiling buddylist.c
* Compiling chat.c
* Compiling chatnav.c
In file included from chat.c:8:0:
chat.c: In function ‘aim_chat_send_im’:
./aim.h:740:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #define aimutil_put8(buf, data) ((*(buf) = (u_char)(data)&0xff),1)
                                                                ^
chat.c:69:3: note: in expansion of macro ‘aimutil_put8’
   aimutil_put8(ckstr+i, (guint8) rand());
   ^
chat.c: In function ‘aim_chat_invite’:
./aim.h:740:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #define aimutil_put8(buf, data) ((*(buf) = (u_char)(data)&0xff),1)
                                                                ^
chat.c:230:3: note: in expansion of macro ‘aimutil_put8’
   aimutil_put8(ckstr, (guint8) rand());
   ^
* Compiling jabber.c
* Compiling libyahoo2.c
* Compiling conn.c
* Compiling icq.c
* Compiling jabber_util.c
* Compiling im.c
* Compiling info.c
* Compiling misc.c
* Compiling message.c
* Compiling msgcookie.c
* Compiling presence.c
* Compiling rxhandlers.c
* Compiling rxqueue.c
* Compiling s5bytestream.c
* Compiling search.c
* Compiling service.c
* Compiling snac.c
* Compiling ssi.c
* Compiling sasl.c
* Compiling yahoo_httplib.c
* Compiling stats.c
* Compiling tlv.c
* Compiling yahoo_util.c
* Compiling si.c
In file included from tlv.c:1:0:
tlv.c: In function ‘aim_addtlvtochain8’:
./aim.h:740:64: warning: right-hand operand of comma expression has no effect [-Wunused-value]
 #define aimutil_put8(buf, data) ((*(buf) = (u_char)(data)&0xff),1)
                                                                ^
tlv.c:183:2: note: in expansion of macro ‘aimutil_put8’
  aimutil_put8(v8, v);
  ^
tlv.c: In function ‘aim_addtlvtochain16’:
./aim.h:744:37: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   (*((buf)+1) = (u_char)(data)&0xff),  \
                                     ^
tlv.c:201:2: note: in expansion of macro ‘aimutil_put16’
  aimutil_put16(v16, v);
  ^
tlv.c: In function ‘aim_addtlvtochain32’:
./aim.h:751:37: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   (*((buf)+3) = (u_char)(data)&0xff), \
                                     ^
tlv.c:219:2: note: in expansion of macro ‘aimutil_put32’
  aimutil_put32(v32, v);
  ^
* Linking yahoo_mod.o
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/yahoo'
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/twitter'
* Compiling twitter.c
* Compiling twitter_http.c
* Compiling txqueue.c
* Linking jabber_mod.o
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/jabber'
* Compiling oscar_util.c
* Compiling twitter_lib.c
* Compiling oscar.c
* Linking twitter_mod.o
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/twitter'
* Linking oscar_mod.o
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/oscar'
* Linking protocols.o
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols'
* Linking bitlbee
* Stripping bitlbee
>>> Source compiled.
>>> Test phase: net-im/bitlbee-3.2.2
make -j4   check
make -C doc
mkdir -p init
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/lib'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/lib'
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/doc'
# Only build the docs if this is a bzr checkout
sed 's|@sbindir@|/usr/sbin/|' init/bitlbee.service.in > init/bitlbee.service
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols'
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/msn'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/msn'
test ! -d ../.bzr || make -C user-guide
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/jabber'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/jabber'
sed 's|@sbindir@|/usr/sbin/|' init/bitlbee@.service.in > init/bitlbee@.service
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/doc'
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/yahoo'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/yahoo'
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/oscar'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/oscar'
make[2]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/twitter'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols/twitter'
* Linking protocols.o
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/protocols'
* Linking bitlbee
* Stripping bitlbee
make -C tests
make[1]: Entering directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/tests'
* Compiling check.c
* Compiling check_util.c
* Compiling check_nick.c
* Compiling check_md5.c
* Compiling check_arc.c
* Compiling check_irc.c
* Compiling check_help.c
check_arc.c: In function ‘check_decod’:
check_arc.c:85:7: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
   int len;
       ^
check_irc.c: In function ‘test_login’:
check_irc.c:30:10: warning: unused variable ‘error’ [-Wunused-variable]
  GError *error = NULL;
          ^
* Compiling check_user.c
* Compiling check_set.c
* Compiling check_jabber_sasl.c
* Compiling check_jabber_util.c
check_jabber_sasl.c: In function ‘check_get_part’:
check_jabber_sasl.c:89:7: warning: unused variable ‘len’ [-Wunused-variable]
   int len;
       ^
* Linking check
./check
Warning: Unable to read configuration file `(null)'.
Running suite(s): Util
 Nick
 MD5
 ArcFour
 IRC
 Help
 User
 Set
 jabber/sasl
 jabber/util
97%: Checks: 34, Failures: 1, Errors: 0
check_irc.c:46:F:Core:test_login:0: Assertion 'g_io_channel_read_to_end(ch2, &raw, NULL, NULL) == G_IO_STATUS_NORMAL' failed
Makefile:10: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2/tests'
Makefile:73: recipe for target 'check' failed
make: *** [check] Error 2
 * ERROR: net-im/bitlbee-3.2.2::gentoo failed (test phase):
 *   Make check failed. See above for details.
 *
 * Call stack:
 *            ebuild.sh, line  133:  Called src_test
 *          environment, line 3400:  Called default
 *   phase-functions.sh, line  769:  Called default_src_test
 *   phase-functions.sh, line  798:  Called __eapi0_src_test
 *     phase-helpers.sh, line  760:  Called die
 * The specific snippet of code:
 *              $emake_cmd ${internal_opts} check || \
 *                      die "Make check failed. See above for details."
 *
 * If you need support, post the output of `emerge --info '=net-im/bitlbee-3.2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-im/bitlbee-3.2.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-im/bitlbee-3.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/bitlbee-3.2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2'
 * S: '/var/tmp/portage/net-im/bitlbee-3.2.2/work/bitlbee-3.2.2'
Comment 4 Sophie Hamilton 2016-01-17 20:39:07 UTC
Oops, sorry for the spam - I meant to cut some of that out and leave it in the build log file. My apologies!
Comment 5 Alex Xu (Hello71) 2016-04-23 16:29:49 UTC
this is probably fixed in 3.4.2.