Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178635 - app-mobilephone/gammu broken on kernel-2.6.21
Summary: app-mobilephone/gammu broken on kernel-2.6.21
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: kernel-2.6.21 184203
  Show dependency tree
 
Reported: 2007-05-15 13:51 UTC by Chris Bainbridge (RETIRED)
Modified: 2007-08-01 00:02 UTC (History)
0 users

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


Attachments
elog file for gammu 1.12.0 (gammu-1.12.0:20070623-145425.log,10.37 KB, text/plain)
2007-06-23 15:17 UTC, Steffen 'j0inty' Stollfuß
Details
gammu 1.12.0 ebuild file (gammu-1.12.0.ebuild,1.40 KB, text/plain)
2007-06-23 15:18 UTC, Steffen 'j0inty' Stollfuß
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bainbridge (RETIRED) gentoo-dev 2007-05-15 13:51:34 UTC
All current versions of gammu are broken on 2.6.21 (see http://blog.cihar.com/archives/2007/04/24/kernel_2_6_21_hits_gammu/). Please  bump to latest stable 1.11.0 and remove old versions (or set DEPEND on kernel <2.6.21). Renaming ebuild 1.10.0 and removing src_unpack is enough to version bump (patches appear to be already applied upstream).
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-05-15 14:42:05 UTC
If you use this package, please become its maintainer.
I only maintain it because no one else seem interested.
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2007-05-15 15:41:55 UTC
Sorry, I don't want to maintain it, but I can fix this bug if you want?
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-05-15 16:51:54 UTC
Damn. I was hoped you will take gammu and friends under your wing :(.

The new version is now in cvs. I had to patch it though (it had 2 bugs revealed by the compiler's warnings). 

I will nag the arch teams when the one month probation period will end.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-06-16 14:46:26 UTC
I'll be asking arches to mark 2.6.21 stable within the next few days, would be great if this issue could be fixed before that time.
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2007-06-16 20:16:49 UTC
Arches, please mark following ebuilds as stable:
  app-mobilephone/gammu-1.11.0
  dev-python/python-gammu-0.20
  app-mobilephone/wammu-0.20 (this one don't even have ~ia64)
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2007-06-17 11:01:13 UTC
ia64 keyword dropped, i don't have the hardware to test and nobody has.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-06-19 06:50:19 UTC
x86 stable, works fine
Comment 8 Steffen 'j0inty' Stollfuß 2007-06-23 15:17:02 UTC
Created attachment 122898 [details]
elog file for gammu 1.12.0
Comment 9 Steffen 'j0inty' Stollfuß 2007-06-23 15:18:45 UTC
Created attachment 122899 [details]
gammu 1.12.0 ebuild file
Comment 10 Steffen 'j0inty' Stollfuß 2007-06-23 15:25:36 UTC
Hy Alin,

I would overtake the packages wammu and gammu. But I need an introduction how to create the ebuild file.

I had tried to create the new ebuild file for version 1.12.0 based on the ebuild file for the lastet version in the portage. But I got always an linker error.
So I have attached the both files where you can analyze the error.

Can you please help me to maintance these both packages.

regards
j0inty
Comment 11 Steffen 'j0inty' Stollfuß 2007-06-23 15:50:41 UTC
Comment on attachment 122899 [details]
gammu 1.12.0 ebuild file

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.12.0.ebuild,v 1.5 2007/06/23 15:22:20 j0inty Exp $
inherit eutils

DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone"
HOMEPAGE="http://www.gammu.org"
SRC_URI="ftp://dl.cihar.com/gammu/releases/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug bluetooth irda mysql postgres nls nokiaphones"

RDEPEND="bluetooth? ( net-wireless/bluez-libs )
	mysql? ( virtual/mysql )
	postgres? ( dev-db/postgresql )"
DEPEND="${RDEPEND}
	irda? ( virtual/os-headers )
	sys-devel/autoconf-wrapper
	dev-util/pkgconfig
	dev-util/cmake"

src_unpack() {
	unpack ${A}
}

src_compile() {
	local myconf=""
	use debug && myconf="${myconf} -DCMAKE_BUILD_TYPE=\"Debug\""
	use bluetooth || myconf="${myconf} -DWITH_Bluez=OFF"
	use mysql && myconf="${myconf} -DMYSQL_CROSS_PATH=/usr/lib/mysql/"
	use postgres && myconf="${myconf} -DPOSTGRES_CROSS_PATH=/usr/lib/pgsql"
	use nls && myconf="${myconf} -DGETTEXT_CROSS_PATH=/usr/lib/gettext/"
	use irda || myconf="${myconf} -DWITH_IrDA=OFF"
	
	## EXPERIMENTAL USE FLAG
	#use nokiaphones || myconf="${myconf} -DWITH_NOKIA_SUPPORT=OFF"

# Create and change to the build directory. (@see INSTALL file)
	mkdir build 
	cd build
# Call cmake
	cmake .. \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DENABLE_SHARED=ON \
		${myconf} || die "configure failed"

	emake || die "make failed"
}

src_install () {
	make DESTDIR="${D}" install || die "install failed"
	mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${P}"
}
Comment 12 Alin Năstac (RETIRED) gentoo-dev 2007-07-01 11:00:44 UTC
(In reply to comment #11)

Please don't hijack unrelated bugs. The bump has been fixed, as requested in bug 183323. 
Comment 13 Lars Weiler (RETIRED) gentoo-dev 2007-07-01 15:40:13 UTC
app-mobilephone/gammu-1.11.0 stable on ppc.

dev-python/python-gammu and app-mobilephone/wammu don't have a stable ppc keyword yet.  As long as no user requests it, we keep it in testing.  So, ppc done.
Comment 14 Kyle Tirak 2007-07-20 16:43:10 UTC
This bug's been open for a while now and appears to be blocking the marking of kernel 2.6.21-r4 stable on amd64. Is there an issue with it on amd64?
Comment 15 Chris Bainbridge (RETIRED) gentoo-dev 2007-07-20 18:17:29 UTC
Yes.
Comment 16 Chris Bainbridge (RETIRED) gentoo-dev 2007-07-20 18:18:48 UTC
To clarify - yes, this bug affects amd64. As to why it hasn't been fixed - maybe no amd64 testers have a gammu compatible phone? Maybe nobody has the time?
Comment 17 Christoph Mende (RETIRED) gentoo-dev 2007-08-01 00:02:10 UTC
amd64 stable