Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874582 - net-ftp/linksys-tftp-1.2.1-r3 - tftpsubs.c: error: implicit declaration of function read_ahead [-Werror=implicit-function-declarat
Summary: net-ftp/linksys-tftp-1.2.1-r3 - tftpsubs.c: error: implicit declaration of fu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
: 882127 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:16 UTC by Toralf Förster
Modified: 2024-04-29 05:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.23 KB, text/plain)
2022-10-03 08:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,95.92 KB, text/plain)
2022-10-03 08:16 UTC, Toralf Förster
Details
environment (environment,61.24 KB, text/plain)
2022-10-03 08:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.87 KB, application/x-bzip)
2022-10-03 08:16 UTC, Toralf Förster
Details
net-ftp:linksys-tftp-1.2.1-r3:20221003-081516.log (net-ftp:linksys-tftp-1.2.1-r3:20221003-081516.log,17.09 KB, text/plain)
2022-10-03 08:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.43 KB, application/x-bzip)
2022-10-03 08:16 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-03 08:16:20 UTC
tftpsubs.c:85:1: error: return type defaults to int [-Werror=implicit-int]
   85 | readit(file, dpp, convert)
      | ^~~~~~
tftpsubs.c: In function readit:
tftpsubs.c:97:17: error: implicit declaration of function read_ahead [-Werror=implicit-function-declaration]
   97 |                 read_ahead(file, convert);      /* fill it */
      |                 ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221002-182017

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
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 following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   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 d56c547d5b1c0994748e7a457b8d7ffe379272b0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 07:34:01 2022 +0000

    2022-10-03 07:34:01 UTC

emerge -qpvO net-ftp/linksys-tftp
[ebuild  N    ] net-ftp/linksys-tftp-1.2.1-r3
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:16:21 UTC
Created attachment 817489 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:16:23 UTC
Created attachment 817492 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:16:24 UTC
Created attachment 817495 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:16:25 UTC
Created attachment 817498 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:16:26 UTC
Created attachment 817501 [details]
net-ftp:linksys-tftp-1.2.1-r3:20221003-081516.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:16:27 UTC
Created attachment 817504 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:43:54 UTC
*** Bug 882127 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2024-04-29 05:32:06 UTC
The bug has been closed via the following commit(s):

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

commit 9041943e464b5d219db2101df1eebcab907e4b60
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-04-24 10:59:21 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-04-29 05:18:39 +0000

    net-ftp/linksys-tftp: Port to C99, fix compile on musl systems
    
    Primary patch by Richard Narron from bug 928051
    Musl fix by me.
    
    Closes: https://bugs.gentoo.org/928051
    Closes: https://bugs.gentoo.org/714212
    Closes: https://bugs.gentoo.org/874582
    Closes: https://bugs.gentoo.org/885699
    Closes: https://bugs.gentoo.org/913577
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36399
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../files/linksys-tftp-1.2.1-r4-c99-port.patch     | 572 +++++++++++++++++++++
 net-ftp/linksys-tftp/linksys-tftp-1.2.1-r4.ebuild  |  31 ++
 2 files changed, 603 insertions(+)