Skip to contentSkip to conversation

wpa_supplicant?==?utf-8?q? 2.10: ignored build options

Buildroot Michael Nosthoff via buildroot 2 participants 2 messages Feb 17, 2022

lore
Share & tools
lore
#0 lore raw

Hi Sergey, all,

@Sergey: I put you on the list of recipients since you provided the version bump to buildroot.

Since hostapd 2.10 the wpa_supplicant build ignores the two options CONFIG_BUILD_WPA_CLIENT_SO and CONFIG_NO_WPA_PASSPHRASE.

This leads to the following build error in buildroot when BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO is selected:

/usr/bin/install: cannot stat '/buildroot/build/build/wpa_supplicant-2.10/wpa_supplicant/libwpa_client.so': No such file or directory

The Bug was probably introduced with commit [0] which reworked the .config parsing. The two mentioned options are now evaluated before the .config file is parsed an thus ignored.

I'm not familiar enough with the wpa_supplicant build to come up with a proper patch. But maybe someone is willing to take a look at this.

Regards,
Michael

[0] https://w1.fi/cgit/hostap/commit/wpa_supplicant/Makefile?id=a41a29192e5d196444fc8859100762b04ff0d1c2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#1 lore raw

Re: [Buildroot] wpa_supplicant 2.10: ignored build options

Hi Michael,

Quoted 13 lines

Hi Sergey, all,

@Sergey: I put you on the list of recipients since you provided the version bump to buildroot.

Since hostapd 2.10 the wpa_supplicant build ignores the two options CONFIG_BUILD_WPA_CLIENT_SO and CONFIG_NO_WPA_PASSPHRASE.

This leads to the following build error in buildroot when BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO is selected:

/usr/bin/install: cannot stat '/buildroot/build/build/wpa_supplicant-2.10/wpa_supplicant/libwpa_client.so': No such file or directory

The Bug was probably introduced with commit [0] which reworked the .config parsing. The two mentioned options are now evaluated before the .config file is parsed an thus ignored.

Quoted 6 lines

I'm not familiar enough with the wpa_supplicant build to come up with a proper patch. But maybe someone is willing to take a look at this.

Regards,
Michael

[0] https://w1.fi/cgit/hostap/commit/wpa_supplicant/Makefile?id=a41a29192e5d196444fc8859100762b04ff0d1c2

Thanks for heads-up ! Buildroot CI has already reported this problem:
http://autobuild.buildroot.net/results/001981339f3b895ecd9208a747a0e47d07c9583a/

I plan take a look at hostapd/wpa_s failures over the weekend.

Regards,
Sergey
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot