-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
libbsd: add v0.12.2, add libmd dependency #21990
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm facing some errors when trying to build this locally after first creating the libmd packages. Any insight into these ones @valgur?
$ conan create . --version=0.11.7 -b=missing
======== Exporting recipe to the cache ========
libbsd/0.11.7: Exporting package recipe: /Users/ruben/coding/conan-center-index/recipes/libbsd/all/conanfile.py
libbsd/0.11.7: exports: File 'conandata.yml' found. Exporting it...
libbsd/0.11.7: Calling export_sources()
libbsd/0.11.7: Copied 1 '.py' file: conanfile.py
libbsd/0.11.7: Copied 1 '.yml' file: conandata.yml
libbsd/0.11.7: Exported to cache folder: /Users/ruben/.conan2/p/libbsf90e70c39f0ad/e
libbsd/0.11.7: Exported: libbsd/0.11.7#3870644de60930b6e6a52ee7643054f0 (2024-05-20 07:34:39 UTC)
======== Input profiles ========
Profile host:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos
[platform_tool_requires]
cmake/3.29.1
[conf]
Profile build:
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos
[platform_tool_requires]
cmake/3.29.1
[conf]
======== Computing dependency graph ========
Graph root
cli
Requirements
libbsd/0.11.7#3870644de60930b6e6a52ee7643054f0 - Cache
libmd/1.1.0#b8521ed7ea57a4a9bb9d39f4f36407be - Cache
Build requirements
autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache
automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache
gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Cache
libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Cache
m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache
======== Computing necessary packages ========
Requirements
libbsd/0.11.7#3870644de60930b6e6a52ee7643054f0:a851a435def73c2716ca45692c7cc80ac8cdbec8 - Build
libmd/1.1.0#b8521ed7ea57a4a9bb9d39f4f36407be:2ee39e692ca4177b4b689b15bc1f2cfdf8f83706#b006278d241bbf37d8256d6685124195 - Cache
Build requirements
autoconf/2.71#f9307992909d7fb3df459340f1932809:da39a3ee5e6b4b0d3255bfef95601890afd80709#5b77f70c17ad1741f5845d4e468a347e - Cache
automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50:9e5323c65b94ae38c3c733fe12637776db0119a5#53e724e4596a55dd2b2a3931d36256dc - Cache
libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b:2ee39e692ca4177b4b689b15bc1f2cfdf8f83706#6cf3b8467f31921d8ac1408275bbea0f - Cache
m4/1.4.19#b38ced39a01e31fef5435bc634461fd2:617cae191537b47386c088e07b1822d8606b7e67#af3bb664b82c4f616d3146625c5b4bd5 - Cache
Skipped binaries
gnu-config/cci.20210814
======== Installing packages ========
libmd/1.1.0: Already installed! (1 of 6)
m4/1.4.19: Already installed! (2 of 6)
autoconf/2.71: Already installed! (3 of 6)
automake/1.16.5: Already installed! (4 of 6)
libtool/2.4.7: Already installed! (5 of 6)
libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
libtool/2.4.7: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
-------- Installing package libbsd/0.11.7 (6 of 6) --------
libbsd/0.11.7: Building from source
libbsd/0.11.7: Package libbsd/0.11.7:a851a435def73c2716ca45692c7cc80ac8cdbec8
libbsd/0.11.7: Copying sources to build folder
libbsd/0.11.7: Building your package in /Users/ruben/.conan2/p/b/libbs5318943660d5c/b
libbsd/0.11.7: Calling generate()
libbsd/0.11.7: Generators folder: /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/build-release/conan
libbsd/0.11.7: Generating aggregated env files
libbsd/0.11.7: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
libbsd/0.11.7: Calling build()
libbsd/0.11.7: apply_conandata_patches(): No patches defined in conandata
libbsd/0.11.7: RUN: autoreconf --force --install
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:25: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
libbsd/0.11.7: RUN: "/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/configure" --disable-shared --enable-static --prefix=/ '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... aarch64-apple-darwin23.4.0
checking host system type... aarch64-apple-darwin23.4.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert aarch64-apple-darwin23.4.0 file names to aarch64-apple-darwin23.4.0 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23.4.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking if ld supports --version-script flag... no
checking for objdump... (cached) objdump
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether ln -s works... yes
checking for unif01_CreateExternGenBits in -ltestu01... no
checking for library containing MD5Update... none required
checking for library containing SHA512Update... none required
checking for sys/ndir.h... no
checking for sys/dir.h... yes
checking for ndir.h... no
checking for dirent.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for inline... inline
checking for typeof syntax and keyword spelling... typeof
checking for int64_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking how to run the C preprocessor... gcc -E
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for gcc options needed to detect all undeclared functions... -fno-builtin
checking whether F_CLOSEM is declared... no
checking for GNU .init_array section support... no
checking for program_invocation_short_name... no
checking for __progname... yes
checking for __register_atfork... no
checking for clearenv... no
checking for dirfd... yes
checking for fopencookie... no
checking for __fpurge... no
checking for getauxval... no
checking for getentropy... yes
checking for getexecname... no
checking for getline... yes
checking for pstat_getproc... no
checking for sysconf... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating src/libbsd.pc
config.status: creating src/libbsd-ctor.pc
config.status: creating src/libbsd-overlay.pc
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
libbsd/0.11.7: RUN: make -j12
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in include
make[2]: Nothing to be done for `all'.
Making all in man
make[2]: Nothing to be done for `all'.
Making all in src
CC arc4random.lo
CC closefrom.lo
CC freezero.lo
CC explicit_bzero.lo
CC bsd_getopt.lo
CC fgetln.lo
CC flopen.lo
CC fgetwln.lo
CC err.lo
CC arc4random_uniform.lo
CC dehumanize_number.lo
CC expand_number.lo
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/arc4random.c:32:
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:28:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:184:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:92:
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:47:6: error: conflicting types for 'strmode'
void strmode(mode_t mode, char *str);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:164:7: note: previous declaration is here
void strmode(int __mode, char *__bp);
^
1 error generated.
make[2]: *** [arc4random.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/fgetln.c:31:
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:28:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:184:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:92:
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:47:6: error: conflicting types for 'strmode'
void strmode(mode_t mode, char *str);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:164:7: note: previous declaration is here
void strmode(int __mode, char *__bp);
^
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/fgetln.c:78:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma
libbsd_link_warning(fgetln,
^
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/local-link.h:34:39: note: expanded from macro 'libbsd_link_warning'
__attribute__((__used__,__section__(".gnu.warning." #symbol))) = msg
^
2 errors generated.
make[2]: *** [fgetln.lo] Error 1
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/fgetwln.c:93:1: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma
libbsd_link_warning(fgetwln,
^
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/local-link.h:34:39: note: expanded from macro 'libbsd_link_warning'
__attribute__((__used__,__section__(".gnu.warning." #symbol))) = msg
^
1 error generated.
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/freezero.c:19:
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:28:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:184:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:92:
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:47:6: error: conflicting types for 'strmode'
void strmode(mode_t mode, char *str);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:164:7: note: previous declaration is here
void strmode(int __mode, char *__bp);
^
make[2]: *** [fgetwln.lo] Error 1
1 error generated.
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/err.c:32:
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:28:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:184:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:92:
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:47:6: error: conflicting types for 'strmode'
void strmode(mode_t mode, char *str);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:164:7: note: previous declaration is here
void strmode(int __mode, char *__bp);
^
1 error generated.
make[2]: *** [freezero.lo] Error 1
make[2]: *** [err.lo] Error 1
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/src/explicit_bzero.c:7:
In file included from /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:28:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:184:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:92:
/Users/ruben/.conan2/p/b/libbs5318943660d5c/b/src/include/bsd/string.h:47:6: error: conflicting types for 'strmode'
void strmode(mode_t mode, char *str);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:164:7: note: previous declaration is here
void strmode(int __mode, char *__bp);
^
1 error generated.
make[2]: *** [explicit_bzero.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
libbsd/0.11.7: ERROR:
Package 'a851a435def73c2716ca45692c7cc80ac8cdbec8' build failed
libbsd/0.11.7: WARN: Build folder /Users/ruben/.conan2/p/b/libbs5318943660d5c/b/build-release
ERROR: libbsd/0.11.7: Error in build() method, line 72
autotools.make()
ConanException: Error 2 while executing
This comment has been minimized.
This comment has been minimized.
@RubenRBS Thanks for testing the recipe! The issue you're seeing is unrelated to libmd and should be the same that is reported here: https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/1. Setting |
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit 5c5d1dclibbsd/0.12.2@#8f4239c8a4910da6fe3c2364285a3049
|
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit b6bc6belibbsd/0.12.2@#a54a73441a291dbaacc92768d9bdc753
|
Conan v1 pipeline ✔️All green in build 5 (
Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping See details:Failure in build 5 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Any update here ? |
04e2dfa
to
77b56a1
Compare
Depends on