Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907091 - media-libs/libpgf-7.21.7-r1 - ../.../PGFplatform.h: error: off64_t was not declared in this scope
Summary: media-libs/libpgf-7.21.7-r1 - ../.../PGFplatform.h: error: off64_t was not de...
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:
Depends on:
Blocks: gcc-13 musl-1.2.4 musl-1.2.4-stable
  Show dependency tree
 
Reported: 2023-05-24 17:53 UTC by Toralf Förster
Modified: 2024-03-06 05:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.64 KB, text/plain)
2023-05-24 17:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,249.18 KB, text/plain)
2023-05-24 17:53 UTC, Toralf Förster
Details
environment (environment,75.29 KB, text/plain)
2023-05-24 17:53 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-05-24 17:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.85 KB, application/x-bzip)
2023-05-24 17:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.58 KB, application/x-bzip)
2023-05-24 17:53 UTC, Toralf Förster
Details
media-libs:libpgf-7.21.7-r1:20230524-052916.log (media-libs:libpgf-7.21.7-r1:20230524-052916.log,19.07 KB, text/plain)
2023-05-24 17:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.74 KB, application/x-bzip)
2023-05-24 17:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-05-24 17:53:52 UTC
libtool: compile:  x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -pipe -march=native -fno-diagnostics-color -c Subband.cpp  -fPIC -DPIC -o .libs/Subband.o
libtool: compile:  x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -pipe -march=native -fno-diagnostics-color -c PGFimage.cpp  -fPIC -DPIC -o .libs/PGFimage.o
In file included from ../include/PGFtypes.h:32,
                 from Subband.h:32,
                 from Subband.cpp:29:
../include/PGFplatform.h: In function 'OSError GetFPos(HANDLE, UINT64*)':
../include/PGFplatform.h:539:17: error: 'off64_t' was not declared in this scope; did you mean 'off_t'?
  539 |                 off64_t ret;
      |                 ^~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 16.0.4
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.4
Python 3.11.3
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit 9022af0d31c7fb2c546062378a3a695083c5f795
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 24 02:16:59 2023 +0000

    2023-05-24 02:16:58 UTC

emerge -qpvO media-libs/libpgf
[ebuild  N    ] media-libs/libpgf-7.21.7-r1  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2023-05-24 17:53:53 UTC
Created attachment 862450 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-05-24 17:53:54 UTC
Created attachment 862451 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-05-24 17:53:56 UTC
Created attachment 862452 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-05-24 17:53:56 UTC
Created attachment 862453 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-05-24 17:53:57 UTC
Created attachment 862454 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-05-24 17:53:58 UTC
Created attachment 862455 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-05-24 17:53:59 UTC
Created attachment 862456 [details]
media-libs:libpgf-7.21.7-r1:20230524-052916.log
Comment 8 Toralf Förster gentoo-dev 2023-05-24 17:54:00 UTC
Created attachment 862457 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2024-03-06 05:58:38 UTC
The bug has been closed via the following commit(s):

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

commit e5ea9207faf58a5468d0e663d1a41b67618ab259
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-03-06 05:50:39 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-03-06 05:58:25 +0000

    media-libs/libpgf: fix build on musl
    
    Drop off64_t, add AC_SYS_LARGEFILE.
    
    Closes: https://bugs.gentoo.org/907091
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../files/libpgf-7.21.7-remove-off64_t.patch       | 45 +++++++++++++++++
 media-libs/libpgf/libpgf-7.21.7-r2.ebuild          | 58 ++++++++++++++++++++++
 2 files changed, 103 insertions(+)