Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948418 - sys-power/apcupsd-3.14.14-r3 fails to compile: install-xattr: failed to stat apcupsd: No such file or directory
Summary: sys-power/apcupsd-3.14.14-r3 fails to compile: install-xattr: failed to stat ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John Einar Reitan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-19 21:23 UTC by Agostino Sarubbo
Modified: 2025-02-18 02:37 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,131.45 KB, text/plain)
2025-01-19 21:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2025-01-19 21:23:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-power/apcupsd-3.14.14-r3 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2025-01-19 21:23:15 UTC
Created attachment 917108 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2025-01-19 21:23:15 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


install-xattr: failed to stat /var/tmp/portage/sys-power/apcupsd-3.14.14-r3/image/sbin/apcupsd: No such file or directory
/usr/bin/install: target '/var/tmp/portage/sys-power/apcupsd-3.14.14-r3/image/sbin/apcupsd': No such file or directory
Comment 3 Agostino Sarubbo gentoo-dev 2025-01-19 21:30:06 UTC
I think this is a native-symlink issue, but it's not clear on what binary
Comment 4 Conrad Kostecki gentoo-dev 2025-01-19 21:41:28 UTC
Any idea, how to reproduce that? I am not able to do so.

@sam: ideas?
Comment 5 Agostino Sarubbo gentoo-dev 2025-01-19 21:47:51 UTC
(In reply to Conrad Kostecki from comment #4)
> Any idea, how to reproduce that? I am not able to do so.
> 
> @sam: ideas?

USE="-native-symlink" emerge sys-devel/gcc-config sys-devel/binutils-config dev-lang/python-exec

then

emerge sys-power/apcupsd

Please do remember to set /etc/portage/profile/package.use.force:

 ~ $ cat /etc/portage/profile/package.use.force
sys-devel/gcc-config -native-symlinks
sys-devel/binutils-config -native-symlinks
dev-lang/python-exec -native-symlinks
Comment 6 Conrad Kostecki gentoo-dev 2025-01-19 22:18:49 UTC
(In reply to Agostino Sarubbo from comment #5)
> (In reply to Conrad Kostecki from comment #4)
> > Any idea, how to reproduce that? I am not able to do so.
> > 
> > @sam: ideas?
> 
> USE="-native-symlink" emerge sys-devel/gcc-config sys-devel/binutils-config
> dev-lang/python-exec
> 
> then
> 
> emerge sys-power/apcupsd
> 
> Please do remember to set /etc/portage/profile/package.use.force:
> 
>  ~ $ cat /etc/portage/profile/package.use.force
> sys-devel/gcc-config -native-symlinks
> sys-devel/binutils-config -native-symlinks
> dev-lang/python-exec -native-symlinks

I am not able to reproduce :-/

Recompiled all three packages with USE="-native-symlinks" and still compilation works..
Comment 7 Conrad Kostecki gentoo-dev 2025-01-19 22:23:28 UTC
A very stupid idea: Could be this caused by configure?
There is definied --sbindir=/sbin (without EPREFIX)

I have removed this in upcoming ebuild revision, since it's not needed. But could be cause this?
Comment 8 Conrad Kostecki gentoo-dev 2025-02-18 02:35:12 UTC
Will close, please re-test with -r4, as -r3 is now gone.
Comment 9 Larry the Git Cow gentoo-dev 2025-02-18 02:37:54 UTC
The bug has been closed via the following commit(s):

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

commit ff458e121b5a8093c1c63f0caa3f21478dc34854
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2025-02-18 02:37:27 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2025-02-18 02:37:42 +0000

    sys-power/apcupsd: drop 3.14.14-r3
    
    Closes: https://bugs.gentoo.org/948418
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 sys-power/apcupsd/apcupsd-3.14.14-r3.ebuild    | 158 -------------------------
 sys-power/apcupsd/files/apcupsd.powerfail.init |  17 ---
 2 files changed, 175 deletions(-)