Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79198 - [claws-mail] Unable to build from source

Attached to Project: Arch Linux
Opened by Martin Schnitkemper (Martin-MS) - Tuesday, 25 July 2023, 09:05 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 29 July 2023, 22:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Building the package in a clean chroot fails

Additional info:

(1) message "configure: error: "Plugin fancy cannot be built; missing libwebkit2gtk-4.0 " --> need to add package 'webkit2gtk' in the makedepends-array
(2) after adding the missing dependency, the compilation failed with mass of errors like

> os_types.h:1:1: note: 'std::uintptr_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?

or

> os_types.h:68:22: error: 'uintptr_t' in namespace 'std' does not name a type
> 68 | typedef std::uintptr_t uint_ptr;
> | ^~~~~~~~~

In several modules there need to be add '#include <cstdint>' for a correct definition. I made & attached a patch that add these definition to the affected modules.

After fixing both issues I was able to build the package.

Steps to reproduce: "sudo makechrootpkg -cnr $CHROOT" in the project folder
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 29 July 2023, 22:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  claws-mail 4.1.1-2

Loading...