FS#45530 - [eclipse] 4.5 is broken in testing repo

Attached to Project: Arch Linux
Opened by Zuyi Hu (hzy) - Friday, 03 July 2015, 01:35 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 10 June 2016, 20:46 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
eclipse 4.5 in testing repo is broken:

/usr/bin/eclipse: line 3: /usr/lib/eclipse/eclipse: Is a directory
/usr/bin/eclipse: line 3: exec: /usr/lib/eclipse/eclipse: cannot execute: Is a directory

I think you should add this patch to fix this error:
--- a/PKGBUILD 2015-07-03 09:33:12.375984534 +0800
+++ b/PKGBUILD 2015-07-03 09:21:09.526989867 +0800
@@ -64,7 +64,7 @@
install=eclipse.install

install -d "$pkgdir/usr/lib"
- cp -a eclipse-common "$pkgdir/usr/lib/eclipse"
+ cp -a eclipse-common/eclipse "$pkgdir/usr/lib/eclipse"

install -D eclipse.sh "$pkgdir/usr/bin/eclipse"
install -Dm644 eclipse.desktop "$pkgdir/usr/share/applications/eclipse.desktop"
@@ -88,5 +88,5 @@
esac

install -d "$pkgdir/usr/lib"
- cp -a $1 "$pkgdir/usr/lib/eclipse"
+ cp -a $1/eclipse "$pkgdir/usr/lib/eclipse"
}
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 10 June 2016, 20:46 GMT
Reason for closing:  Fixed
Comment by Samantha McVey (samcv) - Friday, 10 June 2016, 07:31 GMT
Can the ticket creator post back on whether this package is still broken? I am guessing it has been fixed in the meantime, but let me know if you still think there are problems with the PKGBUILD

Loading...