Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933742 - app-backup/amanda-3.5.4 fails to compile: runtar.c:199:18: error: assignment to char from incompatible pointer type const char [-Wincompatible-pointer-types]
Summary: app-backup/amanda-3.5.4 fails to compile: runtar.c:199:18: error: assignment ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-06-07 14:05 UTC by Agostino Sarubbo
Modified: 2024-12-04 18:24 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,367.72 KB, text/plain)
2024-06-07 14:05 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-06-07 14:05:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-backup/amanda-3.5.4 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-07 14:05:14 UTC
CC'ing also the author of the commit (75ae4e8afe2fc84ced438d7d08fc39d5b52d4802)
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-07 14:05:15 UTC
Created attachment 895309 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-06-07 14:05:17 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


configure: WARNING: Not building 'amplot', because gnuplot was not found
  Not building 'amplot', because gnuplot was not found
runtar.c:199:18: error: assignment to ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
Comment 4 Doug Nazar 2024-10-25 05:00:50 UTC
https://github.com/gentoo/gentoo/pull/39104

Contains the patches I've been testing locally.
Comment 5 Larry the Git Cow gentoo-dev 2024-12-04 18:24:08 UTC
The bug has been closed via the following commit(s):

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

commit c744889ddef99cd36b57ea52b0986de1dcc45dba
Author:     Doug Nazar <nazard@nazar.ca>
AuthorDate: 2024-10-25 04:35:22 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-12-04 18:24:05 +0000

    app-backup/amanda: Misc fixes
    
    Fix GCC 14 compilation (-Wincompatible-pointer-types)
    Fix Perl warnings (removed unneeded use statements)
    Fix Perl 5.40 invocation of finished_cb (Tim Buchheim)
    Fix QA warning about using NULL variable
    Fix ndmp requires rpcgen
    
    Signed-off-by: Doug Nazar <nazard@nazar.ca>
    Closes: https://bugs.gentoo.org/933742
    Closes: https://bugs.gentoo.org/939202
    Closes: https://bugs.gentoo.org/933756
    Closes: https://github.com/gentoo/gentoo/pull/39104
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-backup/amanda/amanda-3.5.4-r1.ebuild           | 529 +++++++++++++++++++++
 .../files/amanda-3.5.4-const-whitelist-var.patch   |  21 +
 .../amanda-3.5.4-fix-finished_cb-invocation.patch  |  12 +
 .../amanda-3.5.4-fix-tapelist-null-usage.patch     |  12 +
 ...-3.5.4-remove-amanda-message-severity-use.patch |  22 +
 5 files changed, 596 insertions(+)