Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12546] New: Ninja 1.10 build Error
@ 2020-02-05 19:09 bugzilla at busybox.net
  2020-02-05 21:36 ` [Buildroot] [Bug 12546] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-05 19:09 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12546

            Bug ID: 12546
           Summary: Ninja 1.10 build Error
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: damian.tometzki at familie-tometzki.de
                CC: buildroot at uclibc.org
  Target Milestone: ---

Hello,

i got with the actual buildroot git master the following error in step 
building ninja 1.10:

Make Error at CMakeLists.txt:124 (target_link_libraries):
  Target "libninja-re2c" of type OBJECT_LIBRARY may not be linked into
  another target.  One may link only to INTERFACE, STATIC or SHARED
  libraries, or to executables with the ENABLE_EXPORTS property set.


CMake Error at CMakeLists.txt:124 (target_link_libraries):
  Target "libninja" of type OBJECT_LIBRARY may not be linked into another
  target.  One may link only to INTERFACE, STATIC or SHARED libraries, or to
  executables with the ENABLE_EXPORTS property set.


CMake Error at CMakeLists.txt:124 (target_link_libraries):
  Target "libninja-re2c" of type OBJECT_LIBRARY may not be linked into
  another target.  One may link only to INTERFACE, STATIC or SHARED
  libraries, or to executables with the ENABLE_EXPORTS property set.

Best regards
Damian

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12546] Ninja 1.10 build Error
  2020-02-05 19:09 [Buildroot] [Bug 12546] New: Ninja 1.10 build Error bugzilla at busybox.net
@ 2020-02-05 21:36 ` bugzilla at busybox.net
  2020-02-06  8:46 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-05 21:36 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12546

yegorslists at googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |yegorslists at googlemail.com
                   |.org                        |
             Status|NEW                         |ASSIGNED

--- Comment #1 from yegorslists at googlemail.com ---
There is already a patch in the mailing list [1]. Could you please test it and
report your results to the mailing list? Thanks.

[1] http://lists.busybox.net/pipermail/buildroot/2020-February/273355.html 

Yegor

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12546] Ninja 1.10 build Error
  2020-02-05 19:09 [Buildroot] [Bug 12546] New: Ninja 1.10 build Error bugzilla at busybox.net
  2020-02-05 21:36 ` [Buildroot] [Bug 12546] " bugzilla at busybox.net
@ 2020-02-06  8:46 ` bugzilla at busybox.net
  2020-02-06  9:02 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-06  8:46 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12546

--- Comment #2 from damian.tometzki at familie-tometzki.de ---
Hello,

it works now but with some warnings:

-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:36 (message):
  re2c was not found; changes to src/*.in.cc will not affect your build.


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

    BUILD_DOC
    BUILD_DOCS
    BUILD_EXAMPLE
    BUILD_EXAMPLES
    BUILD_TEST
    BUILD_TESTING
    BUILD_TESTS
    CMAKE_ASM_COMPILER
    CMAKE_FIND_ROOT_PATH_MODE_LIBRARY


-- Build files have been written to:
/data/kernel/buildroot/output/build/host-ninja-1.10.0
>>> host-ninja 1.10.0 Building
PATH="/data/kernel/buildroot/output/host/bin:/data/kernel/buildroot/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/damian/.local/bin:/home/damian/bin"
PKG_CONFIG="/data/kernel/buildroot/output/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/data/kernel/buildroot/output/host/lib/pkgconfig:/data/kernel/buildroot/output/host/share/pkgconfig"
 /usr/bin/make -j3  -C /data/kernel/buildroot/output/build/host-ninja-1.10.0/
Scanning dependencies of target libninja-re2c
Scanning dependencies of target libninja
[  3%] Built target libninja-re2c
[ 42%] Built target libninja
Scanning dependencies of target hash_collision_bench
Scanning dependencies of target depfile_parser_perftest
Scanning dependencies of target clparser_perftest
[ 45%] Built target hash_collision_bench
[ 49%] Built target clparser_perftest
[ 52%] Built target depfile_parser_perftest
Scanning dependencies of target ninja
Scanning dependencies of target manifest_parser_perftest
Scanning dependencies of target build_log_perftest
[ 59%] Built target manifest_parser_perftest
[ 59%] Built target ninja
[ 63%] Built target build_log_perftest
Scanning dependencies of target ninja_test
Scanning dependencies of target canon_perftest
[ 66%] Built target canon_perftest
[100%] Built target ninja_test

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12546] Ninja 1.10 build Error
  2020-02-05 19:09 [Buildroot] [Bug 12546] New: Ninja 1.10 build Error bugzilla at busybox.net
  2020-02-05 21:36 ` [Buildroot] [Bug 12546] " bugzilla at busybox.net
  2020-02-06  8:46 ` bugzilla at busybox.net
@ 2020-02-06  9:02 ` bugzilla at busybox.net
  2020-02-06 10:31 ` bugzilla at busybox.net
  2020-02-10  8:26 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-06  9:02 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12546

yegorslists at googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2020.02

--- Comment #3 from yegorslists at googlemail.com ---
Hallo Damian,

thanks for testing. Could you add your Tested-By tag to my patch e-mail? See
[1] for more information.

The warning are OK. re2c is an optional dependency and "Manually-specified
variables" are common BR settings. If they cannot be applied, they are just
ignored.

[1] http://nightly.buildroot.org/manual.html#_reviewing_and_testing_patches

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12546] Ninja 1.10 build Error
  2020-02-05 19:09 [Buildroot] [Bug 12546] New: Ninja 1.10 build Error bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2020-02-06  9:02 ` bugzilla at busybox.net
@ 2020-02-06 10:31 ` bugzilla at busybox.net
  2020-02-10  8:26 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-06 10:31 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12546

--- Comment #4 from damian.tometzki at familie-tometzki.de ---
(In reply to yegorslists from comment #1)
Tested-by: Damian Tometzki <dti@familie-tometzki.de>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 12546] Ninja 1.10 build Error
  2020-02-05 19:09 [Buildroot] [Bug 12546] New: Ninja 1.10 build Error bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2020-02-06 10:31 ` bugzilla at busybox.net
@ 2020-02-10  8:26 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-10  8:26 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12546

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed in git:
https://git.buildroot.org/buildroot/commit/?id=bb5ffe3c907ac2abc12d2d09d913c2fccaa71330

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-10  8:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-05 19:09 [Buildroot] [Bug 12546] New: Ninja 1.10 build Error bugzilla at busybox.net
2020-02-05 21:36 ` [Buildroot] [Bug 12546] " bugzilla at busybox.net
2020-02-06  8:46 ` bugzilla at busybox.net
2020-02-06  9:02 ` bugzilla at busybox.net
2020-02-06 10:31 ` bugzilla at busybox.net
2020-02-10  8:26 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox