FS#60500 - [epiphany] Package contains reference to $srcdir

Attached to Project: Arch Linux
Opened by Stefan Jensen (sjensen) - Friday, 19 October 2018, 22:48 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 20 October 2018, 14:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I rebuild epiphany from the current PKGBUILD and namcap found a reference to $srcdir

Additional info:

* package version(s)

epiphany 3.30.1-1

* config and/or log files etc.

"WARNING: Package contains reference to $srcdir"

$grep -R "$(pwd)/src" pkg/
Binary file pkg/epiphany/usr/lib/epiphany/libephymisc.so matches

Steps to reproduce:

"makechrootpkg -c -n -r $CHROOT"

Could maybe easily fixed by changing the line from package():

-DESTDIR="$pkgdir" meson install -C build
+DESTDIR=$pkgdir meson install -C build
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 20 October 2018, 14:05 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Saturday, 20 October 2018, 02:28 GMT
Is this a problem?
Comment by Stefan Jensen (sjensen) - Saturday, 20 October 2018, 10:27 GMT
You tell me. The wiki reads as if it is not desirable:
https://wiki.archlinux.org/index.php/makepkg#WARNING:_Package_contains_reference_to_.24srcdir

However, i realised my above "fix" is completely wrong. Removing the quotes silents namcap, but the string ends up in the binary anyway.

Loading...