Error build media-libs/jasper-9999 #265

Closed
opened 2 months ago by ztime · 2 comments
ztime commented 2 months ago
ebuild ./jasper-9999.ebuild compile
Appending /home/guest/git/trinity-official/trinity-official to PORTDIR_OVERLAY...
>>> Existing ${T}/environment for 'jasper-9999' will be sourced. Run
>>> 'clean' to start with a fresh environment.
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'pretend' has already executed for 'jasper-9999'; skipping.
>>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.pretended' to force pretend.
>>> It appears that 'setup' has already executed for 'jasper-9999'; skipping.
>>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.setuped' to force setup.
>>> It appears that 'unpack' has already executed for 'jasper-9999'; skipping.
>>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.unpacked' to force unpack.
>>> It appears that 'prepare' has already executed for 'jasper-9999'; skipping.
>>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.prepared' to force prepare.
>>> Configuring source in /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999 ...
 * Source directory (CMAKE_USE_DIR): "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999"
 * Build directory  (BUILD_DIR):     "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build"
cmake -C /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/gentoo_toolchain.cmake /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999
loading initial cache file /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/gentoo_common_config.cmake
Software version: 3.0.6
Shared library ABI version: 6
Shared library build version: 6.0.0
CMAKE_VERSION: 3.22.4
-- The C compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/usr/bin/x86_64-pc-linux-gnu-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/ninja cmTC_200a0 && [1/2] Building C object CMakeFiles/cmTC_200a0.dir/testCCompiler.c.o
    FAILED: CMakeFiles/cmTC_200a0.dir/testCCompiler.c.o 
    /usr/bin/x86_64-pc-linux-gnu-gcc    -O2 -march=native -pipe -o CMakeFiles/cmTC_200a0.dir/testCCompiler.c.o -c /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeTmp/testCCompiler.c
    x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
    compilation terminated.
    ninja: build stopped: subcommand failed.
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:52 (project)


-- Configuring incomplete, errors occurred!
See also "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeOutput.log".
See also "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeError.log".
 * ERROR: media-libs/jasper-9999::trinity-official failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_configure
 *   environment, line 2887:  Called cmake_src_configure
 *   environment, line 1311:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=media-libs/jasper-9999::trinity-official'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/jasper-9999::trinity-official'`.
 * The complete build log is located at '/var/calculate/tmp/portage/media-libs/jasper-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/media-libs/jasper-9999/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build'
 * S: '/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999'
``` ebuild ./jasper-9999.ebuild compile Appending /home/guest/git/trinity-official/trinity-official to PORTDIR_OVERLAY... >>> Existing ${T}/environment for 'jasper-9999' will be sourced. Run >>> 'clean' to start with a fresh environment. >>> WORKDIR is up-to-date, keeping... >>> It appears that 'pretend' has already executed for 'jasper-9999'; skipping. >>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.pretended' to force pretend. >>> It appears that 'setup' has already executed for 'jasper-9999'; skipping. >>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.setuped' to force setup. >>> It appears that 'unpack' has already executed for 'jasper-9999'; skipping. >>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.unpacked' to force unpack. >>> It appears that 'prepare' has already executed for 'jasper-9999'; skipping. >>> Remove '/var/calculate/tmp/portage/media-libs/jasper-9999/.prepared' to force prepare. >>> Configuring source in /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999 ... * Source directory (CMAKE_USE_DIR): "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999" * Build directory (BUILD_DIR): "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build" cmake -C /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/gentoo_toolchain.cmake /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999 loading initial cache file /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/gentoo_common_config.cmake Software version: 3.0.6 Shared library ABI version: 6 Shared library build version: 6.0.0 CMAKE_VERSION: 3.22.4 -- The C compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message): The C compiler "/usr/bin/x86_64-pc-linux-gnu-gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_200a0 && [1/2] Building C object CMakeFiles/cmTC_200a0.dir/testCCompiler.c.o FAILED: CMakeFiles/cmTC_200a0.dir/testCCompiler.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -o CMakeFiles/cmTC_200a0.dir/testCCompiler.c.o -c /var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeTmp/testCCompiler.c x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory compilation terminated. ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:52 (project) -- Configuring incomplete, errors occurred! See also "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeOutput.log". See also "/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build/CMakeFiles/CMakeError.log". * ERROR: media-libs/jasper-9999::trinity-official failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 2887: Called cmake_src_configure * environment, line 1311: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=media-libs/jasper-9999::trinity-official'`, * the complete build log and the output of `emerge -pqv '=media-libs/jasper-9999::trinity-official'`. * The complete build log is located at '/var/calculate/tmp/portage/media-libs/jasper-9999/temp/build.log'. * The ebuild environment file is located at '/var/calculate/tmp/portage/media-libs/jasper-9999/temp/environment'. * Working directory: '/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999_build' * S: '/var/calculate/tmp/portage/media-libs/jasper-9999/work/jasper-9999' ```
ztime changed title from Erroe build media-libs/jasper-9999 to Error build media-libs/jasper-9999 2 months ago
Collaborator

Hmm, try using jasper-2.0.16. the jasper-9999 version is a standalone library and it is quite possible that it can no longer be used with this overlay. Later I will check what is there with this package. As far as I understand, it can no longer be built with multilib, now only for a certain architecture.

Hmm, try using jasper-2.0.16. the jasper-9999 version is a standalone library and it is quite possible that it can no longer be used with this overlay. Later I will check what is there with this package. As far as I understand, it can no longer be built with multilib, now only for a certain architecture.
Collaborator

Added a fix #266.

Added a fix #266.
SlavekB closed this issue 2 months ago
SlavekB added this to the R14.0.13 release milestone 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Depends on
Reference: TDE/tde-packaging-gentoo#265
Loading…
There is no content yet.