We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using GitHub pull from yesterday
Mac M1 running Sonoma (14.5), with Parallels Desktop 19.4.1
Building the box for Parallels provider fails during the installation of Parallels tool on Oracle Linux 8 version (version 9 works fine). The issue is linked to the version of gcc available on Linux 8, see: https://forum.parallels.com/threads/solved-parallels-tools-fail-to-install-in-oracle-linux-vm.362745/?alid=921322359.1721643548
Run the following: bento build --cpus 2 os_pkrvars/oracle/oracle-8-aarch64.pkrvars.hcl
The box for parallels should be built without issues
Build fails with the following error: 2024-07-17T12:19:20+02:00: parallels-iso.vm: Started installation of Parallels Guest Tools version '19.4.1.54985' 2024-07-17T12:19:20+02:00: ==> parallels-iso.vm: + echo 'Parallels Tools Version: 19.4.1.54985' 2024-07-17T12:19:20+02:00: ==> parallels-iso.vm: + /tmp/parallels/install --install-unattended-with-deps 2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64 2024-07-17T12:19:41+02:00: parallels-iso.vm: 2024-07-17T12:19:41+02:00: parallels-iso.vm: Wed Jul 17 10:19:41 UTC 2024 2024-07-17T12:19:41+02:00: parallels-iso.vm: Start installation or upgrade of Guest Tools 2024-07-17T12:19:41+02:00: parallels-iso.vm: warning: the compiler differs from the one used to build the kernel 2024-07-17T12:19:41+02:00: parallels-iso.vm: The kernel was built by: gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2.1.0.1) 2024-07-17T12:19:41+02:00: parallels-iso.vm: You are using: cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22.0.1) 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mbranch-protection=pac-ret+leaf'; did you mean '-fcf-protection=return'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-ftrivial-auto-var-init=zero' 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-fzero-call-used-regs=used-gpr' 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard=sysreg'; did you mean '-fstack-protector-strong'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-reg=sp_el0'; did you mean '-fstack-protector-all'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-offset=1928'; did you mean '-fstack-protector-strong'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[3]: *** [scripts/Makefile.build:288: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1 2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + code=167 2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + echo 'Parallels tools installation exited 167, attempting' 'to output /var/log/parallels-tools-install.log' 2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + cat /var/log/parallels-tools-install.log 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: *** [Makefile:1988: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[1]: *** [Makefile:44: prl_tg] Error 2 2024-07-17T12:19:41+02:00: parallels-iso.vm: make: *** [Makefile.kmods:68: compile] Error 2 2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + exit 167 2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: could not build kernel modules 2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64 2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64 2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: failed to install Parallels Guest Tools! [snip] 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: Entering directory '/usr/src/kernels/5.15.0-208.159.3.el8uek.aarch64' 2024-07-17T12:19:41+02:00: parallels-iso.vm: warning: the compiler differs from the one used to build the kernel 2024-07-17T12:19:41+02:00: parallels-iso.vm: The kernel was built by: gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2.1.0.1) 2024-07-17T12:19:41+02:00: parallels-iso.vm: You are using: cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22.0.1) 2024-07-17T12:19:41+02:00: parallels-iso.vm: 1: /lib/modules/5.15.0-208.159.3.el8uek.aarch64/build 2024-07-17T12:19:41+02:00: parallels-iso.vm: 2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg 2024-07-17T12:19:41+02:00: parallels-iso.vm: 3: 20240717 2024-07-17T12:19:41+02:00: parallels-iso.vm: 4: 1.10.2 2024-07-17T12:19:41+02:00: parallels-iso.vm: CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mbranch-protection=pac-ret+leaf'; did you mean '-fcf-protection=return'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-ftrivial-auto-var-init=zero' 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-fzero-call-used-regs=used-gpr' 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard=sysreg'; did you mean '-fstack-protector-strong'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-reg=sp_el0'; did you mean '-fstack-protector-all'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-offset=1928'; did you mean '-fstack-protector-strong'? 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[3]: *** [scripts/Makefile.build:288: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: Leaving directory '/usr/src/kernels/5.15.0-208.159.3.el8uek.aarch64' 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: *** [Makefile:1988: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg' 2024-07-17T12:19:41+02:00: parallels-iso.vm: make[1]: *** [Makefile:44: prl_tg] Error 2 2024-07-17T12:19:41+02:00: parallels-iso.vm: make: Leaving directory '/usr/lib/parallels-tools/kmods' 2024-07-17T12:19:41+02:00: parallels-iso.vm: make: *** [Makefile.kmods:68: compile] Error 2 2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: could not build kernel modules 2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64 2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64 2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: failed to install Parallels Guest Tools!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
Using GitHub pull from yesterday
Environment
Mac M1 running Sonoma (14.5), with Parallels Desktop 19.4.1
Scenario
Building the box for Parallels provider fails during the installation of Parallels tool on Oracle Linux 8 version (version 9 works fine).
The issue is linked to the version of gcc available on Linux 8, see: https://forum.parallels.com/threads/solved-parallels-tools-fail-to-install-in-oracle-linux-vm.362745/?alid=921322359.1721643548
Steps to Reproduce
Run the following:
bento build --cpus 2 os_pkrvars/oracle/oracle-8-aarch64.pkrvars.hcl
Expected Result
The box for parallels should be built without issues
Actual Result
Build fails with the following error:
2024-07-17T12:19:20+02:00: parallels-iso.vm: Started installation of Parallels Guest Tools version '19.4.1.54985'
2024-07-17T12:19:20+02:00: ==> parallels-iso.vm: + echo 'Parallels Tools Version: 19.4.1.54985'
2024-07-17T12:19:20+02:00: ==> parallels-iso.vm: + /tmp/parallels/install --install-unattended-with-deps
2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64
2024-07-17T12:19:41+02:00: parallels-iso.vm:
2024-07-17T12:19:41+02:00: parallels-iso.vm: Wed Jul 17 10:19:41 UTC 2024
2024-07-17T12:19:41+02:00: parallels-iso.vm: Start installation or upgrade of Guest Tools
2024-07-17T12:19:41+02:00: parallels-iso.vm: warning: the compiler differs from the one used to build the kernel
2024-07-17T12:19:41+02:00: parallels-iso.vm: The kernel was built by: gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2.1.0.1)
2024-07-17T12:19:41+02:00: parallels-iso.vm: You are using: cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22.0.1)
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mbranch-protection=pac-ret+leaf'; did you mean '-fcf-protection=return'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-ftrivial-auto-var-init=zero'
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-fzero-call-used-regs=used-gpr'
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard=sysreg'; did you mean '-fstack-protector-strong'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-reg=sp_el0'; did you mean '-fstack-protector-all'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-offset=1928'; did you mean '-fstack-protector-strong'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[3]: *** [scripts/Makefile.build:288: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + code=167
2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + echo 'Parallels tools installation exited 167, attempting' 'to output /var/log/parallels-tools-install.log'
2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + cat /var/log/parallels-tools-install.log
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: *** [Makefile:1988: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[1]: *** [Makefile:44: prl_tg] Error 2
2024-07-17T12:19:41+02:00: parallels-iso.vm: make: *** [Makefile.kmods:68: compile] Error 2
2024-07-17T12:19:41+02:00: ==> parallels-iso.vm: + exit 167
2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: could not build kernel modules
2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64
2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64
2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: failed to install Parallels Guest Tools!
[snip]
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: Entering directory '/usr/src/kernels/5.15.0-208.159.3.el8uek.aarch64'
2024-07-17T12:19:41+02:00: parallels-iso.vm: warning: the compiler differs from the one used to build the kernel
2024-07-17T12:19:41+02:00: parallels-iso.vm: The kernel was built by: gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2.1.0.1)
2024-07-17T12:19:41+02:00: parallels-iso.vm: You are using: cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22.0.1)
2024-07-17T12:19:41+02:00: parallels-iso.vm: 1: /lib/modules/5.15.0-208.159.3.el8uek.aarch64/build
2024-07-17T12:19:41+02:00: parallels-iso.vm: 2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
2024-07-17T12:19:41+02:00: parallels-iso.vm: 3: 20240717
2024-07-17T12:19:41+02:00: parallels-iso.vm: 4: 1.10.2
2024-07-17T12:19:41+02:00: parallels-iso.vm: CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mbranch-protection=pac-ret+leaf'; did you mean '-fcf-protection=return'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-ftrivial-auto-var-init=zero'
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-fzero-call-used-regs=used-gpr'
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard=sysreg'; did you mean '-fstack-protector-strong'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-reg=sp_el0'; did you mean '-fstack-protector-all'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: cc: error: unrecognized command line option '-mstack-protector-guard-offset=1928'; did you mean '-fstack-protector-strong'?
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[3]: *** [scripts/Makefile.build:288: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: Leaving directory '/usr/src/kernels/5.15.0-208.159.3.el8uek.aarch64'
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[2]: *** [Makefile:1988: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
2024-07-17T12:19:41+02:00: parallels-iso.vm: make[1]: *** [Makefile:44: prl_tg] Error 2
2024-07-17T12:19:41+02:00: parallels-iso.vm: make: Leaving directory '/usr/lib/parallels-tools/kmods'
2024-07-17T12:19:41+02:00: parallels-iso.vm: make: *** [Makefile.kmods:68: compile] Error 2
2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: could not build kernel modules
2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64
2024-07-17T12:19:41+02:00: parallels-iso.vm: modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-208.159.3.el8uek.aarch64
2024-07-17T12:19:41+02:00: parallels-iso.vm: Error: failed to install Parallels Guest Tools!
The text was updated successfully, but these errors were encountered: