bug#42652: emacs-27.1-rc1 and configure error on Solaris 11.3

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#42652: emacs-27.1-rc1 and configure error on Solaris 11.3

Jeffrey Walton-3
Hi Everyone,

I'm testing emacs-27.1-rc1 on Solaris 11.3 i86pc.

I'm catching the following error during configure. I believe it is due
to --without-selinux:

    configure: error: invalid package name: selinux

There is no config.log to offer.

It seems like configure should accept --without-selinux on platforms
that don't have SElinux.

Jeff



Reply | Threaded
Open this post in threaded view
|

bug#42652: emacs-27.1-rc1 and configure error on Solaris 11.3

Eli Zaretskii
> From: Jeffrey Walton <[hidden email]>
> Date: Sat, 1 Aug 2020 11:26:27 -0400
>
> I'm testing emacs-27.1-rc1 on Solaris 11.3 i86pc.
>
> I'm catching the following error during configure. I believe it is due
> to --without-selinux:
>
>     configure: error: invalid package name: selinux

My reading of configure is that this error message is emitted when
some --without-* option uses characters that are not permitted in
shell variable names.  Not sure why this is triggered in your case.



Reply | Threaded
Open this post in threaded view
|

bug#42652: emacs-27.1-rc1 and configure error on Solaris 11.3

Jeffrey Walton-3
On Sat, Aug 1, 2020 at 11:43 AM Eli Zaretskii <[hidden email]> wrote:

>
> > From: Jeffrey Walton <[hidden email]>
> > Date: Sat, 1 Aug 2020 11:26:27 -0400
> >
> > I'm testing emacs-27.1-rc1 on Solaris 11.3 i86pc.
> >
> > I'm catching the following error during configure. I believe it is due
> > to --without-selinux:
> >
> >     configure: error: invalid package name: selinux
>
> My reading of configure is that this error message is emitted when
> some --without-* option uses characters that are not permitted in
> shell variable names.  Not sure why this is triggered in your case.

Oh, you're right. There was a trailing space in '--without-selinux '.

Cancel this noise.

Jeff



Reply | Threaded
Open this post in threaded view
|

bug#42652: emacs-27.1-rc1 and configure error on Solaris 11.3

Werner LEMBERG

>> >     configure: error: invalid package name: selinux
>
> Oh, you're right. There was a trailing space in '--without-selinux '.

Note sure what package is responsible for the error message, but I
think it would help if the package name gets quoted to avoid such
problems:

  configure: error: invalid package name: 'selinux '


    Werner



Reply | Threaded
Open this post in threaded view
|

bug#42652: emacs-27.1-rc1 and configure error on Solaris 11.3

Eli Zaretskii
In reply to this post by Jeffrey Walton-3
> From: Jeffrey Walton <[hidden email]>
> Date: Sat, 1 Aug 2020 11:52:28 -0400
> Cc: [hidden email]
>
> > My reading of configure is that this error message is emitted when
> > some --without-* option uses characters that are not permitted in
> > shell variable names.  Not sure why this is triggered in your case.
>
> Oh, you're right. There was a trailing space in '--without-selinux '.
>
> Cancel this noise.

Thanks, closing.



Reply | Threaded
Open this post in threaded view
|

bug#42652: emacs-27.1-rc1 and configure error on Solaris 11.3

Eli Zaretskii
In reply to this post by Werner LEMBERG
> Date: Sat, 01 Aug 2020 18:01:03 +0200 (CEST)
> From: Werner LEMBERG <[hidden email]>
> Cc: [hidden email], [hidden email]
>
>
> >> >     configure: error: invalid package name: selinux
> >
> > Oh, you're right. There was a trailing space in '--without-selinux '.
>
> Note sure what package is responsible for the error message, but I
> think it would help if the package name gets quoted to avoid such
> problems:
>
>   configure: error: invalid package name: 'selinux '

I tend to agree, but please report this to the Autoconf folks, because
AFAIU we just use AC_ARG_WITH here.