Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823032 - sys-cluster/ceph-16.2.6-r2 - x86_64-pc-linux-gnu-gcc: error: ##: linker input file not found: No such file or directory
Summary: sys-cluster/ceph-16.2.6-r2 - x86_64-pc-linux-gnu-gcc: error: ##: linker input...
Status: RESOLVED DUPLICATE of bug 802150
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-11-11 08:22 UTC by Toralf Förster
Modified: 2021-11-17 16:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.92 KB, text/plain)
2021-11-11 08:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,119.14 KB, text/plain)
2021-11-11 08:22 UTC, Toralf Förster
Details
environment (environment,195.12 KB, text/plain)
2021-11-11 08:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.77 KB, application/x-bzip)
2021-11-11 08:22 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,56.57 KB, application/x-bzip)
2021-11-11 08:22 UTC, Toralf Förster
Details
sys-cluster:ceph-16.2.6-r2:20211110-233211.log.bz2 (sys-cluster:ceph-16.2.6-r2:20211110-233211.log.bz2,54.99 KB, application/x-bzip)
2021-11-11 08:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,238.47 KB, application/x-bzip)
2021-11-11 08:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-11-11 08:22:33 UTC
error: Command "/usr/bin/x86_64-pc-linux-gnu-gcc -iquote/var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6/src/include -w -Dvoid0=dead_function(void) -D__Pyx_check_single_interpreter(ARG)=ARG ## 0 -pipe -march=native -O2 -fPIC -I/usr/include/python3.9 -I/usr/include/python3.9 -c /var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6_build/src/pybind/rados/rados.c -o /var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6_build/lib/cython_modules/temp.linux-x86_64-3.9/var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6_build/src/pybind/rados/rados.o -iquote/var/tmp/portage/sys-cluster/ceph-16.2.6-r2/work/ceph-16.2.6/src/include -w -Dvoid0=dead_function(void) -D__Pyx_check_single_interpreter(ARG)=ARG ## 0 -pipe -march=native -O2 -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fwrapv" failed with exit status 1
[ 83%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/migration/HttpClient.cc.o

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20211109-200133

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit ab9e158a98bbc3556fa0b7a23645d0553dcaabc7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 10 21:21:38 2021 +0000

    2021-11-10 21:21:37 UTC

emerge -qpvO sys-cluster/ceph
[ebuild  N    ] sys-cluster/ceph-16.2.6-r2  USE="cephfs mgr radosgw sqlite ssl tcmalloc -babeltrace -custom-cflags -diskprediction (-dpdk) -fuse -grafana -jaeger -jemalloc -kafka -kerberos -ldap -lttng -numa -pmdk -rabbitmq -rbd-rwl -rbd-ssd -rgw-lua -spdk (-system-boost) -systemd -test -uring -xfs -zbd -zfs" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-3" PYTHON_TARGETS="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-11-11 08:22:34 UTC
Created attachment 750279 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-11 08:22:35 UTC
Created attachment 750282 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-11 08:22:37 UTC
Created attachment 750285 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-11-11 08:22:38 UTC
Created attachment 750288 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-11-11 08:22:39 UTC
Created attachment 750291 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-11 08:22:40 UTC
Created attachment 750294 [details]
sys-cluster:ceph-16.2.6-r2:20211110-233211.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-11 08:22:42 UTC
Created attachment 750297 [details]
temp.tar.bz2
Comment 8 alex 2021-11-11 18:26:01 UTC
problem with defines in cflags
I removed the breaking defines and the compilation went without errors
replace ceph-14.2.0-cython-0.28.patch with

--- ceph-16.2.6/cmake/modules/Distutils.cmake.old
+++ ceph-16.2.6/cmake/modules/Distutils.cmake
@@ -53,8 +53,6 @@
   list(APPEND cflags -iquote${CMAKE_SOURCE_DIR}/src/include -w)
   # This little bit of magic wipes out __Pyx_check_single_interpreter()
   # Note: this is reproduced in distutils_install_cython_module
-  list(APPEND cflags -D'void0=dead_function\(void\)')
-  list(APPEND cflags -D'__Pyx_check_single_interpreter\(ARG\)=ARG \#\# 0')
   set(PY_CC ${compiler_launcher} ${CMAKE_C_COMPILER} ${c_compiler_arg1} ${cflags})
   set(PY_CXX ${compiler_launcher} ${CMAKE_CXX_COMPILER} ${cxx_compiler_arg1})
   set(PY_LDSHARED ${link_launcher} ${CMAKE_C_COMPILER} ${c_compiler_arg1} "-shared")
@@ -100,9 +98,7 @@
   install(CODE "
     set(ENV{CC} \"${PY_CC}\")
     set(ENV{LDSHARED} \"${PY_LDSHARED}\")
-    set(ENV{CPPFLAGS} \"-iquote${CMAKE_SOURCE_DIR}/src/include
-                        -D'void0=dead_function\(void\)' \
-                        -D'__Pyx_check_single_interpreter\(ARG\)=ARG \#\# 0'\")
+    set(ENV{CPPFLAGS} \"-iquote${CMAKE_SOURCE_DIR}/src/include\")
     set(ENV{LDFLAGS} \"-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\")
     set(ENV{CYTHON_BUILD_DIR} \"${CMAKE_CURRENT_BINARY_DIR}\")
     set(ENV{CEPH_LIBDIR} \"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\")
Comment 9 Patrick McLean gentoo-dev 2021-11-14 22:31:59 UTC
Please use an attachment for the patch rather than pasting in to a comment.
Comment 10 Marek Szuba archtester gentoo-dev 2021-11-17 16:36:55 UTC
Isn't this a duplicate of Bug #802150?
Comment 11 Toralf Förster gentoo-dev 2021-11-17 16:57:29 UTC

*** This bug has been marked as a duplicate of bug 802150 ***