View previous topic :: View next topic |
Author |
Message |
f1tz Tux's lil' helper

Joined: 27 Aug 2020 Posts: 77
|
Posted: Mon Sep 28, 2020 11:39 am Post subject: [SOLVED]Emerge error: cannot create directory, file exists |
|
|
EDIT: The overlay has fixed the issue (cmake installs libraries by itself since lately).
Hello Gentoo people,
Emerging "ydotool" from pg_overlay (http://gpo.zugaina.org/gui-apps/ydotool) results in the following error:
Code: |
-- Installing: /var/tmp/portage/gui-apps/ydotool-9999/image/usr/lib64/libydotool.so
-- Installing: /var/tmp/portage/gui-apps/ydotool-9999/image/usr/bin/ydotoold
-- Set runtime path of "/var/tmp/portage/gui-apps/ydotool-9999/image/usr/bin/ydotoold" to ""
-- Installing: /var/tmp/portage/gui-apps/ydotool-9999/image/usr/bin/ydotool
-- Set runtime path of "/var/tmp/portage/gui-apps/ydotool-9999/image/usr/bin/ydotool" to ""
mkdir: cannot create directory '/var/tmp/portage/gui-apps/ydotool-9999/image/usr/lib64': File exists
mv: cannot stat '/var/tmp/portage/gui-apps/ydotool-9999/image/usr/bin/libydotool.so': No such file or directory
* ERROR: gui-apps/ydotool-9999::pg_overlay failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 125: Called src_install
* environment, line 2572: Called die
* The specific snippet of code:
* mv ${D}/usr/bin/libydotool.so ${D}/usr/$(get_libdir)/ || die
*
* If you need support, post the output of 'emerge --info '=gui-apps/ydotool-9999::pg_overlay' |
package.accept:
Code: | gui-apps/ydotool* **
dev-libs/libevdevplus ~amd64
dev-libs/libuinputplus ~amd64 |
package.accept:
Code: | gui-apps/ydotool* **
dev-libs/libevdevplus ~amd64
dev-libs/libuinputplus ~amd64 |
output of emerge -pqv '=gui-apps/ydotool-9999::pg_overlay'
https://dpaste.com/3HGP7WGHD
output of emerge --info '=gui-apps/ydotool-9999::pg_overlay':
https://dpaste.com/F53X2AGPJ
build.log
https://dpaste.com/4ALCD4XXH
Ebuild environment from /var/tmp/portage/gui-apps/ydotool-9999/temp/environment:
https://dpaste.com/CG9KTE83X
Any idea where this error might come from?
Thanks for support.
f1tz
Last edited by f1tz on Wed Sep 30, 2020 5:06 pm; edited 2 times in total |
|
Back to top |
|
 |
fedeliallalinea Moderator


Joined: 08 Mar 2003 Posts: 25793 Location: here
|
Posted: Mon Sep 28, 2020 11:56 am Post subject: |
|
|
You can post tree /var/tmp/portage/gui-apps/ydotool-9999/image/ output _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
xaviermiller Bodhisattva


Joined: 23 Jul 2004 Posts: 8632 Location: ~Brussels - Belgique
|
Posted: Mon Sep 28, 2020 12:05 pm Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
 |
f1tz Tux's lil' helper

Joined: 27 Aug 2020 Posts: 77
|
Posted: Mon Sep 28, 2020 2:39 pm Post subject: Emerge error: cannot create directory, file exists |
|
|
Good evening,
Compilation of ydotools from pg_overlay (http://gpo.zugaina.org/gui-apps/ydotool) results in the following error:
Quote: |
mkdir: cannot create directory ‘/var/tmp/portage/gui-apps/ydotool-9999/image/usr/lib64’: File exists
mv: cannot stat '/var/tmp/portage/gui-apps/ydotool-9999/image/usr/bin/libydotool.so': No such file or directory
ERROR: gui-apps/ydotool-9999::pg_overlay failed (install phase):
(no error message)
Call stack:
ebuild.sh, line 125: Called src_install
environment, line 2572: Called die
The specific snippet of code:
mv ${D}/usr/bin/libydotool.so ${D}/usr/$(get_libdir)/ || die
If you need support, post the output of 'emerge --info '=gui-apps/ydotool-9999::pg_overlay' |
package.accept:
gui-apps/ydotool* **
dev-libs/libevdevplus ~amd64
dev-libs/libuinputplus ~amd64
output of emerge -pqv '=gui-apps/ydotool-9999::pg_overlay'
Quote: | [ebuild N ] gui-apps/ydotool-9999 |
output of emerge --info '=gui-apps/ydotool-9999::pg_overlay':
https://dpaste.com/F53X2AGPJ
build.log
https://dpaste.com/4ALCD4XXH
Ebuild environment from /var/tmp/portage/gui-apps/ydotool-9999/temp/environment:
https://dpaste.com/CG9KTE83X
Any idea where this error comes from?
Thanks for support.
f1tz |
|
Back to top |
|
 |
fedeliallalinea Moderator


Joined: 08 Mar 2003 Posts: 25793 Location: here
|
Posted: Mon Sep 28, 2020 2:42 pm Post subject: |
|
|
[Moderator note: the immediately preceding post was originally posted as a separate duplicate thread in a different forum, and this post was made as a response to that duplicate thread. They were moved here to keep the conversation together. -Hu]
Your thread is moved in Unsupported Software forum _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
f1tz Tux's lil' helper

Joined: 27 Aug 2020 Posts: 77
|
Posted: Mon Sep 28, 2020 3:20 pm Post subject: |
|
|
Code: | /var/tmp/portage/gui-apps/ydotool-9999/image/
└── usr
├── bin
│ ├── ydotool
│ └── ydotoold
├── lib64
│ ├── libydotool.so -> libydotool.so.0
│ ├── libydotool.so.0 -> libydotool.so.0.1.5
│ └── libydotool.so.0.1.5
└── share
└── doc
└── ydotool-9999
└── README.md |
/var/tmp/portage/gui-apps/ydotool-9999/image/usr/bin/libydotool.so
Is it a a runtime env problem? This line looks like it adds "/usr/bin/libydotool.so" on top of "/var/tmp/portage/gui-apps/ydotool-9999/image/" instead of changing the directory to "usr/bin". |
|
Back to top |
|
 |
Ionen Veteran

Joined: 06 Dec 2018 Posts: 1763
|
Posted: Mon Sep 28, 2020 3:29 pm Post subject: |
|
|
Seems cmake installs libraries by itself (now?), so the `mkdir ${D}/usr/$(get_libdir)` that follows will fail and manually copying the library is unnecessary. Looks like a bug in the ebuild and should be reported to the overlay.
Edit: Tried it quick and removing the last two lines from src_install() yields a working ebuild that installs everything. |
|
Back to top |
|
 |
f1tz Tux's lil' helper

Joined: 27 Aug 2020 Posts: 77
|
Posted: Mon Sep 28, 2020 3:45 pm Post subject: |
|
|
i created an issue there.
Though it seems to be a known bug already. |
|
Back to top |
|
 |
|