Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751505 - net-wireless/gnuradio-3.8.1.0-r2: ..image/usr/lib’: No such file or directory
Summary: net-wireless/gnuradio-3.8.1.0-r2: ..image/usr/lib’: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-27 21:28 UTC by René Kjellerup
Modified: 2020-12-17 16:50 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge_info,7.12 KB, text/plain)
2020-10-27 21:28 UTC, René Kjellerup
Details
build.log.gz (build.log.gz,80.66 KB, application/gzip)
2020-10-29 02:03 UTC, René Kjellerup
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Kjellerup 2020-10-27 21:28:22 UTC
Created attachment 668837 [details]
emerge --info

the build fails just after installation to the sandbox env in a clean up step

this seems to affect both net-wireless/gnuradio-3.8.1.0-r2 and net-wireless/gnuradio-3.8.2.0

 * Fixing shebang in /usr/lib64/python3.6/site-packages/gnuradio/qtgui/util.py.
 * Fixing shebang in /usr/lib64/python3.6/site-packages/gnuradio/uhd/uhd_siggen_base.py.
 * Fixing shebang in /usr/lib64/python3.6/site-packages/gnuradio/uhd/uhd_app.py.
 * Fixing shebang in /usr/lib64/python3.6/site-packages/gnuradio/plot_fft_base.py.
 * Fixing shebang in /usr/lib64/python3.6/site-packages/gnuradio/plot_psd_base.py.
 * Fixing shebang in /usr/lib64/python3.6/site-packages/gnuradio/vocoder/cvsd.py.
...
find: ‘/var/tmp/portage/net-wireless/gnuradio-3.8.1.0-r2/image/usr/lib’: No such file or directory
 * ERROR: net-wireless/gnuradio-3.8.1.0-r2::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_install
 *   environment, line 3659:  Called die
 * The specific snippet of code:
 *       find "${ED}"/usr/lib -name "*.py[co]" -exec rm {} \; || die;
 * 

/usr/lib doesn't seem to be used at all and thus the clean up fails


find: ‘/var/tmp/portage/net-wireless/gnuradio-3.8.2.0/image/usr/lib’: No such file or directory
 * ERROR: net-wireless/gnuradio-3.8.2.0::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_install
 *   environment, line 3658:  Called die
 * The specific snippet of code:
 *       find "${ED}"/usr/lib -name "*.py[co]" -exec rm {} \; || die;
Comment 1 René Kjellerup 2020-10-27 23:23:31 UTC
as a workaround

--- gnuradio-3.8.2.0-r1.ebuild	2020-10-27 16:06:33.727861022 -0700
+++ /usr/portage/net-wireless/gnuradio/gnuradio-3.8.2.0.ebuild	2020-09-21 12:09:18.000000000 -0700
@@ -202,7 +202,7 @@
 
 	python_fix_shebang "${ED}"
 	# Remove incorrectly byte-compiled Python files and replace
-	find "${ED}"/usr/lib* -name "*.py[co]" -exec rm {} \; || die
+	find "${ED}"/usr/lib -name "*.py[co]" -exec rm {} \; || die
 	python_optimize
 }

this minor change allowed 3.8.2.0 to be installed without any issues
Comment 2 René Kjellerup 2020-10-29 02:03:59 UTC
Created attachment 669032 [details]
build.log.gz

Adding build log
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2020-12-17 16:50:41 UTC
I can't replicate in either 17.0 or 17.1 profiles.  please reopen if I didn't fix it.