Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229801 - Error when compile all versions of app-editors/amyedit
Summary: Error when compile all versions of app-editors/amyedit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 229803 229811 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-27 18:49 UTC by Evgeny
Modified: 2008-08-30 17:08 UTC (History)
1 user (show)

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 Evgeny 2008-06-27 18:49:21 UTC
There are three versions of app-editors/amyedit: 0.9 ~1.0 ~1.0-r1
Everyone of them compiling stops with error:
AmyEdit.cc:68: ошибка: ‘SigC’ не был декларирован
AmyEdit.cc:68: ошибка: expected constructor, destructor, or type conversion before ‘<’ token
AmyEdit.cc:70: ошибка: ‘SigC’ не был декларирован
AmyEdit.cc:70: ошибка: expected constructor, destructor, or type conversion before ‘<’ token
AmyEdit.cc: In constructor ‘AmyEdit::AmyEdit()’:
AmyEdit.cc:147: ошибка: нет декларации ‘signal_file_open’ в этой области видимости
AmyEdit.cc: In member function ‘void AmyEdit::on_preferences()’:
AmyEdit.cc:445: ошибка: нет декларации ‘signal_preferences_update’ в этой области видимости
make[2]: *** [AmyEdit.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
EditTabs.cc: In constructor ‘EditTabs::EditTabs()’:
EditTabs.cc:79: ошибка: ‘SigC’ не был декларирован
EditTabs.cc:79: ошибка: expected initializer before ‘<’ token
EditTabs.cc:82: ошибка: нет декларации ‘signal_preferences_update’ в этой области видимости
EditTabs.cc: In member function ‘bool EditTabs::CloseTab(int)’:
EditTabs.cc:417: ошибка: ‘SigC’ не был декларирован
EditTabs.cc:417: ошибка: expected initializer before ‘<’ token
EditTabs.cc:444: ошибка: нет декларации ‘signal_file_open’ в этой области видимости
EditTabs.cc:458: ошибка: нет декларации ‘signal_file_open’ в этой области видимости
EditTabs.cc: In member function ‘void EditTabs::on_switching_page(GtkNotebookPage*, guint)’:
EditTabs.cc:689: ошибка: ‘SigC’ не был декларирован
EditTabs.cc:689: ошибка: expected initializer before ‘<’ token
EditTabs.cc:690: ошибка: ‘SigC’ не был декларирован
EditTabs.cc:690: ошибка: expected initializer before ‘<’ token
EditTabs.cc:695: ошибка: нет декларации ‘signal_line_set’ в этой области видимости
EditTabs.cc:698: ошибка: нет декларации ‘signal_file_open’ в этой области видимости
EditTabs.cc: In constructor ‘EditTabs::Page::Page(EditTabs*, Glib::RefPtr<Gtk::SourceBuffer>)’:
EditTabs.cc:738: ошибка: ‘SigC’ не был декларирован
EditTabs.cc:738: ошибка: expected initializer before ‘<’ token
EditTabs.cc:742: ошибка: нет декларации ‘signal_preferences_update’ в этой области видимости
EditTabs.cc: In member function ‘void EditTabs::Page::on_changed()’:
EditTabs.cc:818: ошибка: ‘SigC’ не был декларирован
EditTabs.cc:818: ошибка: expected initializer before ‘<’ token
EditTabs.cc:819: ошибка: нет декларации ‘signal_line_set’ в этой области видимости
EditTabs.cc: In member function ‘void EditTabs::Page::on_mark_changed(Gtk::TextIter, Glib::RefPtr<Gtk::TextMark>)’:
EditTabs.cc:826: ошибка: ‘SigC’ не был декларирован
EditTabs.cc:826: ошибка: expected initializer before ‘<’ token
EditTabs.cc:828: ошибка: нет декларации ‘signal_line_set’ в этой области видимости
make[2]: *** [EditTabs.o] Ошибка 1
make[2]: Leaving directory `/mnt/anything/tmp/portage/app-editors/amyedit-1.0-r1/work/amyedit-1.0/src'
make[1]: *** [all] Ошибка 2
make[1]: Leaving directory `/mnt/anything/tmp/portage/app-editors/amyedit-1.0-r1/work/amyedit-1.0/src'
make: *** [all-recursive] Ошибка 1


Reproducible: Always




emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Fri, 27 Jun 2008 07:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl http://mirror.etf.bg.ac.yu/gentoo http://fido.online.kz/gentoo ftp://fido.online.kz/gentoo/pub "
LC_ALL="ru_RU.UTF-8"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl alsa amrnb amrwb berkdb cairo cdr cjk cli cracklib crypt cups dlloader dri dvd dvdr encode esd extras ffmpeg flac fortran ftp gdbm gif glitz gmplayer gnome gpm gtk hal iconv ipv6 isdnlog jack java javascript jpeg jpeg2k lm_sensors logitech-mouse logrotate mad midi mmx mmxext mp2 mp3 mpeg mssql mudflap musepack ncurses new-login newspr nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pda pdf perl php png pppd pvr python qt qt3 qt4 quicktime readline real reflection sdl session slang socets spell spl srt sse sse2 ssl ssse3 svg svga syncengine tcpd tetex theora tiff truetype unicode usb vcd verbose videos vorbis win32codecs wininstallers x264 x86 xml xmlrpc xorg xscreensaver xulrunner xv xvid 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 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-27 20:24:44 UTC
*** Bug 229803 has been marked as a duplicate of this bug. ***
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-27 20:24:54 UTC
*** Bug 229811 has been marked as a duplicate of this bug. ***
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-27 22:20:45 UTC
Please do `echo LC_MESSAGES=\"C\" >> /etc/env.d/02locale`, run env-update and emerge the ebuild again, to provide the output in English. It's not likely that a developer can read the error messages in your mother tongue.
Comment 4 Rafał Mużyło 2008-06-27 22:27:32 UTC
Actually, that easy.
This app wasn't ported to the recent libsigc++,
where '#define SigC sigc' was removed due to gcc 4.3.1 problems.
Comment 5 Mart Raudsepp gentoo-dev 2008-06-28 01:03:42 UTC
Assigning to maintainers then now
Comment 6 Evgeny 2008-06-28 03:49:18 UTC
There it repost error message:

AmyEdit.cc: In member function 'void AmyEdit::on_preferences()':
AmyEdit.cc:488: error: 'signal_preferences_update' was not declared in this scope
make[2]: *** [AmyEdit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
EditTabs.cc: In constructor 'EditTabs::EditTabs(PrefStruct*)':
EditTabs.cc:82: error: 'SigC' has not been declared
EditTabs.cc:82: error: expected initializer before '<' token
EditTabs.cc:85: error: 'signal_preferences_update' was not declared in this scope
EditTabs.cc: In member function 'bool EditTabs::CloseTab(int)':
EditTabs.cc:372: error: 'SigC' has not been declared
EditTabs.cc:372: error: expected initializer before '<' token
EditTabs.cc:395: error: 'signal_file_open' was not declared in this scope
EditTabs.cc:409: error: 'signal_file_open' was not declared in this scope
EditTabs.cc: In member function 'void EditTabs::on_switching_page(GtkNotebookPage*, guint)':
EditTabs.cc:769: error: 'SigC' has not been declared
EditTabs.cc:769: error: expected initializer before '<' token
EditTabs.cc:770: error: 'SigC' has not been declared
EditTabs.cc:770: error: expected initializer before '<' token
EditTabs.cc:775: error: 'signal_line_set' was not declared in this scope
EditTabs.cc:778: error: 'signal_file_open' was not declared in this scope
EditTabs.cc: In constructor 'EditTabs::Page::Page(PrefStruct*, EditTabs*)':
EditTabs.cc:802: error: 'SigC' has not been declared
EditTabs.cc:802: error: expected initializer before '<' token
EditTabs.cc:806: error: 'signal_preferences_update' was not declared in this scope
EditTabs.cc: In member function 'void EditTabs::Page::on_changed()':
EditTabs.cc:874: error: 'SigC' has not been declared
EditTabs.cc:874: error: expected initializer before '<' token
EditTabs.cc:875: error: 'signal_line_set' was not declared in this scope
EditTabs.cc: In member function 'void EditTabs::Page::on_mark_changed(Gtk::TextIter, Glib::RefPtr<Gtk::TextMark>)':
EditTabs.cc:882: error: 'SigC' has not been declared
EditTabs.cc:882: error: expected initializer before '<' token
EditTabs.cc:884: error: 'signal_line_set' was not declared in this scope
make[2]: *** [EditTabs.o] Error 1
make[2]: Leaving directory `/mnt/anything/tmp/portage/app-editors/amyedit-0.9/work/amyedit-0.9/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/anything/tmp/portage/app-editors/amyedit-0.9/work/amyedit-0.9/src'
make: *** [all-recursive] Error 1
(In reply to comment #0)
> There are three versions of app-editors/amyedit: 0.9 ~1.0 ~1.0-r1
> Everyone of them compiling stops with error:
> AmyEdit.cc:68: ошибка: ‘SigC’ не был декларирован
> AmyEdit.cc:68: ошибка: expected constructor, destructor, or type
> conversion before ‘<’ token
> AmyEdit.cc:70: ошибка: ‘SigC’ не был декларирован
> AmyEdit.cc:70: ошибка: expected constructor, destructor, or type
> conversion before ‘<’ token
> AmyEdit.cc: In constructor ‘AmyEdit::AmyEdit()’:
> AmyEdit.cc:147: ошибка: нет декларации
> ‘signal_file_open’ в этой области видимости
> AmyEdit.cc: In member function ‘void AmyEdit::on_preferences()’:
> AmyEdit.cc:445: ошибка: нет декларации
> ‘signal_preferences_update’ в этой области видимости
> make[2]: *** [AmyEdit.o] Ошибка 1
> make[2]: *** Ожидание завершения заданий...
> EditTabs.cc: In constructor ‘EditTabs::EditTabs()’:
> EditTabs.cc:79: ошибка: ‘SigC’ не был декларирован
> EditTabs.cc:79: ошибка: expected initializer before ‘<’ token
> EditTabs.cc:82: ошибка: нет декларации
> ‘signal_preferences_update’ в этой области видимости
> EditTabs.cc: In member function ‘bool EditTabs::CloseTab(int)’:
> EditTabs.cc:417: ошибка: ‘SigC’ не был декларирован
> EditTabs.cc:417: ошибка: expected initializer before ‘<’ token
> EditTabs.cc:444: ошибка: нет декларации
> ‘signal_file_open’ в этой области видимости
> EditTabs.cc:458: ошибка: нет декларации
> ‘signal_file_open’ в этой области видимости
> EditTabs.cc: In member function ‘void
> EditTabs::on_switching_page(GtkNotebookPage*, guint)’:
> EditTabs.cc:689: ошибка: ‘SigC’ не был декларирован
> EditTabs.cc:689: ошибка: expected initializer before ‘<’ token
> EditTabs.cc:690: ошибка: ‘SigC’ не был декларирован
> EditTabs.cc:690: ошибка: expected initializer before ‘<’ token
> EditTabs.cc:695: ошибка: нет декларации
> ‘signal_line_set’ в этой области видимости
> EditTabs.cc:698: ошибка: нет декларации
> ‘signal_file_open’ в этой области видимости
> EditTabs.cc: In constructor ‘EditTabs::Page::Page(EditTabs*,
> Glib::RefPtr<Gtk::SourceBuffer>)’:
> EditTabs.cc:738: ошибка: ‘SigC’ не был декларирован
> EditTabs.cc:738: ошибка: expected initializer before ‘<’ token
> EditTabs.cc:742: ошибка: нет декларации
> ‘signal_preferences_update’ в этой области видимости
> EditTabs.cc: In member function ‘void EditTabs::Page::on_changed()’:
> EditTabs.cc:818: ошибка: ‘SigC’ не был декларирован
> EditTabs.cc:818: ошибка: expected initializer before ‘<’ token
> EditTabs.cc:819: ошибка: нет декларации
> ‘signal_line_set’ в этой области видимости
> EditTabs.cc: In member function ‘void
> EditTabs::Page::on_mark_changed(Gtk::TextIter, Glib::RefPtr<Gtk::TextMark>)’:
> EditTabs.cc:826: ошибка: ‘SigC’ не был декларирован
> EditTabs.cc:826: ошибка: expected initializer before ‘<’ token
> EditTabs.cc:828: ошибка: нет декларации
> ‘signal_line_set’ в этой области видимости
> make[2]: *** [EditTabs.o] Ошибка 1
> make[2]: Leaving directory
> `/mnt/anything/tmp/portage/app-editors/amyedit-1.0-r1/work/amyedit-1.0/src'
> make[1]: *** [all] Ошибка 2
> make[1]: Leaving directory
> `/mnt/anything/tmp/portage/app-editors/amyedit-1.0-r1/work/amyedit-1.0/src'
> make: *** [all-recursive] Ошибка 1
> 
> 
> Reproducible: Always
> 
> 
> 
> 
> emerge --info
> Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
> 2.6.24-gentoo-r8 i686)
> =================================================================
> System uname: 2.6.24-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
> Timestamp of tree: Fri, 27 Jun 2008 07:45:01 +0000
> app-shells/bash:     3.2_p33
> dev-java/java-config: 1.3.7, 2.1.6
> dev-lang/python:     2.4.4-r13, 2.5.2-r5
> sys-apps/baselayout: 2.0.0
> sys-apps/openrc:     0.2.5
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.61-r2
> sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
> sys-devel/binutils:  2.18-r1
> sys-devel/gcc-config: 1.4.0-r4
> sys-devel/libtool:   1.5.26
> virtual/os-headers:  2.6.23-r3
> ACCEPT_KEYWORDS="x86"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
> /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/
> /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
> /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
> CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
> unmerge-orphans userfetch"
> GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/
> ftp://ftp.free.fr/mirrors/ftp.gentoo.org/
> ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
> ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
> http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl
> http://mirror.etf.bg.ac.yu/gentoo http://fido.online.kz/gentoo
> ftp://fido.online.kz/gentoo/pub "
> LC_ALL="ru_RU.UTF-8"
> LINGUAS="ru"
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/packages"
> 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/portage/local/layman/desktop-effects /usr/local/portage"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="3dnow 3dnowext X a52 aac aalib acl alsa amrnb amrwb berkdb cairo cdr cjk
> cli cracklib crypt cups dlloader dri dvd dvdr encode esd extras ffmpeg flac
> fortran ftp gdbm gif glitz gmplayer gnome gpm gtk hal iconv ipv6 isdnlog jack
> java javascript jpeg jpeg2k lm_sensors logitech-mouse logrotate mad midi mmx
> mmxext mp2 mp3 mpeg mssql mudflap musepack ncurses new-login newspr nls nptl
> nptlonly nsplugin ogg opengl openmp oss pam pcre pda pdf perl php png pppd pvr
> python qt qt3 qt4 quicktime readline real reflection sdl session slang socets
> spell spl srt sse sse2 ssl ssse3 svg svga syncengine tcpd tetex theora tiff
> truetype unicode usb vcd verbose videos vorbis win32codecs wininstallers x264
> x86 xml xmlrpc xorg xscreensaver xulrunner xv xvid 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 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 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"
> ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
> text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 

Comment 7 Sven E. 2008-07-14 21:51:24 UTC
See Bug #205984 for the needed patch. Posted it to the wrong bug accidently.
Comment 8 Łukasz Damentko (RETIRED) gentoo-dev 2008-08-11 01:03:42 UTC
Reassigning back to herd since Nguyen has retired as a Gentoo developer (#49680).
Comment 9 Alexis Ballier gentoo-dev 2008-08-30 17:08:04 UTC
thanks Sven, I applied your patch from the other bug in -r1