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

Perl CPAN Support, Missing 'author' Field #1523

Closed
wbraswell opened this issue Jul 4, 2018 · 2 comments
Closed

Perl CPAN Support, Missing 'author' Field #1523

wbraswell opened this issue Jul 4, 2018 · 2 comments

Comments

@wbraswell
Copy link
Contributor

When attempting to package Class::Data::Inheritable (or presumably any CPAN distribution with blank 'author' field), we get a crash when we should just handle it and move forward.

$ fpm --no-cpan-test --cpan-verbose --verbose --debug-workspace --workdir /home/wbraswell/fpm_tmp/ -s cpan -t rpm Class::Data::Inheritable
...
SOME OUTPUT
...
Invalid package configuration: Unexpected CPAN 'author' field type: NilClass. This is a bug.

The correct solution is to note that no vendor or author has been provided, and continue with the packaging process. I have done this in my latest commit here:
wbraswell@f4f4b56

@wbraswell
Copy link
Contributor Author

wbraswell commented Jul 4, 2018

@liger1978
Found another bug! LOL
I did not make a pull request because my fork is now quite out of sync with the main repo, but still you can see my simple 1-line fix in my commit.

@wbraswell
Copy link
Contributor Author

This issue has been solved by @NicholasBHubbard in the following two pull requests:
#1937
#1942

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

No branches or pull requests

1 participant