I'm unable to emerge app-admin/sudo-1.8.1: kdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr/lib64 mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr/lib64/sudo mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr/sbin mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr/bin mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/etc cp: mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr/share impossibile creare il file regolare "/var/tmp/portage/app-admin/sudo-1.8.1/image//usr/share/doc/26686.tmp": File o directory non esistente make[1]: *** [install-doc] Errore 1 make[1]: *** Attesa dei processi non terminati.... mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr/share/doc mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/usr/share/doc/sudo-1.8.1 /bin/sh ../../mkinstalldirs -m 0700 /var/tmp/portage/app-admin/sudo-1.8.1/image//var/db/sudo mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/var chmod 0700 /var/tmp/portage/app-admin/sudo-1.8.1/image/var mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/var/db chmod 0700 /var/tmp/portage/app-admin/sudo-1.8.1/image/var/db mkdir /var/tmp/portage/app-admin/sudo-1.8.1/image/var/db/sudo chmod 0700 /var/tmp/portage/app-admin/sudo-1.8.1/image/var/db/sudo make[1]: Leaving directory `/var/tmp/portage/app-admin/sudo-1.8.1/work/sudo-1.8.1/plugins/sudoers' make: *** [install] Errore 2 Reproducible: Always kefk ~ # emerge --info =app-admin/sudo-1.8.1 Portage 2.2.0_alpha29 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.13-r2, 2.6.38.2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38.2-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.2 Timestamp of tree: Sun, 10 Apr 2011 14:30:01 +0000 app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) Repositories: gentoo overlay Installed sets: @kde ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -msse4a -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" 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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mtune=native -O2 -msse4a -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://gentoo.mneisen.org/ http://gentoo.supp.name/" LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it en" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" 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="/usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64 amr amrnb amrwb apache2 ares asf ass audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt cups curl cxx dba dbus declarative device-mapper dga dirac directfb divx divx4linux dparanoia dri dts dv dvb dvd dvdnav dvdr dvdread edl embedded emboss enca encode ethereal exif expat faac faad fam fame fbcon ffmpeg fftw firefox flac force-cgi-redirect fortran ftp garmin gd gdbm gdu gif gimp gmedia gmp gnutls gpm gps gsm gtk iconv icq icu idn ifp ilbc imagemagick imap innodb ipod ipv6 ithreads jabber java javascript jpeg kde kontact kvm ladspa lcms ldap libcaca libnotify live lm_sensors lua lvm lxc lzo mad maildir matroska mbox md5sum mdnsresponder-compat mhash mikmod mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg msn mtp mudflap multilib musepack mysql ncurses nemesi nepomuk network nfsv4 njb nls nptl nptlonly nsplugin numa nvidia offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf perl php plasma plotutils png pnm policykit ppds pppd pvr python qemu qt3support qt4 radio rar readline rtc ruby samba sasl schroedinger sdl semantic-desktop session sha512 sl slang slp sms sndfile snmp sox speex spell srt sse sse2 sse4a ssh ssl startup-notification svg symlink sysfs taglib tcltk tcpd theora threads tiff tk tremor truetype udev unicode usb utempter v4l v4l2 vcd vdpau vhosts videos vim-syntax virtualbox vorbis wmf wmp wxwindows x264 xanim xcb xface xft xine xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zoran zpm" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epjitsu epson epson2" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'm getting the same error. I think it's just a parallel make issue. In your output I can see that it's trying to create /usr/share/doc/26686.tmp before creating /usr/share/doc/. Try with MAKEOPTS="-j1".
Created attachment 269351 [details, diff] parallel make fix This should fix the above error.
Created attachment 269355 [details, diff] dodoc: look for schema.OpenLDAP in doc/ Now I'm getting an error in dodoc. * QA Notice: file does not exist: * * dodoc: schema.OpenLDAP does not exist It does exist, but it's in doc/.
Created attachment 269359 [details, diff] fix paths of schema.OpenLDAP and sudoers2ldif Same thing for sudoers2ldif.
With sudo 1.8.1, some LDAP breakage was to be expected. http://blog.flameeyes.eu/2011/04/06/there-s-a-new-sudo-in-town
For me MEKEOPTS="-j1" did not work but -ldap app-admin/sudo-1.8.1 compiles well
(In reply to comment #6) > For me MEKEOPTS="-j1" did not work but > -ldap app-admin/sudo-1.8.1 compiles well My second patch addresses that. There are two problems here, for me anyway.
I get the same errors assigning to base-system
Thanks Fabio for reporting and Chris for the fixes; have you sent the Makefile patch to Todd already? By the way ldap support might not work at all for what I can tell, so if you find further issues with that please try the 1.7.6 version: I have no way to test the ldap part and that bothers me quite a bit.
(In reply to comment #9) > Thanks Fabio for reporting and Chris for the fixes; have you sent the Makefile > patch to Todd already? Thank you, Diego, for all your work on this. No, I haven't sent the Makefile patch to Todd. > By the way ldap support might not work at all for what I can tell, so if you > find further issues with that please try the 1.7.6 version: I have no way to > test the ldap part and that bothers me quite a bit. I'm not even using ldap. I only have the use flag enabled because it's enabled by default.
If you could please send it to Todd so he can properly credit you for it, that'd be the best ;) Uhm, the LDAP support should really not be enabled by default, thanks for letting me note that, I'll see what to do about it.
(In reply to comment #11) > If you could please send it to Todd so he can properly credit you for it, > that'd be the best ;) http://www.gratisoft.us/bugzilla/show_bug.cgi?id=487 > > Uhm, the LDAP support should really not be enabled by default, thanks for > letting me note that, I'll see what to do about it. I think it's enabled globally for all desktop profiles. I'm using default/linux/amd64/10.0/desktop/gnome.