Compiling GhostBSD Error

Discuss of development of the GhostBSD tools.

Moderator: Developer

User avatar
ericbsd
Developer
Posts: 2116
Joined: Mon Nov 19, 2012 7:54 pm

Re: Compiling GhostBSD Error

Post by ericbsd »

Erase everything in /tmp related to pkg and ghostbsd-build.
kraileth
Posts: 312
Joined: Sun Sep 04, 2016 12:30 pm

Re: Compiling GhostBSD Error

Post by kraileth »

ericbsd wrote:Erase everything in /tmp related to pkg and ghostbsd-build.
Tried that but it didn't help. Then I destroyed the VM that I used for building and created a new fresh one, cloned the build system and tried again. Unfortunately the same thing is still happening... Any other ideas?
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: Compiling GhostBSD Error

Post by NevilleGoddard »

I've had trouble with creating an Xfce ISO. I got:

Building and installing port gbi
Building and installing port update-station
Building and installing port ghostbsd-mate-themes
Building and installing port ghostbsd-wallpapers
#### Running plugins ####
-> gitpkg
Downloading pcbsd tools from GitHub
installing pc-syinstall
-> finalize
sed: /usr/ghostbsd-fs/amd64/xfce/usr/local/etc/doas.conf: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/home/keef/ghostbsd-build


I then copied over my own doas,conf to /usr/ghostbsd-fs/amd64/xfce/usr/local/etc and this solved the problem. Later on I had to reinstall xorriso to make the ISO. The image worked well and got to the desktop but there was no ghostbsd-install icon on the desktop so I couldn't install it on my disk. I searched through applications while on the live CD but there didn't seem to be an install program. Also no network. I ran networkmgr and nothing happened.
Any ideas?
User avatar
ericbsd
Developer
Posts: 2116
Joined: Mon Nov 19, 2012 7:54 pm

Re: Compiling GhostBSD Error

Post by ericbsd »

I am aware of this problem I have to wait that our repository is up to fix this.

It is work on progress I let you know when it is ready.
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: Compiling GhostBSD Error

Post by NevilleGoddard »

ericsd I told you about a reboot problem on my laptop back in February with GhostBSD 11. I have a fix for it. I went to the FreeBSD forums and I got the answer. It seems that my wlan0 is not "shutting down" properly when rebooting. I discovered by myself that if I enter the command "ifconfig wlan0 down" before rebooting it would solve the problem.

The solution given to me was to edit /etc/rc.shutdown with the above command - "ifconfig wlan0 down" and my problem is now solved! :D
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: Compiling GhostBSD Error

Post by ASX »

NevilleGoddard wrote:ericsd I told you about a reboot problem on my laptop back in February with GhostBSD 11. I have a fix for it. I went to the FreeBSD forums and I got the answer. It seems that my wlan0 is not "shutting down" properly when rebooting. I discovered by myself that if I enter the command "ifconfig wlan0 down" before rebooting it would solve the problem.

The solution given to me was to edit /etc/rc.shutdown with the above command - "ifconfig wlan0 down" and my problem is now solved! :D
Interesting info. What system / wlan is that ?
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: Compiling GhostBSD Error

Post by NevilleGoddard »

Hi, ASX.
When I tried GhostBSD 10.3 it worked perfectly. There were no reboot issues. Probably because of the GhostBSD network manager. I tested GhostBSD 11 and the reboot freeze problem came back. Eric suggested I check the FreeBSD forums for an answer and I got one.

The network device is an Atheros 5424/2424. I tried to debug the problem by switching off network before reboot but nothing worked until I found the command "ifconfig wlan0 down" before attempting to reboot. The person that gave me the solution on the FreeBSD forums said the problem may be ACPI related and gave me these knobs to turn:

From the mailing list:
4. Does "sysctl hw.usb.no_shutdown_wait=1" help you?

5. Does "sysctl hw.acpi.handle_reboot=1" help you?

6. Does "sysctl hw.acpi.disable_on_reboot=1" help you?

I'll try them later.

I'm just curious as to why there was no reboot problem in 10.3 but going to 11.0 the problem appears.

I'll post the pciconf -lv later.
kraileth
Posts: 312
Joined: Sun Sep 04, 2016 12:30 pm

Re: Compiling GhostBSD Error

Post by kraileth »

What's the current status of the build system? I tried building this morning and got the following error:

Code: Select all

Cleaning cachedir
Nothing to do.
#### Running plugins ####
-> gitpkg
Downloading pcbsd tools from GitHub
installing pc-syinstall
-> common-live-setting
-> dm
-> finalize
cp: /usr/ghostbsd-fs/amd64/mate/etc/rc.conf: No such file or directory
*** Error code 1

Stop.
make: stopped in /root/ghostbsd-build
Is this currently work in progress or is something going sideways unexpectedly?
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: Compiling GhostBSD Error

Post by NevilleGoddard »

I got almost the same error with my xfce build. I just copied over the missing file from my own computer into the location where there was none: /usr/ghostbsd-fs/amd64/mate/ or in my case /usr/ghostbsd-fs/amd64/xfce/usr/local/etc/doas.conf: No such file or directory so I copied over the doas.conf file to the correct location in ghostbsd-fs
Then the build continued. However when I got to the desktop after booting the ISO there was no installer icon so I couldn't install it.
kraileth
Posts: 312
Joined: Sun Sep 04, 2016 12:30 pm

Re: Compiling GhostBSD Error

Post by kraileth »

NevilleGoddard wrote:I got almost the same error with my xfce build. I just copied over the missing file from my own computer into the location where there was none: /usr/ghostbsd-fs/amd64/mate/ or in my case /usr/ghostbsd-fs/amd64/xfce/usr/local/etc/doas.conf: No such file or directory so I copied over the doas.conf file to the correct location in ghostbsd-fs
Then the build continued. However when I got to the desktop after booting the ISO there was no installer icon so I couldn't install it.
Thanks for confirming! Thought about just copying it over, too. But if it's something that affects at least the two of us, then it's more likely that it should be fixed instead of evaded. I don't know much about the buildsystem and don't have the time to dig into it right now to find out where those files are meant to come from. I bet Eric will know that off the top of his head, anyway.
Post Reply