FS#55208 - [gcc] runtime license issue.

Attached to Project: Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Sunday, 20 August 2017, 13:46 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 04 September 2017, 06:33 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

package_gcc-fortran() {
pkgdesc='Fortran front-end for GCC'
depends=("gcc=$pkgver-$pkgrel")

cd gcc-build
make -C $CHOST/libgfortran DESTDIR="$pkgdir" install-cafexeclibLTLIBRARIES \
install-{toolexeclibDATA,nodist_fincludeHEADERS}
make -C $CHOST/libgomp DESTDIR="$pkgdir" install-nodist_fincludeHEADERS
make -C gcc DESTDIR="$pkgdir" fortran.install-{common,man,info}
install -Dm755 gcc/f951 "$pkgdir/${_libdir}/f951"

ln -s gfortran "$pkgdir/usr/bin/f95"

# Install Runtime Library Exception
install -d "$pkgdir/usr/share/licenses/gcc/"
ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
"$pkgdir/usr/share/licenses/$pkgname/"
}

I may be wrong but where/when in this function is the folder "$pkgdir/usr/share/licenses/$pkgname/" being created?
Shouldn't install -d "$pkgdir/usr/share/licenses/gcc/" be install -d "$pkgdir/usr/share/licenses/$pkgname" ?
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Monday, 04 September 2017, 06:33 GMT
Reason for closing:  Fixed
Comment by David McInnis (daavve) - Monday, 21 August 2017, 00:30 GMT
I needed to make the following to my PKGBUILD

---------------------------------------------------------------

240c240
< install -d "$pkgdir/usr/share/licenses/gcc/"
---
> install -d "$pkgdir/usr/share/licenses/$pkgname/"
255c255
< install -d "$pkgdir/usr/share/licenses/gcc/"
---
> install -d "$pkgdir/usr/share/licenses/$pkgname/"
278c278
< install -d "$pkgdir/usr/share/licenses/gcc/"
---
> install -d "$pkgdir/usr/share/licenses/$pkgname/"
297c297
< install -d "$pkgdir/usr/share/licenses/gcc/"
---
> install -d "$pkgdir/usr/share/licenses/$pkgname/"

--------------------------------------------------------------------------
Comment by Alexander Schnaidt (Namarrgon) - Monday, 21 August 2017, 00:42 GMT Comment by Bartłomiej Piotrowski (Barthalion) - Monday, 21 August 2017, 06:27 GMT
Just a typo, not affecting the resulting packages. I will fix it in trunk.
Comment by Eli Schwartz (eschwartz) - Tuesday, 29 August 2017, 06:03 GMT
Barthalion, did you forget to commit the typo fix?
Comment by Bartłomiej Piotrowski (Barthalion) - Tuesday, 29 August 2017, 10:52 GMT
I haven't done it in the first place.

Loading...