All of lore.kernel.org
 help / color / mirror / Atom feed
From: yann.morin@orange.com
To: Peter Seiderer <ps.report@gmx.net>
Cc: buildroot@busybox.net, Samuel Martin <s.martin49@gmail.com>
Subject: Re: [Buildroot] [PATCH v2 5/5] package/xz: convert to cmake build
Date: Tue, 25 Jun 2024 11:56:12 +0200	[thread overview]
Message-ID: <ZnqUPBAcDbB7ND64@tl-lnx-nyma7486-2> (raw)
In-Reply-To: <20240612135727.11811-5-ps.report@gmx.net>

Peter, All,

On 2024-06-12 15:57 +0200, Peter Seiderer via buildroot spake thusly:
> Convert to cmake build with the following autoconf options without
> direct equivalent cmake option:

This change broke the build of host-xz:

    $ ./utils/docker-run
    (docker) $ make defconfig
    (docker) $ make host-xz
    -- The C compiler identification is GNU 10.2.1
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/gcc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Performing Test TUKLIB_LARGE_FILE_SUPPORT_BY_DEFAULT
    -- Performing Test TUKLIB_LARGE_FILE_SUPPORT_BY_DEFAULT - Success
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Searching 16 bit integer - Using unsigned short
    -- Check if the system is big endian - little endian
    -- Performing Test HAVE___BUILTIN_BSWAPXX
    -- Performing Test HAVE___BUILTIN_BSWAPXX - Success
    -- Performing Test HAVE___BUILTIN_ASSUME_ALIGNED
    -- Performing Test HAVE___BUILTIN_ASSUME_ALIGNED - Success
    -- Looking for clock_gettime
    -- Looking for clock_gettime - found
    -- Looking for CLOCK_MONOTONIC
    -- Looking for CLOCK_MONOTONIC - found
    -- Performing Test IS_LINUX_WITH_GLIBC
    -- Performing Test IS_LINUX_WITH_GLIBC - Success
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
    -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
    -- Check if compiler accepts -pthread
    -- Check if compiler accepts -pthread - yes
    -- Found Threads: TRUE
    -- Looking for pthread_condattr_setclock
    -- Looking for pthread_condattr_setclock - found
    -- Looking for cap_rights_limit
    -- Looking for cap_rights_limit - not found
    -- Looking for pledge
    -- Looking for pledge - not found
    -- Performing Test HAVE_LINUX_LANDLOCK
    -- Performing Test HAVE_LINUX_LANDLOCK - Failed
    -- Checking how to detect the number of available CPU cores
    -- Performing Test TUKLIB_CPUCORES_SCHED_GETAFFINITY
    -- Performing Test TUKLIB_CPUCORES_SCHED_GETAFFINITY - Success
    -- Checking how to detect the amount of physical memory
    -- Performing Test TUKLIB_PHYSMEM_SPECIAL
    -- Performing Test TUKLIB_PHYSMEM_SPECIAL - Failed
    -- Performing Test TUKLIB_PHYSMEM_AIX
    -- Performing Test TUKLIB_PHYSMEM_AIX - Failed
    -- Performing Test TUKLIB_PHYSMEM_SYSCONF
    -- Performing Test TUKLIB_PHYSMEM_SYSCONF - Success
    -- Performing Test HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR
    -- Performing Test HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR - Success
    -- Looking for cpuid.h
    -- Looking for cpuid.h - found
    -- Looking for immintrin.h
    -- Looking for immintrin.h - found
    -- Performing Test HAVE__MM_MOVEMASK_EPI8
    -- Performing Test HAVE__MM_MOVEMASK_EPI8 - Success
    -- Performing Test HAVE_USABLE_CLMUL
    -- Performing Test HAVE_USABLE_CLMUL - Success
    -- Performing Test HAVE_ARM64_CRC32
    -- Performing Test HAVE_ARM64_CRC32 - Failed
    -- Looking for getopt_long
    -- Looking for getopt_long - found
    -- Looking for program_invocation_name
    -- Looking for program_invocation_name - found
    -- Looking for mbrtowc
    -- Looking for mbrtowc - found
    -- Looking for wcwidth
    -- Looking for wcwidth - found
    -- Looking for optreset
    -- Looking for optreset - not found
    -- Looking for posix_fadvise
    -- Looking for posix_fadvise - found
    -- Performing Test HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
    -- Performing Test HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC - Success
    -- Looking for futimens
    -- Looking for futimens - found
    -- Configuring done
    CMake Error at CMakeLists.txt:1675 (add_executable):
      Target "xz" links to target "Intl::Intl" but the target was not found.
      Perhaps a find_package() call is missing for an IMPORTED target, or an
      ALIAS target is missing?


    CMake Error at CMakeLists.txt:1619 (add_executable):
      Target "lzmainfo" links to target "Intl::Intl" but the target was not
      found.  Perhaps a find_package() call is missing for an IMPORTED target, or
      an ALIAS target is missing?


    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:

        BUILD_DOC
        BUILD_DOCS
        BUILD_EXAMPLE
        BUILD_EXAMPLES
        BUILD_TEST
        BUILD_TESTS
        CMAKE_ASM_COMPILER
        CMAKE_CXX_COMPILER
        CMAKE_CXX_FLAGS
        CMAKE_FIND_ROOT_PATH_MODE_LIBRARY


    CMake Generate step failed.  Build files cannot be regenerated correctly.

Could you have a look, please?

Regards,
Yann E. MORIN.

-- 
                                        ____________
.-----------------.--------------------:       _    :------------------.
|  Yann E. MORIN  | Real-Time Embedded |    __/ )   | /"\ ASCII RIBBON |
|                 | Software  Designer |  _/ - /'   | \ / CAMPAIGN     |
| +33 638.411.245 '--------------------: (_    `--, |  X  AGAINST      |
| yann.morin (at) orange.com           |_="    ,--' | / \ HTML MAIL    |
'--------------------------------------:______/_____:------------------'

____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-06-25 10:03 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-12 13:57 [Buildroot] [PATCH v2 1/5] package/xz: bump version to 5.4.7 Peter Seiderer via buildroot
2024-06-12 13:57 ` [Buildroot] [PATCH v2 2/5] package/xz: bump version to 5.6.2 Peter Seiderer via buildroot
2024-06-12 15:48   ` Julien Olivain
2024-06-24 13:42   ` Arnout Vandecappelle via buildroot
2024-06-12 13:57 ` [Buildroot] [PATCH v2 3/5] package/xz: determine all autoconf options Peter Seiderer via buildroot
2024-06-24 13:44   ` Arnout Vandecappelle via buildroot
2024-06-12 13:57 ` [Buildroot] [PATCH v2 4/5] package/xz: enable year2038 option Peter Seiderer via buildroot
2024-06-24 13:46   ` Arnout Vandecappelle via buildroot
2024-06-12 13:57 ` [Buildroot] [PATCH v2 5/5] package/xz: convert to cmake build Peter Seiderer via buildroot
2024-06-24 13:52   ` Arnout Vandecappelle via buildroot
2024-06-25  9:56   ` yann.morin [this message]
2024-06-25 11:11     ` yann.morin
2024-06-26  8:36       ` Peter Seiderer via buildroot
2024-06-26 19:32         ` Yann E. MORIN
2024-06-27  7:50           ` Peter Seiderer via buildroot
2024-06-27  7:57             ` Peter Seiderer via buildroot
2024-06-27  8:26             ` Peter Seiderer via buildroot
2024-06-27 11:16               ` yann.morin
2024-07-02 12:47                 ` Peter Seiderer via buildroot
2024-06-24 13:41 ` [Buildroot] [PATCH v2 1/5] package/xz: bump version to 5.4.7 Arnout Vandecappelle via buildroot
2024-07-08 10:04   ` Peter Korsgaard
2024-07-08 12:54     ` Peter Seiderer via buildroot
2024-07-08 12:57       ` Peter Seiderer via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZnqUPBAcDbB7ND64@tl-lnx-nyma7486-2 \
    --to=yann.morin@orange.com \
    --cc=buildroot@busybox.net \
    --cc=ps.report@gmx.net \
    --cc=s.martin49@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.