[aur-general] Attempt to upload llvm35 to AUR gets rejected

Eli Schwartz eschwartz at archlinux.org
Sun Apr 8 03:56:13 UTC 2018


On 04/06/2018 07:12 AM, LoneVVolf wrote:
> Although SRCINFO does have pkgbase=llvm35 in it, that's not in the
> PKGBUILD. I doubt that's the cause of the issue, but try adding pkgbase
> explicitly to PKGBUILD.

Explicitly contrary to the PKGBUILD spec; if pkgbase is unset, makepkg
sets it from the first element of pkgname, and this is why the .SRCINFO
still shows it.

> I think AUR uses a blacklist to prevent duplicates with offical repos,
> maybe that blacklist needs updating ?

The blacklist currently contains llvm35, which I think is because it is
erroring when running updates.

```
[eschwartz at luna ~]$ ./aurblup.py
inserting update for libreoffice-still-pa-in (provides: libreoffice-pa-IN)
Traceback (most recent call last):
  File "./aurblup.py", line 55, in <module>
    main()
  File "./aurblup.py", line 44, in main
    "VALUES (?, ?, ?)", [pkg, repo, provides])
  File
"/usr/lib/python3.6/site-packages/aurweb-4.6.0-py3.6.egg/aurweb/db.py",
line 43, in execute
  File "/usr/lib/python3.6/site-packages/mysql/connector/cursor.py",
line 561, in execute
    self._handle_result(self._connection.cmd_query(stmt))
  File "/usr/lib/python3.6/site-packages/mysql/connector/connection.py",
line 514, in cmd_query
    result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))
  File "/usr/lib/python3.6/site-packages/mysql/connector/connection.py",
line 416, in _handle_result
    raise errors.get_exception(packet)
mysql.connector.errors.IntegrityError: 1062 (23000): Duplicate entry
'libreoffice-still-pa-in-libreoffice-pa-IN' for key 'ProviderNameProvides'
```

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20180407/be974a7a/attachment.asc>


More information about the aur-general mailing list