Date: 08-03-21  Time: 13:11 PM

Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
AIXTOOLS / new packaging strategy - package names and builddate
« Last post by Michael on August 31, 2020, 07:30:42 PM »
One of my goals has been to keep installation dependencies to a minimum. Some packages I have packaged with only static libraries, rather than a list of shared libraries that are needed as dependencies.

In general, I am going to package now - with dependencies (i.e., with shared libraries) by default, and some packages - I'll ALSO make available as 'stand-alone'. To make the distinction clear - packages starting with 'aixtools.something' will be standard packages that will have shared libraries as dependencies (some coming from AIX).

When I do package using static libraries I'll name the package 'aix-static.something'.

Also, we are several years further - so I am going to take the builddate "1241" as the base operating system level: this is: 5300-12-07-1241; 6100-08-00-1241 and 7100-02-00-1241 (and any AIX 7.2 as that is later than builddate 1241 (2012 week 41).
42
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by Michael on August 31, 2020, 08:00:32 AM »
So, working on system with both xlc and gcc installed - I set CC=gcc and ran python ./setup.py build.
The build breaks during:
Code: [Select]
[ 45%] Building C object deps/azure-c-shared-utility/CMakeFiles/aziotsharedutil.dir/adapters/platform_linux.c.o
/home/aixtools/wheels/uamqp-1.2.10/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/platform_linux.c: In function 'platform_get_default_tlsio':
/home/aixtools/wheels/uamqp-1.2.10/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/platform_linux.c:39:5: error: implicit declaration of function 'tlsio_openssl_get_interface_description' [-Werror=implicit-function-declaration]
/home/aixtools/wheels/uamqp-1.2.10/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/platform_linux.c:39:5: error: return makes pointer from integer without a cast [-Werror]
cc1: all warnings being treated as errors
make: 1254-004 The error code from the last command is 1.
So, a major point is that the uamqp sources make assumptions* - e.g., that it is only running on Linux - and the Werror flag makes builds that might have worked - impossible.
Note the file that fails is "home/aixtools/wheels/uamqp-1.2.10/src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/adapters/platform_linux.c"

* Well , maybe they do not make that assumption - but it is striking that it fails during the build of platform_linux.c.
43
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by Michael on August 31, 2020, 07:51:39 AM »
OK - the first issue I run into is that it assumes gcc is being used - the flag -Werror is being used.
I'll look into the uamqp sources - but there are issues there that (also) need resolving.
Michael
Code: [Select]
  calling cmake --build . --config Release
  Scanning dependencies of target aziotsharedutil
  [  1%] Building C object deps/azure-c-shared-utility/CMakeFiles/aziotsharedutil.dir/src/base32.c.o
  /usr/vac/bin/cc: 1501-210 (S) command option Werror contains an incorrect subargument
44
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by Michael on August 31, 2020, 07:46:24 AM »
OK - guessing you mean 'pip install uamqp' issues - I hit the cmake barrier as well:
  Building with generator flags: -G "Unix Makefiles"
  calling cmake /tmp/pip-wheel-51uepq6b/uamqp/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON  -Duse_built       in_httpapi:bool=ON  -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release
  /bin/sh: cmake:  not found.
  Traceback (most recent call last):
...  subprocess.CalledProcessError: Command 'cmake /tmp/pip-wheel-51uepq6b/uamqp/src/vendor/azure-uamqp-c/ -G "Unix Makefiles" -Duse_openssl:bool=ON -Duse_d       efault_uuid:bool=ON  -Duse_builtin_httpapi:bool=ON  -Dskip_samples:bool=ON -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release' returned no       n-zero exit status 127.
  ----------------------------------------
  ERROR: Failed building wheel for uamqp
  Running setup.py clean for uamqp
Failed to build uamqp
ERROR: Failed to build one or more wheels

Working on this...
45
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by Michael on August 27, 2020, 09:19:15 AM »
If I search for 'uampq' I get https://pypi.org/project/uamqp/ as the top hit.
So, I see it as a potential python module.
The second link I find is: https://github.com/Azure/azure-uamqp-c
And, both modules cause me to think this related to a cloud-managed environment.
How to got forward: I could probably build, but not test the python module - but that would be using my python, not the python from BULL or the AIX Toolbox.
Let me know if there is anything additional I can (try to) do.
Michael
46
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by scarlettyc on August 26, 2020, 08:07:02 AM »
hi Michael.
Thank you for your reply, I meant the AIX server.
I'm appreciated for your answer :)
47
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by Michael on August 21, 2020, 08:13:58 AM »
Is this a package, or part of a package I built?
cmake I recognize as something I looked at years ago (and used for for what required it) - but uamqp does not ring a bell.
Michael
p.s. Willing to help, if I can, - but need a bit more info.
48
AIXTOOLS / AIX failed install uamqp 1.2.10
« Last post by scarlettyc on August 21, 2020, 06:27:46 AM »
Hi.
there is a issue for install uamqp 1.2.10 in AIX 7
the CMAKE generates invalid make files for AIX or the dependent libraries are not resolved correctly. Can you please confirm if this is compiled successfully on AIX OS and if so, which OS
version and share with us the dependent AIX libraries?
49
AIXTOOLS / Re: error messages while installing aixtools-gettext
« Last post by Michael 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.
50
AIXTOOLS / Re: error messages while installing aixtools-gettext
« Last post by tmcgivern 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
Pages: 1 ... 3 4 [5] 6 7 ... 10