* [Buildroot] [PATCH 1/1] package/proj: needs NPTL
@ 2024-05-04 9:34 Fabrice Fontaine
2024-05-05 7:09 ` Maxim Kochetkov via buildroot
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2024-05-04 9:34 UTC (permalink / raw)
To: buildroot
Cc: Murat Demirten, Zoltan Gyarmati, Fabrice Fontaine,
Dominik Michael Rauh, Maxim Kochetkov
NPTL is mandatory since bump to version 9.3.0 in commit
57aba033e6cc81b95d006227c45a15eb3fc77d07 and
https://github.com/OSGeo/PROJ/commit/ce080251225d16e11e139a5ebe07cf608fe022b2:
/home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp: In member function 'std::shared_ptr<osgeo::proj::io::SQLiteHandle> osgeo::proj::io::SQLiteHandleCache::getHandle(const std::string&, PJ_CONTEXT*)':
/home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp:622:9: error: 'pthread_atfork' was not declared in this scope; did you mean 'pthread_attr_t'?
622 | pthread_atfork(nullptr, nullptr,
| ^~~~~~~~~~~~~~
| pthread_attr_t
Fixes: 57aba033e6cc81b95d006227c45a15eb3fc77d07
- http://autobuild.buildroot.org/results/392664375c5bc5f047d39bff31534a226e8ea526
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/gdal/Config.in | 6 +++---
package/libgeotiff/Config.in | 6 +++---
package/postgis/Config.in | 6 +++---
package/proj/Config.in | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/package/gdal/Config.in b/package/gdal/Config.in
index 839a1bd7ea..6ee088ce0c 100644
--- a/package/gdal/Config.in
+++ b/package/gdal/Config.in
@@ -5,7 +5,7 @@ config BR2_PACKAGE_GDAL
# configure can't find proj, when linking statically
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj
- depends on BR2_TOOLCHAIN_HAS_THREADS # proj
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # proj
depends on BR2_USE_WCHAR # proj
select BR2_PACKAGE_GIFLIB
select BR2_PACKAGE_JPEG
@@ -25,8 +25,8 @@ config BR2_PACKAGE_GDAL
https://gdal.org/
-comment "gdal needs a toolchain w/ C++, dynamic library, gcc >= 4.7, threads, wchar"
+comment "gdal needs a toolchain w/ C++, dynamic library, gcc >= 4.7, NPTL, wchar"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
- !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
diff --git a/package/libgeotiff/Config.in b/package/libgeotiff/Config.in
index 7ed296fb25..f07c994361 100644
--- a/package/libgeotiff/Config.in
+++ b/package/libgeotiff/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBGEOTIFF
bool "libgeotiff"
depends on BR2_INSTALL_LIBSTDCPP # proj
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # proj
- depends on BR2_TOOLCHAIN_HAS_THREADS # proj
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # proj
depends on BR2_USE_WCHAR # proj
select BR2_PACKAGE_PROJ
select BR2_PACKAGE_TIFF
@@ -12,7 +12,7 @@ config BR2_PACKAGE_LIBGEOTIFF
https://github.com/OSGeo/libgeotiff
-comment "libgeotiff needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
+comment "libgeotiff needs a toolchain w/ C++, gcc >= 4.7, NPTL, wchar"
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
- !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
diff --git a/package/postgis/Config.in b/package/postgis/Config.in
index 78569d63be..593c0dc1f3 100644
--- a/package/postgis/Config.in
+++ b/package/postgis/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_POSTGIS
depends on BR2_PACKAGE_POSTGRESQL_FULL
depends on BR2_INSTALL_LIBSTDCPP # libgeos, proj
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgeos
- depends on BR2_TOOLCHAIN_HAS_THREADS # libgeos, proj
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # proj
depends on BR2_USE_WCHAR # libgeos, proj
select BR2_PACKAGE_LIBGEOS
select BR2_PACKAGE_PROJ
@@ -17,6 +17,6 @@ config BR2_PACKAGE_POSTGIS
https://postgis.net/
-comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
+comment "postgis needs a toolchain w/ C++, NPTL, wchar, gcc >= 4.9"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
- !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
diff --git a/package/proj/Config.in b/package/proj/Config.in
index 1952fc7d9a..6d172e2ee9 100644
--- a/package/proj/Config.in
+++ b/package/proj/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_PROJ
bool "proj"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
- depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_WCHAR
select BR2_PACKAGE_SQLITE
help
@@ -14,7 +14,7 @@ config BR2_PACKAGE_PROJ
http://proj4.org/
-comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
+comment "proj needs a toolchain w/ C++, gcc >= 4.7, NPTL, wchar"
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
- !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/proj: needs NPTL
2024-05-04 9:34 [Buildroot] [PATCH 1/1] package/proj: needs NPTL Fabrice Fontaine
@ 2024-05-05 7:09 ` Maxim Kochetkov via buildroot
2024-05-05 11:19 ` Yann E. MORIN
2024-05-21 20:17 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Maxim Kochetkov via buildroot @ 2024-05-05 7:09 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot
Cc: Murat Demirten, Zoltan Gyarmati, Dominik Michael Rauh
04.05.2024 12:34, Fabrice Fontaine пишет:
> NPTL is mandatory since bump to version 9.3.0 in commit
> 57aba033e6cc81b95d006227c45a15eb3fc77d07 and
> https://github.com/OSGeo/PROJ/commit/ce080251225d16e11e139a5ebe07cf608fe022b2:
>
> /home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp: In member function 'std::shared_ptr<osgeo::proj::io::SQLiteHandle> osgeo::proj::io::SQLiteHandleCache::getHandle(const std::string&, PJ_CONTEXT*)':
> /home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp:622:9: error: 'pthread_atfork' was not declared in this scope; did you mean 'pthread_attr_t'?
> 622 | pthread_atfork(nullptr, nullptr,
> | ^~~~~~~~~~~~~~
> | pthread_attr_t
>
> Fixes: 57aba033e6cc81b95d006227c45a15eb3fc77d07
> - http://autobuild.buildroot.org/results/392664375c5bc5f047d39bff31534a226e8ea526
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/proj: needs NPTL
2024-05-04 9:34 [Buildroot] [PATCH 1/1] package/proj: needs NPTL Fabrice Fontaine
2024-05-05 7:09 ` Maxim Kochetkov via buildroot
@ 2024-05-05 11:19 ` Yann E. MORIN
2024-05-21 20:17 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2024-05-05 11:19 UTC (permalink / raw)
To: Fabrice Fontaine
Cc: Murat Demirten, Zoltan Gyarmati, Maxim Kochetkov,
Dominik Michael Rauh, buildroot
Fabrice, All,
On 2024-05-04 11:34 +0200, Fabrice Fontaine spake thusly:
> NPTL is mandatory since bump to version 9.3.0 in commit
> 57aba033e6cc81b95d006227c45a15eb3fc77d07 and
> https://github.com/OSGeo/PROJ/commit/ce080251225d16e11e139a5ebe07cf608fe022b2:
>
> /home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp: In member function 'std::shared_ptr<osgeo::proj::io::SQLiteHandle> osgeo::proj::io::SQLiteHandleCache::getHandle(const std::string&, PJ_CONTEXT*)':
> /home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp:622:9: error: 'pthread_atfork' was not declared in this scope; did you mean 'pthread_attr_t'?
> 622 | pthread_atfork(nullptr, nullptr,
> | ^~~~~~~~~~~~~~
> | pthread_attr_t
>
> Fixes: 57aba033e6cc81b95d006227c45a15eb3fc77d07
> - http://autobuild.buildroot.org/results/392664375c5bc5f047d39bff31534a226e8ea526
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/proj: needs NPTL
2024-05-04 9:34 [Buildroot] [PATCH 1/1] package/proj: needs NPTL Fabrice Fontaine
2024-05-05 7:09 ` Maxim Kochetkov via buildroot
2024-05-05 11:19 ` Yann E. MORIN
@ 2024-05-21 20:17 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2024-05-21 20:17 UTC (permalink / raw)
To: Fabrice Fontaine
Cc: Murat Demirten, Zoltan Gyarmati, Maxim Kochetkov,
Dominik Michael Rauh, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> NPTL is mandatory since bump to version 9.3.0 in commit
> 57aba033e6cc81b95d006227c45a15eb3fc77d07 and
> https://github.com/OSGeo/PROJ/commit/ce080251225d16e11e139a5ebe07cf608fe022b2:
> /home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp:
> In member function 'std::shared_ptr<osgeo::proj::io::SQLiteHandle>
> osgeo::proj::io::SQLiteHandleCache::getHandle(const std::string&,
> PJ_CONTEXT*)':
> /home/buildroot/instance-0/output-1/build/proj-9.3.0/src/iso19111/factory.cpp:622:9:
> error: 'pthread_atfork' was not declared in this scope; did you mean
> 'pthread_attr_t'?
> 622 | pthread_atfork(nullptr, nullptr,
> | ^~~~~~~~~~~~~~
> | pthread_attr_t
> Fixes: 57aba033e6cc81b95d006227c45a15eb3fc77d07
> - http://autobuild.buildroot.org/results/392664375c5bc5f047d39bff31534a226e8ea526
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2024.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-21 20:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-04 9:34 [Buildroot] [PATCH 1/1] package/proj: needs NPTL Fabrice Fontaine
2024-05-05 7:09 ` Maxim Kochetkov via buildroot
2024-05-05 11:19 ` Yann E. MORIN
2024-05-21 20:17 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.