Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78554 - emerge python-gammu fails
Summary: emerge python-gammu fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 11:28 UTC by federico
Modified: 2005-01-25 05:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description federico 2005-01-18 11:28:05 UTC
when i try to emerge dev-python/python-gammu-0.6 i have some error

Reproducible: Always
Steps to Reproduce:
1.emerge dev-python/python-gammu-0.6
2.
3.

Actual Results:  
gcc -pthread -fno-strict-aliasing -DNDEBUG -march=i686 -O2 -pipe -fPIC
-DPYTHON_GAMMU_VERSION="0.6" -I/usr/include/gammu -I. -I/usr/include/python2.3
-c convertors/calendar.c -o build/temp.linux-i686-2.3/convertors/calendar.o
convertors/calendar.c: In function `CalendarToPython':
convertors/calendar.c:167: error: `CAL_RECURRANCE' undeclared (first use in this
function)
convertors/calendar.c:167: error: (Each undeclared identifier is reported only once
convertors/calendar.c:167: error: for each function it appears in.)
convertors/calendar.c: In function `CalendarFromPython':
convertors/calendar.c:313: error: `CAL_RECURRANCE' undeclared (first use in this
function)
error: command 'gcc' failed with exit status 1


Expected Results:  
it works

emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r1 i686)
=================================================================
System uname: 2.6.10-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers: 
sys-kernel/linux26-headers-2.6.8.1-r1,sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X accessibility alsa arts artworkextra avi bluetooth
cdparanoia cdr cdrom clamav cups divx4linux dvd dvdr dvdread encode evo fbcon
ffmpeg foomaticdb freetype ftp geoip gif gimp gimpprint gnokii gphoto2 gtk gtk2
icq imagemagick ipv6 irmc java jpeg jpeg2k kde koffice-plugin live matroska
mjpeg mng monkey mp3 mpeg mplayer msn music ncurses net nptl nvidia offensive
oggvorbis ooo-kde opengl opens pam png ppds qt quicktime real samba scanner sdk
serial tcltk tga tiff timidity transcode truetype truetype-fonts unicode usb
vidix wmf wxwindows xine xmms xscreensaver xv xvid yahoo linguas_it"
Comment 1 Fernando Serboncini (RETIRED) gentoo-dev 2005-01-24 17:26:43 UTC
check if it still happens with python-gammu 0.7
Comment 2 federico 2005-01-25 03:01:18 UTC
It works fine now tnx.
Python-gammu is needed by wammu. Now i have this error when i start wammu :
$ wammu
Traceback (most recent call last):
  File "/usr/bin/wammu", line 11, in ?
    import Wammu.App
  File "/usr/lib/python2.3/site-packages/Wammu/App.py", line 23, in ?
    import Wammu.Main
  File "/usr/lib/python2.3/site-packages/Wammu/Main.py", line 23, in ?
    import gammu
ImportError: libmysqlclient.so.12: cannot open shared object file: No such file or directory

Now i think wammu want libmysql12 .

Tnx for the work
Comment 3 Fernando Serboncini (RETIRED) gentoo-dev 2005-01-25 05:43:25 UTC
Actually, only net-dialup/gammu needs mysql. There's no reference to mysql on python-gammu or wammu. Try revdep-rebuild, perhaps it's just a broken library link.

I'm closing this one, so file a new bug on net-dialup/gammu if the problem persists.