Package Details: lynx-git 2.9.0dev.10k.r714.g09edd94f-1

Git Clone URL: https://aur.archlinux.org/lynx-git.git (read-only, click to copy)
Package Base: lynx-git
Description: The text web browser
Upstream URL: https://lynx.invisible-island.net/lynx.html
Licenses: GPL
Conflicts: lynx
Provides: lynx
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 1
Popularity: 0.000000
First Submitted: 2020-01-12 12:37 (UTC)
Last Updated: 2022-09-30 04:03 (UTC)

Required by (49)

Sources (1)

Latest Comments

eclairevoyant commented on 2022-09-30 22:27 (UTC)

Thanks for updating - and yes I read the deps list too quickly. Apologies.

Chocobo1 commented on 2022-09-30 04:04 (UTC)

Seems like the build is currently failing.

Fixed.

Lynx doesn't need git to run, so git should never be a dependency here and should only be in makedepends (see Arch wiki).

Read again.

eclairevoyant commented on 2022-09-30 01:45 (UTC) (edited on 2022-09-30 01:53 (UTC) by eclairevoyant)

Seems like the build is currently failing.

==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: fatal: No tags can describe '09edd94f131ec64c31b17cb3a26fa0a8069af9c6'.
Try --always, or create some tags.

The issue is that the project owner somehow structured their project incorrectly, and so the refs on master don't line up with the tag refs. For example 09edd94f131ec64c31b17cb3a26fa0a8069af9c6 is the latest commit on master (corresponding to v2-9-0dev_10k), but the tag is actually on 9a01ad1ede23cc175bc7e7536a62d0939aa8278f and corresponds to no branch. I'm actually surprised if this ever built correctly?

I'd suggest sorting tags by date (descending) and then using that to generate the pkgver. Or you could parse the description, but this is riskier and risks breaking if the format ever changes.

Also, there's some issues with the dependencies. Lynx doesn't need git to run, so git should never be a dependency here and should only be in makedepends (see Arch wiki). For the depends array I'd suggest sticking to what extra/lynx has unless there's some specific changes that were done since 2.8.9 to affect dependencies.