Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933485 - net-print/hplip-3.23.12-r2 fails to compile with gcc14
Summary: net-print/hplip-3.23.12-r2 fails to compile with gcc14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
: 933498 (view as bug list)
Depends on:
Blocks: c99-porting gcc-14
  Show dependency tree
 
Reported: 2024-06-03 18:07 UTC by Jack
Modified: 2024-06-04 05:20 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,555.61 KB, text/x-log)
2024-06-03 18:08 UTC, Jack
Details
energe --info (emerge.info,21.79 KB, text/plain)
2024-06-03 18:09 UTC, Jack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2024-06-03 18:07:49 UTC
net-print/hplip-3.23.12-r2 gets error passing argument from incompatible pointer type with gcc-14.1.1_p20240518, but compiles fine with gcc 13.2.1_p20240210.

Reproducible: Always

Steps to Reproduce:
1. gcc-config set to gcc-14
2. emerge hplip
3.
Actual Results:  
compile failure

Expected Results:  
successful emerge

build.log and emerge --info to follow
Comment 1 Jack 2024-06-03 18:08:42 UTC
Created attachment 895004 [details]
build.log
Comment 2 Jack 2024-06-03 18:09:03 UTC
Created attachment 895005 [details]
energe --info
Comment 3 Kostadin Shishmanov 2024-06-03 18:19:02 UTC
Does this make it build fine? https://src.fedoraproject.org/rpms/hplip/blob/rawhide/f/hplip-hpaio-gcc14.patch
Comment 4 Jack 2024-06-03 20:19:40 UTC
(In reply to Kostadin Shishmanov from comment #3)
Thanks.  Compiles fine with that patch.  Runs OK, but IO haven't done any significant testing.
Comment 5 Larry the Git Cow gentoo-dev 2024-06-03 20:29:35 UTC
The bug has been closed via the following commit(s):

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

commit e4d300923046983e1179b90fb851fbb1e8ab60e5
Author:     Daniel Pielmeier <billie@gentoo.org>
AuthorDate: 2024-06-03 20:28:23 +0000
Commit:     Daniel Pielmeier <billie@gentoo.org>
CommitDate: 2024-06-03 20:29:00 +0000

    net-print/hplip: add 3.23.12-r3
    
    Closes: https://bugs.gentoo.org/932150
    Closes: https://bugs.gentoo.org/933485
    Signed-off-by: Daniel Pielmeier <billie@gentoo.org>

 net-print/hplip/Manifest                |   1 +
 net-print/hplip/hplip-3.23.12-r3.ebuild | 296 ++++++++++++++++++++++++++++++++
 2 files changed, 297 insertions(+)
Comment 6 Daniel Pielmeier gentoo-dev 2024-06-04 05:20:26 UTC
*** Bug 933498 has been marked as a duplicate of this bug. ***