Hi there,
I tried a fresh install of Qt5. So, i went to a new shell and did the
following:
module purge && module load $HOME/easybuild/modules/all/EasyBuild/4.8.0

Afterwards, I ran the following command to get Qt and its dependencies
installed:
eb Qt5-5.14.1-GCCcore-9.3.0.eb --robot --modules-tool EnvironmentModulesC
--module-syntax Tcl

I still get this error over and over again:
== processing EasyBuild easyconfig
/net/homes/rperseed/easybuild/software/EasyBuild/4.8.0/easybuild/easyconfigs/c/cURL/cURL-7.69.1-GCCcore-9.3.0.eb
== building and installing cURL/7.69.1-GCCcore-9.3.0...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== ... (took 16 secs)
== patching...
== preparing...
== ... (took 2 secs)
== FAILED: Installation ended unsuccessfully (build directory:
/net/homes/rperseed/.local/easybuild/build/cURL/7.69.1/GCCcore-9.3.0):
build failed (first 300 chars): Module command '/usr/bin/modulecmd python
load zlib/1.2.11-GCCcore-9.3.0' failed with exit code 1; stderr:
zlib/1.2.11-GCCcore-9.3.0(26):ERROR:150: Module 'zlib/1.2.11-GCCcore-9.3.0'
conflicts with the currently loaded module(s) 'zlib/1.2.11-GCCcore-9.3.0'
zlib/1.2.11-GCCcore-9.3.0(26):ERROR:102: Tc (took 19 secs)
== Results of the build can be found in the log file(s)
/tmp/eb-3eycci7c/easybuild-cURL-7.69.1-20230912.170634.ZITIv.log
ERROR: Build of
/net/homes/rperseed/easybuild/software/EasyBuild/4.8.0/easybuild/easyconfigs/c/cURL/cURL-7.69.1-GCCcore-9.3.0.eb
failed (err: "build failed (first 300 chars): Module command
'/usr/bin/modulecmd python load zlib/1.2.11-GCCcore-9.3.0' failed with exit
code 1; stderr: zlib/1.2.11-GCCcore-9.3.0(26):ERROR:150: Module
'zlib/1.2.11-GCCcore-9.3.0' conflicts with the currently loaded module(s)
'zlib/1.2.11-GCCcore-9.3.0'\nzlib/1.2.11-GCCcore-9.3.0(26):ERROR:102: Tc")

I've also attached a log.

I'm at the end of my wits and am about to give up on easybuild - its not so
easy afterall. Qt5 has lots of dependencies and it installed a lot of them
and then as soon as it hit a second module that also user zlib, it dies
horribly.

Please help if you can.

Thanks
Rajiv

On Tue, Sep 12, 2023 at 2:48 PM Alan O'Cais <[email protected]> wrote:

> Dear Rajiv,
>
> It looks like you have already modules _loaded_ when you are running the
> `eb` command. You need to make sure your environment is clean when running
> the `eb` command:
>
> module purge
>
> module load EasyBuild
>
> The first command unloads all loaded modules, the second command loads the
> EasyBuild module (assuming that you are using EasyBuild via a module file).
>
> Hope that helps,
>
> Alan
> On 11-Sep-23 3:29 PM, Rajiv Perseedoss wrote:
>
> This is the error:
>
> == FAILED: Installation ended unsuccessfully (build directory:
> /net/homes/rperseed/tmp_eb_HPL/build/cURL/7.69.1/GCCcore-9.3.0): build
> failed (first 300 chars): Module command '/usr/bin/modulecmd python load
> zlib/1.2.11-GCCcore-9.3.0' failed with exit code 1; stderr:
> zlib/1.2.11-GCCcore-9.3.0(26):ERROR:150: Module 'zlib/1.2.11-GCCcore-9.3.0'
> conflicts with the currently loaded module(s) 'zlib/1.2.11-GCCcore-9.3.0'
> zlib/1.2.11-GCCcore-9.3.0(26):ERROR:102: Tc (took 27 secs)
> == Results of the build can be found in the log file(s)
> /tmp/eb-hzsyqcha/easybuild-cURL-7.69.1-20230911.143132.qEOAg.log
> ERROR: Build of
> /net/homes/rperseed/easybuild/software/EasyBuild/4.8.0/easybuild/easyconfigs/c/cURL/cURL-7.69.1-GCCcore-9.3.0.eb
> failed (err: "build failed (first 300 chars): Module command
> '/usr/bin/modulecmd python load zlib/1.2.11-GCCcore-9.3.0' failed with exit
> code 1; stderr: zlib/1.2.11-GCCcore-9.3.0(26):ERROR:150: Module
> 'zlib/1.2.11-GCCcore-9.3.0' conflicts with the currently loaded module(s)
> 'zlib/1.2.11-GCCcore-9.3.0'\nzlib/1.2.11-GCCcore-9.3.0(26):ERROR:102: Tc")
>
>
> Thanks
> Rajiv
>
> On Mon, Sep 11, 2023 at 2:08 PM Rajiv Perseedoss <[email protected]>
> wrote:
>
>> Hi,
>> I'm trying to install Qt5.14 using EasyBuild and its failing due to
>> modules already existing. In my case its zlib. Prior to Qt, I installed HPL
>> and GCC, where I have had more such errors.
>>
>> What should i do? I've tried --rebuild or --force and they always seem to
>> fail still. I'm tempted to blow away the install directory and do the
>> process again but then i'm scared that the next thing I install will have
>> the same issue and i'll have the same issue later.
>>
>> Easybuild obviously does not have a remove option. What can i do please?
>>
>> Thanks
>> Rajiv
>>
>

Attachment: easybuild-cURL-7.69.1-20230912.170634.ZITIv.log
Description: Binary data

Reply via email to