Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11688 - stardict does not build

Attached to Project: Arch Linux
Opened by Stefan Husmann (stefanhusmann) - Wednesday, 08 October 2008, 20:04 GMT
Last edited by Ronald van Haren (pressh) - Thursday, 09 October 2008, 18:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: stardict from extra does not build. There are som trivial gcc4.3 related
errors and another one I cannot fix myself


Additional info: see attached patch
* package version(s): libsigc++2.0 2.2.2-1, gcc 4.3.2-1, festival 1.96beta-1, gucharmap 2.22.3-1,
enchant 1.4.2-1

* config and/or log files etc.

In file included from sigc++/sigc++.h:23,
from config_file.hpp:8,
from conf.h:14,
from stardict.cpp:67:
./sigc++/signal.h:1675: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal0<T_return, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'
./sigc++/signal.h:1784: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal1<T_return, T_arg1, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'
./sigc++/signal.h:1895: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal2<T_return, T_arg1, T_arg2, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'
./sigc++/signal.h:2008: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal3<T_return, T_arg1, T_arg2, T_arg3, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'
./sigc++/signal.h:2123: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, sigc::nil, sigc::nil, sigc::nil> > sigc::signal4<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, sigc::nil, sigc::nil, sigc::nil> >'
./sigc++/signal.h:2240: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, sigc::nil, sigc::nil> > sigc::signal5<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, sigc::nil, sigc::nil> >'
./sigc++/signal.h:2359: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, sigc::nil> > sigc::signal6<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, sigc::nil> >'
./sigc++/signal.h:2480: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7> > sigc::signal7<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7, T_accumulator>::slot_list'
./sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7> >'
make[3]: *** [stardict.o] Error 1
make[3]: Leaving directory `/home/haawda/paketierung/not_maintained_by_me/stardict/src/stardict-3.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/haawda/paketierung/not_maintained_by_me/stardict/src/stardict-3.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/haawda/paketierung/not_maintained_by_me/stardict/src/stardict-3.0.1'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...

Process makepkg exited abnormally with code 2


Steps to reproduce: compile with or without attached files on i686
This task depends upon

Closed by  Ronald van Haren (pressh)
Thursday, 09 October 2008, 18:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 3.0.1-2
Comment by Ronald van Haren (pressh) - Thursday, 09 October 2008, 08:17 GMT
I quickly scooped a couple of patches from fedora and debian (both are attached). Those are mainly gcc43 fixes but I must admit I didn't look through it very carefully. With both patches applied the build finishes fine. At least with some custom configure flags, haven't tested with the ones in ABS as now is a good time to also look what we want to do with  FS#9684 .

If you need any help on this one Aaron just reassign it to me.
Comment by Aaron Griffin (phrakture) - Thursday, 09 October 2008, 13:58 GMT
Considering you did the work already, feel free to update the package. I don't mind.

Thanks a lot!

Loading...