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

RPM build errors: Macro expanded in comment on line 116: %{compat_openssl} #20

Open
kumukaihua opened this issue Jun 19, 2024 · 0 comments

Comments

@kumukaihua
Copy link

使用openssh-9.7p1 + openssl-1.1.1k版本运行脚本后半部分时报错:
make: *** [Makefile:195: sshd.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from openbsd-compat/openbsd-compat.h:218,
from includes.h:173,
from auth-rhosts.c:17:
openbsd-compat/bsd-misc.h:143:39: error: expected identifier or '(' before 'do'

define krb5_free_error_message(a,b) do { } while(0)

                                   ^~

openbsd-compat/bsd-misc.h:143:46: error: expected identifier or '(' before 'while'

define krb5_free_error_message(a,b) do { } while(0)

                                          ^~~~~

In file included from /usr/include/krb5/krb5.h:8694,
from /usr/include/krb5.h:8,
from auth.h:41,
from auth-rhosts.c:45:
/usr/include/et/com_err.h:38:20: error: conflicting types for 'error_message'
extern char const *error_message (long);
^~~~~~~~~~~~~
In file included from includes.h:170,
from auth-rhosts.c:17:
defines.h:725:43: note: previous declaration of 'error_message' was here

define krb5_get_err_text(context,code) error_message(code)

                                       ^~~~~~~~~~~~~

make: *** [Makefile:195: auth-rhosts.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.AraQyV (%build)

RPM build errors:
Macro expanded in comment on line 116: %{compat_openssl}

Bad exit status from /var/tmp/rpm-tmp.AraQyV (%build)
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