FS#46383 - [util-linux] PKGBUILD

Attached to Project: Arch Linux
Opened by Que Quotion (quequotion) - Monday, 21 September 2015, 21:21 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 22 September 2015, 18:37 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Use $pkgbase in build(); do not use $pkgname to refer to paths.

If a user is only building one of the packages, (makepkg --pkg libutil-linux) $pkgname returns the specified package, not the expected ($pkgbase) overall package name.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

Try to build libutil-linux from ABS.
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 22 September 2015, 18:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in SVN
Comment by Dave Reisner (falconindy) - Monday, 21 September 2015, 22:20 GMT
Does this actually work as you want it to if $pkgname is replaced with $pkgbase?
Comment by Que Quotion (quequotion) - Tuesday, 22 September 2015, 12:19 GMT
Yes.

In case you were wondering, I'm proposing solutions I have already tested.

Am I the only person whose ever tried to build everything from ABS?

There's a lot of broken stuff in the repository; let's get it fixed!
Comment by Dave Reisner (falconindy) - Tuesday, 22 September 2015, 12:32 GMT
These problems only exist because you're trying to build these packages piecemeal. Not really something that I care about supporting.

And no, your proposal doesn't work without any other changes because it encounters the same problem I've raised against you in  FS#46382 .

==> Starting package_libutil-linux()...
mv: cannot stat ‘/home/noclaf/src/arch/packages/util-linux/trunk/src/_libutil-linux/*’: No such file or directory
Comment by Que Quotion (quequotion) - Tuesday, 22 September 2015, 14:48 GMT
Once again, you're moving files over in one package_something() to be packaged in another package_somethingelse()

Why do you do this? Why not use the files in $srcdir?

Loading...