Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905999 - dev-libs/tinyxml2-9.0.0-r1 fails to compile (MUSL-SYSTEM): tinyxml2.cpp:110:29: error: fseeko64 was not declared in this scope
Summary: dev-libs/tinyxml2-9.0.0-r1 fails to compile (MUSL-SYSTEM): tinyxml2.cpp:110:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-09 06:18 UTC by Agostino Sarubbo
Modified: 2023-07-11 04:35 UTC (History)
0 users

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


Attachments
build.log (build.log,46.15 KB, text/plain)
2023-05-09 06:18 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-05-09 06:18:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/tinyxml2-9.0.0-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-05-09 06:18:14 UTC
Created attachment 861362 [details]
build.log

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


FAILED: CMakeFiles/tinyxml2.dir/tinyxml2.cpp.o 
/var/tmp/portage/dev-libs/tinyxml2-9.0.0-r1/work/tinyxml2-9.0.0/tinyxml2.cpp:110:29: error: 'fseeko64' was not declared in this scope; did you mean 'fseeko'?
Comment 3 immolo 2023-05-10 19:37:21 UTC
Raised upstream https://github.com/leethomason/tinyxml2/issues/939
Comment 4 Violet Purcell 2023-06-08 15:27:01 UTC
PR submitted upstream.
https://github.com/leethomason/tinyxml2/pull/945
Comment 5 Larry the Git Cow gentoo-dev 2023-07-11 04:35:32 UTC
The bug has been closed via the following commit(s):

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

commit 942655e1b33d88253997d5a1174fff8e3d0c9230
Author:     Violet Purcell <vimproved@inventati.org>
AuthorDate: 2023-06-08 15:23:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-11 04:34:18 +0000

    dev-libs/tinyxml2: Fix build with musl 1.2.4
    
    Closes: https://bugs.gentoo.org/905999
    Signed-off-by: Violet Purcell <vimproved@inventati.org>
    Closes: https://github.com/gentoo/gentoo/pull/31356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tinyxml2/files/tinyxml2-9.0.0-musl-1.2.4.patch | 51 ++++++++++++++++++++++
 dev-libs/tinyxml2/tinyxml2-9.0.0-r1.ebuild         |  4 ++
 2 files changed, 55 insertions(+)