Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908398 - sci-libs/dcmtk-3.6.7-r1 fails to compile (MUSL-SYSTEM): offile.h:359:16: error: ::fopen64 has not been declared
Summary: sci-libs/dcmtk-3.6.7-r1 fails to compile (MUSL-SYSTEM): offile.h:359:16: erro...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-06-12 10:14 UTC by Agostino Sarubbo
Modified: 2024-04-28 11:17 UTC (History)
0 users

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


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

Issue: sci-libs/dcmtk-3.6.7-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-12 10:14:40 UTC
Created attachment 863727 [details]
build.log

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


-- Warning: ICONV support will be disabled because libiconv was not found. Correct LIBICONV_LIBDIR and LIBICONV_INCLUDE_DIR and re-enable DCMTK_WITH_ICONV.
-- Warning: OpenJPEG support will be disabled because the OpenJPEG library was not found.
-- Warning: SNDFILE support will be disabled because libsndfile was not found.
-- Warning: WRAP support will be disabled because libwrap was not found.
FAILED: ofstd/libsrc/CMakeFiles/ofstd.dir/ofcmdln.cc.o 
FAILED: ofstd/libsrc/CMakeFiles/ofstd.dir/ofconapp.cc.o 
FAILED: ofstd/libsrc/CMakeFiles/ofstd.dir/offile.cc.o 
FAILED: ofstd/libsrc/CMakeFiles/ofstd.dir/ofstd.cc.o 
/var/tmp/portage/sci-libs/dcmtk-3.6.7-r1/work/dcmtk-3.6.7/ofstd/include/dcmtk/ofstd/offile.h:359:16: error: '::fopen64' has not been declared; did you mean 'fopen'?
Comment 3 Larry the Git Cow gentoo-dev 2024-03-04 00:02:23 UTC
The bug has been referenced in the following commit(s):

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

commit 95a575a2bd2d6b396d56e01776135f15c56c2104
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-04 00:01:50 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-04 00:02:12 +0000

    sci-libs/dcmtk: Apply musl-1.2.4 largefile workaround
    
    Bug: https://bugs.gentoo.org/908398
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sci-libs/dcmtk/dcmtk-3.6.7-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)