Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141426 - media-sound/rezound-0.12.2_beta-r1 fails using gcc-4.1.1
Summary: media-sound/rezound-0.12.2_beta-r1 fails using gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 146054 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-07-22 12:21 UTC by Martin von Gagern
Modified: 2006-10-25 14:37 UTC (History)
6 users (show)

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


Attachments
Patch to rezound-0.12.2_beta fixing many gcc-4 / gcc-4.1 issues (rezound-0.12.2_beta-gcc4.patch,8.50 KB, patch)
2006-07-25 15:52 UTC, Martin von Gagern
Details | Diff
rezound-0.12.2_beta-r2 (rezound-0.12.2_beta-r2.ebuild,2.16 KB, text/plain)
2006-09-10 11:55 UTC, Alessio Cassibba (X-Drum)
Details
64 bit patch (rezound-0.12.2_beta-64bit.patch,2.96 KB, patch)
2006-09-11 11:09 UTC, Alessio Cassibba (X-Drum)
Details | Diff
float patch (rezound-0.12.2_beta-float.patch,1.49 KB, patch)
2006-09-11 11:17 UTC, Alessio Cassibba (X-Drum)
Details | Diff
gcc41 patch (rezound-0.12.2_beta-gcc41.patch,7.22 KB, patch)
2006-09-11 11:18 UTC, Alessio Cassibba (X-Drum)
Details | Diff
gcc41 hacky patch (rezound-0.12.2_beta-gcc41-hacky.patch,3.82 KB, patch)
2006-09-11 11:19 UTC, Alessio Cassibba (X-Drum)
Details | Diff
gcc-4.0 64 patch (rezound-0.12.2_beta-gcc-4.0-64.patch,3.38 KB, patch)
2006-09-11 11:19 UTC, Alessio Cassibba (X-Drum)
Details | Diff
rezound-0.12.2_beta-r2.ebuild (rezound-0.12.2_beta-r2.ebuild,2.33 KB, text/plain)
2006-09-11 11:21 UTC, Alessio Cassibba (X-Drum)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2006-07-22 12:21:33 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../src/misc -I../../../src/misc/missing/generated -I../../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include -I/usr/include -I/usr/include -MT CNestedDataFile.lo -MD -MP -MF .deps/CNestedDataFile.Tpo -c CNestedDataFile.cpp -o CNestedDataFile.o
CNestedDataFile.cpp:21:2: warning: #warning parseFile doesnt need to set the filename, only the constructor and setFilename should do that
CNestedDataFile.cpp:22:2: warning: #warning see about retaining the order that things were parsed in the file
anytype.h: In function 'const std::vector<type, std::allocator<_CharT> >& string_to_anytype(const std::string&, std::vector<type, std::allocator<_CharT> >&)':
anytype.h:107: error: there are no arguments to 'cfg_parse' that depend on a template parameter, so a declaration of 'cfg_parse' must be available
anytype.h:107: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
anytype.h: In function 'const std::vector<type, std::allocator<_CharT> >& string_to_anytype(const std::string&, std::vector<type, std::allocator<_CharT> >&)':
anytype.h:107: error: there are no arguments to 'cfg_parse' that depend on a template parameter, so a declaration of 'cfg_parse' must be available
anytype.h:107: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
<stdout>: In function 'int yy_get_next_buffer()':
<stdout>:1164: warning: comparison between signed and unsigned integer expressions
make[3]: *** [cfg.tab.lo] Error 1
Comment 1 Paul Taylor 2006-07-24 03:09:34 UTC
I get much the same error message (built in conjunction with the experimental x11-libs/fox-1.4.34 ebuild):

[snip]
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../src/misc -I../../../src/misc/missing/generated -I../../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include -I/usr/include -I/usr/include -MT CNestedDataFile.lo -MD -MP -MF .deps/CNestedDataFile.Tpo -c CNestedDataFile.cpp -o CNestedDataFile.o
CNestedDataFile.cpp:21:2: warning: #warning parseFile doesnt need to set the filename, only the constructor and setFilename should do that
CNestedDataFile.cpp:22:2: warning: #warning see about retaining the order that things were parsed in the file
anytype.h: In function 'const std::vector<type, std::allocator<_CharT> >& string_to_anytype(const std::string&, std::vector<type, std::allocator<_CharT> >&)':
anytype.h:107: error: there are no arguments to 'cfg_parse' that depend on a template parameter, so a declaration of 'cfg_parse' must be available
anytype.h:107: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[3]: *** [CNestedDataFile.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/rezound-0.12.2_beta-r1/work/rezound-0.12.2beta/src/misc/CNestedDataFile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/rezound-0.12.2_beta-r1/work/rezound-0.12.2beta/src/misc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rezound-0.12.2_beta-r1/work/rezound-0.12.2beta/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/rezound-0.12.2_beta-r1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  rezound-0.12.2_beta-r1.ebuild, line 70:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Comment 2 Martin von Gagern 2006-07-25 15:52:17 UTC
Created attachment 92748 [details, diff]
Patch to rezound-0.12.2_beta fixing many gcc-4 / gcc-4.1 issues

I believe this patch goes a long way to making rezound build using gcc-4.1.1. Unfortunately I get unresolved reference when finally linking things together, and after hours of investigation I still have no idea why. Maybe someone else knows or at least can reproduce this problem in a small test scenario.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-02 16:03:59 UTC
*** Bug 146054 has been marked as a duplicate of this bug. ***
Comment 4 Alessio Cassibba (X-Drum) 2006-09-10 11:55:35 UTC
Created attachment 96606 [details]
rezound-0.12.2_beta-r2

rezound-0.12.2_beta-r2 ebuild
added the gcc patch by Martin von Gagern
Comment 5 Alessio Cassibba (X-Drum) 2006-09-11 11:09:18 UTC
Created attachment 96730 [details, diff]
64 bit patch

64 bit patch
Comment 6 Alessio Cassibba (X-Drum) 2006-09-11 11:17:06 UTC
Created attachment 96731 [details, diff]
float patch

rezpund float patch
Comment 7 Alessio Cassibba (X-Drum) 2006-09-11 11:18:57 UTC
Created attachment 96732 [details, diff]
gcc41 patch

gcc41 patch
Comment 8 Alessio Cassibba (X-Drum) 2006-09-11 11:19:29 UTC
Created attachment 96733 [details, diff]
gcc41 hacky patch

gcc41 hacky patch
Comment 9 Alessio Cassibba (X-Drum) 2006-09-11 11:19:57 UTC
Created attachment 96734 [details, diff]
gcc-4.0 64 patch

gcc-4.0 64 patch
Comment 10 Alessio Cassibba (X-Drum) 2006-09-11 11:21:32 UTC
Created attachment 96735 [details]
rezound-0.12.2_beta-r2.ebuild

rezound-0.12.2_beta-r2 ebuild with patches to fix gcc 4.x compilation.

i found all the patches on:
http://www.t2-project.org/packages/rezound.html
Comment 11 Mykhaylo Kopytonenko 2006-09-26 17:10:52 UTC
Maintainers! Put, please, rezound-0.12.2_beta-r2.ebuild and its patches to the official portage.
I experienced the same bug. After placing rezound-0.12.2_beta-r2.ebuild and patches to my portage overlay, everything compiles and works perfectly.
I use gcc-4.1.1 on athlon-xp.
Comment 12 Alexis Ballier gentoo-dev 2006-10-22 06:50:06 UTC
Fixed in 0.12.2_beta-r2, thanks for your help there ! 
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-10-25 14:37:12 UTC
*** Bug 152822 has been marked as a duplicate of this bug. ***