Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715756 - sys-block/partimage-0.6.9-r1 : ./common.h: error: mode_t has not been declared
Summary: sys-block/partimage-0.6.9-r1 : ./common.h: error: mode_t has not been declared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-01 13:12 UTC by Toralf Förster
Modified: 2021-12-29 07:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.58 KB, text/plain)
2020-04-01 13:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,210.03 KB, text/plain)
2020-04-01 13:12 UTC, Toralf Förster
Details
environment (environment,124.71 KB, text/plain)
2020-04-01 13:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.03 KB, application/x-bzip)
2020-04-01 13:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.71 KB, application/x-bzip)
2020-04-01 13:12 UTC, Toralf Förster
Details
sys-block:partimage-0.6.9-r1:20200401-121020.log (sys-block:partimage-0.6.9-r1:20200401-121020.log,18.45 KB, text/plain)
2020-04-01 13:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.44 KB, application/x-bzip)
2020-04-01 13:12 UTC, Toralf Förster
Details
Add missing includes (0001-add-missing-includes.patch,846 bytes, patch)
2020-04-12 18:27 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-01 13:12:20 UTC
                 from messages.h:24,
                 from messages.cpp:22:
./common.h:39:88: error: mode_t has not been declared
   39 | torSecure(const char *szFilename, const char *szMode, int nFlags, mode_t mode);
      |                                                                   ^~~~~~


  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  1 11:42:14 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-block/partimage
[ebuild  N    ] sys-block/partimage-0.6.9-r1  USE="nls pam ssl -nologin -static"
Comment 1 Toralf Förster gentoo-dev 2020-04-01 13:12:23 UTC
Created attachment 628442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-01 13:12:25 UTC
Created attachment 628444 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-01 13:12:28 UTC
Created attachment 628446 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-01 13:12:31 UTC
Created attachment 628448 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-01 13:12:34 UTC
Created attachment 628450 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-01 13:12:37 UTC
Created attachment 628452 [details]
sys-block:partimage-0.6.9-r1:20200401-121020.log
Comment 7 Toralf Förster gentoo-dev 2020-04-01 13:12:40 UTC
Created attachment 628454 [details]
temp.tbz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-04 08:58:10 UTC
other maybe useful patch from alpine: https://git.alpinelinux.org/aports/tree/main/partimage/partimage-include-sysmacros.patch
Comment 10 Jory A. Pratt gentoo-dev 2020-04-12 18:27:44 UTC
Created attachment 632518 [details, diff]
Add missing includes
Comment 11 Larry the Git Cow gentoo-dev 2020-04-12 18:37:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/musl.git/commit/?id=13baed0a13c710252e7e7698d92a9a4da60a62ec

commit 13baed0a13c710252e7e7698d92a9a4da60a62ec
Author:     Jory Pratt <anarchy@gentoo.org>
AuthorDate: 2020-04-12 18:37:45 +0000
Commit:     Jory Pratt <anarchy@gentoo.org>
CommitDate: 2020-04-12 18:37:45 +0000

    sys-block/partimage: add missing includes
    
    Fixes: https://bugs.gentoo.org/715756
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Jory Pratt <anarchy@gentoo.org>

 sys-block/partimage/Manifest                       |   1 +
 .../files/partimage-0.6.9-minor-typo.patch         |  13 ++
 .../files/partimage-0.6.9-missing-includes.patch   |  37 ++++++
 ...partimage-0.6.9-openssl-1.1-compatibility.patch |  41 ++++++
 .../files/partimage-0.6.9-zlib-1.2.5.2.patch       |  33 +++++
 sys-block/partimage/files/partimaged.conf          |   9 ++
 sys-block/partimage/files/partimaged.init.2        |  28 ++++
 sys-block/partimage/files/partimaged.pam.2         |   7 +
 sys-block/partimage/files/servercert.cnf           |  36 ++++++
 sys-block/partimage/metadata.xml                   |  14 ++
 sys-block/partimage/partimage-0.6.9-r1.ebuild      | 143 +++++++++++++++++++++
 11 files changed, 362 insertions(+)
Comment 12 Jory A. Pratt gentoo-dev 2020-04-12 18:38:28 UTC
sorry did not mean to close yet.
Comment 13 Larry the Git Cow gentoo-dev 2021-12-29 07:21:12 UTC
The bug has been closed via the following commit(s):

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

commit 8e680a4ed8101da64e79f204241f5b894e625218
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 07:20:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 07:20:58 +0000

    sys-block/partimage: fix build on musl
    
    Closes: https://bugs.gentoo.org/715756
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/partimage-0.6.9-missing-includes.patch   | 34 ++++++++++++++++++++++
 sys-block/partimage/partimage-0.6.9-r2.ebuild      |  1 +
 2 files changed, 35 insertions(+)