Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327353 - x11-misc/xdialog-2.3.1: make install won't overwrite just created files and dies
Summary: x11-misc/xdialog-2.3.1: make install won't overwrite just created files and dies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-8.4
  Show dependency tree
 
Reported: 2010-07-07 16:41 UTC by Michael M. Tung
Modified: 2010-07-09 07:22 UTC (History)
0 users

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


Attachments
full build.log with MAKEOPTS="-j1" as requested (build.log,20.58 KB, text/plain)
2010-07-07 17:27 UTC, Michael M. Tung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael M. Tung 2010-07-07 16:41:40 UTC
Installing x11-misc/xdialog-2.3.1 fails due to an install conflict of the html documentation. The error message is:

make[2]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/doc/Xdialog-2.3.1" || /bin/mkdir -p "/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1"
test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/man/man1"
 /usr/bin/install -c -m 644 index.html compatibility.html changelog.html license.html ./authors.html ./box.html ./changelog.html ./common.html ./compatibility.html ./faq.html ./gtk.html ./index.html ./intro.html ./license.html ./special.html ./syntax.html ./transient.html ./2ranges.png ./buildlist.png ./calendar.png ./center.png ./check.png ./checklist.png ./colorsel.png ./combobox.png ./dselect.png ./editbox.png ./fill.png ./fixedfont.png ./fontsel.png ./fselect.png ./gauge.png ./icon.png ./infobox.png ./input.png ./labelcenter.png ./labelleft.png ./labelright.png ./left.png ./logbox.png '/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/changelog.html' with `./changelog.html'
 /usr/bin/install -c -m 644 Xdialog.1 '/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/man/man1'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/compatibility.html' with `./compatibility.html'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/index.html' with `./index.html'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/license.html' with `./license.html'
make[2]: *** [install-docDATA] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/doc'
make: *** [install-recursive] Error 1
 * ERROR: x11-misc/xdialog-2.3.1 failed:
 *   emake install failed.
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 2926:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed.";
 * 


Reproducible: Always

Steps to Reproduce:
On my X86_64 machines the emerge error occurs everytime. However on my other Gentoo installation (with X86_32) and the same versions of coreutils and Xdialog the error does not show up.

1. emerge -av xdialog (emerge fails with or with doc use flags)

Actual Results:  
emerge fails


emerge --info =x11-misc/xdialog-2.3.1 gives

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.31-gentoo-r10 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 07 Jul 2010 06:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.dei.uc.pt/pub/linux/gentoo/ http://gentoo.wheel.sk/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j12"
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/local/portage/layman/wschlich-testing /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bzip2 cddb cli cracklib crypt cups cxx dbus djvu dri dvd dvdr firefox flac fortran gd gdbm gif gpm gstreamer hal iconv ipv6 jpeg laptop midi mmx modules motif mudflap multilib ncurses nls nptl nptlonly ntp opengl openmp pam pcre pdf perl png pppd python raw readline reflection session spl sse sse2 ssl svg sysfs tcl tcpd threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l vcd vim-syntax vorbis xorg zlib" 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 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 proxy" CAMERAS="canon nikon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia intel vga vesa fbdev" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT

emerge -pqv =x11-misc/xdialog-2.3.1 gives:

[ebuild  N    ] x11-misc/xdialog-2.3.1  USE="nls -doc -examples"

and the build.log contains (relevant part):

>>> Install xdialog-2.3.1 into /var/tmp/portage/x11-misc/xdialog-2.3.1/image/ category x11-misc
make -j12 DESTDIR=/var/tmp/portage/x11-misc/xdialog-2.3.1/image/ install 
Making install in m4
make[1]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/m4'
make[2]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/m4'
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/m4'
Making install in lib
make[1]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/lib'
make[2]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/lib'
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/lib'
Making install in src
make[1]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/src'
make[2]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/src'
test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/bin"
make[2]: Nothing to be done for `install-data-am'.
  /usr/bin/install -c Xdialog '/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/bin'
make[2]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/src'
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/src'
Making install in po
make[1]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/po'
/bin/sh .././mkinstalldirs /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/fr/LC_MESSAGES
installing fr.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/fr/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/de/LC_MESSAGES
installing de.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/de/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/ru/LC_MESSAGES
installing ru.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/ru/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/es/LC_MESSAGES
installing es.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/es/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/hu/LC_MESSAGES
installing hu.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/hu/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/pt_BR/LC_MESSAGES
installing pt_BR.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/pt_BR/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/no_NO/LC_MESSAGES
installing no_NO.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/no_NO/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/id/LC_MESSAGES
installing id.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/id/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/nl/LC_MESSAGES
installing nl.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/nl/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/it/LC_MESSAGES
installing it.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/it/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/pl/LC_MESSAGES
installing pl.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/pl/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/ca/LC_MESSAGES
installing ca.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/ca/LC_MESSAGES/Xdialog.mo
mkdir -p -- /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/sv_SE/LC_MESSAGES
installing sv_SE.gmo as /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/locale/sv_SE/LC_MESSAGES/Xdialog.mo
if test "Xdialog" = "gettext-tools"; then \
          /bin/sh .././mkinstalldirs /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/gettext/po; \
          for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
            /usr/bin/install -c -m 644 ./$file \
                            /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/gettext/po/$file; \
          done; \
          for file in Makevars; do \
            rm -f /var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/po'
Making install in doc
make[1]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/doc'
make[2]: Entering directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/doc/Xdialog-2.3.1" || /bin/mkdir -p "/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1"
test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/man/man1"
 /usr/bin/install -c -m 644 index.html compatibility.html changelog.html license.html ./authors.html ./box.html ./changelog.html ./common.html ./compatibility.html ./faq.html ./gtk.html ./index.html ./intro.html ./license.html ./special.html ./syntax.html ./transient.html ./2ranges.png ./buildlist.png ./calendar.png ./center.png ./check.png ./checklist.png ./colorsel.png ./combobox.png ./dselect.png ./editbox.png ./fill.png ./fixedfont.png ./fontsel.png ./fselect.png ./gauge.png ./icon.png ./infobox.png ./input.png ./labelcenter.png ./labelleft.png ./labelright.png ./left.png ./logbox.png '/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/changelog.html' with `./changelog.html'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/compatibility.html' with `./compatibility.html'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/index.html' with `./index.html'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/doc/Xdialog-2.3.1/license.html' with `./license.html'
 /usr/bin/install -c -m 644 Xdialog.1 '/var/tmp/portage/x11-misc/xdialog-2.3.1/image//usr/share/man/man1'
make[2]: *** [install-docDATA] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1/doc'
make: *** [install-recursive] Error 1
 * ERROR: x11-misc/xdialog-2.3.1 failed:
 *   emake install failed.
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 2926:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed.";
 * 
 * If you need support, post the output of 'emerge --info =x11-misc/xdialog-2.3.1',
 * the complete build log and the output of 'emerge -pqv =x11-misc/xdialog-2.3.1'.
 * The complete build log is located at '/var/tmp/portage/x11-misc/xdialog-2.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xdialog-2.3.1/temp/environment'.
 * S: '/var/tmp/portage/x11-misc/xdialog-2.3.1/work/Xdialog-2.3.1
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-07 17:04:36 UTC
Try with MAKEOPTS="-j1" and provide full build.log here, thanks!
Comment 2 Michael M. Tung 2010-07-07 17:27:36 UTC
Created attachment 237925 [details]
full build.log with MAKEOPTS="-j1" as requested
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-08 08:26:01 UTC
+  08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> xdialog-2.3.1.ebuild,
+  +files/xdialog-2.3.1-install.patch:
+  Fix "make install" with latest coreutils wrt #327353 by Michael M. Tung.