Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553170 - cross-i686-w64-mingw32/mingw64-runtime-3.2.0-r1 sometimes fails to build
Summary: cross-i686-w64-mingw32/mingw64-runtime-3.2.0-r1 sometimes fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 17:05 UTC by smkbot
Modified: 2016-06-02 15:36 UTC (History)
2 users (show)

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


Attachments
cross-i686-w64-mingw32-mingw64-runtime-headers.log (cross-i686-w64-mingw32-mingw64-runtime-headers.log,42.81 KB, text/x-log)
2015-06-24 17:05 UTC, smkbot
Details
cross-i686-w64-mingw32-info.log (cross-i686-w64-mingw32-info.log,15.62 KB, text/x-log)
2015-06-24 17:05 UTC, smkbot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description smkbot 2015-06-24 17:05:04 UTC
Created attachment 405692 [details]
cross-i686-w64-mingw32-mingw64-runtime-headers.log

Using crossdev (crossdev -v -t i686-w64-mingw32), cross-i686-w64-mingw32/mingw64-runtime-3.2.0-r1 sometimes fails to build. However, if I just run crossdev again, it builds and installs successfully.

The log is attached, but there's no obvious error. make just suddenly decides "Makefile:907: recipe for target 'install-am' failed" with no further explanation.
Comment 1 smkbot 2015-06-24 17:05:19 UTC
Created attachment 405694 [details]
cross-i686-w64-mingw32-info.log
Comment 2 smkbot 2015-06-24 20:09:02 UTC
The root of the error seems to be here:



 /bin/mkdir -p '/var/tmp/portage/cross-i686-w64-mingw32/mingw64-runtime-3.2.0-r1/image//usr/i686-w64-mingw32/usr/include'
 /usr/bin/install -c -m 644 ./include/adsnms.h ./include/adsprop.h ./include/adssts.h ./include/adtgen.h ./include/advpub.h ./include/af_irda.h ./include/afxres.h ./include/agtctl.h ./include/agterr.h ./include/agtsvr.h ./include/apdevpkey.h ./include/apisetcconv.h ./include/apiset.h ./include/appmgmt.h ./include/aqadmtyp.h ./include/asptlb.h ./include/atacct.h ./include/atalkwsh.h ./include/atsmedia.h ./include/audevcod.h ./include/audioapotypes.h ./include/audioclient.h ./include/audioendpoints.h ./include/audioengineendpoint.h ./include/audiopolicy.h ./include/audiosessiontypes.h ./include/authif.h ./include/authz.h ./include/aux_ulib.h ./include/avifmt.h ./include/aviriff.h ./include/avrfsdk.h ./include/avrt.h ./include/axextendenums.h ./include/azroles.h ./include/basetsd.h ./include/basetyps.h ./include/batclass.h ./include/bcrypt.h ./include/bdaiface.h '/var/tmp/portage/cross-i686-w64-mingw32/mingw64-runtime-3.2.0-r1/image//usr/i686-w64-mingw32/usr/include'
 /usr/bin/install -c -m 644 ./direct-x/include/amaudio.h ./direct-x/include/amstream.h ./direct-x/include/amstream.idl ./direct-x/include/amvideo.h ./direct-x/include/amvideo.idl ./direct-x/include/audevcod.h ./direct-x/include/austream.h ./direct-x/include/austream.idl ./direct-x/include/d3d10_1.h ./direct-x/include/d3d10_1.idl ./direct-x/include/d3d10_1shader.h ./direct-x/include/d3d10effect.h ./direct-x/include/d3d10.h ./direct-x/include/d3d10.idl ./direct-x/include/d3d10misc.h ./direct-x/include/d3d10shader.h ./direct-x/include/d3d11.h ./direct-x/include/d3d11.idl ./direct-x/include/d3d11shader.h ./direct-x/include/d3d8caps.h ./direct-x/include/d3d8.h ./direct-x/include/d3d8types.h ./direct-x/include/d3d9caps.h ./direct-x/include/d3d9.h ./direct-x/include/d3d9types.h ./direct-x/include/d3dcaps.h ./direct-x/include/d3dcommon.h ./direct-x/include/d3dcommon.idl ./direct-x/include/d3dcompiler.h ./direct-x/include/d3d.h ./direct-x/include/d3dhal.h ./direct-x/include/d3drmdef.h ./direct-x/include/d3drm.h ./direct-x/include/d3drmobj.h ./direct-x/include/d3dtypes.h ./direct-x/include/d3dvec.inl ./direct-x/include/d3dx9anim.h ./direct-x/include/d3dx9core.h ./direct-x/include/d3dx9effect.h ./direct-x/include/d3dx9.h '/var/tmp/portage/cross-i686-w64-mingw32/mingw64-runtime-3.2.0-r1/image//usr/i686-w64-mingw32/usr/include'
/usr/bin/install: cannot create regular file ‘/var/tmp/portage/cross-i686-w64-mingw32/mingw64-runtime-3.2.0-r1/image//usr/i686-w64-mingw32/usr/include/audevcod.h’: File exists
Comment 3 smkbot 2015-06-24 20:09:28 UTC
(audevcod.h is getting put into the install directory's /usr/include twice)
Comment 4 SpanKY gentoo-dev 2015-08-14 06:44:47 UTC
i don't suppose you can try 4.0.1 ?
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2015-08-14 07:54:06 UTC
this is strange, install should not fail if overwrite.

I tried it with my own install and it overwrites.

I know portage has some wrapper, but I do not see it is being used here.
Comment 6 SpanKY gentoo-dev 2016-06-02 15:36:05 UTC
assuming 4.0.4 fixes things