Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 866371

Summary: dev-util/meson-0.62.2: fails to build elogind during the configuration procedure
Product: Gentoo Linux Reporter: abanoub <abrayad07>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my emerge --info and the build log of the failed emerge of elogind

Description abanoub 2022-08-24 17:53:49 UTC
Created attachment 800833 [details]
my emerge --info and the build log of the failed emerge of elogind

(this is my first time reporting a bug in my life, not just for Gentoo, so apologies for any slip-ups on my end)

title says it all, I already have elogind built, but when I try to build it again it fails during the configuration procedure. the reason why I am reporting this though is because when it fails, at the end of the error message, it reports this message

   
meson.build:82:8: ERROR: Unhandled python exception

    This is a Meson bug and should be reported!

additionally I've attached the output of emerge --info and the full build log below.
Comment 1 Mike Gilbert gentoo-dev 2022-08-24 19:51:29 UTC
From the build log:

OSError: [Errno 8] Exec format error: '/usr/local/bin/test'

I would guess you have placed some bogus file at /usr/local/bin/test.
Comment 2 Mike Gilbert gentoo-dev 2022-08-24 19:56:18 UTC
meson.build calls run_command('test', ...) in several places.

This searches for "test" in PATH, and it finds /usr/local/bin/test.

Please remove /usr/local/bin/test.
Comment 3 abanoub 2022-08-25 14:46:20 UTC
(In reply to Mike Gilbert from comment #1)
> From the build log:
> 
> OSError: [Errno 8] Exec format error: '/usr/local/bin/test'
> 
> I would guess you have placed some bogus file at /usr/local/bin/test.

urns out you were right and I did have a file in /usr/local/bin/test, I deleted it and it works now, sorry for wasting your time, but thank you.

PS. I marked as fixed
Comment 4 Mike Gilbert gentoo-dev 2022-08-25 14:59:59 UTC
User misconfiguration == INVALID.
Comment 5 abanoub 2022-08-26 02:29:03 UTC
(In reply to Mike Gilbert from comment #4)
> User misconfiguration == INVALID.

well can I at least delete it?