Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138277 - kdebluetooth-1.0_beta1-r2 fails to compile with stable openobex-1.2-r1
Summary: kdebluetooth-1.0_beta1-r2 fails to compile with stable openobex-1.2-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://bugs.kde.org/show_bug.cgi?id=1...
Whiteboard:
Keywords:
: 138609 (view as bug list)
Depends on: 138593
Blocks:
  Show dependency tree
 
Reported: 2006-06-27 15:52 UTC by Michael Mauch
Modified: 2006-08-20 02:11 UTC (History)
4 users (show)

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


Attachments
Patch against kdebluetooth-1.0_beta1 for compilation with openobex-1.2 (kdebluetooth-1.0_beta1-openobex-1.2.patch,3.21 KB, patch)
2006-06-30 05:33 UTC, Remy Blank
Details | Diff
Output of emerging kdebluetooth (kdebluetooth-emerge.log,41.77 KB, text/plain)
2006-06-30 06:36 UTC, Remy Blank
Details
List of files that will be installed (kdebluetooth-files,9.84 KB, text/plain)
2006-06-30 08:45 UTC, Ioannis Aslanidis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mauch 2006-06-27 15:52:40 UTC
If the stable (x86) dev-libs/openobex-1.2-r1 is installed, kdebluetooth-1.0_beta1-r2 silently fails to compile anything, installs the docs only and happily removes the old kdebluetooth binaries.

The configure output is:

checking for openobex-config... no
configure: WARNING: openobex-config not found. Pehaps openobex is not installed.
checking for openobex - version >= 1.0.0... configure: WARNING: Installed openobex library too old ()
yes
[...]
The installed openobex library version is too old: ()
Kdebluetooth won't be compiled without a newer version, so you should
consider updating it.


This seems to be an (resolved) upstream bug (see http://bugs.kde.org/show_bug.cgi?id=124140), but I can't figure which patches are relevant.
Comment 1 Michael Mauch 2006-06-28 13:32:15 UTC
For a quick and very dirty fix, I grabbed http://websvn.kde.org/*checkout*/trunk/extragear/pim/kdebluetooth/configure.in.in?rev=553533, saved it in the files directory as kdebluetooth-1.0_beta1-r2-configure.in.in, and put the lines:

  cp -p ${FILESDIR}/kdebluetooth-1.0_beta1-r2-configure.in.in \
${S}/kdebluetooth/configure.in.in
  cp -p ${S}/kdebluetooth/configure.in.in ${S}/configure.in.in

before the line with eaclocal in the ebuild.

The second copy doesn't seem to be needed - even with it, the ebuild still complains about "The installed openobex library version is too old: ()".

But it compiles and works (here).
Comment 2 Ryan Neufeld 2006-06-29 08:28:11 UTC
Just a "Yup, this happened to me"
Comment 3 Elias Probst 2006-06-29 08:57:15 UTC
Same problem here... We need to find a fix quickly, because this buggy kdebluetooth is "stable" on most archs.
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-06-29 12:00:30 UTC
As upstream removed support for version <1.1, I'll do that as well in the ebuild. Should they change fix it in the future, I'll correct it as well.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-06-29 12:41:16 UTC
There was a possible mistake when stabilizing kdebluetooth-1.0_beta1-r2.ebuild for HPPA and AMD64. The package will not build against the current stable openobex-1.0 for your architectures, so I guess you tested it with a currently marked unstable version of openobex.

On the other hand, our fault as well for not marking the minimum dependency of openobex to 1.1.

In conclussion, please, either stabilize openobex-1.1 (prefered) or above or unstabilize kdebluetooth for your architectures.
Comment 6 Remy Blank 2006-06-30 05:33:55 UTC
Created attachment 90521 [details, diff]
Patch against kdebluetooth-1.0_beta1 for compilation with openobex-1.2

The patch for compilation with openobex-1.1 currently in portage isn't complete for use with openobex-1.2. The same kind of changes as done to configure.in have to be applied to kdebluetooth/configure.in.in and kdebluetooth/configure.in.bot.

This additional patch allowed me to compile and install kdebluetooth with openobex-1.2. I'm running an x86 ARCH, kde-3.5.2, gcc-3.4.6-r1.
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-06-30 05:56:01 UTC
(In reply to comment #6)
> Created an attachment (id=90521) [edit]
> Patch against kdebluetooth-1.0_beta1 for compilation with openobex-1.2
> The patch for compilation with openobex-1.1 currently in portage isn't complete
> for use with openobex-1.2.

Not reproducible here... it compiles fine against openobex-1.2. The patch you have provided breaks compilation against openobex-1.1 as it removes all the checks. Additionally,

+AM_PATH_OPENOBEX(1.0.0)

kdebluetooth will not compile against openobex-1.0, ask upstream about that.
Comment 8 Remy Blank 2006-06-30 06:35:59 UTC
What happened here when using openobex-1.2-r1 is that kdebluetooth installed only its documentation, but no libraries, executables, etc. With the patch, everything compiled nicely.

# qpkg -I -v openobex
dev-libs/openobex-1.2-r1 *

BTW, I took the line "AM_PATH_OPENOBEX(1.0.0)" from the current kdebluetooth-1.0_beta1-openobex-1.1.patch in portage, so you might want to change that one, too.

I'll attach a log of emerging kdebluetooth.
Comment 9 Remy Blank 2006-06-30 06:36:49 UTC
Created attachment 90528 [details]
Output of emerging kdebluetooth
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-06-30 08:18:31 UTC
Removing arches from this bug, will be requested later on, after this bug is solved.
Comment 11 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-06-30 08:45:41 UTC
Created attachment 90532 [details]
List of files that will be installed

I've applied your patch and it seems to work fine. Still, I gotta test it against the other versions of openobex just in case something still breaks. In the meanwhile, please check the attached log file to see if something is still missing.
Comment 12 Remy Blank 2006-06-30 09:01:40 UTC
(In reply to comment #11)
> In the meanwhile, please check the attached log file to see if something is 
> still missing.

I have the exact same list of files installed here. I'm not a big user of kdebluetooth, I only use it to transfer a few .prc onto my Palm, but that seems to be working fine.
Comment 13 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-06-30 09:49:33 UTC
Fixed in CVS. Wait for mirrors to sync and update your local tree.

REMINDER: I'll change the dependency to >=openobex-1.1 once this version or a higher one is stabilized in the affected platforms.
Comment 14 Michael Mauch 2006-07-01 02:13:56 UTC
Thank you, now the ebuild with the updated kdebluetooth-1.0_beta1-openobex-1.1.patch (from 2006-06-30) works fine. 
Comment 15 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-07-01 02:16:52 UTC
Please, let developers close the bugs :) This is not completely fixed yet.
Comment 16 Remy Blank 2006-07-01 02:39:09 UTC
Works fine here. Thanks.
Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-01 07:57:36 UTC
*** Bug 138609 has been marked as a duplicate of this bug. ***
Comment 18 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-07-01 09:16:31 UTC
(In reply to comment #5)
> Nevertheless, the dependency should reflect this, Ioannis.

Sorry but until HPPA and AMD64 stabilize openobex-1.1 I cannot proceed or I'll break the tree :)

See bug #138593
Comment 19 Michael Mauch 2006-07-01 12:12:24 UTC
(In reply to comment #15)
> Please, let developers close the bugs :) This is not completely fixed yet.

Oops, sorry, I'll try to remember that. I wasn't sure whether I was supposed to close the bug, but then I thought to myself "come on now, you wimp, what do you think why they have these radio boxes right there in front of you?"
Comment 20 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-07-01 12:17:42 UTC
:) It's fine. Depends on th developer I guess.
Comment 21 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 06:39:19 UTC
Fixed in CVS. Thanks for reporting. 
Comment 22 Michael Weyershäuser 2006-08-19 15:56:19 UTC
Reopening this and adding amd64 to CC so we can shoot two cows with one bullet...

Emerges fine on amd64 with openobex-1.2-r1, though I lack the devices to do any real testing.

emerge --info
Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-suspend2-r3-Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.17-suspend2-r3-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de"
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://server/gentoo-portage"
USE="amd64 X alsa apache2 arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal lzw lzw-tiff mp3 mpeg ncurses nls nptl opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb userlocales xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_dummy"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 23 Simon Stelling (RETIRED) gentoo-dev 2006-08-20 02:11:14 UTC
marked stable on amd64