Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4444 - glademm-0.6.2 fails to build
Summary: glademm-0.6.2 fails to build
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-02 14:20 UTC by Rigo
Modified: 2003-02-04 19:42 UTC (History)
4 users (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 Rigo 2002-07-02 14:20:21 UTC
can't get glademm compiled with gcc 3.1:


/usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
In file included from CxxFile.hh:29,
                 from CxxFile.cc:23:
SystemFile.hh:35: 'string' is used as a type, but is not defined as a type.
SystemFile.hh:36: `vector' was not declared in this scope
SystemFile.hh:36: `string' was not declared in this scope
SystemFile.hh:36: syntax error before `>' token
SystemFile.hh:40: syntax error before `*' token
SystemFile.hh:41: syntax error before `*' token
SystemFile.hh:56: parse error before `&' token
SystemFile.hh: In constructor `SystemFile::SystemFile(SystemFile*, unsigned int)':
SystemFile.hh:50: `class SystemFile' has no member named `filename'
SystemFile.hh:50: class `SystemFile' does not have any field named `filename'
SystemFile.hh:53: `union SystemFile::<anonymous>' has no member named `os'
SystemFile.hh:53: parse error before `(' token
SystemFile.hh: At global scope:
SystemFile.hh:61: parse error before `&' token
SystemFile.hh:62: ISO C++ forbids defining types within return type
SystemFile.hh:62: semicolon missing after declaration of `class SystemFile'
SystemFile.hh: In function `int SystemFile(...)':
SystemFile.hh:62: `name' undeclared (first use this function)
SystemFile.hh:62: (Each undeclared identifier is reported only once for each
function it appears in.)
SystemFile.hh:64: only constructors take base initializers
SystemFile.hh:64: confused by earlier errors, bailing out
make[3]: *** [CxxFile.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src/SourceWriter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glademm-0.6.2/work/glademm-0.6.2'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 7, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/dev-util/glademm/glademm-0.6.2.ebuild .

Can anybody verify this ?
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-02 23:13:13 UTC
I Can verify this
Comment 2 Gabriele Giorgetti 2002-07-03 07:50:34 UTC
Sorry Seemant, but I'm still with gcc-2.95 and I can't verify this one.
Comment 3 Gabriele Giorgetti 2002-07-03 13:05:46 UTC
I forgot to throw this one back into the pool.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-03 14:40:16 UTC
Gabriele,

Sorry, the reporter's problem was with gcc-3.1. I am running gcc-2.95.3, and I
get this:

Calculating world dependencies ...done!
>>> emerge dev-util/glademm-0.6.2 to /
>>> md5 ;-) glademm-0.6.2.tar.gz
>>> Unpacking source...
>>> Unpacking glademm-0.6.2.tar.gz
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking for C++ compiler default output... configure: error: C++ compiler
cannot create executables

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 5, Exitcode 77
!!! (no error message)

!!! emerge aborting on  /usr/portage/dev-util/glademm/glademm-0.6.2.ebuild .


Comment 5 Gabriele Giorgetti 2002-07-04 08:56:06 UTC
I am running gcc-2.95.3 and glademm-0.6.2 builds just fine.
(so you know that it works under certain circumstances :-) )


Calculating dependencies ...done!
>>> emerge dev-util/glademm-0.6.2 to /
>>> md5 ;-) glademm-0.6.2.tar.gz
>>> Unpacking source...
>>> Unpacking glademm-0.6.2.tar.gz
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-g++... no
checking for i686-pc-linux-gnu-c++... no
checking for i686-pc-linux-gnu-gpp... no
checking for i686-pc-linux-gnu-aCC... no
checking for i686-pc-linux-gnu-CC... no
checking for i686-pc-linux-gnu-cxx... no
checking for i686-pc-linux-gnu-cc++... no
checking for i686-pc-linux-gnu-cl... no
checking for i686-pc-linux-gnu-FCC... no
checking for i686-pc-linux-gnu-KCC... no
checking for i686-pc-linux-gnu-RCC... no
checking for i686-pc-linux-gnu-xlC_r... no
checking for i686-pc-linux-gnu-xlC... no
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc

and so on.

Comment 6 Brandon Low (RETIRED) gentoo-dev 2002-07-05 10:26:00 UTC
ok I steel this, and give to raker and or myself :)
I'm pretty sure it is a gcc-3.1 stupid c++ issue, give us a while :)
Comment 7 Nick Hadaway 2002-07-05 12:21:44 UTC
directly from http://www.gnome.org
"NOTE: glade-- 1.1.0+ is usable for both Gnome and Gnome2!"

Is there a specific reason for sticking with glademm 0.6.2?


Comment 8 Gabriele Giorgetti 2002-07-05 12:39:02 UTC
In that "while" I'll test glade-- 1.1.0+ to see if it works with Gnome1/2 as
stated...
Comment 9 Nick Hadaway 2002-07-05 19:37:07 UTC
it appears that glade-- 1.1.0c compiles fine and works with glade 0.6.4
at least on my system. :)

Should we unmask glade--???  I have already heard 2 reports of it working fine.
Comment 10 Brandon Low (RETIRED) gentoo-dev 2002-07-09 11:45:13 UTC
I think we should mask out glademm and unmask libglademm and make things that
depend on glademm .6.2 depend on libglademm instead :)
Comment 11 Brandon Low (RETIRED) gentoo-dev 2002-07-09 11:48:13 UTC
there are only 3 packages with this dependency that will need to be changed.
Comment 12 Nick Hadaway 2002-07-10 22:00:46 UTC
what are those 3 programs that need to be changed to utilize libglademm instead
of glademm?
Comment 13 Nick Hadaway 2002-08-29 14:14:16 UTC
The only program that appeared to be leftover which depended on glademm was   
anjuta.  Currently there is a 0.9.99 beta ebuild (thank you stroke!) of anjuta  
masked in portage. 
 
The currently unmasked (0.1.9) build of anjuta does not build corretly in the 
current state of libraries in the portage tree... Maybe we should unmask the 
new version? 
 
Are there any other programs that I am missing here or can we call this bug 
resolved with an anjuta update? 
Comment 14 Rigo 2002-09-04 05:13:14 UTC
Sorry for the late reaction...Just tried glademm-1.1.0c & 1.1.1b and I can
confirm 1.1.0c compiles...1.1.1.b failed:

image.cc: In member function `void Gtk_Image::EmbedImage(CxxFile&, const 
   std::string&) const':
image.cc:171: `ifstream' undeclared (first use this function)
image.cc:171: (Each undeclared identifier is reported only once for each 
   function it appears in.)
image.cc:171: parse error before `(' token
image.cc:172: `is' undeclared (first use this function)
make[3]: *** [image.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/glademm-1.1.1b/work/glademm-1.1.1b/src/writers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glademm-1.1.1b/work/glademm-1.1.1b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glademm-1.1.1b/work/glademm-1.1.1b'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -158, Exitcode 2
!!! (no error message)

Regards, Rigo
Comment 15 Martin Holzer (RETIRED) gentoo-dev 2003-01-14 16:49:44 UTC
is this still a issue ?

1.1.1c is in portage tree
Comment 16 Rigo 2003-01-15 07:26:27 UTC
>>> Regenerating /etc/ld.so.cache...
>>> dev-util/glademm-1.1.1c merged.
>>> Recording dev-util/glademm in "world" favorites file...

 dev-util/glademm
    selected: none
   protected: 1.1.1c
     omitted: none

>>> clean: No packages selected for removal.

>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
 * IMPORTANT: 1 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.