Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous 1.4 and 1.5 fixes #636

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lebauce
Copy link

@lebauce lebauce commented Jan 28, 2019

No description provided.

@lebauce
Copy link
Author

lebauce commented Apr 11, 2019

@shudongz @kenchiang Not sure what is going on because I don't have access to logs. Can you please give me a hand ? Thanks

@andi-bigswitch
Copy link
Contributor

@lebauce thank you for contributing the PR! PRs from external github users need to be greenlighted by org members before they are accepted by the build system, which is why the build is red.

I've done a first check, let's see the build/test results:

ok to build 671c4a3

uint32_t role;
// TODO support embedding of_header
of_octets_t data;
of_header_t request;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build of the C-library currently fails, because of_header_t is not defined.

Traceback (most recent call last):
  File "./loxigen.py", line 176, in <module>
    lang_module.generate(options.install_dir)
  File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/lang_c.py", line 125, in generate
    fn(outfile, os.path.basename(name))
  File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 1796, in dup_c_gen
    gen_version_dup(out)
  File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 1739, in gen_version_dup
    gen_dup_cls(out, cls, version)
  File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 1657, in gen_dup_cls
    """  % dict(m_type=m_type, v_name=var_name_map(m_type)))
  File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 121, in var_name_map
    return _var_name_map[m_type]
KeyError: 'of_header_t'

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(you should see the same result if you run make on your local code).

Copy link
Contributor

@andi-bigswitch andi-bigswitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C backend doesn't currently compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants