FS#23507 - [srcpac] installs all packages of a splitpackage

Attached to Project: Arch Linux
Opened by Steffen Weber (boenki) - Tuesday, 29 March 2011, 21:40 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 03 April 2011, 13:08 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I wanted to install sqlite3 with srcpac. After compiling it asked to install all packages that were compiled.
sqlite3
sqlite3-doc
sqlite3-tcl

I only wanted sqlite3.

This will likely happen to other splitpackages. But I have not tested that.

Additional info:
* package version(s)
srcpac 0.9.1-1
sqlite3 3.7.5-1

Steps to reproduce:
srcpac -Sb sqlite3
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 03 April 2011, 13:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  on git
Comment by Steffen Weber (boenki) - Wednesday, 30 March 2011, 16:33 GMT
A quick and dirty hack that works for me:
Use makepkg's --pkg <list> variable.

patch attached...

_____________________________________________
EDIT:
_____________________________________________
I requested a reopen of this task because srcpac (0.10.1-1) still attempts to install _all_ packages from a splitpkg if you only choose the first one. It works correctly for all numbers but "1".

:: More packages have been built:
1) sqlite3
2) sqlite3-doc
3) sqlite3-tcl
Enter a selection (default=all):
1
warning: sqlite3-3.7.5-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (3): sqlite3-3.7.5-1 sqlite3-doc-3.7.5-1 sqlite3-tcl-3.7.5-1


I'd also liked srcpac to only package the chosen pkgs.
You'd have to choose the ones to package before the build.
See above for my ugly patch for makepkg.
Comment by Steffen Weber (boenki) - Saturday, 02 April 2011, 16:52 GMT
  • Field changed: Percent Complete (100% → 0%)
srcpac still installs all pkgs if input is "1"
Comment by Andrea Scarpino (BaSh) - Saturday, 02 April 2011, 16:53 GMT
I cannot reproduce this with srcpac 0.10.1, see http://pastebin.com/GRKzFs2y
Comment by Steffen Weber (boenki) - Saturday, 02 April 2011, 16:58 GMT
You're too fast :)

See my edit above (only happens if you choose 1)
Comment by Steffen Weber (boenki) - Saturday, 02 April 2011, 17:08 GMT
pyopenssl actually works here as it should.
I only tried with sqlite3 and xorg-server ... (?)

:: More packages have been built:
1) xorg-server
2) xorg-server-common
3) xorg-server-devel
4) xorg-server-xdmx
5) xorg-server-xephyr
6) xorg-server-xnest
7) xorg-server-xvfb
Enter a selection (default=all):
1
warning: xorg-server-1.9.4.901-1 is up to date -- reinstalling
warning: xorg-server-common-1.9.4.901-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (8): xorg-server-common-1.9.4.901-1 xorg-server-1.9.4.901-1 xorg-util-macros-1.13.0-1 xorg-server-devel-1.9.4.901-1
xorg-server-xdmx-1.9.4.901-1 xorg-server-xephyr-1.9.4.901-1 xorg-server-xnest-1.9.4.901-1
xorg-server-xvfb-1.9.4.901-1

Total Download Size: 0.02 MB
Total Installed Size: 11.74 MB

Proceed with installation? [Y/n] n
Comment by Andrea Scarpino (BaSh) - Saturday, 02 April 2011, 20:25 GMT
Ok, I fixed the installation issue on git. If everything works I'll release srcpac 0.10.2.
Thank you for testing.
Comment by Steffen Weber (boenki) - Sunday, 03 April 2011, 12:46 GMT
I tested it and it works. At least for the both pkgs sqlite3 and xorg-server.

Before you release the next version: I just reported another bug ;)
https://bugs.archlinux.org/task/23571

Thanks

Loading...