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#74402 - qalculate-qt has a wrong `source` field in its PKGBUILD

Attached to Project: Arch Linux
Opened by Moody (Moody) - Friday, 08 April 2022, 12:07 GMT
Last edited by Antonio Rojas (arojas) - Monday, 18 April 2022, 09:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

As can be seen here: https://github.com/archlinux/svntogit-packages/blob/packages/qalculate-qt/trunk/PKGBUILD#L12

The PKGBUILD is using a hand-uploaded tarball from its upstream release, instead of GitHub-provided one, this has caused problems of:

- upstream changes the content of such tarball without notice
- upstream tarball contains problematic files (`.qmake.stash` in this case, contains personal compiler configurations) which would affect the next run of `qmake(6)`

The source should be changed to: `https://github.com/Qalculate/qalculate-qt/archive/refs/tags/v$pkgver.tar.gz` to use the file provided by GitHub.


Additional info:
* package version(s): qalculate-qt
* config and/or log files etc
* link to upstream bug report, if any


This is the problem caused by not using proper sources (it's not from ArchLinux officially but it's better to fix by the Arch upstream):

https://github.com/felixonmars/archriscv-packages/pull/321#issuecomment-1092774617
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 18 April 2022, 09:07 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Friday, 08 April 2022, 12:39 GMT
- upstream changes the content of such tarball without notice

That would actually happen more frequently by using auto-generated tarballs. Many upstreams retag things all the time.

- upstream tarball contains problematic files (`.qmake.stash` in this case, contains personal compiler configurations) which would affect the next run of `qmake(6)`

That seems to me like a bug in older releases which is already fixed.

The source we're using is the official one, as available in https://qalculate.github.io/downloads.html

Loading...