Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921166 - media-video/handbrake-1.6.1 fails to compile (GCC-14-SYSTEM): muxavformat.c:1209:18: error: implicit declaration of function time [-Wimplicit-function-declaration]
Summary: media-video/handbrake-1.6.1 fails to compile (GCC-14-SYSTEM): muxavformat.c:1...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-01 14:40 UTC by Agostino Sarubbo
Modified: 2024-01-29 00:06 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,106.31 KB, text/plain)
2024-01-01 14:40 UTC, Agostino Sarubbo
Details
backported patch (c99.patch,727 bytes, patch)
2024-01-10 14:02 UTC, Kostadin Shishmanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-01 14:40:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-video/handbrake-1.6.1 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-01 14:40:46 UTC
Created attachment 881216 [details]
build.log

build log and emerge --info
Comment 2 H. Peter Pfeufer 2024-01-06 22:38:28 UTC
Getting the same message during compile on GCC 13.

```
 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * ../libhb/muxavformat.c:1212:5: warning: incompatible implicit declaration of built-in function ‘strftime’ [-Wbuiltin-declaration-mismatch]
```


```
root@thor.walhalla.lan ~ $
» gcc-config -l
 [1] x86_64-pc-linux-gnu-13 *
```


Handbrake compiles and starts, but as soon as I want to start a transcode job it crashes with a segmentation fault.

```
ppfeufer@thor.walhalla.lan ~ $
» ghb

(fr.handbrake.ghb:17948): Gtk-WARNING **: 23:34:37.181: Locale not supported by C library.
        Using the fallback 'C' locale.
Segmentation fault (core dumped)
```
Comment 3 Kostadin Shishmanov 2024-01-10 14:02:29 UTC
Created attachment 881819 [details, diff]
backported patch

This is fixed upstream: https://github.com/HandBrake/HandBrake/commit/5fc06017f40eb152bad36cfa7436a8f50f4ed2ca