Skip to content

Instantly share code, notes, and snippets.

View uilianries's full-sized avatar

Uilian Ries uilianries

View GitHub Profile
@uilianries
uilianries / conan-gcc11-stat-build.log
Last active March 7, 2024 13:20
Avahi 0.8 - ancient glibc with strlcpy
# Running in the docker image conanio/gcc11-ubuntu16.04:latest
# It's important the test step, because is when we actually link the library and see the error.
$ ldd --version
ldd (Ubuntu GLIBC 2.23-0ubuntu11.3) 2.23
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper
@uilianries
uilianries / opendis6-shared-apple-clang-15.log
Created February 6, 2024 08:28
Opendis6 0.1.0: Fails to build as shared library on Mac M1
$ cmake -S . -B build -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON
$ cmake --build build
-- The C compiler identification is AppleClang 15.0.0.15000100
-- The CXX compiler identification is AppleClang 15.0.0.15000100
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
@uilianries
uilianries / conan-windows-gcc.log
Created February 5, 2024 10:38
Build Log Conan Center Index PR 22665
λ conan create all --version=1.17 -pr:h=gcc -pr:b=gcc
======== Exporting recipe to the cache ========
libiconv/1.17: Exporting package recipe: C:\Users\uilia\Development\
conan create all --version=3.2.0 -o "*/*:shared=False" -s compiler.cppstd=20 -o "botan/*:with_boost=True"
======== Exporting recipe to the cache ========
botan/3.2.0: Exporting package recipe: /Users/uilian/Development/conan/conan-center-index/recipes/botan/all/conanfile.py
botan/3.2.0: exports: File 'conandata.yml' found. Exporting it...
botan/3.2.0: Calling export_sources()
botan/3.2.0: Copied 1 '.py' file: conanfile.py
botan/3.2.0: Copied 1 '.yml' file: conandata.yml
botan/3.2.0: Exported to cache folder: /Users/uilian/.conan2/p/botane9111c7592689/e
botan/3.2.0: Exported: botan/3.2.0#5246c5db3fc3353a1dc9058c932e97ed (2024-02-01 10:09:31 UTC)
@uilianries
uilianries / cacert
Last active June 15, 2023 10:57
Java cacert
@uilianries
uilianries / Makefile
Last active June 14, 2023 17:32
Conan MakeDeps with Poco example
#----------------------------------------
# Prepare flags from make generator
#----------------------------------------
include conandeps.mk
CFLAGS += $(CONAN_CFLAGS)
CXXFLAGS += $(CONAN_CXXFLAGS)
CPPFLAGS += $(addprefix -I, $(CONAN_INCLUDE_DIRS))
CPPFLAGS += $(addprefix -I, $(CONAN_INCLUDE_DIRS_POCO_POCO_FOUNDATION))
@uilianries
uilianries / conan_v2_ready.py
Created April 3, 2023 15:06
List all Conan packages v2 ready in Conan Center
import json
import os
import yaml
import argparse
import tempfile
import asyncio
from conan.api.conan_api import ConanAPI
from conan.api.output import ConanOutput
from conan.cli.command import OnceArgument
@uilianries
uilianries / conanfile.py
Created March 3, 2022 17:42
Conan - Export cmake targets correctly
from conans import ConanFile
class FoobarConan(ConanFile):
def package_info(self):
self.cpp_info.filenames["cmake_find_package"] = "FooBar"
self.cpp_info.filenames["cmake_find_package_multi"] = "FooBar"
self.cpp_info.names["cmake_find_package"] = "Foo"
self.cpp_info.names["cmake_find_package_multi"] = "Foo"
self.cpp_info.components["Foo"].libs = ["foobar"]
@uilianries
uilianries / gdb.log
Created June 3, 2021 17:09
Clang 9 + libstdc++.so.6.0.29
root@2a0a244cef6f:/tmp/bin# gdb ./foobar_cpp_libstdcpp
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@uilianries
uilianries / c3istd GCC 10
Created May 25, 2021 15:37
GCC10 compare
$ gcc -dM -E -x c++ /dev/null
#define __DBL_MIN_EXP__ (-1021)
#define __cpp_attributes 200809L
#define __UINT_LEAST16_MAX__ 0xffff
#define __ATOMIC_ACQUIRE 2
#define __FLT128_MAX_10_EXP__ 4932
#define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
#define __GCC_IEC_559_COMPLEX 2
#define __cpp_aggregate_nsdmi 201304L
#define __UINT_LEAST8_TYPE__ unsigned char