Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875449 - dev-util/kbuild-0.1.9998.3499 - /.../loadapi.c: error:
Summary: dev-util/kbuild-0.1.9998.3499 - /.../loadapi.c: error:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-05 18:12 UTC by Toralf Förster
Modified: 2022-11-27 10:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
dev-util:kbuild-0.1.9998.3499:20221005-140724.log (dev-util:kbuild-0.1.9998.3499:20221005-140724.log,51.66 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,30.78 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
environment (environment,76.64 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.19 KB, application/x-bzip)
2022-10-05 18:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.41 KB, application/x-bzip)
2022-10-05 18:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.93 KB, application/x-bzip)
2022-10-05 18:12 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 2022-10-05 18:12:23 UTC
too long lines were shrinked:

mv -f $depbase.Tpo $depbase.Po
depbase=`echo loadapi.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
clang -DNO_ARCHIVES -DEXPERIMENTAL -DCONFIG_WITH_TOUPPER_TOLOWER -DCONFIG_WITH_DEFINED -DCONFIG_WITH_EXPLICIT_MULTITARGET -DCONFIG_WITH_DOT_MUST_MAKE -DCONFIG_WITH_PREPEND_ASSIGNMENT -DCONFIG_WITH_LOCAL_VARIABLES -DCONFIG_WITH_2ND_TARGET_EXPANSION -DCONFIG_WITH_ALLOC_CACHES -DCONFIG_WITH_STRCACHE2 -
mv -f $depbase.Tpo $depbase.Po
/var/tmp/portage/dev-util/kbuild-0.1.9998.3499/work/kbuild-0.1.9998.3499/src/kmk/loadapi.c:62:51: error: 
      incompatible integer to pointer conversion passing 'unsigned long' to
      parameter of type 'char *' [-Wint-conversion]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221005-090901

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit ca8c7cbebeb4c62522c12f7ef4e88fd9eb82fbc5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 13:03:21 2022 +0000

    2022-10-05 13:03:21 UTC

emerge -qpvO dev-util/kbuild
[ebuild  N    ] dev-util/kbuild-0.1.9998.3499
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:12:24 UTC
Created attachment 821170 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:12:25 UTC
Created attachment 821173 [details]
dev-util:kbuild-0.1.9998.3499:20221005-140724.log
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:12:26 UTC
Created attachment 821176 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:12:28 UTC
Created attachment 821179 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:12:29 UTC
Created attachment 821182 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:12:30 UTC
Created attachment 821185 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:12:31 UTC
Created attachment 821188 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-27 10:08:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2059dfcf305fa26ba92d034ae6d889e15e6fb29

commit f2059dfcf305fa26ba92d034ae6d889e15e6fb29
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2022-11-23 11:13:48 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2022-11-27 10:06:57 +0000

    dev-util/kbuild: fix compilation with clang
    
    Closes: https://bugs.gentoo.org/875449
    Closes: https://bugs.gentoo.org/734302
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../kbuild/files/kbuild-0.1.9998.3499-fix-CC.patch | 23 +++++++
 .../kbuild-0.1.9998.3499-int-conversion.patch      | 26 ++++++++
 dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild     | 76 ++++++++++++++++++++++
 dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild     | 69 ++++++++++++++++++++
 dev-util/kbuild/kbuild-9999.ebuild                 |  2 +
 5 files changed, 196 insertions(+)