Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693434 - dev-libs/libwacom-1.0: /usr/bin/install: will not overwrite just-created '/var/tmp/portage/dev-libs/libwacom-1.0/image/usr/share/libwacom/intuos-6x8.tablet' with 'foo/intuos-6x8.tablet'
Summary: dev-libs/libwacom-1.0: /usr/bin/install: will not overwrite just-created '/va...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 694300 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-03 17:49 UTC by Jorge Nerin
Modified: 2019-09-15 08:24 UTC (History)
3 users (show)

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


Attachments
/var/tmp/portage/dev-libs/libwacom-1.0/temp/build.log (build.log,36.39 KB, text/plain)
2019-09-03 17:49 UTC, Jorge Nerin
Details
emerge --info output (emerge-info.txt,20.00 KB, text/plain)
2019-09-03 17:50 UTC, Jorge Nerin
Details
libwacom-1.0-r1.ebuild (libwacom-1.0-r1.ebuild,992 bytes, text/plain)
2019-09-14 23:38 UTC, Joshua Clayton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Nerin 2019-09-03 17:49:03 UTC
Created attachment 589006 [details]
/var/tmp/portage/dev-libs/libwacom-1.0/temp/build.log

Emerge of libwacom-1.0 fails with this errors on the build.log:

/usr/bin/install: will not overwrite just-created '/var/tmp/portage/dev-libs/libwacom-1.0/image/usr/share/libwacom/intuos-6x8.tablet' with 'foo/intuos-6x8.tablet'
/usr/bin/install: will not overwrite just-created '/var/tmp/portage/dev-libs/libwacom-1.0/image/usr/share/libwacom/isdv4-100.tablet' with 'foo/isdv4-100.tablet'
/usr/bin/install: will not overwrite just-created '/var/tmp/portage/dev-libs/libwacom-1.0/image/usr/share/libwacom/intuos3-4x5.tablet' with 'foo/intuos3-4x5.tablet'
/usr/bin/install: will not overwrite just-created '/var/tmp/portage/dev-libs/libwacom-1.0/image/usr/share/libwacom/isdv4-4807.tablet' with 'foo/isdv4-4807.tablet'
/usr/bin/install: will not overwrite just-created '/var/tmp/portage/dev-libs/libwacom-1.0/image/usr/share/libwacom/bamboo-4fg-se-m-pt.tablet' with 'foo/bamboo-4fg-se-m-pt.tablet'
make[3]: *** [Makefile:597: install-dist_libwacomtabletDATA] Error 1
Comment 1 Jorge Nerin 2019-09-03 17:50:25 UTC
Created attachment 589008 [details]
emerge --info output
Comment 2 Joshua Clayton 2019-09-14 23:31:52 UTC
The build fails due to an extra directory data/foo, which is in the tarball, but is not in the github repository sources.
I can only imagine it was accidentally included.

I've submitted an upstream issue here https://github.com/linuxwacom/libwacom/issues/157
And I'll be posting a working ebuild, which just deletes the erroneous subdirectory
Comment 3 Joshua Clayton 2019-09-14 23:38:36 UTC
Created attachment 589856 [details]
libwacom-1.0-r1.ebuild

ebuild which fixes build problem
Comment 4 Andreas Sturmlechner gentoo-dev 2019-09-15 08:09:30 UTC
*** Bug 694300 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2019-09-15 08:24:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a835c0f574b84a9607905045d238212a75514d

commit 68a835c0f574b84a9607905045d238212a75514d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-09-15 08:21:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-09-15 08:23:45 +0000

    dev-libs/libwacom: Fix install phase, drop duplicated dir
    
    Thanks-to: Joshua Clayton <stillcompiling@gmail.com>
    Closes: https://bugs.gentoo.org/693434
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/libwacom/libwacom-1.0.ebuild | 1 +
 1 file changed, 1 insertion(+)