Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#54046 closed submission (fixed)

New port: cdecl

Reported by: paul-j-lucas (Paul J. Lucas) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: cdecl

Description

New Portfile for a cdecl that's been around for 30+ years, updated by me to support C11 and C++14, much better error reporting, etc.

Attachments (1)

Portfile (1.1 KB) - added by paul-j-lucas (Paul J. Lucas) 8 years ago.
cdecl Portfile

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by paul-j-lucas (Paul J. Lucas)

Attachment: Portfile added

cdecl Portfile

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: cdecl c c++ developer-tools removed

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

Cc: kurthindenburg added

Using trace, I get the below - likely due to a missing dep - use 'port -t build'

/usr/bin/clang -DHAVE_CONFIG_H -I.  -I../lib -I../lib -I/opt/local/include  -pipe -Os
-arch x86_64  -Wall -Wcast-align -Wextra -Wredundant-decls -Wwrite-strings -MT prompt.
o -MD -MP -MF .deps/prompt.Tpo -c -o prompt.o prompt.c
prompt.c:67:10: error: use of undeclared identifier 'rl_gnu_readline_p'
  return rl_gnu_readline_p == 1;
         ^
1 error generated.

comment:3 Changed 7 years ago by paul-j-lucas (Paul J. Lucas)

Been crazy busy... just getting back to this. Anyway, that's really strange since it build on my Mac running 10.12.5.

Can you attach the output of your configure step? I specifically have a check for rl_gnu_readline_p.

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

It is just missing a dep on port:ncurses

I'll go ahead and add it and commit

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

Also as a FYI

Testsuite summary for cdecl 3.1.3
============================================================================
# TOTAL: 543
# PASS:  347
# SKIP:  0
# XFAIL: 0
# FAIL:  196
# XPASS: 0
# ERROR: 0

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

Owner: set to kurthindenburg
Resolution: fixed
Status: newclosed

comment:7 Changed 7 years ago by paul-j-lucas (Paul J. Lucas)

It's supposed to be able to compile without ncurses installed --- that's why it checks during the configure step for rl_gnu_readline_p. If ncurses is not installed, then it shouldn't be compiling code that references that variable. I'd still like to see the output of the configure step.

Regarding the failing tests, I'd need to see specifically which tests failed and the contents of test-suite.log are.

A temporary ssh login to a machine to test on would be ideal.

Note: See TracTickets for help on using tickets.