View previous topic :: View next topic |
Author |
Message |
JohnBlbec Guru
Joined: 08 Feb 2003 Posts: 306
|
Posted: Mon Feb 27, 2017 11:54 am Post subject: can't install dev-embedded/arduino-ide-1.8.1 |
|
|
hi,
gentoo ebuild is really old so i've used a source https://gpo.zugaina.org/dev-embedded/arduino-ide/
it is compiled well but installation phase always finishes with error below:
Code: |
BUILD SUCCESSFUL
Total time: 48 seconds
>>> Source compiled.
>>> Test phase [not enabled]: dev-embedded/arduino-ide-1.8.1
>>> Install arduino-ide-1.8.1 into /var/tmpfs/portage/dev-embedded/arduino-ide-1.8.1/image/ category dev-embedded
/usr/bin/install: cannot stat 'dist': No such file or directory
!!! doins: dist does not exist
* ERROR: dev-embedded/arduino-ide-1.8.1::rpolasek failed (install phase):
* doins failed
*
* If you need support, post the output of `emerge --info '=dev-embedded/arduino-ide-1.8.1::rpolasek'`,
* the complete build log and the output of `emerge -pqv '=dev-embedded/arduino-ide-1.8.1::rpolasek'`.
* The complete build log is located at '/var/log/portage/dev-embedded:arduino-ide-1.8.1:20170227-082731.log'.
* For convenience, a symlink to the build log is located at '/var/tmpfs/portage/dev-embedded/arduino-ide-1.8.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmpfs/portage/dev-embedded/arduino-ide-1.8.1/temp/environment'.
* Working directory: '/var/tmpfs/portage/dev-embedded/arduino-ide-1.8.1/work/Arduino-1.8.1/build/linux/work'
* S: '/var/tmpfs/portage/dev-embedded/arduino-ide-1.8.1/work/Arduino-1.8.1'
* QA Notice: file does not exist:
*
* doins: dist does not exist
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.121"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac"
and of course, the output of emerge --info =arduino-ide-1.8.1
|
has anybody been solving that issue yet, please? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Mon Feb 27, 2017 12:41 pm Post subject: |
|
|
This ebuild is not official supported.
Anyway try to substitute the function src_install with this (Not tested if program run, but installation end well)
Code: | src_install() {
cd build/linux/work || die
java-pkg_dojar lib/*.jar
java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
if use examples; then
java-pkg_doexamples examples
docompress -x /usr/share/doc/${P}/examples/
fi
if use doc; then
dodoc revisions.txt "${S}"/README.md
dohtml -r reference
fi
insinto "/usr/share/${PNS}/"
doins -r tools tools-builder #dist
insinto "/usr/share/${PNS}/lib"
doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
# install menu and icons
mv ../dist/desktop.template "${PNS}.desktop" || die
sed -e 's/<BINARY_LOCATION>/arduino/g' -i "${PNS}.desktop"
sed -e 's/<ICON_NAME>/arduino/g' -i "${PNS}.desktop"
domenu "${PNS}.desktop"
for sz in 16 24 32 48 128 256; do
newicon -s $sz \
"${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
"${PNS}.png"
done
} |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JohnBlbec Guru
Joined: 08 Feb 2003 Posts: 306
|
Posted: Mon Feb 27, 2017 2:08 pm Post subject: |
|
|
hi again, friend :-)
I know it is not officially supported but that one which is in portage is too old and, frankly speaking, unusable this time...
I've already tried your fix. the package is installed but it can't execute properly (it fails). dist should be installed probably. I've tried more changes but w/o success. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Mon Feb 27, 2017 3:58 pm Post subject: |
|
|
I added these line in src_install
Code: | insinto "/usr/share/${PNS}/hardware"
doins hardware/platform.* |
but program stuck on starting w/o message error _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JohnBlbec Guru
Joined: 08 Feb 2003 Posts: 306
|
Posted: Wed Mar 01, 2017 6:52 am Post subject: |
|
|
yes it stuck :-/
Code: |
$ arduino
Loading configuration...
Initializing packages...
Preparing boards...
Starting...
|
no window appears
Code: |
<***user***> 15179 6.0 1.6 5682196 130816 pts/19 Sl+ 07:51 0:04 /opt/oracle-jdk-bin-1.8.0.121/bin/java -classpath //usr/share/arduino-ide/lib/apple.jar://usr/share/arduino-ide/lib/arduino-core.jar://usr/share/arduino-ide/lib/batik-1.8.jar://usr/share/arduino-ide/lib/batik-anim-1.8.jar://usr/share/arduino-ide/lib/batik-awt-util-1.8.jar://usr/share/arduino-ide/lib/batik-bridge-1.8.jar://usr/share/arduino-ide/lib/batik-codec-1.8.jar://usr/share/arduino-ide/lib/batik-css-1.8.jar://usr/share/arduino-ide/lib/batik-dom-1.8.jar://usr/share/arduino-ide/lib/batik-ext-1.8.jar://usr/share/arduino-ide/lib/batik-gvt-1.8.jar://usr/share/arduino-ide/lib/batik-parser-1.8.jar://usr/share/arduino-ide/lib/batik-rasterizer-1.8.jar://usr/share/arduino-ide/lib/batik-script-1.8.jar://usr/share/arduino-ide/lib/batik-squiggle-1.8.jar://usr/share/arduino-ide/lib/batik-svg-dom-1.8.jar://usr/share/arduino-ide/lib/batik-svgpp-1.8.jar://usr/share/arduino-ide/lib/batik-transcoder-1.8.jar://usr/share/arduino-ide/lib/batik-util-1.8.jar://usr/share/arduino-ide/lib/batik-xml-1.8.jar://usr/share/arduino-ide/lib/bcpg-jdk15on-152.jar://usr/share/arduino-ide/lib/bcprov-jdk15on-152.jar://usr/share/arduino-ide/lib/commons-codec-1.7.jar://usr/share/arduino-ide/lib/commons-compress-1.8.jar://usr/share/arduino-ide/lib/commons-exec-1.1.jar://usr/share/arduino-ide/lib/commons-httpclient-3.1.jar://usr/share/arduino-ide/lib/commons-lang3-3.3.2.jar://usr/share/arduino-ide/lib/commons-logging-1.0.4.jar://usr/share/arduino-ide/lib/commons-net-3.3.jar://usr/share/arduino-ide/lib/jackson-annotations-2.6.3.jar://usr/share/arduino-ide/lib/jackson-core-2.6.3.jar://usr/share/arduino-ide/lib/jackson-databind-2.6.3.jar://usr/share/arduino-ide/lib/jackson-module-mrbean-2.6.3.jar://usr/share/arduino-ide/lib/java-semver-0.8.0.jar://usr/share/arduino-ide/lib/jmdns-3.4.1.jar://usr/share/arduino-ide/lib/jna-4.2.2.jar://usr/share/arduino-ide/lib/jna-platform-4.2.2.jar://usr/share/arduino-ide/lib/jsch-0.1.50.jar://usr/share/arduino-ide/lib/jssc-2.8.0.jar://usr/share/arduino-ide/lib/pde.jar://usr/share/arduino-ide/lib/rsyntaxtextarea-2.5.8.1+arduino.jar://usr/share/arduino-ide/lib/xml-apis-1.3.04.jar://usr/share/arduino-ide/lib/xml-apis-ext-1.3.04.jar://usr/share/arduino-ide/lib/xmlgraphics-commons-2.0.jar:/usr/share/jna/lib/jna.jar:/usr/share/jna/lib/platform.jar:/usr/share/rxtx-2/lib/RXTXcomm.jar -Djava.library.path=/usr/lib64/rxtx-2:/usr/lib64/jna:/lib:/usr/lib processing.app.Base
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Wed Mar 01, 2017 8:19 am Post subject: |
|
|
Have you tried version 1.6.9? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JohnBlbec Guru
Joined: 08 Feb 2003 Posts: 306
|
|
Back to top |
|
|
JohnBlbec Guru
Joined: 08 Feb 2003 Posts: 306
|
|
Back to top |
|
|
artbody Guru
Joined: 15 Sep 2006 Posts: 489 Location: LB
|
Posted: Fri May 12, 2017 1:31 pm Post subject: |
|
|
i run into the same problem
WTF
gentoo has arduino 1.0.x and this is years old
a few weeks ago all works well with this old software
BUT then gcc updated to
Code: | linux # gcc-config -l
[1] avr-5.4.0 *
[2] x86_64-pc-linux-gnu-4.8.5
[3] x86_64-pc-linux-gnu-5.4.0 * |
here the real problem begins to rise out of the hell
Arduino IDE didn't find compiler and so on
so a lot of research shows that avr-libc is as old as the things rising up out of the hell
the old avr-lib did not work with gcc 5.x
so i searched the overlay
found alexxy
ok give it a try
and so this is the last point
Code: | USE="-openmp -hardened -sanitize -vtv" crossdev -s4 -S --target avr --libc 2.0.0
-------------------------------------------------------------------------------------------
* crossdev version: 20151026
* Host Portage ARCH: amd64
* Target Portage ARCH: *
* Target System: avr
* Stage: 4 (C/C++ compiler)
* ABIs: default
* binutils: binutils-[stable]
* gcc: gcc-[stable]
* libc: avr-libc-2.0.0
* CROSSDEV_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PORTAGE_CONFIGROOT:
* Portage flags:
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* leaving sys-devel/binutils in /usr/local/portage
* leaving sys-devel/gcc in /usr/local/portage
* leaving dev-embedded/avr-libc in /usr/local/portage
* leaving sys-devel/gdb in /usr/local/portage
* leaving metadata/layout.conf alone in /usr/local/portage
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
* Log: /var/log/portage/cross-avr-binutils.log
* Emerging cross-binutils ... [ ok ]
* Log: /var/log/portage/cross-avr-gcc-stage1.log
* Emerging cross-gcc-stage1 ... [ ok ]
* Log: /var/log/portage/cross-avr-avr-libc.log
* Emerging cross-avr-libc ... [ ok ]
* Log: /var/log/portage/cross-avr-gcc-stage2.log
* Emerging cross-gcc-stage2 ... |
looks good
emerge arduino
Code: | BUILD SUCCESSFUL
Total time: 43 seconds
>>> Source compiled.
>>> Test phase [not enabled]: dev-embedded/arduino-ide-1.8.1
>>> Install arduino-ide-1.8.1 into /var/tmp/portage/dev-embedded/arduino-ide-1.8.1/image/ category dev-embedded
/usr/bin/install: cannot stat 'dist': No such file or directory
!!! doins: dist does not exist
* ERROR: dev-embedded/arduino-ide-1.8.1::alexxy failed (install phase):
* doins failed
*
* If you need support, post the output of `emerge --info '=dev-embedded/arduino-ide-1.8.1::alexxy'`,
* the complete build log and the output of `emerge -pqv '=dev-embedded/arduino-ide-1.8.1::alexxy'`.
* The complete build log is located at '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/work/Arduino-1.8.1/build/linux/work'
* S: '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/work/Arduino-1.8.1'
* QA Notice: file does not exist:
*
* doins: dist does not exist
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.131"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac"
and of course, the output of emerge --info =arduino-ide-1.8.1
>>> Failed to emerge dev-embedded/arduino-ide-1.8.1, Log file:
>>> '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/temp/build.log'
* Messages for package dev-embedded/arduino-ide-1.8.1:
* ERROR: dev-embedded/arduino-ide-1.8.1::alexxy failed (install phase):
* doins failed
*
* If you need support, post the output of `emerge --info '=dev-embedded/arduino-ide-1.8.1::alexxy'`,
* the complete build log and the output of `emerge -pqv '=dev-embedded/arduino-ide-1.8.1::alexxy'`.
* The complete build log is located at '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/work/Arduino-1.8.1/build/linux/work'
* S: '/var/tmp/portage/dev-embedded/arduino-ide-1.8.1/work/Arduino-1.8.1'
|
_________________ Never give up
WM : E16 the true enlightenment
achim |
|
Back to top |
|
|
|