Project

General

Profile

Actions

Bug #1908

closed

distro-constructor fails because of the new 'tr'

Added by Piotr Jasiukajtis about 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Caiman (Installer)
Target version:
-
Start date:
2011-12-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

  1. uname -v
    oi_151a

The 'tr' was introduced by illumos - it's an open source replacement.

svccfg: Loaded 5 smf(5) service descriptions
ld.so.1: tr: fatal: relocation error: file /usr/bin/tr: symbol __nextwctype: referenced symbol not found
/usr/share/distro_const/boot_archive_configure: line 277: 2985: Killed
Applying SMF profile: /rpool/dc/build_data/pkg_image//etc/svc/profile/generic_limited_net.xml
close failed in file object destructor:
Error in sys.excepthook:

Original exception was:
ld.so.1: tr: fatal: relocation error: file /usr/bin/tr: symbol __nextwctype: referenced symbol not found
/usr/share/distro_const/boot_archive_configure: line 277: 2993: Killed
ld.so.1: tr: fatal: relocation error: file /usr/bin/tr: symbol __nextwctype: referenced symbol not found
/usr/share/distro_const/boot_archive_configure: line 277: 2998: Killed
ld.so.1: tr: fatal: relocation error: file /usr/bin/tr: symbol __nextwctype: referenced symbol not found
/usr/share/distro_const/boot_archive_configure: line 277: 3003: Killed
ld.so.1: tr: fatal: relocation error: file /usr/bin/tr: symbol __nextwctype: referenced symbol not found
/usr/share/distro_const/boot_archive_configure: line 277: 3008: Killed

Actions #1

Updated by Piotr Jasiukajtis about 10 years ago

  • Status changed from New to Feedback

The relocation error is here because distro constructor uses 'tr' from the building packages. In this case it was b148.
OpenIndiana 151a contains open 'libc' and 'tr', b148 comes with the closed bins.

So at this point it's impossible to make an iso for pre illumos build using 151a host.

As a workaround someone could replace TR with GNU tr in
/usr/share/distro_const/boot_archive_configure

Actions #2

Updated by Jon Strabala about 10 years ago

A documented fix to this 'tr' issue to build distributions from a oi_151a (or a nightly BE) for this would be appreciated if 2011.Q4 - Foreverware [http://wiki.openindiana.org/oi/2011.Q4+-+Foreverware] is delayed well into next year.

Actions #3

Updated by Albert Lee about 10 years ago

  • Status changed from Feedback to New

__nextwctype was introduced in the new locale code in illumos, and previously didn't exist. distro-constructor is apparently running the current tr, which depends on this symbol, using an older libc. It shouldn't be using the old libc at all, this is totally unsafe.

Actions #4

Updated by Ken Mays over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

No further issues reported in last two years with distro-constructor.
Marked as resolved.

Actions

Also available in: Atom PDF