Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305063 - >=app-mobilephone/obexd-0.21 never installs phonebook plugins
Summary: >=app-mobilephone/obexd-0.21 never installs phonebook plugins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Tiziano Müller (RETIRED)
URL: http://marc.info/?l=linux-bluetooth&m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-14 15:14 UTC by Tommaso Pasini
Modified: 2010-02-19 18:57 UTC (History)
5 users (show)

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


Attachments
Complete build log (build.log,6.36 KB, text/plain)
2010-02-14 15:15 UTC, Tommaso Pasini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pasini 2010-02-14 15:14:37 UTC
Enabling eds USE flag makes the compilation succeed, otherwise it bails out

>>> Compiling source in /var/tmp/portage/app-mobilephone/obexd-0.21/work/obexd-0.21 ...
make -j2 
make --no-print-directory all-am
make[1]: *** No rule to make target `plugins/phonebook-no.c', needed by `plugins/phonebook.c'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  GEN    src/builtin.h
make: *** [all] Error 2

Reproducible: Always




Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r5-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 14 Feb 2010 11:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -fforce-addr -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -fforce-addr -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ http://de-mirror.org/distro/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdr cleartype cli consolekit corefonts cracklib crypt css cups cxx dbus dmx dri dvd dvdr emboss encode evo fam ffmpeg firefox fortran gdbm gif glib gmp gnome gnome-keyring gstreamer gtk hal iconv jack java java6 jpeg jpeg2k kpathsea lcms libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg nautilus ncurses networkmanager nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pch pcre pdf perl png ppds pppd python quicktime readline reflection samba sdl session sndfile spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcpd theora threads thunar tiff tracker truetype type1 unicode usb vorbis wifi win32codecs x264 x86 xinerama xml xorg xulrunner xv xvid xvmc 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tommaso Pasini 2010-02-14 15:15:58 UTC
Created attachment 219643 [details]
Complete build log
Comment 2 Maxim Prokhorov 2010-02-14 17:24:25 UTC
According to this commit:
http://git.kernel.org/?p=bluetooth/obexd.git;a=commit;h=69a62bd3bd

there is new syntax of eds enabling using --with-phonebook=ebook and skipping it by --with-phonebook=dummy (which is default)
Comment 3 Jory A. Pratt gentoo-dev 2010-02-15 02:46:26 UTC
Index: obexd-0.21.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/obexd/obexd-0.21.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 obexd-0.21.ebuild
--- obexd-0.21.ebuild	13 Feb 2010 18:33:18 -0000	1.1
+++ obexd-0.21.ebuild	15 Feb 2010 02:46:01 -0000
@@ -24,7 +24,8 @@
 src_configure() {
 	econf \
 		$(use_enable debug) \
-		$(use_with eds phonebook ebook)
+		$(use_with eds phonebook ebook) \
+		$(use_with !eds phonebook dummy)
 }
Comment 4 Raphael Dehousse 2010-02-16 21:21:08 UTC
Same bug here
Comment 5 Pacho Ramos gentoo-dev 2010-02-17 20:37:26 UTC
I think that I will simply drop eds USE flag for this since it's broken:
1. It installs the same even having it enabled or disabled
2. When using use_with, "--without-phonebook" is appended causing build to fail when enabling/disabling server compilation (that USE isn't still available in main tree but I am trying it locally)
Comment 6 Maxim Prokhorov 2010-02-17 21:15:49 UTC
(In reply to comment #5)
> I think that I will simply drop eds USE flag for this since it's broken:
> 1. It installs the same even having it enabled or disabled
> 2. When using use_with, "--without-phonebook" is appended causing build to fail
> when enabling/disabling server compilation (that USE isn't still available in
> main tree but I am trying it locally)
> 

Since it builds correctly linked to evolution-data-server(--with-phonebook=ebook), wouldn't it be better to provide `if; then` check? 
i.e.
        if use eds ; then phonebook=ebook ; fi

	econf \
		 --with-phonebook=${phonebook:-dummy} \
		 $(use_enable debug)
Comment 7 Pacho Ramos gentoo-dev 2010-02-17 21:34:20 UTC
The problem is that, at least in my case, it doesn't install anything more even passing --with-phonebook=ebook (I have mailed upstream asking for this problem)
Comment 8 Pacho Ramos gentoo-dev 2010-02-19 18:57:10 UTC
Fixed in -r2 including upstream patch that makes --without-phonebook work as expected