Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: *** [sys0.ji] Error 1 How can I solve it?? #474

Closed
jiangbo615 opened this issue Feb 27, 2012 · 37 comments
Closed

make: *** [sys0.ji] Error 1 How can I solve it?? #474

jiangbo615 opened this issue Feb 27, 2012 · 37 comments

Comments

@jiangbo615
Copy link

CC src/jltypes.o
CC src/gf.o
CC src/support/hashing.o
CC src/support/timefuncs.o
CC src/support/dblprint.o
CC src/support/ptrhash.o
CC src/support/operators.o
CC src/support/socket.o
CC src/support/utf8.o
CC src/support/ios.o
CC src/support/dirpath.o
CC src/support/htable.o
CC src/support/bitvector.o
CC src/support/int2str.o
CC src/support/dump.o
CC src/support/libsupportinit.o
CC src/support/arraylist.o
LINK src/support/libsupport.a
CC src/flisp/flisp.o
CC src/flisp/builtins.o
CC src/flisp/string.o
CC src/flisp/equalhash.o
CC src/flisp/table.o
CC src/flisp/iostream.o
CC src/flisp/julia_extensions.o
LINK src/flisp/libflisp.a
CC src/flisp/flmain.o
CC src/flisp/flisp
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
CC src/ast.o
CC src/builtins.o
CC src/module.o
CC src/codegen.o
CC src/interpreter.o
CC src/alloc.o
CC src/dlload.o
CC src/sys.o
CC src/init.o
CC src/task.o
CC src/array.o
CC src/dump.o
CC src/gc.o
LINK src/libjulia-release.a
LINK libjulia-release.so
CC ui/repl.o
CC ui/repl-basic.o
LINK uijulia-release-basic
CC ui/repl-readline.o
LINK uijulia-release-readline
LINK ui/webserverjulia-release-webserver
PERL j/pcre_h.j
PERL j/errno_h.j
JULIA sys0.ji

make: *** [sys0.ji] Error 1

@thelongestusername
Copy link

same error!
ask for help too.
[root@irlab julia]# make
LINK uijulia-release-readline
LINK ui/webserverjulia-release-webserver
JULIA sys0.ji

make: *** [sys0.ji] 错误 1

@ViralBShah
Copy link
Member

@jiangbo615 Which linux distribution are you running? Seems similar to #473.

@ViralBShah
Copy link
Member

Can you try export LANG=C and then build? I wonder if it is that same language and locale issue.

@thelongestusername
Copy link

the same error occured.
[root@irlab examples]# export LANG=C[root@irlab examples]# ls[root@irlab examples]# cd ..[root@irlab julia]# make JULIA sys0.ji
make: *** [sys0.ji] Error 1

Date: Mon, 27 Feb 2012 05:14:59 -0800
From: reply@reply.github.com
To: yuletianxia@hotmail.com
Subject: Re: [julia] make: *** [sys0.ji] Error 1 How can I solve it?? (#474)

Can you try export LANG=C ?


Reply to this email directly or view it on GitHub:
#474 (comment)

@jiangbo615
Copy link
Author

@ViralBShah the same error occured, when I try: export LANG=C && make

Linux lab-Precision-WorkStation-T7500 2.6.38-13-generic #55-Ubuntu SMP Tue Jan 24 15:34:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

@jiangbo615
Copy link
Author

@ViralBShah
my linux distribution is:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

@ViralBShah
Copy link
Member

I use Ubuntu 11.10 and it works just fine.

Can you try make QUIET_JULIA="" and see if it gives more output?

-viral

On Mon, Feb 27, 2012 at 7:22 PM, jiangbo615
reply@reply.github.com
wrote:

@ViralBShah
my linux distribution is:
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:        11.04
Codename:       natty


Reply to this email directly or view it on GitHub:
#474 (comment)

-viral

@ViralBShah
Copy link
Member

Or build the files manually

./julia -b stage0.j
./julia test -f sys.ji && echo stage1.j || echo -J sys0.ji stage1.j

On Mon, Feb 27, 2012 at 7:54 PM, Viral Shah viral@mayin.org wrote:

I use Ubuntu 11.10 and it works just fine.

Can you try make QUIET_JULIA="" and see if it gives more output?

-viral

On Mon, Feb 27, 2012 at 7:22 PM, jiangbo615
reply@reply.github.com
wrote:

@ViralBShah
my linux distribution is:
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.04
Release:        11.04
Codename:       natty


Reply to this email directly or view it on GitHub:
#474 (comment)

-viral

-viral

@thelongestusername
Copy link

[root@irlab julia]# make QUIET_JULIA=""
./julia -b stage0.j

make: *** [sys0.ji] Error 1
[root@irlab julia]#

@thelongestusername
Copy link

[root@irlab julia]# ./julia -b stage0.j

[root@irlab julia]# ./julia test -f sys.ji && echo stage1.j || echo -J sys0.ji stage1.j
could not open file sys0.ji
[root@irlab julia]#

@thelongestusername
Copy link

[root@irlab julia]# uname -a
Linux irlab 2.6.32-131.0.15.el6.x86_64 #1 SMP Sat Nov 12 15:11:58 CST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@irlab julia]#

@jiangbo615
Copy link
Author

@ViralBShah
the same error occured.

lab@lab-Precision-WorkStation-T7500:~/julia$ make QUIET_JULIA=""
./julia -b stage0.j

make: *** [sys0.ji] Error 1
lab@lab-Precision-WorkStation-T7500:~/julia$ ./julia -b stage0.j

lab@lab-Precision-WorkStation-T7500:~/julia$ ./julia `test -f sys.ji && echo stage1.j || echo -J sys0.ji stage1.j‘

and what can I do for the next step?

@thelongestusername
Copy link

你的漏了一个后单引号哦。 ./julia `test -f sys.ji && echo stage1.j || echo -J sys0.ji stage1.j ‘

@jiangbo615
Copy link
Author

加了单引号也是一样的阿

lab@lab-Precision-WorkStation-T7500:~$ ./julia `test -f sys.ji && echo stage1.j || echo -J sys0.ji stage1.j ‘

然后可以输入东西 这输入后怎么退出阿 是写代码的么这个窗口??

@ViralBShah
Copy link
Member

@JeffBezanson, @StefanKarpinski, any idea?

Folks, can you load this in gdb and give a stacktrace? You'll need to do make debug.

-viral

On 28-Feb-2012, at 6:18 AM, jiangbo615 wrote:

加了单引号也是一样的阿

lab@lab-Precision-WorkStation-T7500:~$ ./julia `test -f sys.ji && echo stage1.j || echo -J sys0.ji stage1.j ‘

然后可以输入东西 这输入后怎么退出阿 是写代码的么这个窗口??


Reply to this email directly or view it on GitHub:
#474 (comment)

@thelongestusername
Copy link

debug using gdb is really a hard work for me, i've never done this before. may be i can learn it just now... i'll try it any way.

@ViralBShah
Copy link
Member

Just do

make debug
gdb ./julia
set args -b stage0.j
r

and hopefully it produces a stacktrace.

-viral

On 28-Feb-2012, at 7:24 AM, yuletianxia wrote:

debug using gdb is really a hard work for me, i've never done this before. may be i can learn it just now... i'll try it any way.


Reply to this email directly or view it on GitHub:
#474 (comment)

@thelongestusername
Copy link

[root@irlab julia]# make debug
CC src/jltypes.do
CC src/gf.do
CC src/ast.do
CC src/builtins.do
CC src/module.do
CC src/codegen.do
CC src/interpreter.do
CC src/alloc.do
CC src/dlload.do
CC src/sys.do
CC src/init.do
CC src/task.do
CC src/array.do
CC src/dump.do
CC src/gc.do
LINK src/libjulia-debug.a
LINK libjulia-debug.so
CC ui/repl.do
CC ui/repl-basic.do
LINK uijulia-debug-basic
CC ui/repl-readline.do
LINK uijulia-debug-readline
LINK ui/webserverjulia-debug-webserver
JULIA sys0.ji

make: *** [sys0.ji] Error 1
[root@irlab julia]#

is it any help?

@thelongestusername
Copy link

[root@irlab julia]# gdb ./julia
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-48.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/huangshaomang/soft/julia/julia...done.
(gdb) set args -b stage0.j
(gdb) r
Starting program: /home/huangshaomang/soft/julia/julia -b stage0.j
[Thread debugging using libthread_db enabled]

stucked here ... do not run any more

@thelongestusername
Copy link

[Thread debugging using libthread_db enabled]

Detaching after fork from child process 27422.

Program exited with code 01.
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.25.el6_1.3.x86_64 libgcc-4.4.5-6.el6.x86_64 libgfortran-4.4.5-6.el6.x86_64 libstdc++-4.4.5-6.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64

@ViralBShah
Copy link
Member

It's really difficult to tell what's going on!

-viral

On 28-Feb-2012, at 7:48 AM, yuletianxia wrote:

[Thread debugging using libthread_db enabled]

Detaching after fork from child process 27422.

Program exited with code 01.
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.25.el6_1.3.x86_64 libgcc-4.4.5-6.el6.x86_64 libgfortran-4.4.5-6.el6.x86_64 libstdc++-4.4.5-6.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64


Reply to this email directly or view it on GitHub:
#474 (comment)

@Keno
Copy link
Member

Keno commented Feb 28, 2012

can you try uncommenting the line "set_current_output_stream(make_stdout_stream()) # for error reporting" in j/sysimage.j?

@thelongestusername
Copy link

@loladiro i've uncommented this line. and then ??? make again ?

@ViralBShah
Copy link
Member

Yes run make again, hopefully it will print some more stuff.

@thelongestusername
Copy link

@loladiro i have not found a file named 'sysimage.j' but a 'sysimag.j' with the same code line.. and i've uncommented the line in this file

@thelongestusername
Copy link

error messages say as follows____

[root@irlab julia]# make
JULIA sys0.ji
failed process: git rev-parse HEAD
at /home/huangshaomang/soft/julia/j/version.j:134
at /home/huangshaomang/soft/julia/j/sysimg.j:81
at /home/huangshaomang/soft/julia/j/stage0.j:30
make: *** [sys0.ji] 错误 1
[root@irlab julia]#

@ViralBShah
Copy link
Member

BTW, can you try one of the binaries on the downloads page and see if they work?

-viral

On Tue, Feb 28, 2012 at 11:43 AM, yuletianxia
reply@reply.github.com
wrote:

error messages say  as follows____

[root@irlab julia]# make
   JULIA sys0.ji
failed process: git rev-parse HEAD
at /home/huangshaomang/soft/julia/j/version.j:134
at /home/huangshaomang/soft/julia/j/sysimg.j:81
at /home/huangshaomang/soft/julia/j/stage0.j:30
make: *** [sys0.ji] 错误 1
[root@irlab julia]#


Reply to this email directly or view it on GitHub:
#474 (comment)

-viral

@thelongestusername
Copy link

@ViralBShah

[root@irlab julia]# ./julia
could not open file sys.ji
[root@irlab julia]# ./julia*
could not open file sys.ji
[root@irlab julia]# ./julia-debug-basic
could not open file sys.ji
[root@irlab julia]# ./julia-debug-readline
could not open file sys.ji
[root@irlab julia]# ./julia-debug-webserver
server started on port 14411 open session [idle].
.
0 open sessions.
could not open file sys.ji

^C[root@irlab julia]# ./julia-release-basic
could not open file sys.ji
[root@irlab julia]#

these are results

@thelongestusername
Copy link

@ViralBShah

i'm sorry, i've missed one word."on the download page" ok, i'll download one and have a try.wait a minute

@thelongestusername
Copy link

[root@irlab julia]# chmod 777 *
[root@irlab julia]# ls
contrib j julia-release-basic julia-release-webserver sys.ji
examples julia julia-release-readline lib
[root@irlab julia]# ./julia
_
_ _ ()_ |
() | () () | A fresh approach to technical computing
_ _ | | __ _ |
| | | | | | |/ ` | | Version 0.0.0-prerelease
| | |
| | | | (
| | | Commit 0900cdf (2012-02-20 20:24:45)
/ |_'|||__'| |
|__/ |

julia>

julia>

@thelongestusername
Copy link

is this ok?

@thelongestusername
Copy link

julia> 1+1
2

julia> sqrt(5)
2.23606797749979

julia>

it seems like ok

@thelongestusername
Copy link

@_@

@thelongestusername
Copy link

Q_Q

@StefanKarpinski
Copy link
Member

So what was the actual fix here? Is there something we should change?

@ViralBShah
Copy link
Member

Well, at least you can use julia until the compilation issue is fixed
at a later date.

On Tue, Feb 28, 2012 at 12:41 PM, Stefan Karpinski
reply@reply.github.com
wrote:

So what was the actual fix here? Is there something we should change?


Reply to this email directly or view it on GitHub:
#474 (comment)

-viral

@Keno
Copy link
Member

Keno commented Feb 28, 2012

It seems to me that git was not installed. We should check for that by putting a try/catch block around it

StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
LilithHafner pushed a commit to LilithHafner/julia that referenced this issue Oct 11, 2021
LinearAlgebra, Random, and SparseArrays are direct dependencies but were
only listed as test dependencies.
cmcaine pushed a commit to cmcaine/julia that referenced this issue Nov 11, 2022
As pointed out by PoliticalSatyr in their mentoring request, this isn't really needed.
Keno pushed a commit that referenced this issue Oct 9, 2023
ViralBShah added a commit that referenced this issue Jan 3, 2024
Stdlib: SparseArrays
URL: https://github.com/JuliaSparse/SparseArrays.jl.git
Stdlib branch: main
Julia branch: master
Old commit: f154de2
New commit: feb54ee
Julia version: 1.11.0-DEV
SparseArrays version: 1.11.0
Bump invoked by: @giordano
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaSparse/SparseArrays.jl@f154de2...feb54ee

```
$ git log --oneline f154de2..feb54ee
feb54ee fix typo ("ArguementError") (#479)
8308232 Extend sparse kron to adjortrans of dense matrices (#474)
951837f Simplify calling Aqua (#473)
```

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants