New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32268 (closed defect: fixed)

Opened 18 months ago

Last modified 7 months ago

py26-pynifti failed to build with clang

Reported by: william1121@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc:
Port: py26-pynifti

Description

I don't quite understand why, therefore I attached .log file

a little bit urgent...

Thanks for help in advance

Attachments

main.log (37.7 KB) - added by william1121@… 18 months ago.

Change History

Changed 18 months ago by william1121@…

comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 18 months ago by nonstop.server@…

Replying to william1121@…:

I don't quite understand why, therefore I attached .log file

a little bit urgent...

Thanks for help in advance

You can try to use a different compiler instead of clang.
How to do that is described in the Problem Hotlist of the MacPorts Wiki.

comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 18 months ago by william1121@…

Replying to nonstop.server@…:

Replying to william1121@…:

I don't quite understand why, therefore I attached .log file

a little bit urgent...

Thanks for help in advance

You can try to use a different compiler instead of clang.
How to do that is described in the Problem Hotlist of the MacPorts Wiki.

limatoMac-Pro:~ li$ sudo port install foo configure.compiler=llvm-gcc-4.2
Error: Port foo not found
To report a bug, see <http://guide.macports.org/#project.tickets>

It seems that I cannot find foo?

comment:3 in reply to: ↑ 2 Changed 18 months ago by nonstop.server@…

Replying to william1121@…:

limatoMac-Pro:~ li$ sudo port install foo configure.compiler=llvm-gcc-4.2 Error: Port foo not found To report a bug, see <http://guide.macports.org/#project.tickets>

It seems that I cannot find foo?

Instead of foo you need to enter the port you want to install, in this case py26-pynifti.
e.g.,

sudo port clean py26-pynifti
sudo port install py26-pynifti configure.compiler=llvm-gcc-4.2

comment:4 follow-up: ↓ 6 Changed 18 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to jameskyle@…
  • Priority changed from High to Normal
  • Port set to py26-pynifti

In the future, please fill in the Port field, Cc the maintainer(s) and leave the priority field to be set by Macports committers.

comment:5 Changed 18 months ago by ryandesign@…

  • Keywords clang added
  • Summary changed from failed to install py26-pynifti to py26-pynifti failed to build with clang

comment:6 in reply to: ↑ 4 ; follow-up: ↓ 7 Changed 18 months ago by william1121@…

Replying to macsforever2000@…:

In the future, please fill in the Port field, Cc the maintainer(s) and leave the priority field to be set by Macports committers.

Oh. OK, I'll pay attention in the future. Thanks for your help and sorry for my mistakes

comment:7 in reply to: ↑ 6 Changed 16 months ago by grid-admin@…

Replying to william1121@…:

Replying to macsforever2000@…:

In the future, please fill in the Port field, Cc the maintainer(s) and leave the priority field to be set by Macports committers.

Oh. OK, I'll pay attention in the future. Thanks for your help and sorry for my mistakes

The package is still broken.

Here is a patch, I will try to submit this to upstream as well:

 --- setup.py    2012-02-10 17:42:10.000000000 +0100
 +++ setup_fixed.py      2012-02-10 17:42:32.000000000 +0100
 @@ -21,7 +21,7 @@
  # Common configuration #
  ########################
  
 -extra_link_args = ['--Wl,--no-undefined']
 +extra_link_args = ['-Wl','-no-undefined']
  include_dirs = []
  library_dirs = []
  defines = []

cheers

comment:8 Changed 11 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

comment:9 Changed 7 months ago by ryandesign@…

This didn't fix it; see #35443.

Note: See TracTickets for help on using tickets.