Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926290 - sys-apps/sysvinit-3.08 - hddown.c:135:8: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
Summary: sys-apps/sysvinit-3.08 - hddown.c:135:8: error: incompatible integer to point...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.5
  Show dependency tree
 
Reported: 2024-03-06 23:59 UTC by ernsteiswuerfel
Modified: 2024-03-28 04:47 UTC (History)
2 users (show)

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


Attachments
build.log (sysvinit-3.08:20240306-235350.log,5.08 KB, text/plain)
2024-03-06 23:59 UTC, ernsteiswuerfel
Details
emerge --info (file_926290.txt,7.42 KB, text/plain)
2024-03-07 00:00 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2024-03-06 23:59:12 UTC
Created attachment 886837 [details]
build.log

[...]
clang -Os -march=x86-64-v2 -pipe -ansi -fomit-frame-pointer -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"3.08\"   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -c -o hddown.o hddown.c
getconf: LFS_CFLAGS: unknown variable
hddown.c:135:10: warning: implicit declaration of function 'basename'
      [-Wimplicit-function-declaration]
  135 |                         ptr = basename(lnk);
      |                               ^
hddown.c:135:8: error: incompatible integer to pointer conversion assigning
      to 'char *' from 'int' [-Wint-conversion]
  135 |                         ptr = basename(lnk);
      |                             ^ ~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [<builtin>: hddown.o] Error 1
Comment 1 ernsteiswuerfel archtester 2024-03-07 00:00:09 UTC
Created attachment 886838 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-03-28 04:47:50 UTC
The bug has been closed via the following commit(s):

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

commit 47ce461970bd0529a14b10c7c52368f428e9cb8a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-28 04:34:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-28 04:34:24 +0000

    sys-apps/sysvinit: add 3.09
    
    Closes: https://bugs.gentoo.org/926290
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/sysvinit/Manifest             |   2 +
 sys-apps/sysvinit/sysvinit-3.09.ebuild | 201 +++++++++++++++++++++++++++++++++
 2 files changed, 203 insertions(+)