Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134202 - net-im/bitlbee configure fail on ssl check w/ USE=nss
Summary: net-im/bitlbee configure fail on ssl check w/ USE=nss
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Cédric Krier
URL:
Whiteboard:
Keywords:
: 145658 202166 (view as bug list)
Depends on:
Blocks: 195758
  Show dependency tree
 
Reported: 2006-05-24 06:01 UTC by Vaclav Danek
Modified: 2007-12-13 20:52 UTC (History)
3 users (show)

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


Attachments
bitlbee-1.1-r1.ebuild (bitlbee-1.1-r1.ebuild,4.35 KB, text/plain)
2007-12-13 19:59 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vaclav Danek 2006-05-24 06:01:58 UTC
ERROR: Could not find a suitable SSL library (GnuTLS, libnss or OpenSSL).
       This is necessary for MSN and full Jabber support. To continue,
       install a suitable SSL library or disable MSN support (--msn=0).
       If you want Jabber without SSL support you can try --ssl=bogus.

I want Jabber without SSL support.

Portage 2.1_rc2-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo ftp://gentoo.inode.at/source/ http://distfiles.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa berkdb bzip2 dri esd fbcon gdbm gif gpm jpeg mmx ncurses nptl nptlonly opengl perl png python readline sse sse2 zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_i915"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-24 06:06:46 UTC
Reopen with 'emerge -pv bitlbee' output.
Comment 2 Vaclav Danek 2006-05-26 05:03:17 UTC
emerge -pv bitlbee

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

Calculating dependencies... done!
[ebuild   R   ] net-im/bitlbee USE="jabber oscar -debug -gnutls -msn -msnextras -openssl -yahoo" 0 kB 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 05:43:27 UTC
(In reply to comment #2)
> emerge -pv bitlbee
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ] net-im/bitlbee USE="jabber oscar -debug -gnutls -msn -msnextras
> -openssl -yahoo" 0 kB 

This output doesn't look sane, ebuild version is completely missing. Also, I really suspect portage screws there on use flags check, it should pass --ssl=bogus to configure there w/ the above USE flags, IMO:

bitlbee-1.0.2.ebuild

<snip>
        if ( ( use jabber && ( use gnutls || use openssl ) ) || use msn ) && \
        use !gnutls && use !openssl; then
                myconf="${myconf} --ssl=bogus"
        fi
</snip>

Which version are you installing?
Comment 4 Vaclav Danek 2006-05-29 04:44:23 UTC
[ebuild   N   ] net-im/bitlbee-1.0.2  USE="jabber oscar -debug -gnutls -msn -msnextras -openssl -yahoo" 0 kB 

Comment 5 Zac Medico gentoo-dev 2006-05-29 05:36:10 UTC
I was able to build it with the same USE flags but I have ssl libraries installed...
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 00:34:01 UTC
*** Bug 145658 has been marked as a duplicate of this bug. ***
Comment 7 reisio 2006-11-08 01:22:43 UTC
I got this with 1.0.3 and the 'nss' USE flag enabled - had to disable that one to emerge successfully.
Comment 8 Christian Heim (RETIRED) gentoo-dev 2007-09-17 18:05:38 UTC
Reassigning to the current maintainer.
Comment 9 Cédric Krier gentoo-dev 2007-09-18 20:41:14 UTC
Must be fixed with the version 1.0.4 in cvs

Re-open it if not.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-12-13 18:39:29 UTC
*** Bug 202166 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-12-13 18:40:03 UTC
(In reply to comment #9)
> Must be fixed with the version 1.0.4 in cvs

Nope.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-12-13 19:59:48 UTC
Created attachment 138404 [details]
bitlbee-1.1-r1.ebuild

Attached is a reworked, sanitized ebuild.

- add a sed magic to fix build w/ USE=nss
- fix DEPEND (don't pull in tons of stuff for encryption w/ multiple USE flags enabled when only one can be used anyway)
- add missing dev-util/pkgconfig DEPEND
- add missing sys-apps/xinetd RDEPEND w/ USE=xinetd
- make use of confutils eclass instead of ah-hoc hacks
- make use of EAPI-1 to enable all protocols but msn by default (they have no dependencies, so why not?)
- general src_compile cleanup
- disable ldap for now (Bug 195758)
- etc. etc. etc.

Please test and report back.
Comment 13 Cédric Krier gentoo-dev 2007-12-13 20:52:40 UTC
Updated in cvs with version 1.1-r1