Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581010 - 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
Summary: app-arch/p7zip-9.20.1-r5 with sys-libs/musl - In file included from ../../UI/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2016-04-24 08:22 UTC by Aric Belsito
Modified: 2017-03-03 21:10 UTC (History)
1 user (show)

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


Attachments
p7zip-CVE-2015-1038-musl.patch (p7zip-CVE-2015-1038-musl.patch,436 bytes, patch)
2016-04-24 08:22 UTC, Aric Belsito
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?