Project

General

Profile

Actions

Bug #16185

closed

basictest failure on AIX 6.1 for 64bit build

Added by Reshma (Reshma Kumar) over 4 years ago. Updated 10 months ago.

Status:
Feedback
Target version:
-
ruby -v:
2.6.3
[ruby-core:95133]
Tags:

Description

We are building ruby 2.6.3(both 32 and 64bit) on AIX 6.1.
The build options used for 64bit build are:-
export LDFLAGS="-L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib64:/usr/lib:/lib"
and for 32bit build are:-
export LDFLAGS="-L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000"

The testcase fails with the following error for 64bit whereas it passes for 32bit

$ ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./basictest/runner.rb" --run-opt=--disable-gems
/home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/basictest/test.rb:system \exec(): 0509-036 Cannot load program sh because of the following errors:
0509-150 Dependent module /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/libruby.so.2.6.3 could not be loaded.
0509-022 Cannot load module /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/libruby.so.2.6.3.
0509-026 System error: Cannot run a file that does not have a valid format. F|exec(): 0509-036 Cannot load program sh because of the following errors:
0509-150 Dependent module /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/libruby.so.2.6.3 could not be loaded.
0509-022 Cannot load module /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/libruby.so.2.6.3.
0509-026 System error: Cannot run a file that does not have a valid format. F|Traceback (most recent call last):
1: from /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/basictest/test.rb:2022:in <main>' /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/basictest/test.rb:2022:in unlink': No such file or directory @ apply2files - script_tmp.13762634.bak (Errno::ENOENT)

not ok system 2 -- /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/basictest/test.rb:1975:in <main>' not ok system 8 -- /home/buildusr/rpmbuild/BUILD/ruby-2.6.3/64bit/basictest/test.rb:2019:in '
test failed

Any idea what is the issue?

Updated by mame (Yusuke Endoh) over 4 years ago

  • Assignee set to kanemoto (Yutaka Kanemoto)

Updated by Reshma (Reshma Kumar) over 4 years ago

I couldn't resolve this issue. Any updates?

Actions #3

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Subject changed from testcase fails for 64bit to basictest failure on AIX 6.1 for 64bit build

Updated by jeremyevans0 (Jeremy Evans) 10 months ago

Does this issue still occur with the master branch? Does it occur with a supported version of AIX? AIX 6.1 went out of support in April 2017 (https://www.ibm.com/support/pages/aix-support-lifecycle-information), so unless this is still an issue in a supported version of AIX, I think we should close this.

Updated by headius (Charles Nutter) 10 months ago

A note just from poking around here... I'm guessing this is due to the reporter's system using a filesystem encoding that uses wide characters, and the Ruby version tested is not handling it well. This issue against Python's pip seems similar:

https://github.com/pypa/pip/issues/10858

I know that CRuby has in the past had some bugs around peculiar or non-standard filesystem encodings, like UTF-16 with its wide characters. This may be fixed in more recent versions, but as @jeremyevans0 (Jeremy Evans) points out we're pretty far past the AIX freshness date and I would not know how to even confirm this bug, much less fix it if still broken.

Actions #6

Updated by naruse (Yui NARUSE) 10 months ago

  • Status changed from Open to Feedback
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0