Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301850 - mail-client/balsa-2.4.2 requires networkmanager and should not
Summary: mail-client/balsa-2.4.2 requires networkmanager and should not
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 301916 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-22 15:42 UTC by Robert Bradbury
Modified: 2010-03-10 23:46 UTC (History)
4 users (show)

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


Attachments
emerge --info (EmergeInfo.txt,11.04 KB, text/plain)
2010-01-25 22:58 UTC, Jack
Details
build log (BalsaBuildError1.log,9.22 KB, text/plain)
2010-01-25 22:59 UTC, Jack
Details
adding missing use_with (balsa-2.4.2.diff,311 bytes, patch)
2010-02-12 22:51 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2010-01-22 15:42:45 UTC
The configure for mail-client/balsa-2.4.2 goes looking for /usr/lib/libnm_glib.so and quits if it doesn't find it.  It would appear that the Ebuild was updated to require the networkmanager package *if* the user has specified it but the configure script hasn't been patched to properly configure when networkmaanger isn't installed on the system (and there is no libnm_glib present).

Reproducible: Always

Steps to Reproduce:
1. emerge balsa

Actual Results:  
Fails to emerge

Expected Results:  
Should configure and emerge properly.

I would guess from the second set of errors (below) that balsa doesn't take into account both the -gtkhtml (as well as -networkmanager) USE flags.

My current use flags are:
USE="crypt doc gnome gtkspell libnotify ssl -gtkhtml -kerberos -ldap -networkmanager% -rubrica -sqlite -xface (-debug%*)"

Ebuild log says:
checking for LIBNM_GLIB... configure: error: Package requirements ( libnm_glib ) were not m
et:

No package 'libnm_glib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBNM_GLIB_CFLAGS
and LIBNM_GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Even after one emerges networkmanager balsa will not load properly, messages are:
balsa-message.o: In function `bm_find_entry_changed_cb':
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:508: undefined reference to `libbalsa_html_can_search'
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:509: undefined reference to `libbalsa_html_search_text'
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:514: undefined reference to `libbalsa_html_get_selection_bounds'
balsa-message.o: In function `bm_find_again':
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:561: undefined reference to `libbalsa_html_can_search'
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:564: undefined reference to `libbalsa_html_search_text'
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:566: undefined reference to `libbalsa_html_search_text'
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:567: undefined reference to `libbalsa_html_get_selection_bounds'
balsa-message.o: In function `balsa_message_find_in_message':
/media/tmp/portage/mail-client/balsa-2.4.2/work/balsa-2.4.2/src/balsa-message.c:3296: undefined reference to `libbalsa_html_can_search'
collect2: ld returned 1 exit status
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-25 13:06:26 UTC
full build.log please and emerge --info
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-25 13:06:50 UTC
*** Bug 301916 has been marked as a duplicate of this bug. ***
Comment 3 Jack 2010-01-25 22:57:42 UTC
I have the same problem (with +gtkhtml), although in my case, after emerging networkmanager, balsa runs fine.  I'll attache emerge --info and build log.
Comment 4 Jack 2010-01-25 22:58:27 UTC
Created attachment 217426 [details]
emerge --info
Comment 5 Jack 2010-01-25 22:59:09 UTC
Created attachment 217428 [details]
build log
Comment 6 Jack 2010-01-28 00:23:09 UTC
Interesting addition - balsa does work fine for me, but I get

libnm_glib_nm_state_cb: dbus returned an error.
  (org.freedesktop.DBus.Error.ServiceUnknown) The name org.freedesktop.NetworkManager was not provided by any .service files
Status: No DBUS

even though I specifically have -networkmanager.  If I actually run networkmanager, that error goes away.  [from eix: Installed versions:  2.4.2(17:41:10 01/25/10)(crypt gtkhtml gtkspell libnotify ssl -doc -gnome -kerberos -ldap -networkmanager -rubrica -sqlite -xface)]

I'd reopen, but I'm not the OP.
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-12 22:51:49 UTC
Created attachment 219387 [details, diff]
adding missing use_with

janus01 balsa-2.4.2 # ./configure --help | grep Network
  --with-nm               Enable NetworkManager (default=yes)

that's source of the problem
Comment 8 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-02-12 22:53:30 UTC
Build.log and emerge --info attached. I was able to reproduce the problem. Reopening.
Comment 9 Jack 2010-03-09 22:41:57 UTC
2.4.7 is the latest released version, but I don't see anything beyond 2.4.2 in portage.  What's the process for requesting an update?
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-10 23:46:37 UTC
+*balsa-2.4.7 (10 Mar 2010)
+
+  10 Mar 2010; Gilles Dartiguelongue <eva@gentoo.org> +balsa-2.4.7.ebuild:
+  Version bump. Fix a couple of crashers and security issues. Also fix
+  automagic USE flags, bug #301850.
+
Oops, I in fact forgot to add USE flag switches in src_configure. This should
be all fixed in 2.4.7. Enjoy.