Date: 28-10-20  Time: 03:21 AM

Author Topic: error messages while installing aixtools-gettext  (Read 720 times)

0 Members and 1 Guest are viewing this topic.

tmcgivern

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
error messages while installing aixtools-gettext
« on: July 13, 2020, 03:13:59 PM »
installp: APPLYING software for:
        aixtools.gnu.gettext.share 0.19.8.1
        aixtools.gnu.gettext.rte 0.19.8.1
        aixtools.gnu.gettext.man.en_US 0.19.8.1

sysck: 3001-036 WARNING:  File /opt/lib/charset.alias
        is also owned by fileset aixtools.gnu.libiconv.rte.
strip: *o -- 0654-400 Cannot open file.
        No such file or directory
ar: No such file or directory
ar: 0707-117 The fopen system call failed on file *o.
strip: *o -- 0654-400 Cannot open file.
        No such file or directory
ar: No such file or directory
ar: 0707-117 The fopen system call failed on file *.o.
Filesets processed:  9 of 13  (Total time:  11 secs).

this was while trying to install gnupg
in the end, it appears gnupg works (at least basic commands I tested work).

Do these errors look like they can be ignored?
is there further information you need to help you identify the source of the issue?

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1267
  • Karma: +0/-0
Re: error messages while installing aixtools-gettext
« Reply #1 on: July 14, 2020, 05:58:04 AM »
Thanks for the report.
I'll check the scripts.
I would like to know your version of AIX.

Traditionally, the library libintl.a provided by AIX is 'ancient' (member: libintl.so.1, plus several .o members).
During installation of my version I make a copy of the original AIX files (name them libintl.a.AIX and for gnu.iconv libiconv.a.AIX) and merge the AIX libraries and my new 'aixtools' libraries (from /opt/lib) and put the merged versions in /usr/lib.
aixtools@x064:[/home/aixtools]cd /usr/lib/aixtools@x064:[/usr/lib]ls -l *AIX
-r--r--r--    1 bin      bin          788939 Aug 02 2018  libiconv.a.AIX
lrwxrwxrwx    1 root     system           31 Aug 02 2018  libintl.a.AIX -> /usr/opt/freeware/lib/libintl.a

aixtools@x064:[/usr/lib]ar tv /usr/opt/freeware/lib/libintl.a
rwxr-xr-x   203/1     114582 Jan 04 20:38 2008 libintl.so.1
rw-r--r--   203/1       6816 Jan 04 20:38 2008 intl-compat.o
rw-r--r--   203/1       7632 Jan 04 20:38 2008 bindtextdom.o
rw-r--r--   203/1       1840 Jan 04 20:38 2008 dcgettext.o
rw-r--r--   203/1       1768 Jan 04 20:38 2008 dgettext.o
rw-r--r--   203/1       1877 Jan 04 20:38 2008 gettext.o
rw-r--r--   203/1       5045 Jan 04 20:38 2008 finddomain.o
rw-r--r--   203/1      13339 Jan 04 20:38 2008 loadmsgcat.o
rw-r--r--   203/1       9525 Jan 04 20:38 2008 localealias.o
rw-r--r--   203/1       3005 Jan 04 20:38 2008 textdomain.o
rw-r--r--   203/1      10685 Jan 04 20:38 2008 l10nflist.o
rw-r--r--   203/1       5351 Jan 04 20:38 2008 explodename.o
rw-r--r--   203/1      23822 Jan 04 20:38 2008 dcigettext.o
rw-r--r--   203/1       1911 Jan 04 20:38 2008 dcngettext.o
rw-r--r--   203/1       1866 Jan 04 20:38 2008 dngettext.o
rw-r--r--   203/1       1979 Jan 04 20:38 2008 ngettext.o
rw-r--r--   203/1      15990 Jan 04 20:38 2008 plural.o
rw-r--r--   203/1       6503 Jan 04 20:38 2008 localcharset.o

Merged: Notice both libintl.so.8 and libintl.so.1 are included. The 'original' libintl.so.1 is maintained for the AIX programs (e.g., gzip) that depend on it. And, during the merge a flag in the .so and the .o files is modified so that they are only used by the run-time loader, but no longer by a compiler linker.

aixtools@x064:[/usr/lib]ar tv /usr/lib/libintl.a
rwxr-xr-x     0/0      79727 Aug 21 18:17 2016 libintl.so.8
rw-r--r--     0/0       7632 Aug 02 09:41 2018 bindtextdom.o
rw-r--r--     0/0       1840 Aug 02 09:41 2018 dcgettext.o
rw-r--r--     0/0      23822 Aug 02 09:41 2018 dcigettext.o
rw-r--r--     0/0       1911 Aug 02 09:41 2018 dcngettext.o
rw-r--r--     0/0       1768 Aug 02 09:41 2018 dgettext.o
rw-r--r--     0/0       1866 Aug 02 09:41 2018 dngettext.o
rw-r--r--     0/0       5351 Aug 02 09:41 2018 explodename.o
rw-r--r--     0/0       5045 Aug 02 09:41 2018 finddomain.o
rw-r--r--     0/0       1877 Aug 02 09:41 2018 gettext.o
rw-r--r--     0/0       6816 Aug 02 09:41 2018 intl-compat.o
rw-r--r--     0/0      10685 Aug 02 09:41 2018 l10nflist.o
rw-r--r--     0/0      13339 Aug 02 09:41 2018 loadmsgcat.o
rw-r--r--     0/0       6503 Aug 02 09:41 2018 localcharset.o
rw-r--r--     0/0       9525 Aug 02 09:41 2018 localealias.o
rw-r--r--     0/0       1979 Aug 02 09:41 2018 ngettext.o
rw-r--r--     0/0      15990 Aug 02 09:41 2018 plural.o
rw-r--r--     0/0       3005 Aug 02 09:41 2018 textdomain.o
rwxr-xr-x     0/0     114582 Aug 02 09:41 2018 libintl.so.1

My guess is that the latest version of 'freeware' (i.e., coming from RPM.rte) no longer has .o members, and so the script that expects them has error messages.
So, once I know your version of AIX - i'll make some adjustments to the packaging or both gnupg and gettext.
Michael

P.S.: just checked an AIX 7.2 system - seems the .o files are removed!
root@power8:[/export/power/aix]oslevel -s
7200-02-02-1810

root@power8:[/export/power/aix]ls -l /usr/lib/libintl.*
lrwxrwxrwx    1 root     system           31 Jul 05 2018  /usr/lib/libintl.a -> /usr/opt/freeware/lib/libintl.a

root@power8:[/export/power/aix]ar tv /usr/lib/libintl.a
rwxr-xr-x     0/0      86741 Jun 02 13:56 2016 libintl.so.8
rwxr-xr-x     0/0     114582 Apr 06 18:53 2017 libintl.so.1
« Last Edit: July 14, 2020, 06:13:03 AM by Michael »

tmcgivern

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: error messages while installing aixtools-gettext
« Reply #2 on: July 15, 2020, 03:25:38 PM »
all our systems are at 7100-05-04-1914
sorry I'm trying to find a system I can work with to analyze what you list above

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1267
  • Karma: +0/-0
Re: error messages while installing aixtools-gettext
« Reply #3 on: July 16, 2020, 06:03:29 AM »
AIX 7.1 TL5 took many of the run-time elements that AIX 7.2 has.

Actually, it is just one fileset we need concern ourselves with - rpm.rte.
The main point: the message re: missing .o files is accurate - and your assumption about being harmless message is correct as the .o files are no longer in the libintl.a file shipped with rpm.rte.