pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49817: math/py-rpy 2.3.0 doesn't build on amd64 7.99.4



>Number:         49817
>Category:       pkg
>Synopsis:       math/py-rpy 2.3.0 doesn't build on amd64 7.99.4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 06 11:35:00 +0000 2015
>Originator:     Alexxander Nasonov
>Release:        amd64 7.99.4, pkgsrc-current
>Organization:
>Environment:
NetBSD nebeda.localdomain 7.99.4 NetBSD 7.99.4 (GENERIC) #0: Fri Feb 13 15:49:35 GMT 2015  root@nebeda.localdomain:/home/alnsn/netbsd-current/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
It fails with
ValueError: Invalid substring
-fopenmp
>How-To-Repeat:
$ cd math/py-rpy
$ make
...
running build_ext
Traceback (most recent call last):
  File "setup.py", line 463, in <module>
    'rpy2': ['doc/source/rpy2_logo.png', ]}
  File "/usr/pkg/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/pkg/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/pkg/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/pkg/lib/python2.7/distutils/command/build.py", line 127, in run
    self.run_command(cmd_name)
  File "/usr/pkg/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/pkg/lib/python2.7/distutils/dist.py", line 971, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/pkg/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
    self.finalize_options()
  File "setup.py", line 163, in finalize_options
    config += get_rconfig(r_home, about)
  File "setup.py", line 333, in get_rconfig
    rc = RConfig.from_string(rconfig, allow_empty = allow_empty)
  File "setup.py", line 293, in from_string
    + '\nin string\n' + string)
ValueError: Invalid substring
-fopenmp
in string
-Wl,-export-dynamic -fopenmp -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib/R/lib -L/us
r/pkg/lib/R/lib -lR -lpcre -llzma -lbz2 -lrt -lm -liconv
*** Error code 1

>Fix:
Update to 2.3.10. This version can be downloaded from a different site: https://pypi.python.org/pypi/rpy2/2.3.10. There are some discrepancies in PLIST.





Home | Main Index | Thread Index | Old Index