Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112284 - setools (sediff) doesn't build; seems to be a syntax error in ebuild
Summary: setools (sediff) doesn't build; seems to be a syntax error in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-12 08:07 UTC by lxg
Modified: 2005-11-12 15:25 UTC (History)
0 users

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 lxg 2005-11-12 08:07:33 UTC
When I did    
         
# emerge -uND world         
         
it stopped at the package setools (sediff).       
      
I did "emerge sync" just 10 minutes before.       
     
error output by emerge (reproduced by "# emerge -uND setools"):      
  
--- SNIP ---   
   
make -C libapol libapol libapolso   
env: tclsh: No such file or directory   
env: tclsh: No such file or directory   
env: tclsh: No such file or directory   
make[1]: Entering directory   
`/var/tmp/portage/setools-2.2/work/setools-2.2/libapol'   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o policy.o -c policy.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o policy-query.o -c policy-query.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o policy-io.o -c policy-io.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o queue.o -c queue.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o util.o -c util.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o clone.o -c clone.c   
bison -y -d apolicy_parse.y   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o y.tab.o -c y.tab.c   
flex -olex.yy.c apolicy_scan.l   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o lex.yy.o -c lex.yy.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o avl-util.o -c avl-util.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o policy-avl.o -c policy-avl.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o render.o -c render.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o analysis.o -c analysis.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o perm-map.o -c perm-map.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o cond.o -c cond.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o infoflow.o -c infoflow.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o poldiff.o -c poldiff.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o flowassert.o -c flowassert.c   
bison -o flowassert_parse.c -d -p flow flowassert_parse.y   
flex -oflowassert_scan.c -Pflow flowassert_scan.l   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o flowassert_scan.o -c flowassert_scan.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o flowassert_parse.o -c flowassert_parse.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o symtable.o -c symtable.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o relabel_analysis.o -c relabel_analysis.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o dta.o -c dta.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o binpol/binpol.o -c binpol/binpol.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o binpol/bpmaps.o -c binpol/bpmaps.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o binpol/fbuf.o -c binpol/fbuf.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o binpol/ebitmap.o -c binpol/ebitmap.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o semantic/avhash.o -c semantic/avhash.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DLIBAPOL_VERSION_STRING='"2.1.0"' -DAPOL_INSTALL_DIR='"/usr/share/setools"'   
-DLIBAPOL_POLICY_INSTALL_DIR='"/etc/security/selinux"'   
-DLIBAPOL_SELINUX_DIR='"/selinux"'   
-DLIBAPOL_DEFAULT_POLICY='"/etc/security/selinux/src/policy/policy.conf"' -I.   
-o semantic/avsemantics.o -c semantic/avsemantics.c   
ar cr libapol.a policy.o policy-query.o policy-io.o queue.o util.o clone.o   
y.tab.o lex.yy.o avl-util.o policy-avl.o render.o analysis.o perm-map.o cond.o   
infoflow.o poldiff.o flowassert.o flowassert_scan.o flowassert_parse.o   
symtable.o relabel_analysis.o dta.o binpol/binpol.o binpol/bpmaps.o   
binpol/fbuf.o binpol/ebitmap.o semantic/avhash.o semantic/avsemantics.o   
cc  -shared -o libapol.so.2.1.0 policy.o policy-query.o policy-io.o queue.o   
util.o clone.o y.tab.o lex.yy.o avl-util.o policy-avl.o render.o analysis.o   
perm-map.o cond.o infoflow.o poldiff.o flowassert.o flowassert_scan.o   
flowassert_parse.o symtable.o relabel_analysis.o dta.o binpol/binpol.o   
binpol/bpmaps.o binpol/fbuf.o binpol/ebitmap.o semantic/avhash.o   
semantic/avsemantics.o  -lfl -Wl,-soname,libapol.so.1   
make[1]: Leaving directory   
`/var/tmp/portage/setools-2.2/work/setools-2.2/libapol'   
make -C libseaudit libseaudit libseauditso   
env: tclsh: No such file or directory   
env: tclsh: No such file or directory   
env: tclsh: No such file or directory   
make[1]: Entering directory   
`/var/tmp/portage/setools-2.2/work/setools-2.2/libseaudit'   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-D_GNU_SOURCE -DLIBSEAUDIT_VERSION_STRING='"1.2.5"' `pkg-config --cflags   
libxml-2.0` -I.. -c auditlog.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-D_GNU_SOURCE -DLIBSEAUDIT_VERSION_STRING='"1.2.5"' `pkg-config --cflags   
libxml-2.0` -I.. -c auditlog_view.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-D_GNU_SOURCE -DLIBSEAUDIT_VERSION_STRING='"1.2.5"' `pkg-config --cflags   
libxml-2.0` -I.. -c filters.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-D_GNU_SOURCE -DLIBSEAUDIT_VERSION_STRING='"1.2.5"' `pkg-config --cflags   
libxml-2.0` -I.. -c filter_criteria.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-D_GNU_SOURCE -DLIBSEAUDIT_VERSION_STRING='"1.2.5"' `pkg-config --cflags   
libxml-2.0` -I.. -c multifilter.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-D_GNU_SOURCE -DLIBSEAUDIT_VERSION_STRING='"1.2.5"' `pkg-config --cflags   
libxml-2.0` -I.. -c sort.c   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-D_GNU_SOURCE -DLIBSEAUDIT_VERSION_STRING='"1.2.5"' `pkg-config --cflags   
libxml-2.0` -I.. -c parse.c   
ar cr libseaudit.a auditlog.o auditlog_view.o filters.o filter_criteria.o   
multifilter.o sort.o parse.o   
cc -shared -o libseaudit.so.1.2.5 auditlog.o auditlog_view.o filters.o   
filter_criteria.o multifilter.o sort.o parse.o  -Wl,-soname,libseaudit.so.1   
make[1]: Leaving directory   
`/var/tmp/portage/setools-2.2/work/setools-2.2/libseaudit'   
make -C sediff sediff   
env: tclsh: No such file or directory   
env: tclsh: No such file or directory   
env: tclsh: No such file or directory   
make[1]: Entering directory   
`/var/tmp/portage/setools-2.2/work/setools-2.2/sediff'   
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS    
-DSEDIFF_VERSION_NUM='"1.2.0"' -DSEDIFF_GUI_VERSION_NUM='"1.2.0"'   
-DSEDIFF_GUI_VERSION_NUM='"1.2.0"' `pkg-config --cflags libglade-2.0` -I..   
-I../libapol -c sediff.c   
Package libglade-2.0 was not found in the pkg-config search path.   
Perhaps you should add the directory containing `libglade-2.0.pc'   
to the PKG_CONFIG_PATH environment variable   
No package 'libglade-2.0' found   
In file included from sediff_gui.h:13,   
                 from sediff_rename_types.h:16,   
                 from sediff.c:13:   
sediff_treemodel.h:12:21: gtk/gtk.h: No such file or directory   
In file included from sediff_gui.h:13,   
                 from sediff_rename_types.h:16,   
                 from sediff.c:13:   
sediff_treemodel.h:95: error: syntax error before '*' token   
sediff_treemodel.h:95: warning: type defaults to `int' in declaration of   
`sediff_create_view_and_model'   
sediff_treemodel.h:95: warning: data definition has no type or storage class   
sediff_treemodel.h:96: error: syntax error before '*' token   
sediff_treemodel.h:97: error: syntax error before '*' token   
In file included from sediff_gui.h:15,   
                 from sediff_rename_types.h:16,   
                 from sediff.c:13:   
sediff_find_window.h:13:25: glade/glade.h: No such file or directory   
sediff_find_window.h:14:21: gtk/gtk.h: No such file or directory   
In file included from sediff_gui.h:15,   
                 from sediff_rename_types.h:16,   
                 from sediff.c:13:   
sediff_find_window.h:18: error: syntax error before "gint"   
sediff_find_window.h:18: warning: no semicolon at end of struct or union   
sediff_find_window.h:20: warning: type defaults to `int' in declaration of   
`end_offset'   
sediff_find_window.h:20: warning: data definition has no type or storage class   
sediff_find_window.h:22: error: syntax error before '*' token   
sediff_find_window.h:22: warning: type defaults to `int' in declaration of   
`window'   
sediff_find_window.h:22: warning: data definition has no type or storage class   
sediff_find_window.h:23: error: syntax error before '*' token   
sediff_find_window.h:23: warning: type defaults to `int' in declaration of   
`xml'   
sediff_find_window.h:23: warning: data definition has no type or storage class   
sediff_find_window.h:25: error: syntax error before '}' token   
sediff_find_window.h:25: warning: type defaults to `int' in declaration of   
`sediff_find_window_t'   
sediff_find_window.h:25: warning: data definition has no type or storage class   
sediff_find_window.h:28: error: syntax error before '*' token   
sediff_find_window.h:28: warning: type defaults to `int' in declaration of   
`sediff_find_window_new'   
sediff_find_window.h:28: warning: data definition has no type or storage class   
sediff_find_window.h:30: error: syntax error before '*' token   
sediff_find_window.h:33: error: syntax error before '*' token   
In file included from sediff_rename_types.h:16,   
                 from sediff.c:13:   
sediff_gui.h:17:21: gtk/gtk.h: No such file or directory   
sediff_gui.h:18:25: glade/glade.h: No such file or directory   
In file included from sediff_rename_types.h:16,   
                 from sediff.c:13:   
sediff_gui.h:33: error: syntax error before "GtkWindow"   
sediff_gui.h:33: warning: no semicolon at end of struct or union   
sediff_gui.h:34: warning: type defaults to `int' in declaration of `open_dlg'   
sediff_gui.h:34: warning: data definition has no type or storage class   
sediff_gui.h:35: error: syntax error before '*' token   
sediff_gui.h:35: warning: type defaults to `int' in declaration of `modal_dlg'   
sediff_gui.h:35: warning: data definition has no type or storage class   
sediff_gui.h:36: error: syntax error before '*' token   
sediff_gui.h:36: warning: type defaults to `int' in declaration of   
`dummy_view'   
sediff_gui.h:36: warning: data definition has no type or storage class   
sediff_gui.h:37: error: syntax error before '*' token   
sediff_gui.h:37: warning: type defaults to `int' in declaration of   
`window_xml'   
sediff_gui.h:37: warning: data definition has no type or storage class   
sediff_gui.h:38: error: syntax error before '*' token   
sediff_gui.h:38: warning: type defaults to `int' in declaration of   
`open_dlg_xml'   
sediff_gui.h:38: warning: data definition has no type or storage class   
sediff_gui.h:39: error: syntax error before '*' token   
sediff_gui.h:39: warning: type defaults to `int' in declaration of `tree_view'   
sediff_gui.h:39: warning: data definition has no type or storage class   
sediff_gui.h:40: error: syntax error before '*' token   
sediff_gui.h:40: warning: type defaults to `int' in declaration of `callbacks'   
sediff_gui.h:40: warning: data definition has no type or storage class   
sediff_gui.h:41: error: syntax error before "progress_completed"   
sediff_gui.h:41: warning: type defaults to `int' in declaration of   
`progress_completed'   
sediff_gui.h:41: warning: data definition has no type or storage class   
sediff_gui.h:42: error: syntax error before '*' token   
sediff_gui.h:42: warning: type defaults to `int' in declaration of   
`main_buffer'   
sediff_gui.h:42: warning: data definition has no type or storage class   
sediff_gui.h:43: error: syntax error before '*' token   
sediff_gui.h:43: warning: type defaults to `int' in declaration of   
`te_add_buffer'   
sediff_gui.h:43: warning: data definition has no type or storage class   
sediff_gui.h:44: error: syntax error before '*' token   
sediff_gui.h:44: warning: type defaults to `int' in declaration of   
`te_rem_buffer'   
sediff_gui.h:44: warning: data definition has no type or storage class   
sediff_gui.h:45: error: syntax error before '*' token   
sediff_gui.h:45: warning: type defaults to `int' in declaration of   
`te_chg_buffer'   
sediff_gui.h:45: warning: data definition has no type or storage class   
sediff_gui.h:46: error: syntax error before '*' token   
sediff_gui.h:46: warning: type defaults to `int' in declaration of   
`te_add_type_buffer'   
sediff_gui.h:46: warning: data definition has no type or storage class   
sediff_gui.h:47: error: syntax error before '*' token   
sediff_gui.h:47: warning: type defaults to `int' in declaration of   
`te_rem_type_buffer'   
sediff_gui.h:47: warning: data definition has no type or storage class   
sediff_gui.h:48: error: syntax error before '*' token   
sediff_gui.h:48: warning: type defaults to `int' in declaration of   
`summary_buffer'   
sediff_gui.h:48: warning: data definition has no type or storage class   
sediff_gui.h:49: error: syntax error before '*' token   
sediff_gui.h:49: warning: type defaults to `int' in declaration of   
`cond_add_buffer'   
sediff_gui.h:49: warning: data definition has no type or storage class   
sediff_gui.h:50: error: syntax error before '*' token   
sediff_gui.h:50: warning: type defaults to `int' in declaration of   
`cond_rem_buffer'   
sediff_gui.h:50: warning: data definition has no type or storage class   
sediff_gui.h:51: error: syntax error before '*' token   
sediff_gui.h:51: warning: type defaults to `int' in declaration of   
`cond_chg_buffer'   
sediff_gui.h:51: warning: data definition has no type or storage class   
sediff_gui.h:52: error: syntax error before '*' token   
sediff_gui.h:52: warning: type defaults to `int' in declaration of   
`p1_filename'   
sediff_gui.h:52: warning: data definition has no type or storage class   
sediff_gui.h:53: error: syntax error before '*' token   
sediff_gui.h:53: warning: type defaults to `int' in declaration of   
`p2_filename'   
sediff_gui.h:53: warning: data definition has no type or storage class   
sediff_gui.h:59: error: syntax error before '}' token   
sediff_gui.h:59: warning: type defaults to `int' in declaration of   
`sediff_app_t'   
sediff_gui.h:59: warning: data definition has no type or storage class   
sediff_gui.h:62: error: syntax error before '*' token   
sediff_gui.h:62: error: syntax error before '*' token   
sediff_gui.h:62: warning: type defaults to `int' in declaration of   
`sediff_get_current_view'   
sediff_gui.h:62: warning: data definition has no type or storage class   
In file included from sediff.c:13:   
sediff_rename_types.h:18:25: glade/glade.h: No such file or directory   
sediff_rename_types.h:19:21: gtk/gtk.h: No such file or directory   
In file included from sediff.c:13:   
sediff_rename_types.h:22: error: syntax error before "GtkTreeView"   
sediff_rename_types.h:22: warning: no semicolon at end of struct or union   
sediff_rename_types.h:23: warning: type defaults to `int' in declaration of   
`store'   
sediff_rename_types.h:23: warning: data definition has no type or storage   
class   
sediff_rename_types.h:24: error: syntax error before '*' token   
sediff_rename_types.h:24: warning: type defaults to `int' in declaration of   
`p1_combo'   
sediff_rename_types.h:24: warning: data definition has no type or storage   
class   
sediff_rename_types.h:25: error: syntax error before '*' token   
sediff_rename_types.h:25: warning: type defaults to `int' in declaration of   
`p2_combo'   
sediff_rename_types.h:25: warning: data definition has no type or storage   
class   
sediff_rename_types.h:26: error: syntax error before '*' token   
sediff_rename_types.h:26: warning: type defaults to `int' in declaration of   
`window'   
sediff_rename_types.h:26: warning: data definition has no type or storage   
class   
sediff_rename_types.h:27: error: syntax error before '*' token   
sediff_rename_types.h:27: warning: type defaults to `int' in declaration of   
`xml'   
sediff_rename_types.h:27: warning: data definition has no type or storage   
class   
sediff_rename_types.h:30: error: syntax error before '}' token   
sediff_rename_types.h:30: warning: type defaults to `int' in declaration of   
`sediff_rename_types_t'   
sediff_rename_types.h:30: warning: data definition has no type or storage   
class   
sediff_rename_types.h:32: error: syntax error before '*' token   
sediff_rename_types.h:32: warning: type defaults to `int' in declaration of   
`sediff_rename_types_window_new'   
sediff_rename_types.h:32: warning: data definition has no type or storage   
class   
sediff_rename_types.h:33: error: syntax error before '*' token   
sediff_rename_types.h:34: error: syntax error before '*' token   
make[1]: *** [sediff.o] Error 1   
make[1]: Leaving directory   
`/var/tmp/portage/setools-2.2/work/setools-2.2/sediff'   
make: *** [sediff] Error 2   
   
!!! ERROR: app-admin/setools-2.2 failed.   
!!! Function src_compile, Line 63, Exitcode 2   
!!! (no error message)   
!!! If you need support, post the topmost build error, NOT this status   
message.   
   
--- SNIP ---   

Reproducible: Didn't try
Steps to Reproduce:
# emerge -uND setools 
Actual Results:  
 


# emerge info 
Portage 2.0.53_rc7 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r3, 
2.6.11-hardened-r15 i686) 
================================================================= 
System uname: 2.6.11-hardened-r15 i686 AMD Athlon(tm) XP 3000+ 
Gentoo Base System version 1.12.0_pre9 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i386-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -pipe -O2" 
CHOST="i386-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -pipe -O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LINGUAS="en de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage//packages/x86/" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage/" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="acpi apache2 berkdb bzip2 clamav crypt curl dlloader expat gd gmp 
hardened hardenedphp idn imap jpeg libwww maildir mhash mysql ncurses nls pam 
pam-mysql pcre perl php4 pic png python readline sasl ssl tcpd userlocales 
vhosts x86 xml2 zlib linguas_en linguas_de userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Bartosz Przybylski 2005-11-12 10:16:23 UTC
You are right, there is a syntax error in a source, but it is not fault of
gentoo developers.
env: tclsh: No such file or directory
There is something missing in your system, better check it out.
Comment 2 lxg 2005-11-12 11:15:15 UTC
Maybe so. But (a) I already updated the selinux packages a couple of times     
never having had an error and (b) I assume if there is a new dependency, the     
developer/packer should have added the information to the package metadata. 
 
However, tclsh is the shell of the TCL programming language; I installed it on     
my machine just to see. So the error "env: tclsh: No such file or directory"    
has disappeared indeed. But still the emerging dies reporting syntax errors and    
babbling something about GTK and glade. But there is no way I'm installing GTK  
on this machine as this is a web server. 
  
I added a lot of emerge output again (but starting with the errors) as the 
errors differ from the ones posted above. Sorry in advance for this page 
becoming lengthy. 
 
Btw, it seems there are two bugs: one is that the package requires tcl without 
resolving this dependency by itself, the other one seems to be that some 
gtk/glade libs are missing (for whatever reason "setools" insists on having a 
GUI :-/). 
   
--- SNIP ---    
make -C sediff sediff     
make[1]: Entering directory     
`/var/tmp/portage/setools-2.2/work/setools-2.2/sediff'     
cc -Wall -march=athlon-xp -pipe -O2 -fPIC -DCONFIG_SECURITY_SELINUX_MLS      
-DSEDIFF_VERSION_NUM='"1.2.0"' -DSEDIFF_GUI_VERSION_NUM='"1.2.0"'     
-DSEDIFF_GUI_VERSION_NUM='"1.2.0"' `pkg-config --cflags libglade-2.0` -I..     
-I../libapol -c sediff.c 
Package libglade-2.0 was not found in the pkg-config search path.     
Perhaps you should add the directory containing `libglade-2.0.pc'     
to the PKG_CONFIG_PATH environment variable     
No package 'libglade-2.0' found     
In file included from sediff_gui.h:13,     
                 from sediff_rename_types.h:16,     
                 from sediff.c:13:     
sediff_treemodel.h:12:21: gtk/gtk.h: No such file or directory     
In file included from sediff_gui.h:13,     
                 from sediff_rename_types.h:16,     
                 from sediff.c:13:     
sediff_treemodel.h:95: error: syntax error before '*' token     
sediff_treemodel.h:95: warning: type defaults to `int' in declaration of     
`sediff_create_view_and_model'     
sediff_treemodel.h:95: warning: data definition has no type or storage class     
sediff_treemodel.h:96: error: syntax error before '*' token     
sediff_treemodel.h:97: error: syntax error before '*' token     
In file included from sediff_gui.h:15,     
                 from sediff_rename_types.h:16,     
                 from sediff.c:13:     
sediff_find_window.h:13:25: glade/glade.h: No such file or directory     
sediff_find_window.h:14:21: gtk/gtk.h: No such file or directory     
In file included from sediff_gui.h:15,     
                 from sediff_rename_types.h:16,     
                 from sediff.c:13:     
sediff_find_window.h:18: error: syntax error before "gint"     
sediff_find_window.h:18: warning: no semicolon at end of struct or union     
sediff_find_window.h:20: warning: type defaults to `int' in declaration of     
`end_offset'     
sediff_find_window.h:20: warning: data definition has no type or storage class     
sediff_find_window.h:22: error: syntax error before '*' token     
sediff_find_window.h:22: warning: type defaults to `int' in declaration of     
`window'     
sediff_find_window.h:22: warning: data definition has no type or storage class     
sediff_find_window.h:23: error: syntax error before '*' token     
sediff_find_window.h:23: warning: type defaults to `int' in declaration of     
`xml'     
sediff_find_window.h:23: warning: data definition has no type or storage class     
sediff_find_window.h:25: error: syntax error before '}' token     
sediff_find_window.h:25: warning: type defaults to `int' in declaration of     
`sediff_find_window_t'     
sediff_find_window.h:25: warning: data definition has no type or storage class     
sediff_find_window.h:28: error: syntax error before '*' token     
sediff_find_window.h:28: warning: type defaults to `int' in declaration of     
`sediff_find_window_new'     
sediff_find_window.h:28: warning: data definition has no type or storage class     
sediff_find_window.h:30: error: syntax error before '*' token     
sediff_find_window.h:33: error: syntax error before '*' token     
In file included from sediff_rename_types.h:16,     
                 from sediff.c:13:     
sediff_gui.h:17:21: gtk/gtk.h: No such file or directory     
sediff_gui.h:18:25: glade/glade.h: No such file or directory     
In file included from sediff_rename_types.h:16,     
                 from sediff.c:13:     
sediff_gui.h:33: error: syntax error before "GtkWindow"     
sediff_gui.h:33: warning: no semicolon at end of struct or union     
sediff_gui.h:34: warning: type defaults to `int' in declaration of `open_dlg'     
sediff_gui.h:34: warning: data definition has no type or storage class     
sediff_gui.h:35: error: syntax error before '*' token     
sediff_gui.h:35: warning: type defaults to `int' in declaration of `modal_dlg'     
sediff_gui.h:35: warning: data definition has no type or storage class     
sediff_gui.h:36: error: syntax error before '*' token     
sediff_gui.h:36: warning: type defaults to `int' in declaration of `dummy_view'     
sediff_gui.h:36: warning: data definition has no type or storage class     
sediff_gui.h:37: error: syntax error before '*' token     
sediff_gui.h:37: warning: type defaults to `int' in declaration of `window_xml'     
sediff_gui.h:37: warning: data definition has no type or storage class     
sediff_gui.h:38: error: syntax error before '*' token     
sediff_gui.h:38: warning: type defaults to `int' in declaration of     
`open_dlg_xml'     
sediff_gui.h:38: warning: data definition has no type or storage class     
sediff_gui.h:39: error: syntax error before '*' token     
sediff_gui.h:39: warning: type defaults to `int' in declaration of `tree_view'     
sediff_gui.h:39: warning: data definition has no type or storage class     
sediff_gui.h:40: error: syntax error before '*' token     
sediff_gui.h:40: warning: type defaults to `int' in declaration of `callbacks'     
sediff_gui.h:40: warning: data definition has no type or storage class     
sediff_gui.h:41: error: syntax error before "progress_completed"     
sediff_gui.h:41: warning: type defaults to `int' in declaration of     
`progress_completed'     
sediff_gui.h:41: warning: data definition has no type or storage class     
sediff_gui.h:42: error: syntax error before '*' token     
sediff_gui.h:42: warning: type defaults to `int' in declaration of     
`main_buffer'     
sediff_gui.h:42: warning: data definition has no type or storage class     
sediff_gui.h:43: error: syntax error before '*' token     
sediff_gui.h:43: warning: type defaults to `int' in declaration of     
`te_add_buffer'     
sediff_gui.h:43: warning: data definition has no type or storage class     
sediff_gui.h:44: error: syntax error before '*' token     
sediff_gui.h:44: warning: type defaults to `int' in declaration of     
`te_rem_buffer'     
sediff_gui.h:44: warning: data definition has no type or storage class     
sediff_gui.h:45: error: syntax error before '*' token     
sediff_gui.h:45: warning: type defaults to `int' in declaration of     
`te_chg_buffer'     
sediff_gui.h:45: warning: data definition has no type or storage class     
sediff_gui.h:46: error: syntax error before '*' token     
sediff_gui.h:46: warning: type defaults to `int' in declaration of     
`te_add_type_buffer'     
sediff_gui.h:46: warning: data definition has no type or storage class     
sediff_gui.h:47: error: syntax error before '*' token     
sediff_gui.h:47: warning: type defaults to `int' in declaration of     
`te_rem_type_buffer'     
sediff_gui.h:47: warning: data definition has no type or storage class     
sediff_gui.h:48: error: syntax error before '*' token     
sediff_gui.h:48: warning: type defaults to `int' in declaration of     
`summary_buffer'     
sediff_gui.h:48: warning: data definition has no type or storage class     
sediff_gui.h:49: error: syntax error before '*' token     
sediff_gui.h:49: warning: type defaults to `int' in declaration of     
`cond_add_buffer'     
sediff_gui.h:49: warning: data definition has no type or storage class     
sediff_gui.h:50: error: syntax error before '*' token     
sediff_gui.h:50: warning: type defaults to `int' in declaration of     
`cond_rem_buffer'     
sediff_gui.h:50: warning: data definition has no type or storage class     
sediff_gui.h:51: error: syntax error before '*' token     
sediff_gui.h:51: warning: type defaults to `int' in declaration of     
`cond_chg_buffer'     
sediff_gui.h:51: warning: data definition has no type or storage class     
sediff_gui.h:52: error: syntax error before '*' token     
sediff_gui.h:52: warning: type defaults to `int' in declaration of     
`p1_filename'     
sediff_gui.h:52: warning: data definition has no type or storage class     
sediff_gui.h:53: error: syntax error before '*' token     
sediff_gui.h:53: warning: type defaults to `int' in declaration of     
`p2_filename'     
sediff_gui.h:53: warning: data definition has no type or storage class     
sediff_gui.h:59: error: syntax error before '}' token     
sediff_gui.h:59: warning: type defaults to `int' in declaration of     
`sediff_app_t'     
sediff_gui.h:59: warning: data definition has no type or storage class     
sediff_gui.h:62: error: syntax error before '*' token     
sediff_gui.h:62: error: syntax error before '*' token     
sediff_gui.h:62: warning: type defaults to `int' in declaration of     
`sediff_get_current_view'     
sediff_gui.h:62: warning: data definition has no type or storage class     
In file included from sediff.c:13:     
sediff_rename_types.h:18:25: glade/glade.h: No such file or directory     
sediff_rename_types.h:19:21: gtk/gtk.h: No such file or directory     
In file included from sediff.c:13:     
sediff_rename_types.h:22: error: syntax error before "GtkTreeView"     
sediff_rename_types.h:22: warning: no semicolon at end of struct or union     
sediff_rename_types.h:23: warning: type defaults to `int' in declaration of     
`store'     
sediff_rename_types.h:23: warning: data definition has no type or storage class     
sediff_rename_types.h:24: error: syntax error before '*' token     
sediff_rename_types.h:24: warning: type defaults to `int' in declaration of     
`p1_combo'     
sediff_rename_types.h:24: warning: data definition has no type or storage class     
sediff_rename_types.h:25: error: syntax error before '*' token     
sediff_rename_types.h:25: warning: type defaults to `int' in declaration of     
`p2_combo'     
sediff_rename_types.h:25: warning: data definition has no type or storage class     
sediff_rename_types.h:26: error: syntax error before '*' token     
sediff_rename_types.h:26: warning: type defaults to `int' in declaration of     
`window'     
sediff_rename_types.h:26: warning: data definition has no type or storage class     
sediff_rename_types.h:27: error: syntax error before '*' token     
sediff_rename_types.h:27: warning: type defaults to `int' in declaration of     
`xml'     
sediff_rename_types.h:27: warning: data definition has no type or storage class     
sediff_rename_types.h:30: error: syntax error before '}' token     
sediff_rename_types.h:30: warning: type defaults to `int' in declaration of     
`sediff_rename_types_t'     
sediff_rename_types.h:30: warning: data definition has no type or storage class     
sediff_rename_types.h:32: error: syntax error before '*' token     
sediff_rename_types.h:32: warning: type defaults to `int' in declaration of     
`sediff_rename_types_window_new'     
sediff_rename_types.h:32: warning: data definition has no type or storage class     
sediff_rename_types.h:33: error: syntax error before '*' token     
sediff_rename_types.h:34: error: syntax error before '*' token     
make[1]: *** [sediff.o] Error 1     
make[1]: Leaving directory     
`/var/tmp/portage/setools-2.2/work/setools-2.2/sediff'     
make: *** [sediff] Error 2     
     
!!! ERROR: app-admin/setools-2.2 failed.     
!!! Function src_compile, Line 63, Exitcode 2     
!!! (no error message)     
!!! If you need support, post the topmost build error, NOT this status message.     
--- SNIP ---     
Comment 3 Chris PeBenito (RETIRED) gentoo-dev 2005-11-12 15:25:54 UTC
No, the tclsh error is not a fatal error, since it is only needed for the build
with USE=X, which does have tcl and tk as dependencies.  This is an upstream
error, and they have been notified.  Patch added to fix this.