Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327645 - x11-libs/xosd-2.2.14-r1 fails to install
Summary: x11-libs/xosd-2.2.14-r1 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stanislav Ochotnicky (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-8.4
  Show dependency tree
 
Reported: 2010-07-09 21:23 UTC by Gabriel Homeier
Modified: 2010-07-12 18:44 UTC (History)
0 users

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


Attachments
emerge info, build log (xosd.log,40.25 KB, text/plain)
2010-07-09 21:24 UTC, Gabriel Homeier
Details
Patch for xosd (xosd-2.2.14-makefile.patch,480 bytes, patch)
2010-07-10 08:53 UTC, Markus Walter
Details | Diff
This patch solves the problem for cegui (cegui-0.6.2b-makefile.patch,488 bytes, patch)
2010-07-11 11:23 UTC, Markus Walter
Details | Diff
This patch solves the problem for gromacs-4.0.5 (gromacs-4.0.5-makefile.patch,351 bytes, patch)
2010-07-11 11:53 UTC, Markus Walter
Details | Diff
This patch solves the problem for libgda-4.1.0 (libgda-4.1.0-makefile.patch,841 bytes, patch)
2010-07-11 13:02 UTC, Markus Walter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Homeier 2010-07-09 21:23:20 UTC
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
Comment 1 Gabriel Homeier 2010-07-09 21:24:42 UTC
Created attachment 238167 [details]
emerge info, build log
Comment 2 Gabriel Homeier 2010-07-09 21:25:31 UTC
emerge --info doesn't seem to fit here > 16k
attached it
Comment 3 Paul Osmialowski 2010-07-09 22:00:27 UTC
Confirmed, the same problem here (amd64)
Comment 4 Paul Osmialowski 2010-07-09 22:16:33 UTC
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!
Comment 5 Paul Osmialowski 2010-07-10 08:03:51 UTC
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
Comment 6 Paul Osmialowski 2010-07-10 08:25:56 UTC
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!
Comment 7 Markus Walter 2010-07-10 08:32:47 UTC
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'
Comment 8 Markus Walter 2010-07-10 08:53:14 UTC
Created attachment 238201 [details, diff]
Patch for xosd

This patch solved the problem with xosd for me.
Comment 9 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-07-10 13:33:36 UTC
(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
Comment 10 Paul Osmialowski 2010-07-11 10:07:56 UTC
sci-chemistry/gromacs-4.0.5 - one more broken the same way
Comment 11 Markus Walter 2010-07-11 11:12:13 UTC
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.
Comment 12 Markus Walter 2010-07-11 11:23:32 UTC
Created attachment 238295 [details, diff]
This patch solves the problem for cegui
Comment 13 Markus Walter 2010-07-11 11:53:10 UTC
Created attachment 238305 [details, diff]
This patch solves the problem for gromacs-4.0.5
Comment 14 Markus Walter 2010-07-11 12:06:47 UTC
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.
Comment 15 Markus Walter 2010-07-11 12:12:34 UTC
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.
Comment 16 Markus Walter 2010-07-11 13:02:50 UTC
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?
Comment 17 Stanislav Ochotnicky (RETIRED) gentoo-dev 2010-07-11 14:21:24 UTC
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.