Skip to content
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

[cpython] cpython/3.8.19: Keeps CI path data in cpp_info #25001

Open
uilianries opened this issue Aug 21, 2024 · 0 comments
Open

[cpython] cpython/3.8.19: Keeps CI path data in cpp_info #25001

uilianries opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@uilianries
Copy link
Member

Description

When building locally gobject-introspection, adding cpython/3.8.19 as tool requirement, during the build I can see:

[62/75] gcc -Igiscanner/_giscanner.cpython-38-x86_64-linux-gnu.so.p -Igiscanner -I../src/giscanner -I. -I../src -I/home/conan/.conan2/p/gliba830caaef2916/p/include -I/home/conan/.conan2/p/gliba830caaef2916/p/include/glib-2.0 -I/home/conan/.conan2/p/gliba830caaef2916/p/lib/glib-2.0/include -I/home/conan/.conan2/p/pcre2f28e5cd732c9c/p/include -I/home/conan/.conan2/p/zlibcdd5270f9ab9f/p/include -I/home/conan/.conan2/p/bzip24ed69d4fecc16/p/include -I/home/conan/.conan2/p/libff648c47952dcbf/p/include -I/home/conan/.conan2/p/libmo527270335910e/p/include -I/home/conan/.conan2/p/libmo527270335910e/p/include/libmount -I/home/conan/.conan2/p/libsec33be3b5d7038/p/include -I/home/conan/workspace/prod-v2/bsr/73565/bdfeb/p/b/cpyth584cea2541da9/p/include/python3.8 -I/home/conan/.conan2/p/cpyth1f32e68154897/p/include/python3.8 -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O3 -Warray-bounds -Wcast-align -Wduplicated-branches -Wformat=2 -Wformat-nonliteral -Wformat-security -Wimplicit-function-declaration -Winit-self -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith -Wrestrict -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wundef -Wunused-but-set-variable -Wwrite-strings -fno-strict-aliasing -DHAVE_CONFIG_H -fPIC -DFFI_BUILDING -DPCRE2_STATIC -fvisibility=hidden -Wno-missing-field-initializers -Wno-unused-parameter -Wno-misleading-indentation -MD -MQ giscanner/_giscanner.cpython-38-x86_64-linux-gnu.so.p/giscannermodule.c.o -MF giscanner/_giscanner.cpython-38-x86_64-linux-gnu.so.p/giscannermodule.c.o.d -o giscanner/_giscanner.cpython-38-x86_64-linux-gnu.so.p/giscannermodule.c.o -c ../src/giscanner/giscannermodule.c
cc1: warning: /home/conan/workspace/prod-v2/bsr/73565/bdfeb/p/b/cpyth584cea2541da9/p/include/python3.8: No such file or directory [-Wmissing-include-dirs]

It's possible to find the warning about an absolute path from C3I is present in the build.

Package and Environment Details

  • Package Name/Version: cpython/3.8.19
  • Operating System+version: Linux Ubuntu 16.04
  • Compiler+version: GCC 11
  • Docker image: conanio/gcc11-ubuntu16.04
  • Conan version: conan 2.6.0
  • Python version: Python 3.7.17

Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[conf]
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=yes
[build_requires]
[env]

Steps to reproduce

  1. Using the PR gobject-introspection: migrate to Conan v2 #18624, commit b69b5b0

  2. cd recipes/gobject-introspection

  3. Change the recipe by adding cpython:

    def build_requirements(self):
        self.tool_requires("cpython/3.8.19")
  4. Build gobject-introspection normally:

    conan create all/ --version=1.80.1

Logs

Full log:

1.80.1-static-gcc11.log

@uilianries uilianries added the bug Something isn't working label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant