Unable to build/compile on Ubuntu 18.04 ProxMox Virtual Machine (VM) #121

Closed
opened 2 years ago by jahway603 · 4 comments
Collaborator

Describe the issue

Please provide a general summary of the issue you're experiencing

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Fresh 18.04 VM and then Apt update & apt upgrade
  2. Reboot to latest kernel
  3. Install Linux packages from README.md
  4. Git clone the repo & cd to it
  5. Switch to dev branch
  6. Run ./build.sh
  7. It fails to build with no useful information presented to determine root cause.

Expected behaviour

It should build successfully. Followed same steps on 20.04 and it worked there.

Actual behaviour + errors

It just spits this out.

 .~~~~~~~~~~~~~~~~.
{{ Building Hush!! }}
 `~~~~~~~~~~~~~~~~`
        \   ^__^
         \  (@@)\_______            
            (__)\ HUSH  )\/\      $
    z        zz ||----w |      z  |
zz  zz  z       || z   ||xxx   z z|z zz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
+ LCOV_ARG=
+ HARDENING_ARG=--enable-hardening
+ TEST_ARG=
+ '[' x--disable-tests = x--enable-lcov ']'
+ '[' x--disable-tests = x--disable-tests ']'
+ TEST_ARG=--enable-tests=no
+ shift
+ MINING_ARG=
+ '[' x = x--disable-mining ']'
+ head -n2
+ eval make --version
++ make --version
GNU Make 4.1
Built for x86_64-pc-linux-gnu

The version of Hush you were using:

3.9.1 dev branch

Machine specs:

  • OS name + version: Ubuntu 18.04 ProxMox Virtual Machine
  • CPU: 1 Core
  • RAM: 2GB
  • Disk size: 33GB
  • Disk Type (HD/SDD): SSD
  • Linux kernel version (uname -a): Linux hostname 4.15.0-173-generic #182-Ubuntu SMP Fri Mar 18 15:53:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Compiler version (gcc -version): gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

Any extra information that might be useful in the debugging process.

### Describe the issue Please provide a general summary of the issue you're experiencing ### Can you reliably reproduce the issue? #### If so, please list the steps to reproduce below: 1. Fresh 18.04 VM and then Apt update & apt upgrade 1. Reboot to latest kernel 1. Install [Linux packages from README.md](https://git.hush.is/hush/hush3/src/branch/master/INSTALL.md#build-on-linux) 1. Git clone the repo & cd to it 1. Switch to dev branch 1. Run ./build.sh 1. It fails to build with no useful information presented to determine root cause. ### Expected behaviour It should build successfully. Followed same steps on 20.04 and it worked there. ### Actual behaviour + errors It just spits this out. ``` .~~~~~~~~~~~~~~~~. {{ Building Hush!! }} `~~~~~~~~~~~~~~~~` \ ^__^ \ (@@)\_______ (__)\ HUSH )\/\ $ z zz ||----w | z | zz zz z || z ||xxx z z|z zz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz + LCOV_ARG= + HARDENING_ARG=--enable-hardening + TEST_ARG= + '[' x--disable-tests = x--enable-lcov ']' + '[' x--disable-tests = x--disable-tests ']' + TEST_ARG=--enable-tests=no + shift + MINING_ARG= + '[' x = x--disable-mining ']' + head -n2 + eval make --version ++ make --version GNU Make 4.1 Built for x86_64-pc-linux-gnu ``` ### The version of Hush you were using: 3.9.1 dev branch ### Machine specs: - OS name + version: Ubuntu 18.04 ProxMox Virtual Machine - CPU: 1 Core - RAM: 2GB - Disk size: 33GB - Disk Type (HD/SDD): SSD - Linux kernel version (uname -a): Linux hostname 4.15.0-173-generic #182-Ubuntu SMP Fri Mar 18 15:53:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux - Compiler version (gcc -version): gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 ### Any extra information that might be useful in the debugging process.
Owner

@jahway603 the next command in build.sh is as (the assembler), so that must be missing on your system. Usually it is installed as part of the compiler or build-essentials. We could do better and print a useful error if as is missing

@jahway603 the next command in `build.sh` is `as` (the assembler), so that must be missing on your system. Usually it is installed as part of the compiler or `build-essentials`. We could do better and print a useful error if `as` is missing
Poster
Collaborator

I see that the 18.04 system with the issue has as installed and it's at
$ as --version
GNU assembler (GNU Binutils for Ubuntu) 2.30

I see that Ubuntu 20.04 has as version 2.34

I see that the 18.04 system with the issue has `as` installed and it's at $ as --version GNU assembler (GNU Binutils for Ubuntu) 2.30 I see that Ubuntu 20.04 has `as version 2.34`
Owner

@jahway603 well that just seems weird. is it possible the PATH when you run build.sh is different and it can't be found?

@jahway603 well that just seems weird. is it possible the PATH when you run build.sh is different and it can't be found?
jahway603 changed title from Unable to build/compile on Ubuntu 18.04 ProxMox Container to Unable to build/compile on Ubuntu 18.04 ProxMox Virtual Machine (VM) 2 years ago
Poster
Collaborator

Spun up a new 18.04 VM and it built perfectly fine. Must have been a strange "one of" bug or possibly a bug with the hypervisor. I'll close this since I can not reproduce it.

Spun up a new 18.04 VM and it built perfectly fine. Must have been a strange "one of" bug or possibly a bug with the hypervisor. I'll close this since I can not reproduce it.
jahway603 closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.