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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

shiboken2@5.15.11_py310: rebottle for linux #509

Closed

Conversation

ipatch
Copy link
Collaborator

@ipatch ipatch commented May 5, 2024

brew style freecad/freecad/[NAME_OF_FORMULA_FILE] 

output from running above command should output something similiar to the below

1 file inspected, no offenses detected
  • Have you ensured your commit passed audit checks, ie.
brew audit freecad/freecad/[NAME_OF_FORMULA_FILE] --online --new-formula

Not all PRs require passing these checks ie. adding [no ci] in the commit message will prevent the CI from running but PRs that change formula files generally should run through the CI checks that way new bottles are built and uploaded to the repository thus not having to build all formula from source but rather installing from a bottle (significantly faster 馃惏 ... 馃悽)

For more information about this template file learn more

@ipatch ipatch force-pushed the shiboken2_py310-rebottle.for.linux branch 2 times, most recently from c76a00e to 89ee863 Compare May 5, 2024 04:42
@ipatch
Copy link
Collaborator Author

ipatch commented May 5, 2024

current build error,

Warning: String '/home/linuxbrew/.linuxbrew/Homebrew' still exists in these files:
/home/linuxbrew/.linuxbrew/Cellar/shiboken2@5.15.11_py310/5.15.11_5/bin/shiboken2
 --> match '/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-11' at offset 0x16a6a8
Error: Bottle contains non-relocatable reference to /home/linuxbrew/.linuxbrew/Homebrew!
::endgroup::
==> FAILED freecad/freecad/shiboken2@5.15.11_py310
Error: bottling failed 

@ipatch ipatch force-pushed the shiboken2_py310-rebottle.for.linux branch 2 times, most recently from cd2d38b to 6760f8f Compare May 5, 2024 19:22
@ipatch
Copy link
Collaborator Author

ipatch commented May 5, 2024

still working through the below error when attempting to build bottle for gnu+linux ubuntu 22.04

==> Determining freecad/freecad/shiboken2@5.15.11_py310 bottle rebuild...                                                         ==> Bottling shiboken2@5.15.11_py310--5.15.11_5.x86_64_linux.bottle.2.tar.gz...                                                   /home/linuxbrew/.linuxbrew/opt/gnu-tar/bin/tar --create --numeric-owner --mtime=2023-10-05 04:29:38 --sort=name --owner=0 --group=0 --numeric-owner --format=pax --pax-option=globexthdr.name=/GlobalHead.%n,exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --file /home/runner/work/homebrew-freecad/homebrew-freecad/shiboken2@5.15.11_py310--5.15.11_5.x86_64_linux.bottle.2.tar shiboken2@5.15.11_py310/5.15.11_5                                                                                                           ==> Detecting if shiboken2@5.15.11_py310--5.15.11_5.x86_64_linux.bottle.2.tar.gz is relocatable...                                Warning: String '/home/linuxbrew/.linuxbrew/Homebrew' still exists in these files:
/home/linuxbrew/.linuxbrew/Cellar/shiboken2@5.15.11_py310/5.15.11_5/bin/shiboken2
 --> match '/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-11' at offset 0x16a6a8
Error: Bottle contains non-relocatable reference to /home/linuxbrew/.linuxbrew/Homebrew!
::endgroup::
==> FAILED freecad/freecad/shiboken2@5.15.11_py310
Error: bottling failed                                                                                                            ==> brew linkage --test freecad/freecad/shiboken2@5.15.11_py310
==> brew linkage --cached --test --strict freecad/freecad/shiboken2@5.15.11_py310
==> brew linkage --cached freecad/freecad/shiboken2@5.15.11_py310
==> brew install --only-dependencies --include-test freecad/freecad/shiboken2@5.15.11_py310                                       ==> brew test --verbose freecad/freecad/shiboken2@5.15.11_py310

@ipatch ipatch self-assigned this May 5, 2024
@ipatch
Copy link
Collaborator Author

ipatch commented May 6, 2024

running strings $bp/opt/shiboken2@5.15.11_py310/bin/shiboken2 on my local install of shiboken2 on my arch linux box i'm getting the below strings located within the binary,

/home/capin/homebrew/lib/ld.so
/home/capin/homebrew/Library/Homebrew/shims/linux/super/g++-13

and

/home/capin/homebrew/lib/gcc/current:$ORIGIN/../lib:$ORIGIN/../../..:/home/capin/homebrew/Cellar/shiboken2@5.15.11_py310/5.15.11_5/lib:/home/capin/homebrew/opt/gcc/lib/gcc/current:/home/capin/homebrew/opt/lz4/lib:/home/capin/homebrew/opt/xz/lib:/home/capin/homebrew/opt/zlib/lib:/home/capin/homebrew/opt/zstd/lib:/home/capin/homebrew/opt/ncurses/lib:/home/capin/homebrew/opt/libedit/lib:/home/capin/homebrew/opt/libffi/lib:/home/capin/homebrew/opt/binutils/lib:/home/capin/homebrew/opt/bzip2/lib:/home/capin/homebrew/opt/elfutils/lib:/home/capin/homebrew/opt/gmp/lib:/home/capin/homebrew/opt/isl/lib:/home/capin/homebrew/opt/mpfr/lib:/home/capin/homebrew/opt/libmpc/lib:/home/capin/homebrew/opt/gcc/lib:/home/capin/homebrew/opt/openblas/lib:/home/capin/homebrew/opt/numpy@1.26.4_py310/lib:/home/capin/homebrew/opt/libpng/lib:/home/capin/homebrew/opt/freetype/lib:/home/capin/homebrew/opt/pcre2/lib:/home/capin/
homebrew/opt/mpdecimal/lib:/home/capin/homebrew/opt/openssl@3/lib:/home/capin/homebrew/opt/readline/lib:/home/capin/homebrew/opt/sqlite/lib:/home/capin/homebrew/opt/expat/lib:/home/capin/homebrew/opt/libxcrypt/lib:/home/capin/homebrew/opt/berkeley-db@5/lib:/home/capin/homebrew/opt/krb5/lib:/home/capin/homebrew/opt/libtirpc/lib:/home/capin/homebrew/opt/libnsl/lib:/home/capin/homebrew/opt/
python@3.12/lib:/home/capin/homebrew/opt/dbus/lib:/home/capin/homebrew/opt/util-linux/lib:/home/capin/homebrew/opt/glib/lib:/home/capin/homebrew/opt/jpeg-turbo/lib:/home/capin/homebrew/opt/giflib/lib:/home/capin/homebrew/opt/libtiff/lib:/home/capin/homebrew/opt/webp/lib:/home/capin/homebrew/opt/bison/lib:/home/capin/homebrew/opt/flex/lib:/home/capin/homebrew/opt/icu4c/lib:/home/capin/homebrew/opt/libgpg-error/lib:/home/capin/homebrew/opt/libgcrypt/lib:/home/capin/homebrew/opt/libxml2/lib:/home/capin/homebrew/opt/libxslt/lib:/home/capin/homebrew/opt/alsa-lib/lib:/home/capin/homebrew/opt/libxau/lib:/home/capin/homebrew/opt/libxdmcp/lib:/home/capin/homebrew/opt/libxcb/lib:/home/capin/homebrew/opt/libx11/lib:/home/capin/homebrew/opt/libxext/lib:/home/capin/homebrew/opt/libxfixes/lib:/home/capin/homebrew/opt/libxi/lib:/home/capin/homebrew/opt/libxtst/lib:/home/capin/homebrew/opt/at-spi2-core/lib:/home/capin/homebrew/opt/fontconfig/lib:/home/capin/homebrew/opt/libxrender/lib:/home/capin/homebrew/opt/lzo/lib:/home/capin/homebrew/opt/pixman/lib:/home/capin/homebrew/opt/cairo/lib:/home/capin/homebrew/opt/graphite2/lib:/home/capin/homebrew/opt/harfbuzz/lib:/home/capin/homebrew/opt/libpciaccess/lib:/home/capin/homebrew/opt/libdrm/lib:/home/capin/homebrew/opt/libevent/lib:/home/capin/homebrew/opt/libice/lib:/home/capin/homebrew/opt/duktape/lib:/home/capin/homebrew/opt/brotli/lib:/home/capin/homebrew/opt/libunistring/lib:/home/capin/homebrew/opt/libidn2/lib:/home/capin/homebrew/opt/libnghttp2/lib:/home/capin/homebrew/opt/libssh2/lib:/home/capin/homebrew/opt/openldap/lib:/home/capin/homebrew/opt/rtmpdump/lib:/home/capin/homebrew/opt/curl/lib:/home/capin/homebrew/opt/libproxy/lib:/home/capin/homebrew/opt/libsm/lib:/home/capin/homebrew/opt/libvpx/lib:/home/capin/homebrew/opt/libxcomposite/lib:/home/capin/homebrew/opt/libxkbcommon/lib:/home/capin/homebrew/opt/libxkbfile/lib:/home/capin/homebrew/opt/libxrandr/lib:/home/capin/homebrew/opt/libxdamage/lib:/home/capin/homebrew/opt/z3/lib:/home/capin/homebrew/opt/llvm/lib:/home/capin/homebrew/opt/spirv-tools/lib:/home/capin/homebrew/opt/glslang/lib:/home/capin/homebrew/opt/wayland/lib:/home/capin/homebrew/opt/libva/lib:/home/capin/homebrew/opt/libvdpau/lib:/home/capin/homebrew/opt/libxshmfence/lib:/home/capin/homebrew/opt/libxv/lib:/home/capin/homebrew/opt/libxxf86vm/lib:/home/capin/homebrew/opt/lm-sensors/lib:/home/capin/homebrew/opt/python-ply/lib:/home/capin/homebrew/opt/spirv-llvm-translator/lib:/home/capin/homebrew/opt/valgrind/lib:/home/capin/homebrew/opt/mesa/lib:/home/capin/homebrew/opt/minizip/lib:/home/capin/homebrew/opt/nspr/lib:/home/capin/homebrew/opt/nss/lib:/home/capin/homebrew/opt/opus/lib:/home/capin/homebrew/opt/libogg/lib:/home/capin/homebrew/opt/flac/lib:/home/capin/homebrew/opt/lame/lib:/home/capin/homebrew/opt/libvorbis/lib:/home/capin/homebrew/opt/mpg123/lib:/home/capin/homebrew/opt/libsndfile/lib:/home/capin/homebrew/opt/libsoxr/lib:/home/capin/homebrew/opt/libtool/lib:/home/capin/homebrew/opt/orc/lib:/home/capin/homebrew/opt/speexdsp/lib:/home/capin/homebrew/opt/libcap/lib:/home/capin/homebrew/opt/pulseaudio/lib:/home/capin/homebrew/opt/libxcursor/lib:/home/capin/homebrew/opt/libxscrnsaver/lib:/home/capin/homebrew/opt/libxinerama/lib:/home/capin/homebrew/opt/sdl2/lib:/home/capin/homebrew/opt/snappy/lib:/home/capin/homebrew/opt/systemd/lib:/home/capin/homebrew/opt/xcb-util/lib:/home/capin/homebrew/opt/xcb-util-image/lib:/home/capin/homebrew/opt/xcb-util-keysyms/lib:/home/capin/homebrew/opt/xcb-util-renderutil/lib:/home/capin/homebrew/opt/xcb-util-wm/lib:/home/capin/homebrew/opt/qt@5/lib:/home/capin/homebrew/opt/python-certifi/lib:/home/capin/homebrew/lib

@ipatch ipatch force-pushed the shiboken2_py310-rebottle.for.linux branch 2 times, most recently from 0d34f76 to 40ca8aa Compare May 6, 2024 21:47
@ipatch
Copy link
Collaborator Author

ipatch commented May 7, 2024

still running into the below issue, troubleshooting on my local arch linux install,

鈺扳攢位 brew bottle -v shiboken2@5.15.11_py310
==> Determining freecad/freecad/shiboken2@5.15.11_py310 bottle rebuild...
==> Bottling shiboken2@5.15.11_py310--5.15.11_5.x86_64_linux.bottle.2.tar.gz...
tar --create --numeric-owner --file /home/capin/homebrew/Library/Taps/freecad/homebrew-freecad/shiboken2@5.15.11_py310--5.15.11_5.x86_64_linux.bottle.2.tar shiboken2@5.15.11_py310/5.15.11_5
==> Detecting if shiboken2@5.15.11_py310--5.15.11_5.x86_64_linux.bottle.2.tar.gz is relocatable...
Warning: String '/home/capin/homebrew/Library' still exists in these files:
/home/capin/homebrew/Cellar/shiboken2@5.15.11_py310/5.15.11_5/bin/shiboken2
 --> match '/home/capin/homebrew/Library/Homebrew/shims/linux/super/g++-13' at offset 0x1586e0
Error: Bottle contains non-relocatable reference to /home/capin/homebrew/Library!

@ipatch ipatch force-pushed the shiboken2_py310-rebottle.for.linux branch from 40ca8aa to bca75d1 Compare May 7, 2024 17:38
@ipatch ipatch added the pr-pull label May 7, 2024
@github-actions github-actions bot closed this in 679e828 May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant