x11-libs/xosd-2.2.14-r1 fails to install Reproducible: Always Steps to Reproduce: 1. emerge xosd 2. 3. Actual Results: /usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-libs/xosd-2.2.14-r1/image//usr/share/man/man3/xosd_create.3' with `xosd_create.3' /usr/bin/install: will not overwrite just-created `/var/tmp/portage/x11-libs/xosd-2.2.14-r1/image//usr/share/man/man3/xosd_is_onscreen.3' with `xosd_is_onscreen.3' make[2]: *** [install-man3] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/xosd-2.2.14-r1/work/xosd-2.2.14/man' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/x11-libs/xosd-2.2.14-r1/work/xosd-2.2.14/man' make: *** [install-recursive] Error 1 * ERROR: x11-libs/xosd-2.2.14-r1 failed: * (no error message) * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 2868: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die; * * If you need support, post the output of 'emerge --info =x11-libs/xosd-2.2.14-r1', * the complete build log and the output of 'emerge -pqv =x11-libs/xosd-2.2.14-r1'. * The complete build log is located at '/var/log/portage/x11-libs:xosd-2.2.14-r1:20100709-210800.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/xosd-2.2.14-r1/temp/environment'. * S: '/var/tmp/portage/x11-libs/xosd-2.2.14-r1/work/xosd-2.2.14' Expected Results: the application should have installed
Created attachment 238167 [details] emerge info, build log
emerge --info doesn't seem to fit here > 16k attached it
Confirmed, the same problem here (amd64)
Things are getting dangerous: I'm doing fresh install on amd64 and I can see the same error while installing yet another library: dev-games/cegui-0.6.2b, something is wrong with currently shipped build system as I'm having all this stuff installed on other machines!
The same goes to gnome-extra/libgda-4.1.0, at install stage it cannot write /var/tmp/portage/gnome-extra/libgda-4.1.0/image//usr/include/libgda-4.0/libgda/gda-marshal.h due to exactly the same error
After syncing portage tree I could reproduce this libgda-4.1.0 error on well settled x86 gentoo machine, it is first time I'm seeing such an error on this so-far-well-behaving gentoo installation!
The problem seems to be a wrong call to /usr/bin/install, in it the offending files appear twice in the call prior to the error: /usr/bin/install -c -m 644 xosd_display.3 xosd_hide.3 xosd_is_onscreen.3 xosd_set_vertical_offset.3 xosd_set_pos.3 xosd_set_shadow_offset.3 xosd_show.3 xosd_uninit.3 xosd.3 xosd_get_number_lines.3 xosd_set_align.3 xosd_create.3 xosd_set_horizontal_offset.3 xosd_destroy.3 xosd_create.3 xosd_is_onscreen.3 xosd_set_bar_length.3 '/var/tmp/portage/x11-libs/xosd-2.2.14-r1/image//usr/share/man/man3'
Created attachment 238201 [details, diff] Patch for xosd This patch solved the problem with xosd for me.
(In reply to comment #4) > Things are getting dangerous: I'm doing fresh install on amd64 and I can see > the same error while installing yet another library: dev-games/cegui-0.6.2b, > something is wrong with currently shipped build system as I'm having all this > stuff installed on other machines! > I wouldn't necessarily blame "our" build system. Packages that have problems (including xosd) have wrong makefiles (same files are mentioned twice...thus install tries to install them twice). Older versions probably ignored this error and now it came up... I will commit Marcus's patch shortly
sci-chemistry/gromacs-4.0.5 - one more broken the same way
The latest stable sci-chemistry/gromacs-4.0.7-r4 merges just fine. I will look into the other cases and try to post some patches.
Created attachment 238295 [details, diff] This patch solves the problem for cegui
Created attachment 238305 [details, diff] This patch solves the problem for gromacs-4.0.5
The patch for gromacs-4.0.5 solves the problem for gromacs-4.0.4 too. The other gromacs versions are not affected. With libgda it's a bit more difficult, since the Makefile.am is more sophisticated.
One more notice for now: The only affected version of libgda is 4.1.0, so current unstable and all other slots are fine. I'll try to post a patch later on.
Created attachment 238311 [details, diff] This patch solves the problem for libgda-4.1.0 The first part is a bit hacky, but I didn't see another way, since all occurrences of gda-marshal.h seem to be necessary. Is this an acceptable way to solve it?
Please file separate bugs against cegui/gromacs/libgda (if they don't already exist). Your patches will get lost here because maintainers of cegui/gromacs/libgda will never see them.