Skip to content
New issue

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

Finish with error recipe for target 'all*' failed #172

Closed
hucste opened this issue Dec 27, 2018 · 19 comments
Closed

Finish with error recipe for target 'all*' failed #172

hucste opened this issue Dec 27, 2018 · 19 comments

Comments

@hucste
Copy link

hucste commented Dec 27, 2018

Hi, I attempt to install with your script on Debian :
Linux my-srvr-nc 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64

as I wrote on Nextcloud forum, it finished with this error:

Running build-time unit tests.  For more thorough testing, please run 'make check'.

/opt/libreoffice/instdir/share/fonts/truetype: failed to write cache
/opt/libreoffice/instdir/share/fonts/truetype: failed to write cache
Makefile:2093: recipe for target 'all-local' failed
make[2]: Leaving directory '/opt/online/test'
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Makefile:1847: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/opt/online'
Makefile:772: recipe for target 'all' failed
make: Leaving directory '/opt/online'

what should I do ? what can I do ?

@husisusi
Copy link
Owner

How do you accessing the shell?
System clock?
Your cfg file?

@hucste
Copy link
Author

hucste commented Dec 27, 2018

1/ by SSH. It's into a VM Debian under OpenBSD. ;)
2/ I dont understand your question?!
3/ none. I launch as root after cloning-it:

cd officeonline-install.sh
./officeonline-install.sh

Into, folder ''officeonline-install.sh'', a file named ''officeonline-install.cfg'' exists.
His content:

## INI file or config file for the main script
################################################################################
################################## Parameters ##################################
################################################################################
#### Script parameters ###
#distrib_name="LibreOfficeOnline" # Distribution name used for building core and Online
### list of domains (space separated) that will be using the online service.
### Dots will be escaped automatically
#allowed_domains=""
#soli="/etc/apt/sources.list"
#cpu=$(nproc)
#log_dir="$PWD/$(date +'%Y%m%d-%H%M')_officeonline-install"
#sh_interactive=true

#### Define a set of version for LibreOffice Core and Online###
####### THIS WILL OVERRIDE lo_src_branch & lool_src_branch VARIABLES ########
## set_name is used to locate branchs folders in the libreoffice project
##example : distro/collabora/
#### default set is latest version of collabora
#set_name='collabora'
## set_core_regex & set_online_regex are regulax expression used to find the branch name for core and online
## example:
#set_core_regex='cp-'
#set_online_regex='collabora-online-[0-9]'
## set_version can be used if both branch name contains a common version number
## if empty, latest version available for each project will be used
#set_version=''

#### LibreOffice parameters ###
#lo_src_repo='https://github.com/LibreOffice/core.git'
#lo_src_branch='master' # a existing branch name. # THIS WILL be overriden by the set branch
#lo_src_commit='' # the short/full id of a git commit
#lo_src_tag='' # a tag in the repo git
#lo_dir="/opt/libreoffice"
#lo_forcebuild=false # force compilation
#lo_req_vol=11000 # minimum space required for LibreOffice compilation, in MB
#lo_mini=true
#lo_configure_opts='' #comma separated options names
#lo_non_free_ttf=false # add Microsoft fonts to Ubuntu

#### POCO parameters ###
#poco_version=$poco_version_latest #latest releases available
#poco_dir="/opt/poco-${poco_version}-all"
#poco_forcebuild=false
#poco_req_vol=550 # minimum space required for Poco compilation, in MB

#### LibreOffice Online parameters ###
#lool_src_repo="https://github.com/LibreOffice/online.git"
#lool_src_branch='master' # a existing branch name. # THIS WILL be overriden by the set branch
#lool_src_commit='' # the short/full id of a git commit
#lool_src_tag='' # a tag in the repo git
#lool_dir="/opt/online"
#lool_configure_opts='' #comma separated options names
#lool_logfile='/var/log/loolwsd.log'
#lool_prefix='/usr'
#lool_sysconfdir='/etc'
#lool_localstatedir='/var'
#lool_forcebuild=false
#lool_maxcon=200
#lool_maxdoc=100
#lool_req_vol=650 # minimum space required for LibreOffice Online compilation, in MB
#loolwsd_service_name='loolwsd' # system name for the lool web socket daemon

@hucste
Copy link
Author

hucste commented Jan 17, 2019

@husisusi did you forget me?

@Ark74
Copy link
Contributor

Ark74 commented Jan 17, 2019

You might wanna check #155 for more pointers.

@hucste
Copy link
Author

hucste commented Jan 18, 2019

Test today:

Running build-time unit tests.  For more thorough testing, please run 'make check'.

/opt/libreoffice/instdir/share/fonts/truetype: failed to write cache
/opt/libreoffice/instdir/share/fonts/truetype: failed to write cache

Makefile:2081: recipe for target 'all-local' failed
make[2]: Leaving directory '/opt/online/test'
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Makefile:1795: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/opt/online'
Makefile:762: recipe for target 'all' failed
make: Leaving directory '/opt/online'

Config:

## INI file or config file for the main script
################################################################################
################################## Parameters ##################################
################################################################################
#### Script parameters ###
#distrib_name="LibreOfficeOnline" # Distribution name used for building core and Online
### list of domains (space separated) that will be using the online service.
### Dots will be escaped automatically
allowed_domains="cld.stephane-huc.net"
#soli="/etc/apt/sources.list"
#cpu=$(nproc)
#log_dir="$PWD/$(date +'%Y%m%d-%H%M')_officeonline-install"
#sh_interactive=true

#### Define a set of version for LibreOffice Core and Online###
####### THIS WILL OVERRIDE lo_src_branch & lool_src_branch VARIABLES ########
## set_name is used to locate branchs folders in the libreoffice project
##example : distro/collabora/
#### default set is latest version of collabora
#set_name='collabora'
## set_core_regex & set_online_regex are regulax expression used to find the branch name for core and online
## example:
set_core_regex='cp-5.3$'
#set_online_regex='collabora-online-[0-9]'
set_online_regex='collabora-online-3$'
## set_version can be used if both branch name contains a common version number
## if empty, latest version available for each project will be used
#set_version=''

#### LibreOffice parameters ###
lo_src_repo='https://github.com/LibreOffice/core.git'
#lo_src_branch='master' # a existing branch name. # THIS WILL be overriden by the set branch
lo_src_branch='distro/collabora/cp-5.3'
#lo_src_commit='' # the short/full id of a git commit
#lo_src_tag='' # a tag in the repo git
lo_src_tag='cp-5.3-61'
#lo_dir="/opt/libreoffice"
#lo_forcebuild=false # force compilation
#lo_req_vol=11000 # minimum space required for LibreOffice compilation, in MB
#lo_mini=true
#lo_configure_opts='' #comma separated options names
#lo_non_free_ttf=false # add Microsoft fonts to Ubuntu

#### POCO parameters ###
#poco_version=$poco_version_latest #latest releases available
#poco_dir="/opt/poco-${poco_version}-all"
#poco_forcebuild=false
#poco_req_vol=550 # minimum space required for Poco compilation, in MB

#### LibreOffice Online parameters ###
lool_src_repo="https://github.com/LibreOffice/online.git"
#lool_src_branch='master' # a existing branch name. # THIS WILL be overriden by the set branch
lool_src_branch='distro/collabora/collabora-online-3-0-0'
#lool_src_commit='' # the short/full id of a git commit
#lool_src_tag='' # a tag in the repo git
lool_src_tag='3.4.2-1'
#lool_dir="/opt/online"
#lool_configure_opts='' #comma separated options names
#lool_logfile='/var/log/loolwsd.log'
#lool_prefix='/usr'
#lool_sysconfdir='/etc'
#lool_localstatedir='/var'
#lool_forcebuild=false
#lool_maxcon=200
#lool_maxdoc=100
#lool_req_vol=650 # minimum space required for LibreOffice Online compilation, in MB
#loolwsd_service_name='loolwsd' # system name for the lool web socket daemon

@joergmschulz
Copy link
Contributor

lool_src_tag='3.4.2-1' ; set_online_regex='collabora-online-3$' ? Old version.
try to revert to the current files and use

set_online_regex='CODE'

@hucste
Copy link
Author

hucste commented Jan 18, 2019

Ahhh...

checking whether to enable evolution 2 support... no
checking which themes to include... configure: error: Unknown value for --with-theme: galaxy
Error running configure at ./autogen.sh line 296.

@joergmschulz
Copy link
Contributor

the galaxy theme is no longer necessary. You can disable that stanza (isn't it diesabled anyway?). It has been necessary for the definition of column filters in calc.

@hucste
Copy link
Author

hucste commented Jan 18, 2019

I have not config this theme.
Just only set_online_regex='CODE' on file office-online.cfg; all others 'vars' are commented!
Where i disable it?!

@Ark74
Copy link
Contributor

Ark74 commented Jan 18, 2019

On a clean system test this one.
#155 (comment)

@hucste
Copy link
Author

hucste commented Jan 19, 2019

Definitely:

Running build-time unit tests.  For more thorough testing, please run 'make check'.

/opt/libreoffice/instdir/share/fonts/truetype: failed to write cache
/opt/libreoffice/instdir/share/fonts/truetype: failed to write cache
Makefile:2198: recipe for target 'all-local' failed
make[2]: Leaving directory '/opt/online/test'
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Makefile:1984: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/opt/online'
Makefile:885: recipe for target 'all' failed
make: Leaving directory '/opt/online'

with cfg:

## INI file or config file for the main script
################################################################################
################################## Parameters ##################################
################################################################################
#### Script parameters ###
#distrib_name="LibreOfficeOnline" # Distribution name used for building core an$
### list of domains (space separated) that will be using the online service.
### Dots will be escaped automatically
allowed_domains="cld.stephane-huc.net"
#soli="/etc/apt/sources.list"
#cpu=$(nproc)
#log_dir="$PWD/$(date +'%Y%m%d-%H%M')_officeonline-install"
#sh_interactive=true

#### Define a set of version for LibreOffice Core and Online###
####### THIS WILL OVERRIDE lo_src_branch & lool_src_branch VARIABLES ########
## set_name is used to locate branchs folders in the libreoffice project
##example : distro/collabora/
#### default set is latest version of collabora
#set_name='collabora'
## set_core_regex & set_online_regex are regulax expression used to find the br$
## example:
#set_core_regex='cp-'
set_core_regex='cp-6.0$'
#set_online_regex='collabora-online-[0-9]'
set_online_regex='collabora/collabora-online-4$'
## set_version can be used if both branch name contains a common version number
## if empty, latest version available for each project will be used
#set_version=''

#### LibreOffice parameters ###
#lo_src_repo='https://github.com/LibreOffice/core.git'
#lo_src_branch='master' # a existing branch name. # THIS WILL be overriden by t$
#lo_src_commit='' # the short/full id of a git commit
#lo_src_tag='' # a tag in the repo git
#lo_dir="/opt/libreoffice"
#lo_forcebuild=false # force compilation
#lo_req_vol=11000 # minimum space required for LibreOffice compilation, in MB   
#lo_mini=true
#lo_configure_opts='' #comma separated options names
#lo_non_free_ttf=false # add Microsoft fonts to Ubuntu

#### POCO parameters ###
#poco_version=$poco_version_latest #latest releases available
#poco_dir="/opt/poco-${poco_version}-all"
#poco_forcebuild=false
#poco_req_vol=550 # minimum space required for Poco compilation, in MB

#### LibreOffice Online parameters ###
#lool_src_repo="https://github.com/LibreOffice/online.git"
#lool_src_branch='master' # a existing branch name. # THIS WILL be overriden by$
#lool_src_commit='' # the short/full id of a git commit
lool_src_commit='173510fdbf6f52d1d6288b809c8d14bc630afd20'
lool_src_tag='' # a tag in the repo git
#lool_dir="/opt/online"
#lool_configure_opts='' #comma separated options names
#lool_logfile='/var/log/loolwsd.log'
#lool_prefix='/usr'
#lool_sysconfdir='/etc'
#lool_localstatedir='/var'
#lool_forcebuild=false
#lool_maxcon=200
#lool_maxdoc=100
#lool_req_vol=650 # minimum space required for LibreOffice Online compilation, $
#loolwsd_service_name='loolwsd' # system name for the lool web socket daemon

:(


# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            3.9G     0  3.9G   0% /dev
tmpfs           799M  8.3M  791M   2% /run
/dev/vda2       9.4G  3.2G  5.5G  37% /
tmpfs           4.0G     0  4.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           4.0G     0  4.0G   0% /sys/fs/cgroup
/dev/vda6       954M  701M     0 100% /home
/dev/vda10      3.5G   17M  3.1G   1% /tmp
/dev/vda9       4.7G  803M  3.5G  19% /var
/dev/vda7        19G   12G  6.0G  66% /opt
/dev/vda1       922M   35M  840M   4% /boot
/dev/vda8       4.7G   35M  4.2G   1% /var/log
tmpfs           799M     0  799M   0% /run/user/0

Why this fill /home/lool?

ls -al /home/lool/
total 16
drwxr-xr-x 1 lool lool 40 Dec 16 02:32 .
drwxr-xr-x 1 root root 20 Dec 15 13:53 ..
drwxr-xr-x 1 lool lool 20 Dec 16 02:22 .cache
drwxr-xr-x 1 lool lool 60 Jan 19 09:40 .ccache
drwx------ 1 lool lool  0 Dec 16 02:32 .config

@Ark74
Copy link
Contributor

Ark74 commented Jan 19, 2019

why ?
lool_src_tag='' # a tag in the repo git

Just copy paste on top of the file and go.

@hucste
Copy link
Author

hucste commented Jan 19, 2019

It's an error!
(to copy'n paste)

@Ark74
Copy link
Contributor

Ark74 commented Jan 20, 2019

Well, don't know what to say, I've build twice today using this settings.
Good luck 👍

Ohh! You're on Debian... I'm on *buntu like Xenial based (16.04).

@hucste
Copy link
Author

hucste commented Jan 20, 2019

Yes, I'm on Debian Stretch, actual stable. ;)
And i confirm the var 'lool_src_tag' was really commented!

I will start with a new VM with more space for /home too! :p

@joergmschulz
Copy link
Contributor

stretch should work - I am always compiling on stretch.

@hucste
Copy link
Author

hucste commented Jan 25, 2019

After creating new VM with a little more space... mainly for /home....

I rebuilding this project correctly with #155 informations.

### loolwsd is running. Enjoy!!! Service will be stopped after this ###
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
loolwsd 19422 lool   17u  IPv6 320498      0t0  TCP *:9980 (LISTEN)

It seems OK!

After this, I need only to config Nextcloud?!

@hucste hucste closed this as completed Jan 25, 2019
@etron770
Copy link

etron770 commented Sep 6, 2019

joergmschulz commented on 18 Jan
the galaxy theme is no longer necessary. You can disable that stanza (isn't it diesabled anyway?). It has been necessary for the definition of column filters in calc.

where can I disable this?

@etron770
Copy link

etron770 commented Sep 6, 2019

got it: lib/default.cfg
deleted , with-theme=galaxy
compiling is working now

l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants