Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913577 - net-ftp/linksys-tftp-1.2.1-r3 - [clang] tftpsubs.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: net-ftp/linksys-tftp-1.2.1-r3 - [clang] tftpsubs.c: error: type specifier mis...
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
Depends on:
Blocks:
 
Reported: 2023-09-03 16:10 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,17.37 KB, text/plain)
2023-09-03 16:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.29 KB, text/plain)
2023-09-03 16:10 UTC, Toralf Förster
Details
environment (environment,58.81 KB, text/plain)
2023-09-03 16:10 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,792 bytes, application/x-xz)
2023-09-03 16:10 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,9.41 KB, application/x-xz)
2023-09-03 16:10 UTC, Toralf Förster
Details
net-ftp:linksys-tftp-1.2.1-r3:20230903-160205.log (net-ftp:linksys-tftp-1.2.1-r3:20230903-160205.log,22.13 KB, text/plain)
2023-09-03 16:10 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,17.37 KB, application/x-xz)
2023-09-03 16:10 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 2023-09-03 16:10:42 UTC
tftpsubs.c:63:17: warning: a function declaration without a prototype is
      deprecated in all versions of C and is treated as a zero-parameter
      prototype in C2x, conflicting with a subsequent definition
      [-Wdeprecated-non-prototype]
struct tftphdr *rw_init();
                ^
tftpsubs.c:85:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Wimplicit-int]
readit(file, dpp, convert)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230902-205829

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6+libcxx
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [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):
  [1]   php8.1 *
  [2]   php8.2
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 8f59170f73bc2840647afa47aaa0406fdd9c6783
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 3 14:31:57 2023 +0000

    2023-09-03 14:31:57 UTC

emerge -qpvO net-ftp/linksys-tftp
[ebuild  N    ] net-ftp/linksys-tftp-1.2.1-r3
Comment 1 Toralf Förster gentoo-dev 2023-09-03 16:10:42 UTC
Created attachment 869475 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-03 16:10:44 UTC
Created attachment 869476 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-03 16:10:45 UTC
Created attachment 869477 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-03 16:10:46 UTC
Created attachment 869478 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-03 16:10:46 UTC
Created attachment 869479 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-03 16:10:47 UTC
Created attachment 869480 [details]
net-ftp:linksys-tftp-1.2.1-r3:20230903-160205.log
Comment 7 Toralf Förster gentoo-dev 2023-09-03 16:10:48 UTC
Created attachment 869481 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-04-29 05:32:05 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(+)