Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379309 - net-nds/389-admin-1.1.23 USE=selinux - selinux/dirsrv-admin.if:8: Error: duplicate definition of dirsrvadmin_extend_httpd(). Original definition on 8.
Summary: net-nds/389-admin-1.1.23 USE=selinux - selinux/dirsrv-admin.if:8: Error: dupl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Fabio Erculiani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 18:56 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2011-08-25 22:10 UTC (History)
0 users

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


Attachments
build.log (build.log,287.18 KB, text/plain)
2011-08-15 18:59 UTC, Andreis Vinogradovs ( slepnoga )
Details
build log 1.2 version (build.log,285.94 KB, text/plain)
2011-08-18 09:40 UTC, Andreis Vinogradovs ( slepnoga )
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreis Vinogradovs ( slepnoga ) 2011-08-15 18:56:19 UTC
make[1]: Leaving directory `/var/tmp/portage/net-nds/389-admin-1.1.23/work/389-admin-1.1.23'
/var/tmp/portage/net-nds/389-admin-1.1.23/temp/environment: line 2999: cd: /var/tmp/portage/net-nds/389-admin-1.1.23/work/389-admin-1.1.23/selinux-build: No such file or directory
selinux/dirsrv-admin.if:8: Error: duplicate definition of dirsrvadmin_extend_httpd(). Original definition on 8.
selinux/dirsrv-admin.if:46: Error: duplicate definition of dirsrvadmin_script_extend_httpd(). Original definition on 46.
Comment 1 Andreis Vinogradovs ( slepnoga ) 2011-08-15 18:59:08 UTC
Created attachment 283461 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-15 23:51:00 UTC
Please post your `emerge --info' output too.
Comment 3 Andreis Vinogradovs ( slepnoga ) 2011-08-16 06:27:38 UTC
emerge  --info
Portage 2.2.0_alpha51 (selinux/v2refpolicy/amd64/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.0-gentoo-1.04 x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-1.04-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 16 Aug 2011 06:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo hardened-dev alexxy sunrise my-dev rion
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"                                                                                                                                                             
FFLAGS=""                                                                                                                                                                                                            
GENTOO_MIRRORS="http://gentoo.tups.lv/source"                                                                                                                                                                        
LANG="ru_RU.UTF-8"                                                                                                                                                                                                   
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common"                                                                                                                      
LINGUAS="ru"                                                                                                                                                                                                         
MAKEOPTS="-j4"                                                                                                                                                                                                       
PKGDIR="/usr/portage/packages"                                                                                                                                                                                       
PORTAGE_COMPRESS="lzma"                                                                                                                                                                                              
PORTAGE_COMPRESS_FLAGS="-9"                                                                                                                                                                                          
PORTAGE_CONFIGROOT="/"                                                                                                                                                                                               
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                       
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                                                            
PORTDIR="/usr/portage"                                                                                                                                                                                               
PORTDIR_OVERLAY="/var/lib/layman/hardened-development /var/lib/layman/alexxy /var/lib/layman/sunrise /home/slep/slep/portage /home/slep/rion"                                                                        
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                                                                                       
USE="X a52 aac acl acpi addressbook alsa amd64 apng assistant avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr chm cli consolekit cracklib crypt cups cvs cxx dbus declarative device-mapper djvu dri dts dvd dvdr ebook emboss encode exif extras fam fax fbcon festival ffmpeg firefox flac fontconfig fortran fuse gdbm gdu gif gnome-keyring gphoto2 gpm gstreamer gtk hpijs iconv icu idn inotify ipv6 javascript jpeg kde kipi kvm lame laptop lcms ldap ldb libmpeg2 libnl libnotify lm_sensors lxc lzma lzo mad mmap mng mp3 mp4 mpeg mudflap multilib multimedia mysql natspec ncurses network nfs nls nptl nsplugin ofx ogg opengl openmp pam pango pch pcre pdf perl phonon plasma plugins pmu pnat png policykit ppds pppd python qt3support qt4 rdesktop readline reports ris rle samba sasl scanner sdl selinux semantic-desktop servletapi session sna spell sql sqlite ssl startup-notification suexec svg taglib tcpd threads thunar tiff truetype udev unicode usb utils v4l2 vhost-net vim-syntax vnc vorbis vpx webkit wicd xattr xcb xcomposite xml xmlpatterns xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LINGUAS="ru" NETBEANS_MODULES="cnd ergonomics apisupport dlight enterprise ide php harness java profiler websvccommon" PHP_TARGETS="php5-2 php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Fabio Erculiani (RETIRED) gentoo-dev 2011-08-16 20:16:10 UTC
Could you try the latest ebuild I just committed?

+  16 Aug 2011; Fabio Erculiani <lxnay@gentoo.org> 389-admin-1.1.23.ebuild:
+  fix compilation with selinux USE flag on, hopefully fixes bug 379309
+

Please give the mirror some time.
Let me know.
Comment 5 Andreis Vinogradovs ( slepnoga ) 2011-08-18 09:39:47 UTC
I used version 1.2 2011/08/16 20:15:51 ; build fail with error:
ompiling targeted dirsrv-admin module
/usr/bin/checkmodule:  loading policy configuration from tmp/dirsrv-admin.tmp
dirsrv-admin.te":41:ERROR 'syntax error' at token 'dirsrv_manage_config' on line 2837:
#line 41
Comment 6 Andreis Vinogradovs ( slepnoga ) 2011-08-18 09:40:45 UTC
Created attachment 283741 [details]
build log 1.2 version
Comment 7 Fabio Erculiani (RETIRED) gentoo-dev 2011-08-25 08:26:42 UTC
Latest builds fine here. Cannot reproduce.
If you can, please provide a patch.
Comment 8 Andreis Vinogradovs ( slepnoga ) 2011-08-25 22:10:07 UTC
Ok, thanks. Build fine. RESOLVED.