Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357897 - net-voip/ekiga USE=debug - ../../lib/gui/gmlevelmeter.c:362: error: lvalue required as left operand of assignment
Summary: net-voip/ekiga USE=debug - ../../lib/gui/gmlevelmeter.c:362: error: lvalue re...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 10:22 UTC by Igor
Modified: 2014-08-17 17:02 UTC (History)
6 users (show)

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


Attachments
Build log (build.log,45.59 KB, text/plain)
2011-03-09 18:02 UTC, Igor
Details
"GtkNotebookPage has not been declared" build.log (build.log,11.20 KB, text/plain)
2011-06-27 12:55 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor 2011-03-08 10:22:02 UTC
When emerging Ekiga with USE=gebug the debuging of GTK and OPAL are enabled.
But in this way emerge fails with "../../lib/gui/gmlevelmeter.c:292: warning: implicit declaration of function 'gdk_gc_new'" and others.

So there are 2 issues:
1. Split debug into debug opal and debug gtk
2. Fix emerging with debug gtk.

Reproducible: Always
Comment 1 Igor 2011-03-08 10:23:11 UTC
Ekiga 3.2.7
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-09 15:30:21 UTC
Please attach the entire build log to this bug report.
Also, paste your `emerge --info' output into a comment.
Comment 3 Igor 2011-03-09 18:02:32 UTC
Created attachment 265321 [details]
Build log

# emerge --info =net-voip/ekiga-3.2.7
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-zen1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-zen1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
Timestamp of tree: Wed, 09 Mar 2011 17:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="rsync://trumpetti.atm.tut.fi/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.opteamax.de/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru eo fr de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/lib/myoverlay /var/lib/layman/sunrise /var/lib/layman/perl-experimental"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus device-mapper djvu dri dts dvd dvdr emboss encode exif expat fam fast-cgi ffmpeg fftw firefox flac fontconfig fortran gdbm gdu gif gnome-keyring gpm gsl gstreamer gtk iconv icu idn ipv6 jpeg kpathsea lapack latex lcms libnotify lm_sensors mad matroska mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb v4l2 vim-syntax vorbis x264 xcb xetex xft xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru eo fr de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-voip/ekiga-3.2.7 was built with the following:
USE="dbus debug gstreamer h323 ldap libnotify mmx (multilib) nls shm xcap xv (-aqua) -avahi -doc -eds -gconf -gnome -kde (-kdeenablefinal) -kontact -static -v4l"





# emerge -pqv =net-voip/ekiga-3.2.7
[ebuild   R   ] net-libs/ptlib-2.6.7-r1  USE="alsa asn audio dtmf ffmpeg http ipv6 ldap sdl ssl stun v4l2 video vxml wav xml -debug* -doc -esd -examples -ftp -ieee1394 -jabber -mail -odbc -oss -pch -qos -remote -sasl -serial -shmvideo -snmp -soap -socks -telnet -tts -v4l -xmlrpc" 
[ebuild   R   ] net-libs/opal-3.6.8-r1  USE="audio dtmf fax ffmpeg h224 h281 h323 iax ipv6 ivr ixj ldap lid plugins sbc sip sipim srtp ssl stats swig theora video vpb vxml wav x264 xml -capi -celt -debug* -doc -examples -java -x264-static" 
[ebuild   R   ] net-voip/ekiga-3.2.7  USE="dbus gstreamer h323 ldap libnotify mmx nls shm xcap xv (-aqua) -avahi -debug* -doc -eds -gconf -gnome -kde (-kdeenablefinal) -kontact -static -v4l"
Comment 4 Kalin KOZHUHAROV 2011-04-09 23:18:58 UTC
Same here, willing to test. USE=-debug compiles OK.
Deleting the following line from the ekiga-3.2.7.ebuild allows the emerging:
	$(use_enable debug gtk-debug)
So, I guess it is something with gtk-debug only. Do we need to request other ebuilds with USE=debug and which ones?
Comment 5 Armada 2011-06-27 07:53:24 UTC
../../lib/gui/gmmenuaddon.c  -fPIC -DPIC -o .libs/gmmenuaddon.o
../../lib/gui/gmlevelmeter.c: In function 'gm_level_meter_rebuild_pixmap':
../../lib/gui/gmlevelmeter.c:292:3: warning: implicit declaration of function 'gdk_gc_new'
../../lib/gui/gmlevelmeter.c:292:6: warning: assignment makes pointer from integer without a cast
../../lib/gui/gmlevelmeter.c:335:5: warning: implicit declaration of function 'gdk_gc_set_foreground'
../../lib/gui/gmlevelmeter.c:336:5: warning: implicit declaration of function 'gdk_draw_rectangle'
../../lib/gui/gmlevelmeter.c: In function 'gm_level_meter_realize':
../../lib/gui/gmlevelmeter.c:362:3: warning: implicit declaration of function 'GTK_OBJECT_FLAGS'
../../lib/gui/gmlevelmeter.c:362:3: error: lvalue required as left operand of assignment
../../lib/gui/gmlevelmeter.c: In function 'gm_level_meter_paint':
../../lib/gui/gmlevelmeter.c:519:3: warning: implicit declaration of function 'gdk_draw_drawable'
make[5]: *** [gmlevelmeter.lo] Error 1
make[5]: *** Waiting for unfinished jobs....


make[5]: Leaving directory `/var/tmp/portage/net-voip/ekiga-3.2.7/work/ekiga-3.2.7/lib/gui'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-voip/ekiga-3.2.7/work/ekiga-3.2.7/lib/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-voip/ekiga-3.2.7/work/ekiga-3.2.7/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-voip/ekiga-3.2.7/work/ekiga-3.2.7/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-voip/ekiga-3.2.7/work/ekiga-3.2.7'
make: *** [all] Error 2
emake failed


I can confirm this

net-voip/ekiga-3.2.7  USE="gconf gstreamer h323 libnotify mmx shm v4l xv -debug"

turns off debug in

net-libs/opal-3.6.8-r2
net-libs/ptlib-2.6.7-r1

I need debug for testing purposes, the only way ekiga is verbose in with debug on.

As Kalin KOZHUHAROV said, deleting the line:

$(use_enable debug gtk-debug)

from the ebuild allows to use debug USE flag. For ekiga debug USE flag is crucial when setting networking and seeing what's doing and get settings properly with asterisk, as ekiga doesn't have a useful verbose terminal option.
Comment 6 Raphaël Droz 2011-06-27 12:55:03 UTC
Created attachment 278343 [details]
"GtkNotebookPage has not been declared" build.log

Same here but I found that the 1st hunk of the following patch:
http://mail.gnome.org/archives/commits-list/2010-June/msg04782.html

solved this compilation error.
It seems it has to do with older GTK version.


But... sadly I then hit another error:
../../../../lib/engine/gui/gtk-frontend/chat-window.cpp:79:8: erreur: ‘GtkNotebookPage’ has not been declared
../../../../lib/engine/gui/gtk-frontend/chat-window.cpp:162:31: erreur: ‘GtkNotebookPage’ has not been declared


build.log attached
Comment 7 Raphaël Droz 2011-06-27 13:02:29 UTC
Just found that 2010 June patch was reverted here:
http://mail.gnome.org/archives/commits-list/2010-October/msg02693.html

I don't quite understand why.
Comment 8 Kalin KOZHUHAROV 2011-07-07 18:16:31 UTC
It has been some months and this bug bit me today again (on another machine)... After some long searching I hit this bug page and saw that I have commented already :-| and so completely purged it off my mind.

For the short term, can somebody commit my comment#4 (delete one line in the ebuild)? And add a comment with reference to this bug, in case there is a problem.

I have been running like that for a few months in two systems - no problem so far.
Comment 9 Martin Swift 2011-11-09 16:19:33 UTC
I can confirm the solution from comment#4. Builds and runs with debug use flag.
Comment 10 Pacho Ramos gentoo-dev 2012-03-25 10:38:55 UTC
Looks like it's passing *DISABLE_DEPRECATED* flags when building with gtk debugging, that should be prevented (with sedding probably ;)) and maybe it solves this build issue
Comment 11 Pacho Ramos gentoo-dev 2014-08-15 10:12:37 UTC
please retry with 4.0.1 that is killing that flags
Comment 12 Yuriy Rusinov 2014-08-17 16:50:02 UTC
net-voip/ekiga-4.0.1 failed to emerge with kde flag
error message is 
checking for KDE... yes
checking kapplication.h usability... yes
checking kapplication.h presence... yes
checking for kapplication.h... yes
checking for ki18n in -lkdeui... no
checking kabc/addressee.h usability... no
checking kabc/addressee.h presence... no
checking for kabc/addressee.h... no
configure: error: We need this header!

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-voip/ekiga-4.0.1/work/ekiga-4.0.1/config.log
 * ERROR: net-voip/ekiga-4.0.1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3897:  Called gnome2_src_configure
 *        environment, line 2671:  Called econf '--docdir=/usr/share/doc/ekiga-4.0.1' '--disable-schemas-install' '--disable-scrollkeeper' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-maintainer-mode' '--enable-libtool-lock' '--enable-avahi' '--enable-dbus' '--enable-dbus_service' '--disable-gtk-debug' '--disable-opal-debug' '--enable-gdu' '--enable-eds' '--enable-gconf' '--enable-schemas-install' '--enable-gstreamer' '--enable-h323' '--enable-kde' '--enable-kab' '--enable-ldap' '--disable-notify' '--enable-mmx' '--enable-nls' '--enable-shm' '--disable-static-libs' '--disable-xcap' '--enable-xv'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=net-voip/ekiga-4.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-voip/ekiga-4.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-voip/ekiga-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-voip/ekiga-4.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-voip/ekiga-4.0.1/work/ekiga-4.0.1'
 * S: '/var/tmp/portage/net-voip/ekiga-4.0.1/work/ekiga-4.0.1'

>>> Failed to emerge net-voip/ekiga-4.0.1, Log file:

>>>  '/var/tmp/portage/net-voip/ekiga-4.0.1/temp/build.log'
Comment 13 Yuriy Rusinov 2014-08-17 17:02:25 UTC
(In reply to Yuriy Rusinov from comment #12)
> net-voip/ekiga-4.0.1 failed to emerge with kde flag
> error message is 
> checking for KDE... yes
> checking kapplication.h usability... yes
> checking kapplication.h presence... yes
> checking for kapplication.h... yes
> checking for ki18n in -lkdeui... no
> checking kabc/addressee.h usability... no
> checking kabc/addressee.h presence... no
> checking for kabc/addressee.h... no
> configure: error: We need this header!
> 
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/net-voip/ekiga-4.0.1/work/ekiga-4.0.1/config.log
>  * ERROR: net-voip/ekiga-4.0.1::gentoo failed (configure phase):
>  *   econf failed
>  * 
>  * Call stack:
>  *          ebuild.sh, line   93:  Called src_configure
>  *        environment, line 3897:  Called gnome2_src_configure
>  *        environment, line 2671:  Called econf
> '--docdir=/usr/share/doc/ekiga-4.0.1' '--disable-schemas-install'
> '--disable-scrollkeeper' '--disable-maintainer-mode'
> '--disable-dependency-tracking' '--disable-maintainer-mode'
> '--enable-libtool-lock' '--enable-avahi' '--enable-dbus'
> '--enable-dbus_service' '--disable-gtk-debug' '--disable-opal-debug'
> '--enable-gdu' '--enable-eds' '--enable-gconf' '--enable-schemas-install'
> '--enable-gstreamer' '--enable-h323' '--enable-kde' '--enable-kab'
> '--enable-ldap' '--disable-notify' '--enable-mmx' '--enable-nls'
> '--enable-shm' '--disable-static-libs' '--disable-xcap' '--enable-xv'
>  *   phase-helpers.sh, line  584:  Called die
>  * The specific snippet of code:
>  *                      die "econf failed"
>  * 
>  * If you need support, post the output of `emerge --info
> '=net-voip/ekiga-4.0.1::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=net-voip/ekiga-4.0.1::gentoo'`.
>  * The complete build log is located at
> '/var/tmp/portage/net-voip/ekiga-4.0.1/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/net-voip/ekiga-4.0.1/temp/environment'.
>  * Working directory:
> '/var/tmp/portage/net-voip/ekiga-4.0.1/work/ekiga-4.0.1'
>  * S: '/var/tmp/portage/net-voip/ekiga-4.0.1/work/ekiga-4.0.1'
> 
> >>> Failed to emerge net-voip/ekiga-4.0.1, Log file:
> 
> >>>  '/var/tmp/portage/net-voip/ekiga-4.0.1/temp/build.log'
package kdepimlibs is set and file kabc/addressee.h is present in system