-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
python3: Build failure due to "missing" libbsd dependency #21161
Comments
This was able to fix the issue. --- a/configure.ac
+++ b/configure.ac
@@ -4694,11 +4694,6 @@ AC_CACHE_CHECK([for flock declaration],
[ac_cv_flock_decl=no]
)
])
-dnl Linking with libbsd may be necessary on AIX for flock function.
-AS_VAR_IF([ac_cv_flock_decl], [yes],
- AC_CHECK_FUNCS([flock])
- AC_CHECK_LIB([bsd], [flock], [FCNTL_LIBS="-lbsd"])
-)
PY_CHECK_FUNC([getpagesize], [#include <unistd.h>])
|
jefferyto
added a commit
to jefferyto/openwrt-packages
that referenced
this issue
May 25, 2023
configure will try to link with libbsd for flock, even when flock is available without it. Fixes openwrt#21161. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
jefferyto
added a commit
to jefferyto/openwrt-packages
that referenced
this issue
May 25, 2023
configure will try to link with libbsd for the flock function, even when flock is available without it. Fixes openwrt#21161. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
jefferyto
added a commit
to jefferyto/openwrt-packages
that referenced
this issue
May 25, 2023
configure will try to link with libbsd for the flock function, even when flock is available without it. Fixes openwrt#21161. Fixes: 2445fe9 ("python3: Update to 3.11.3, refresh/redo patches") Signed-off-by: Jeffery To <jeffery.to@gmail.com>
jefferyto
added a commit
to jefferyto/openwrt-packages
that referenced
this issue
May 25, 2023
configure will try to link with libbsd for the flock function, even when flock is available without it. Fixes: openwrt#21161 Fixes: 2445fe9 ("python3: Update to 3.11.3, refresh/redo patches") Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit 60bf01c)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maintainer: me
Environment: all probably
Description:
python3 failed to build on buildbots for aarch64_generic. From https://downloads.openwrt.org/snapshots/faillogs/aarch64_generic/packages/python3/compile.txt:
Looks like configure found libbsd on the buildbot and wanted to link to it for flock.
The text was updated successfully, but these errors were encountered: