Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 581010

Summary: app-arch/p7zip-9.20.1-r5 with sys-libs/musl - In file included from ../../UI/Console/ExtractCallbackConsole.cpp:5: ../../../Windows/FileDir.h:100:3: error: ‘dev_t’ does not name a type
Product: Gentoo Linux Reporter: Aric Belsito <lluixhi>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED OBSOLETE    
Severity: normal CC: tsmksubc
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: p7zip-CVE-2015-1038-musl.patch

Description Aric Belsito 2016-04-24 08:22:26 UTC
Created attachment 431762 [details, diff]
p7zip-CVE-2015-1038-musl.patch

Build error:

../../include_windows ../../UI/Console/ExtractCallbackConsole.cpp
In file included from ../../UI/Console/../Common/ArchiveExtractCallback.h:9:0,
                 from ../../UI/Console/ExtractCallbackConsole.h:11,
                 from ../../UI/Console/ExtractCallbackConsole.cpp:5:
../../../Windows/FileDir.h:100:3: error: ‘dev_t’ does not name a type
   dev_t _dev;
   ^
../../../Windows/FileDir.h:101:3: error: ‘ino_t’ does not name a type
   ino_t _ino;
   ^
../../../../makefile.rules:22: recipe for target 'ExtractCallbackConsole.o'
failed
Comment 1 Felix Janda 2016-04-24 09:20:59 UTC
To add some more information, the musl patch is a fix for the
CVE-2015-1038 patches, and needs to be added to all ebuilds before
version 15.14. The actual upstream fix for CVE-2015-1038 in p7zip-15.14
works fine for musl since it adds a <sys/stat.h> include, so no
patching is necessary for versions starting from 15.14.
Comment 2 Aric Belsito 2016-09-14 22:52:57 UTC
Status on this?