Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877125 - sys-fs/autorun-3.17 - use of undeclared identifier 'strlen'
Summary: sys-fs/autorun-3.17 - use of undeclared identifier 'strlen'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard: ~arch only
Keywords:
: 887117 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-14 16:05 UTC by Toralf Förster
Modified: 2024-10-28 19:29 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.70 KB, text/plain)
2022-10-14 16:05 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.68 KB, application/x-bzip)
2022-10-14 16:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.19 KB, text/plain)
2022-10-14 16:06 UTC, Toralf Förster
Details
environment (environment,27.69 KB, text/plain)
2022-10-14 16:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.23 KB, application/x-bzip)
2022-10-14 16:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.31 KB, application/x-bzip)
2022-10-14 16:06 UTC, Toralf Förster
Details
sys-fs:autorun-3.17:20221014-134957.log (sys-fs:autorun-3.17:20221014-134957.log,16.71 KB, text/plain)
2022-10-14 16:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,13.75 KB, application/x-bzip)
2022-10-14 16:06 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-14 16:05:58 UTC
                  ^
autorun.cc:497:50: error: use of undeclared identifier 'strlen'
  lockfile_path = (char *)realloc(lockfile_path, strlen(lockfile_path) ...
                                                 ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
make[2]: *** [Makefile:401: autorun.o] Error 1

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

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

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

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.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 06ab38d7f1a2856565fd535f958bab595f03cbde
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 14 13:19:02 2022 +0000

    2022-10-14 13:19:01 UTC

emerge -qpvO sys-fs/autorun
[ebuild  N    ] sys-fs/autorun-3.17
Comment 1 Toralf Förster gentoo-dev 2022-10-14 16:05:59 UTC
Created attachment 824221 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-14 16:06:00 UTC
Created attachment 824223 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-14 16:06:02 UTC
Created attachment 824225 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-14 16:06:03 UTC
Created attachment 824227 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-14 16:06:04 UTC
Created attachment 824229 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-14 16:06:05 UTC
Created attachment 824231 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-14 16:06:06 UTC
Created attachment 824233 [details]
sys-fs:autorun-3.17:20221014-134957.log
Comment 8 Toralf Förster gentoo-dev 2022-10-14 16:06:07 UTC
Created attachment 824235 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-06 22:24:09 UTC
*** Bug 887117 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2023-02-06 22:25:50 UTC
The bug has been closed via the following commit(s):

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

commit 5c1bfc0adcc93d7033404ca77a507e2f3be88fc7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-06 22:25:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-06 22:25:19 +0000

    sys-fs/autorun: add missing includes
    
    Bug: https://bugs.gentoo.org/714140
    Closes: https://bugs.gentoo.org/875851
    Closes: https://bugs.gentoo.org/877125
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/autorun/files/autorun-3.17-headers.patch | 44 ++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)