Summary: | www-misc/mergelog-4.5-r2 - mergelog.c: error: passing argument 1 of gzread from incompatible pointer type [-Wincompatible-pointer-types] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | hanno, jy6x2b32pie9, leonchik1976, sean-gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 941869 | ||
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz www-misc:mergelog-4.5-r2:20231227-094844.log |
Description
Toralf Förster
![]() Created attachment 880709 [details]
emerge-info.txt
Created attachment 880710 [details]
emerge-history.txt.xz
Created attachment 880711 [details]
environment
Created attachment 880712 [details]
etc.clang.tar.xz
Created attachment 880713 [details]
etc.portage.tar.xz
Created attachment 880714 [details]
logs.tar.xz
Created attachment 880715 [details]
qlist-info.txt.xz
Created attachment 880716 [details]
temp.tar.xz
Created attachment 880717 [details]
www-misc:mergelog-4.5-r2:20231227-094844.log
Can't be trivially fixed - error is a symptom of deep internal type confusion between handle (gzFile), pointer to handle and a pointer to a pointer to handle. This depth of indirection does not appear required. Trivially changing all error sites to take address of passed parameter and get double-pointer that way most likely will break this program, as it checks if returned handles are non-null. I am unwilling to put an effort to fix this program all the way, it would require rewriting a lot of it. |