Bug 240546 - comms/gnuradio: does not build
Summary: comms/gnuradio: does not build
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Diane Bruce
Depends on:
Blocks: 240534
  Show dependency treegraph
Reported: 2019-09-12 21:53 UTC by Walter Schwarzenfeld
Modified: 2019-12-01 21:20 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (hamradio)


Note You need to log in before you can comment on or make changes to this bug.
Description Walter Schwarzenfeld freebsd_triage 2019-09-12 21:53:36 UTC
Gnuradio fails to buld with:

===>   gnuradio- depends on file: /usr/local/lib/python2.7/site-packages/ephem/__init__.py - not found
*** Error code 1

make[1]: stopped in /usr/ports/comms/gnuradio
*** Error code 1
Comment 1 Walter Schwarzenfeld freebsd_triage 2019-09-12 21:56:59 UTC
Maybe, it is a FLAVOR problem with pyephem.
Comment 2 Diane Bruce freebsd_committer 2019-09-13 12:06:18 UTC
(In reply to Walter Schwarzenfeld from comment #1)

Agreed. It certainly does not show up in poudriere.
Comment 3 Diane Bruce freebsd_committer 2019-09-17 19:50:04 UTC
I am going to need more from you. What version OS? Does a pkg install gnuradio work for you? Build log? This is not showing up in poudriere...
Comment 4 Walter Schwarzenfeld freebsd_triage 2019-09-18 09:02:01 UTC
Last try was on 11.3.   In the meantime I have upgraded to 12.0 and have not tried again. I tried to build it with the port on 11.3

pkg install gnuradio:
pkg: No packages available to install matching 'gnuradio' have been found in the repositories.#

(The next days I have no time to try it again, maybe next week).
Comment 5 Walter Schwarzenfeld freebsd_triage 2019-09-18 09:11:23 UTC
                ${PYNUMPY} \
                ${PYTHON_SITELIBDIR}/yaml/__init__.py:devel/py-yaml@${PY_FLAVOR} \
                ${PYTHON_SITELIBDIR}/gi/__init__.py:devel/py-gobject3@${PY_FLAVOR} \
                ${PYTHON_SITELIBDIR}/cairo/__init__.py:graphics/py-cairo@${PY_FLAVOR} \
         ==>       ${PYTHON_SITELIBDIR}/ephem/__init__.py:astro/pyephem@${PY_FLAVOR} \
                ${PYTHON_SITELIBDIR}/mako/__init__.py:textproc/py-mako@${PY_FLAVOR} \
                ${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} \
                ${PYTHON_SITELIBDIR}/click/__init__.py:devel/py-click@${PY_FLAVOR} \

it is this line  in BUILD_DEPENDS

maybe, the problem is python
I have DEFAULT_VERSION+=python3=3.6
Comment 6 Walter Schwarzenfeld freebsd_triage 2019-09-18 09:14:22 UTC
It stops after scanning Makefile and exits before configure. So build.log makes no sense.
Comment 7 Walter Schwarzenfeld freebsd_triage 2019-09-19 20:30:39 UTC
Same result on 12.0:

===>  Staging for py27-pyephem-,1
===>   py27-pyephem-,1 depends on package: py27-setuptools>0 - found
===>   py27-pyephem-,1 depends on file: /usr/local/bin/python2.7 - found
===>   Generating temporary packing list
running install
running build
running install_egg_info
running egg_info
writing requirements to pyephem.egg-info/requires.txt
writing pyephem.egg-info/PKG-INFO
writing top-level names to pyephem.egg-info/top_level.txt
writing dependency_links to pyephem.egg-info/dependency_links.txt
reading manifest file 'pyephem.egg-info/SOURCES.txt'
writing manifest file 'pyephem.egg-info/SOURCES.txt'
Copying pyephem.egg-info to /ram/usr/ports/astro/pyephem/work-py27/stage/usr/local/lib/python2.7/site-packages/pyephem-
running install_scripts
writing list of installed files to '/ram/usr/ports/astro/pyephem/work-py27/.PLIST.pymodtmp'
====> Compressing man pages (compress-man)
===>  Installing for py27-pyephem-,1
===>  Checking if py27-pyephem is already installed
===>   Registering installation for py27-pyephem-,1 as automatic
Installing py27-pyephem-,1...
===>   gnuradio- depends on file: /usr/local/lib/python2.7/site-packages/ephem/__init__.py - not found
*** Error code 1

make[1]: stopped in /usr/ports/comms/gnuradio
*** Error code 1
Comment 8 Walter Schwarzenfeld freebsd_triage 2019-09-19 20:40:54 UTC
Added maintainer of pyephem to CC list.
Comment 9 Diane Bruce freebsd_committer 2019-09-21 18:33:37 UTC
(In reply to Walter Schwarzenfeld from comment #8)

see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240735
Comment 10 Yuri Victorovich freebsd_committer 2019-12-01 21:20:04 UTC
astro/pyephem has been discontinued and is merely a stub.
astro/ephem should be created instead.