Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909647 - net-wireless/urh-2.9.4 build fails with AttributeError
Summary: net-wireless/urh-2.9.4 build fails with AttributeError
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-04 19:36 UTC by hangglider
Modified: 2023-08-21 13:09 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,47.11 KB, text/x-log)
2023-07-04 19:38 UTC, hangglider
Details
emerge --info (emerge-info,7.80 KB, text/plain)
2023-07-04 20:27 UTC, hangglider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hangglider 2023-07-04 19:36:43 UTC
Trying to emerge net-wireless/urh-2.9.4 leads to error. See build.log.

Reproducible: Always

Steps to Reproduce:
1. emerge net-wireless/urh

Even downgrading from dev-python/setuptools-68.0.0 to dev-python/setuptools-67.8.0 doesn't work.
Actual Results:  
...
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()                                                                           
  File "<string>", line 53, in finalize_options                                                       
AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__'                                      
 * ERROR: net-wireless/urh-2.9.4::gentoo failed (compile phase):                       
 *   Wheel build failed

Expected Results:  
Have urh installed
Comment 1 hangglider 2023-07-04 19:38:03 UTC
Created attachment 865143 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-04 20:25:09 UTC
Please include emerge --info.
Comment 3 hangglider 2023-07-04 20:27:36 UTC
Created attachment 865144 [details]
emerge --info
Comment 4 optiluca@gmail.com 2023-07-15 16:03:21 UTC
Just bumped into the exact same issue.
Comment 5 ea3hqj 2023-08-20 11:47:31 UTC
Hi , I also bumped a few weeks ago,  into the exact same issue. (already reported through pentoo discord to Rick -Zero_chaos) .

I also tried , just as a test , to download the previous old urh-2.9.3.ebuild  in my local overlays,and create his Manifest ,  but emerging it , it  requested to select the previous python 3.10 , bu although I temporary did it , it also did not work to me.


So, no real progress,  I would appreciate if any more advanced and skilled gentoo  developper, can support to the community ,recovering again that great tool , 
 urh-2.9.4 . thanks,
Comment 6 Larry the Git Cow gentoo-dev 2023-08-21 00:51:18 UTC
The bug has been closed via the following commit(s):

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

commit 7f77e7cfc04dfa30f9b1f5a3697a7728a857e377
Author:     Rick Farina <zerochaos@gentoo.org>
AuthorDate: 2023-08-21 00:50:37 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2023-08-21 00:51:08 +0000

    net-wireless/urh: fix AttributeError build error
    
    Closes: https://bugs.gentoo.org/909647
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 net-wireless/urh/files/urh-2.9.4-no-numpy-setup.patch | 11 +++++++++++
 net-wireless/urh/urh-2.9.4.ebuild                     |  6 ++++--
 net-wireless/urh/urh-9999.ebuild                      |  6 ++++--
 3 files changed, 19 insertions(+), 4 deletions(-)
Comment 7 Rick Farina (Zero_Chaos) gentoo-dev 2023-08-21 00:52:06 UTC
Sorry that took a while.  I've been sitting on this fix because it didn't work on my computer for some reason.  I finally got access to a working system and confirmed this fix works.
Comment 8 ea3hqj 2023-08-21 13:09:59 UTC
Hello , Larry the Git Cow  and Rick (Zero_chaos) (and all) ,
thanks for so quick support and reaction.

I just re-sync and update  my pentoo system , and I can confirm you,  that now we can emerge urh  withouth any problem !!!!. 
Very happy ,  we have back URH-2.9.4  ,  thanks a lot for your great support ! 

Cheers,