Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156724 - checkpolicy 1.30-r1 fails to build
Summary: checkpolicy 1.30-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 14:22 UTC by Alan Hourihane
Modified: 2007-07-04 09:41 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 Alan Hourihane 2006-11-30 14:22:16 UTC
trying to emerge checkpolicy results in a build failure.

emerge -uD sys-apps/checkpolicy
Calculating dependencies  >>> Unpacking source...
>>> Unpacking checkpolicy-1.30.tgz to /var/tmp/portage/checkpolicy-1.30-r1/work
 * Applying checkpolicy-1.30.1.diff ...                                   [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/checkpolicy-1.30-r1/work/checkpolicy-1.30 ...
make[1]: Entering directory `/var/tmp/portage/checkpolicy-1.30-r1/work/checkpolicy-1.30'
cc -Os -fomit-frame-pointer -march=i486 -pipe -I. -I/usr/include -o checkpolicy.o -c checkpolicy.c
checkpolicy.c: In function `find_perm':
checkpolicy.c:149: error: structure has no member named `value'
checkpolicy.c: In function `main':
checkpolicy.c:650: error: structure has no member named `value'
checkpolicy.c:754: error: structure has no member named `value'
checkpolicy.c:940: error: structure has no member named `value'
make[1]: *** [checkpolicy.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/checkpolicy-1.30-r1/work/checkpolicy-1.30'

!!! ERROR: sys-apps/checkpolicy-1.30-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  checkpolicy-1.30-r1.ebuild, line 30:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

... done!
Comment 1 Joao Rita 2007-01-13 16:37:20 UTC
Seconded, 

>>> Emerging (1 of 1) sys-apps/checkpolicy-1.30-r1 to /
 * checkpolicy-1.30.tgz size ;-) ...                                                                                                                           [ ok ]
 * checkpolicy-1.30.tgz RMD160 ;-) ...                                                                                                                         [ ok ]
 * checkpolicy-1.30.tgz SHA256 ;-) ...                                                                                                                         [ ok ]
 * checkpolicy-1.30.tgz MD5 ;-) ...                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                         [ ok ]
 * checking checkpolicy-1.30.tgz ;-) ...                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking checkpolicy-1.30.tgz to /var/tmp/portage/checkpolicy-1.30-r1/work
 * Applying checkpolicy-1.30.1.diff ...                                                                                                                        [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/checkpolicy-1.30-r1/work/checkpolicy-1.30 ...
cc -march=pentium2 -O2 -pipe -fomit-frame-pointer -I. -I/usr/include -o checkpolicy.o -c checkpolicy.c
bison -y -d policy_parse.y
cc -march=pentium2 -O2 -pipe -fomit-frame-pointer -I. -I/usr/include -o queue.o -c queue.c
cc -march=pentium2 -O2 -pipe -fomit-frame-pointer -I. -I/usr/include -o module_compiler.o -c module_compiler.c
checkpolicy.c: In function `find_perm':
checkpolicy.c:149: error: structure has no member named `value'
checkpolicy.c: In function `main':
checkpolicy.c:650: error: structure has no member named `value'
checkpolicy.c:754: error: structure has no member named `value'
checkpolicy.c:940: error: structure has no member named `value'
module_compiler.c: In function `declare_role':
module_compiler.c:182: error: structure has no member named `value'
module_compiler.c:213: error: structure has no member named `value'
module_compiler.c:243: error: structure has no member named `value'
module_compiler.c: In function `declare_type':
module_compiler.c:283: error: structure has no member named `isattr'
module_compiler.c:288: error: structure has no member named `value'
module_compiler.c: In function `declare_user':
module_compiler.c:348: error: structure has no member named `value'
module_compiler.c:379: error: structure has no member named `value'
module_compiler.c: In function `get_local_type':
module_compiler.c:446: error: structure has no member named `value'
module_compiler.c: In function `require_symbol':
module_compiler.c:509: error: structure has no member named `isattr'
module_compiler.c:512: error: structure has no member named `isattr'
module_compiler.c: In function `require_class':
module_compiler.c:617: error: structure has no member named `value'
module_compiler.c:617: error: structure has no member named `value'
module_compiler.c:674: error: structure has no member named `value'
module_compiler.c:684: error: structure has no member named `value'
module_compiler.c:684: error: structure has no member named `value'
module_compiler.c: In function `require_role':
module_compiler.c:719: error: structure has no member named `value'
module_compiler.c:719: error: structure has no member named `value'
module_compiler.c:740: error: structure has no member named `value'
module_compiler.c: In function `require_type_or_attribute':
module_compiler.c:775: error: structure has no member named `isattr'
module_compiler.c:776: error: structure has no member named `value'
module_compiler.c:776: error: structure has no member named `value'
module_compiler.c: In function `require_user':
module_compiler.c:833: error: structure has no member named `value'
module_compiler.c:833: error: structure has no member named `value'
module_compiler.c: In function `require_bool':
module_compiler.c:881: error: structure has no member named `value'
module_compiler.c:881: error: structure has no member named `value'
module_compiler.c: In function `is_perm_in_scope':
module_compiler.c:983: error: structure has no member named `value'
module_compiler.c:983: error: structure has no member named `value'
make: *** [module_compiler.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [checkpolicy.o] Error 1

!!! ERROR: sys-apps/checkpolicy-1.30-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  checkpolicy-1.30-r1.ebuild, line 30:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info:

Tosca ~ #  emerge --info
Portage 2.1.1-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-hardened i686)
=================================================================
System uname: 2.6.18-hardened i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.6
Last Sync: Sat, 13 Jan 2007 13:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb caps crypt cups dbus dlloader elibc_glibc foomaticdb hardened input_devices_keyboard input_devices_mouse jpeg kernel_linux nls nptl ntplonly pam pic png ppds readline slp ssl symlink tcpd tiff usb userland_GNU userlocales x86 xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 William Horne 2007-01-18 08:32:09 UTC
I am also having this problem on my system

>>> Emerging (1 of 2) sys-apps/checkpolicy-1.30-r1 to /
 * checkpolicy-1.30.tgz size ;-) ...                                               [ ok ]
 * checkpolicy-1.30.tgz RMD160 ;-) ...                                             [ ok ]
 * checkpolicy-1.30.tgz SHA256 ;-) ...                                             [ ok ]
 * checkpolicy-1.30.tgz MD5 ;-) ...                                                [ ok ]
 * checking ebuild checksums ;-) ...                                               [ ok ]
 * checking auxfile checksums ;-) ...                                              [ ok ]
 * checking miscfile checksums ;-) ...                                             [ ok ]
 * checking checkpolicy-1.30.tgz ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Unpacking checkpolicy-1.30.tgz to /var/tmp/portage/checkpolicy-1.30-r1/work
 * Applying checkpolicy-1.30.1.diff ...                                            [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/checkpolicy-1.30-r1/work/checkpolicy-1.30 ...
cc -O2 -march=k6-2 -pipe -I. -I/usr/include -o checkpolicy.o -c checkpolicy.c
bison -y -d policy_parse.y
checkpolicy.c: In function `find_perm':
checkpolicy.c:149: error: structure has no member named `value'
checkpolicy.c: In function `main':
checkpolicy.c:650: error: structure has no member named `value'
checkpolicy.c:754: error: structure has no member named `value'
checkpolicy.c:940: error: structure has no member named `value'
cc -O2 -march=k6-2 -pipe -I. -I/usr/include -o queue.o -c queue.c
make: *** [checkpolicy.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-apps/checkpolicy-1.30-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  checkpolicy-1.30-r1.ebuild, line 30:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


================== emerge info =====================

Portage 2.1.1-r2 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r2, 2.6.18-hardened i586)
=================================================================
System uname: 2.6.18-hardened i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.12.6
Last Sync: Tue, 16 Jan 2007 07:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r6
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/gcc-config: 1.3.12-r4
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=k6-2 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=k6-2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/ http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow acpi alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb crypt dlloader elibc_glibc hardened input_devices_keyboard input_devices_mouse kernel_linux nls pam pic readline ssl tcpd userland_GNU userlocales vim-syntax x86 xinetd xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Alan Hourihane 2007-07-04 09:41:48 UTC
Seems to work now. Closing.