Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907898 - net-p2p/retroshare-0.6.6-r1 fails to compile (MUSL-SYSTEM): gui/statistics/Histogram.h:35:27: error: 'uint32_t' was not declared in this scope
Summary: net-p2p/retroshare-0.6.6-r1 fails to compile (MUSL-SYSTEM): gui/statistics/Hi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gioacchino Mazzurco
URL:
Whiteboard: Not a regression with musl-1.2.4
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-06-05 13:25 UTC by Agostino Sarubbo
Modified: 2024-03-27 13:34 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,860.56 KB, text/plain)
2023-06-05 13:25 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-06-05 13:25:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-p2p/retroshare-0.6.6-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-05 13:25:54 UTC
Created attachment 863333 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-05 13:25:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/var/tmp/portage/net-p2p/retroshare-0.6.6-r1/work/RetroShare/libretroshare/src/jsonapi/jsonapi.cpp:477: warning: include file jsonapi-wrappers.inl not found, perhaps you forgot to add its directory to INCLUDE_PATH?
fatal: not a git repository (or any parent up to mount point /var/tmp)
ft/ftdatamultiplex.cc:713:12: error: 'fseeko64' was not declared in this scope; did you mean 'fseeko'?
Comment 3 Larry the Git Cow gentoo-dev 2024-03-03 20:38:45 UTC
The bug has been referenced in the following commit(s):

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

commit d3aaeba9d0b1bf4930bd2b074abd58f2ec6573f1
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-03 20:37:36 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-03 20:38:34 +0000

    net-p2p/retroshare: Apply musl-1.2.4 largefile workaround
    
    Bug: https://bugs.gentoo.org/907898
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 net-p2p/retroshare/retroshare-0.6.6-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2024-03-03 20:39:23 UTC
Not the only problem however....

In file included from gui/statistics/Histogram.cpp:23:
gui/statistics/Histogram.h:35:27: error: 'uint32_t' was not declared in this scope
   35 |         const std::vector<uint32_t>& entries() const { return mBins; }
      |                           ^~~~~~~~
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2024-03-04 21:59:42 UTC
(In reply to Andreas K. Hüttel from comment #4)
> Not the only problem however....
> 
> In file included from gui/statistics/Histogram.cpp:23:
> gui/statistics/Histogram.h:35:27: error: 'uint32_t' was not declared in this
> scope
>    35 |         const std::vector<uint32_t>& entries() const { return mBins;
> }
>       |                           ^~~~~~~~

Not a regression with musl-1.2.4
Comment 6 mehw 2024-03-27 13:34:39 UTC
Hello,

About the 'uint32_t' compilation error, see also: bug#895762

For a version bump, see: bug#927207