Community Packages

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#48179 - [phoronix-test-suite] Arch modification breaks installation of external dependencies

Attached to Project: Community Packages
Opened by Jonas Kalderstam (spacecowboy) - Sunday, 14 February 2016, 14:34 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 09 March 2016, 22:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

This particular line in the [PKGBUILD](https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/phoronix-test-suite)
breaks PTS's ability to install external dependencies:

sed -i 's#-packages.sh#-packages.sh --asdeps#' pts-core/objects/client/pts_external_dependencies.php

The issue is that now PTS will check if this file exists:

/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/scripts/install-arch-packages.sh --asdeps

which will fail due to the argument added to the end, and package installation will not work.


Additional info:
* package version(s): 6.0.1-1


Steps to reproduce:

0. Have a reasonably fresh installation, or make sure there are some missing dependencies that PTS should install:

sudo pacman -Rsc sdl_net sdl_ttf sdl2_net sdl2_ttf sdl2_mixer

1. Install PTS

sudo pacman -S phoronix-test-suite

2. Try to run the following suite:

phoronix-test-suite debug-run pts/gaming


Resulting output:

pts/ppracer-1.1.1 is not supported on this architecture: x86_64
Distribution install script not found!

There are dependencies still missing from the system:
- Boost Development Libraries
- GNU Standard C++ Library v3
- Jam Build Tool
- SCons
- SDL 1.x Development Files

1: Ignore missing dependencies and proceed with installation.
2: Skip installing the tests with missing dependencies.
3: Re-attempt to install the missing dependencies.
4: Quit the current Phoronix Test Suite process.
Missing dependencies action:


Expected output:

pts/ppracer-1.1.1 is not supported on this architecture: x86_64

The following dependencies are needed and will be installed:

- sdl
- sdl_net
- sdl_gfx
- sdl_image
- sdl_ttf
- ftjam
- scons
- boost
- libstdc++5

This process may take several minutes.
Please enter your root password below:
Password:


Suggested solution:

Do not modify any of the PTS scripts, instead modify the arch specific script with for example:

sed -i "s#noconfirm#noconfirm --asdeps#" pts-core/external-test-dependencies/scripts/install-arch-packages.sh

This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 09 March 2016, 22:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  --asdeps added into install-arch-packages.sh
Comment by Doug Newgard (Scimmia) - Monday, 15 February 2016, 02:51 GMT
I would assume that package installation is not supposed to work. Why in the world would you use that script?

Loading...