Compiling GhostBSD Error

Discuss of development of the GhostBSD tools.

Moderator: Developer

Re: Compiling GhostBSD Error

Postby ericbsd » Sat Mar 11, 2017 3:02 pm

Erase everything in /tmp related to pkg and ghostbsd-build.
User avatar
ericbsd
Developer
 
Posts: 1043
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 22 times
Been thanked: 41 times

Re: Compiling GhostBSD Error


Re: Compiling GhostBSD Error

Postby kraileth » Sun Mar 12, 2017 9:43 am

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?
kraileth
Developer
 
Posts: 274
Joined: Sun Sep 04, 2016 11:30 am
Has thanked: 40 times
Been thanked: 42 times

Re: Compiling GhostBSD Error

Postby NevilleGoddard » Thu Mar 23, 2017 9:32 am

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?
NevilleGoddard
Developer
 
Posts: 314
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 69 times
Been thanked: 38 times

Re: Compiling GhostBSD Error

Postby ericbsd » Thu Mar 23, 2017 9:35 am

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
ericbsd
Developer
 
Posts: 1043
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 22 times
Been thanked: 41 times

Re: Compiling GhostBSD Error

Postby NevilleGoddard » Thu Apr 13, 2017 10:08 am

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
NevilleGoddard
Developer
 
Posts: 314
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 69 times
Been thanked: 38 times

Re: Compiling GhostBSD Error

Postby ASX » Thu Apr 13, 2017 12:46 pm

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 ?
ASX
Developer
 
Posts: 856
Joined: Wed May 06, 2015 11:46 am
Location: ITALY
Has thanked: 49 times
Been thanked: 108 times

Re: Compiling GhostBSD Error

Postby NevilleGoddard » Thu Apr 13, 2017 8:12 pm

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.
NevilleGoddard
Developer
 
Posts: 314
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 69 times
Been thanked: 38 times

Re: Compiling GhostBSD Error

Postby kraileth » Fri Apr 14, 2017 7:05 am

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?
kraileth
Developer
 
Posts: 274
Joined: Sun Sep 04, 2016 11:30 am
Has thanked: 40 times
Been thanked: 42 times

Re: Compiling GhostBSD Error

Postby NevilleGoddard » Fri Apr 14, 2017 7:48 am

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.
NevilleGoddard
Developer
 
Posts: 314
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 69 times
Been thanked: 38 times

Re: Compiling GhostBSD Error

Postby kraileth » Fri Apr 14, 2017 7:55 am

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.
kraileth
Developer
 
Posts: 274
Joined: Sun Sep 04, 2016 11:30 am
Has thanked: 40 times
Been thanked: 42 times

PreviousNext

Return to GhostBSD Tools

Who is online

Users browsing this forum: No registered users and 1 guest