Date: 27-09-20  Time: 12:30 PM

Recent Posts

Pages: [1] 2 3 ... 10
1
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by scarlettyc on September 09, 2020, 11:28:03 PM »
Thanks Michael, I received your email. Now I don't have any problem about AIXTOOLS. :) 
2
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by Michael on September 09, 2020, 09:20:37 AM »
p.s. you can also try to reach me via twitter: @aixtools (which I will - eventually prefer) or @rootvgnet.

Michael
p.p.s. I say try, because, sadly, so much of twitter these days is, imho, 'noise' and I may not see it immediately.
3
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by Michael on September 09, 2020, 09:17:28 AM »
I tried sending a direct email. Hope that comes through ok.
Let me know if there is something additional I can do or attempt to do.
Michael
4
AIXTOOLS / Re: AIX failed install uamqp 1.2.10
« Last post by scarlettyc on September 09, 2020, 08:36:52 AM »
hi Michael,
thank you so much for your replies.
Yeah, I also contact with the PYthon SDK guithub team. The issue is because of c share package.
they will release a new one with pure Uamqp package.

I'm so grateful you can help to do many tests.
sorry, my email always change this form notification in Junk mail. Could we archive this case first.

Thank you so much
5
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).
6
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.
7
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
8
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...
9
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
10
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 :)
Pages: [1] 2 3 ... 10