Bug 2261324 - libgphoto2: FTBFS in Fedora rawhide/f40
Summary: libgphoto2: FTBFS in Fedora rawhide/f40
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libgphoto2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-01-29 20:34 UTC by Fedora Release Engineering
Modified: 2024-02-22 02:22 UTC (History)
8 users (show)

Fixed In Version: libgphoto2-2.5.31-1.fc39 libgphoto2-2.5.31-1.fc38
Clone Of:
Environment:
Last Closed: 2024-02-22 02:18:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2024-01-29 20:34 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2024-01-29 20:34 UTC, Fedora Release Engineering
no flags Details
state.log (1.65 KB, text/plain)
2024-01-29 20:34 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources libgphoto2 pull-request 5 0 None None None 2024-02-07 02:18:11 UTC

Description Fedora Release Engineering 2024-01-29 20:34:29 UTC
libgphoto2 failed to build from source in Fedora rawhide/f40

https://koji.fedoraproject.org/koji/taskinfo?taskID=112314148


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Please fix libgphoto2 at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
libgphoto2 will be orphaned. Before branching of Fedora 41,
libgphoto2 will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2024-01-29 20:34:37 UTC
Created attachment 2012472 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2024-01-29 20:34:43 UTC
Created attachment 2012473 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2024-01-29 20:34:47 UTC
Created attachment 2012474 [details]
state.log

Comment 4 Daniel Berrangé 2024-01-30 14:52:41 UTC
Attached build.log is too truncated to show the fail.

The actual problem was:

ptp2/chdk.c: In function 'yuv_live_to_jpeg':
ptp2/chdk.c:1186:41: error: passing argument 3 of 'jpeg_mem_dest' from incompatible pointer type [-Wincompatible-pointer-types]
 1186 |         jpeg_mem_dest (&cinfo, &outbuf, &outlen);
      |                                         ^~~~~~~
      |                                         |
      |                                         uint64_t * {aka long long unsigned int *}
In file included from ptp2/chdk.c:31:
/usr/include/jpeglib.h:922:43: note: expected 'long unsigned int *' but argument is of type 'uint64_t *' {aka 'long long unsigned int *'}
  922 |                            unsigned long *outsize);
      |                            ~~~~~~~~~~~~~~~^~~~~~~
make[3]: *** [Makefile:3553: ptp2/la-chdk.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

only hits on 32-bit builds.

Comment 5 Fedora Update System 2024-02-13 12:49:16 UTC
FEDORA-2024-23733829ed (gphoto2-2.5.28-1.fc38 and libgphoto2-2.5.31-1.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-23733829ed

Comment 6 Fedora Update System 2024-02-13 12:49:24 UTC
FEDORA-2024-e11a14fc30 (gphoto2-2.5.28-1.fc39 and libgphoto2-2.5.31-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e11a14fc30

Comment 7 Fedora Update System 2024-02-14 02:11:27 UTC
FEDORA-2024-e11a14fc30 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e11a14fc30`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e11a14fc30

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-02-14 02:25:32 UTC
FEDORA-2024-23733829ed has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-23733829ed`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-23733829ed

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-02-22 02:18:35 UTC
FEDORA-2024-e11a14fc30 (gphoto2-2.5.28-1.fc39 and libgphoto2-2.5.31-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-02-22 02:22:49 UTC
FEDORA-2024-23733829ed (gphoto2-2.5.28-1.fc38 and libgphoto2-2.5.31-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.