You are not logged in.

#1 2015-11-21 01:50:20

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

[solved]eclim makepkg error

https://aur.archlinux.org/packages/eclim/
last lines of makepkg

------ init
    [mkdir] Created dir: /home/bahaa/aur/eclim/src/eclim_2.5.0/build/doc/site
     [exec] Traceback (most recent call last):
     [exec]   File "/usr/sbin/sphinx-build2", line 9, in <module>
     [exec]     load_entry_point('Sphinx==1.3.1', 'console_scripts', 'sphinx-build2')()
     [exec]   File "/usr/lib/python2.7/site-packages/sphinx/__init__.py", line 51, in main
     [exec]     sys.exit(build_main(argv))
     [exec]   File "/usr/lib/python2.7/site-packages/sphinx/__init__.py", line 61, in build_main
     [exec]     from sphinx import cmdline
     [exec]   File "/usr/lib/python2.7/site-packages/sphinx/cmdline.py", line 23, in <module>
     [exec]     from sphinx.application import Sphinx
     [exec]   File "/usr/lib/python2.7/site-packages/sphinx/application.py", line 37, in <module>
     [exec]     from sphinx.builders import BUILTIN_BUILDERS
     [exec]   File "/usr/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 23, in <module>
     [exec]     from sphinx.util import i18n, path_stabilize
     [exec]   File "/usr/lib/python2.7/site-packages/sphinx/util/i18n.py", line 15, in <module>
     [exec]     from babel.messages.pofile import read_po
     [exec]   File "/usr/lib/python2.7/site-packages/babel/messages/__init__.py", line 12, in <module>
     [exec]     from babel.messages.catalog import *
     [exec]   File "/usr/lib/python2.7/site-packages/babel/messages/catalog.py", line 23, in <module>
     [exec]     from babel.dates import format_datetime
     [exec]   File "/usr/lib/python2.7/site-packages/babel/dates.py", line 28, in <module>
     [exec]     from babel.util import UTC, LOCALTZ
     [exec]   File "/usr/lib/python2.7/site-packages/babel/util.py", line 278, in <module>
     [exec]     from babel import localtime
     [exec]   File "/usr/lib/python2.7/site-packages/babel/localtime/__init__.py", line 74, in <module>
     [exec]     LOCALTZ = get_localzone()
     [exec]   File "/usr/lib/python2.7/site-packages/babel/localtime/__init__.py", line 70, in get_localzone
     [exec]     return _get_localzone()
     [exec]   File "/usr/lib/python2.7/site-packages/babel/localtime/_unix.py", line 135, in _get_localzone
     [exec]     return pytz.tzfile.build_tzinfo('local', tzfile)
     [exec]   File "/usr/lib/python2.7/site-packages/pytz/tzfile.py", line 30, in build_tzinfo
     [exec]     typecnt, charcnt) =  unpack(head_fmt, fp.read(head_size))
     [exec] struct.error: unpack requires a string argument of length 44

BUILD FAILED
/home/bahaa/aur/eclim/src/eclim_2.5.0/build.xml:114: The following error occurred while executing this line:
/home/bahaa/aur/eclim/src/eclim_2.5.0/build.xml:165: : exec returned: 1

Total time: 0 seconds
==> ERROR: A failure occurred in package().
    Aborting...

How I can fix that error?
any help will be appreciated

Last edited by ThElitEyeS (2015-11-21 18:39:25)

Offline

#2 2015-11-21 12:37:12

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: [solved]eclim makepkg error

Building against eclipse-cpp works fine on my system , which eclipse providing package are you building against?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-11-21 13:47:22

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]eclim makepkg error

Lone_Wolf wrote:

Building against eclipse-cpp works fine on my system , which eclipse providing package are you building against?

java

Offline

#4 2015-11-21 14:48:15

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: [solved]eclim makepkg error

eclipse-java also builds ok for me, full makepkg log here : http://pastebin.com/es0Gan5E

I suggest you look up "building in a clean chroot" in the wiki, graysky's aur package clean-chroot-manager can help with that.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2015-11-21 15:13:06

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]eclim makepkg error

Lone_Wolf wrote:

eclipse-java also builds ok for me, full makepkg log here : http://pastebin.com/es0Gan5E

I suggest you look up "building in a clean chroot" in the wiki, graysky's aur package clean-chroot-manager can help with that.

It seems to choosing everything by default, how can i choose a option in ccm ?
log
http://pastebin.com/h4JR9SSZ
How can I choose 2 for java for example ?

Last edited by ThElitEyeS (2015-11-21 15:24:12)

Offline

#6 2015-11-21 16:41:12

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]eclim makepkg error

I forgot to mention that i was linking eclipse to this place /usr/share/eclipse.
other wise it will give me the following error:

gant:
     [echo] ${eclipse}: /usr/share/eclipse
     [echo] ${eclipse.dest}: /build/eclim-git/src/build
     [echo] # Skipping org.eclim.jdt, missing org.eclipse.jdt
     [echo] # Skipping org.eclim.dltk, missing org.eclipse.dltk.core
     [echo] # Skipping org.eclim.dltkruby, missing org.eclipse.dltk.ruby
     [echo] # Skipping org.eclim.wst, missing org.eclipse.wst.web_ui.feature
     [echo] # Skipping org.eclim.cdt, missing org.eclipse.cdt
     [echo] # Skipping org.eclim.pdt, missing org.eclipse.php
     [echo] # Skipping org.eclim.adt, missing com.android.ide.eclipse.adt.feature
     [echo] # Skipping org.eclim.sdt, missing org.scala-ide.sdt.feature
     [echo] # Skipping org.eclim.groovy, missing org.codehaus.groovy.jdt.patch
     [echo] # Skipping org.eclim.pydev, missing org.python.pydev.feature
     [echo] Plugins:
build:
build.eclipse:
init:
     [echo] eclim.version: 2.5.0.21-gca00af8
     [echo] eclim.release: 2.5.0
     [echo] eclim.release.indigo: none
------ init
     [echo] 
     [echo] building plugin: org.eclim
    [mkdir] Created dir: /build/eclim-git/src/eclim-git/build/temp/eclipse/plugins/org.eclim_2.5.0.21-gca00af8
    [mkdir] Created dir: /build/eclim-git/src/eclim-git/build/temp/classes/org.eclim
    [javac] Compiling 40 source files to /build/eclim-git/src/eclim-git/build/temp/classes/org.eclim

BUILD FAILED
/build/eclim-git/src/eclim-git/build.xml:27: The following error occurred while executing this line:
/build/eclim-git/src/eclim-git/build.xml:165: : /usr/share/eclipse does not exist.

Total time: 2 seconds
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/bahaa/aur/bahaa/build

is the linking going to cause future problems ?

Last edited by ThElitEyeS (2015-11-21 16:41:43)

Offline

#7 2015-11-21 18:38:59

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: [solved]eclim makepkg error

Lone_Wolf wrote:

eclipse-java also builds ok for me, full makepkg log here : http://pastebin.com/es0Gan5E

I suggest you look up "building in a clean chroot" in the wiki, graysky's aur package clean-chroot-manager can help with that.

thank you very much, in the end i was able to get it compiled.
which leaded me to other problem later :S i couldn't solve it, I've created the following topic in case you want to help:
https://bbs.archlinux.org/viewtopic.php … 2#p1580282
thanks for helping.

Offline

Board footer

Powered by FluxBB