Opened 8 years ago

Closed 8 years ago

#50017 closed defect (duplicate)

orpie: build fails with gsl-related error

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: SickTeddyBear, christian.halaszovich@…, kurthindenburg (Kurt Hindenburg)
Port: orpie

Description

Build fails at:

NE -DHAVE_FENV -g -O2" -c mlgsl_sf.c
:info:build mlgsl_sf.c:261:51: error: too many arguments to function call, expected 3, have 4
:info:build SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
:info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~

Attachments (2)

orpie.main.log.xz (4.1 KB) - added by macports@… 8 years ago.
patch-gsl-mgsl_sf.c.diff (610 bytes) - added by christian.halaszovich@… 8 years ago.
Sorry, the previous patch file was backwards, this one should work

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by macports@…

Attachment: orpie.main.log.xz added

comment:1 Changed 8 years ago by macports@…

oops, that line got cut off:

:info:build cd gsl && ocamlc.opt -ccopt "-I/opt/local/include -I/opt/local/include -pipe -Os -arch x86_64 -DHAVE_INLINE -DHAVE_FENV -g -O2" -c mlgsl_sf.c
:info:build mlgsl_sf.c:261:51: error: too many arguments to function call, expected 3, have 4
:info:build SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)
:info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: build fails with gsl-related errororpie: build fails with gsl-related error

comment:3 Changed 8 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:4 Changed 8 years ago by christian.halaszovich@…

Cc: christian.halaszovich@… added

Cc Me!

comment:5 Changed 8 years ago by christian.halaszovich@…

This should be fixes by changing

SF4(ellint_D, Double_val, Double_val, Double_val, GSL_MODE_val)

to

SF3(ellint_D, Double_val, Double_val, GSL_MODE_val)

I prepared a patch file that I'm going to attach to this ticket.

Changed 8 years ago by christian.halaszovich@…

Attachment: patch-gsl-mgsl_sf.c.diff added

Sorry, the previous patch file was backwards, this one should work

comment:6 Changed 8 years ago by christian.halaszovich@…

Although the patch resolved the bug reported in this ticket, some link errors turned up. I addressed them in a seperate ticket (#50338)

comment:7 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:8 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: duplicate
Status: newclosed

dup of #50338

Note: See TracTickets for help on using tickets.