Hello everyone,

I'm new to the ports mailing list, and indeed rather new to UNIX/FreeBSD.
I like working with WPS Office (the Writer application) due to it being rather 
compatible with Amazon KDP, which is Amazon's self-publishing platform. I'm 
used to running WPS Office on Windows and tried to install it on FreeBSD14.0. I 
tried an install on both the VMWare Player virtual machine and my old Lenovo 
Thinkpad W700 laptop. Using pkg, I could not locate WPS Office and hence I have 
used git to download the port tree and attempted my first "compile from from 
source." [1]
Being in the proper ports directory, I do:make install clean

I have recorded the compilation process using tee on the Thinkpad W700; myriad 
"stop errors" crop up and the compilation process is halted.

> Stop.
> make[8]: stopped in /usr/ports/devel/bsddialog
> *** Error code 1
>
> Stop.
> make[7]: stopped in /usr/ports/devel/bsddialog*** Error code 1

The full compilation process is recorded in wps.txt, attached to this email. I 
did not want to paste the full content as this would hinder the readability of 
this email.The errors are located at the very end of the text file and hence, 
should you have the patience and will, they may be found there and you will not 
have to pass through the whole text file.
As a newbie, I seem to understand it is mostly about missing libraries, and 
would appreciate advice as to what to do, and if this can simply be resolved by 
using pkg to install the myriad needed libraries; my neophyte eyes are still 
quite dyslectic to the messages returned in the myriad UNIX processes, please 
bear with me :-).
I hope WPS Office will be made available as a binary package via pkg.

I had asked the general FreeBSD mailing list the question presented here, but 
was recommended to contact the people subscribed to this list.
I hope that my neophyte position has not unintendedly transgressed against some 
mode of conduct expected in this mailing list; I have tried other sources of 
information prior to resolving this problem, including analysing the attached 
wps.txt file with AI, but the AI started reasoning in circles; and trying to 
understand the nature of some of the missing dependencies. As a beginner, I'm 
often still confronted with jargon beyond my level. Someone suggested I might 
try porting the latest Linux version of WPS Office with Poudriere-devel; but I 
think this will remain beyond me for a while to come.
I do have the Linux compatibility layer enabled.

Thank you for your patience and expertise,

J.
[1] The WPS Office Port is here: 
https://cgit.freebsd.org/ports/tree/editors/linux-wps-office
===>  Staging for linux-wps-office-11.1.0.10161
===>   linux-wps-office-11.1.0.10161 depends on executable: 
update-desktop-database - found
===>   linux-wps-office-11.1.0.10161 depends on package: linux-c7-libpng>0 - 
not found
===> Building portconfig as it is required for the config dialog
===>  Cleaning for bsddialog-1.0.1
===>  Cleaning for portconfig-0.6.1
===>  License BSD2CLAUSE accepted by the user
===>   portconfig-0.6.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by portconfig-0.6.1 for building
===>  Extracting for portconfig-0.6.1
=> SHA256 Checksum OK for portconfig-0.6.1.tar.bz2.
===>  Patching for portconfig-0.6.1
===>   portconfig-0.6.1 depends on file: /usr/local/lib/libbsddialog.a - not 
found
===>  License BSD2CLAUSE accepted by the user
===>   bsddialog-1.0.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by bsddialog-1.0.1 for building
===>  Extracting for bsddialog-1.0.1
=> SHA256 Checksum OK for bsddialog-1.0.1.tar.bz2.
===>  Patching for bsddialog-1.0.1
===>  Configuring for bsddialog-1.0.1
===>  Building for bsddialog-1.0.1
--- /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/libbsddialog.so ---
/usr/bin/make -C /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib
--- barbox.o ---
--- datebox.o ---
--- barbox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c barbox.c -o barbox.o
--- datebox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c datebox.c -o datebox.o
--- formbox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c formbox.c -o formbox.o
--- libbsddialog.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c libbsddialog.c -o libbsddialog.o
--- lib_util.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c lib_util.c -o lib_util.o
--- menubox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c menubox.c -o menubox.o
--- messagebox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c messagebox.c -o messagebox.o
--- textbox.o ---
--- theme.o ---
--- textbox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c textbox.c -o textbox.o
--- theme.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c theme.c -o theme.o
--- timebox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c timebox.c -o timebox.o
--- libbsddialog.so.1.0.1 ---
--- libbsddialog.a ---
--- libbsddialog.so.1.0.1 ---
cc  -fstack-protector-strong  -fstack-protector-strong -shared -Wl,-x 
-Wl,--fatal-warnings  -Wl,--warn-shared-textrel 
-Wl,-soname,libbsddialog.so.1.0.1  -L/usr/lib -lncursesw -ltinfow barbox.o 
datebox.o formbox.o libbsddialog.o lib_util.o menubox.o messagebox.o textbox.o 
theme.o timebox.o -o libbsddialog.so.1.0.1
--- libbsddialog.a ---
ar cr libbsddialog.a barbox.o datebox.o formbox.o libbsddialog.o lib_util.o 
menubox.o messagebox.o textbox.o theme.o timebox.o
ranlib libbsddialog.a
--- libbsddialog.so ---
ln -s -f libbsddialog.so.1.0.1 libbsddialog.so
--- bsddialog ---
/usr/bin/make -C /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility 
LIBPATH=/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib
--- bsddialog.o ---
--- util_builders.o ---
--- bsddialog.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c bsddialog.c -o bsddialog.o
--- util_builders.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c util_builders.c -o util_builders.o
--- util_cli.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c util_cli.c -o util_cli.o
--- util_theme.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c util_theme.c -o util_theme.o
--- bsddialog ---
cc  -fstack-protector-strong  -ltinfow 
-L/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -lbsddialog bsddialog.o 
util_builders.o util_cli.o util_theme.o -o bsddialog
ln -s -f /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bsddialog 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/bsddialog
===>  Staging for bsddialog-1.0.1
===>   Generating temporary packing list
install  -m 0644 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog.h 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog_progressview.h  
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog_theme.h 
/usr/ports/devel/bsddialog/work/stage/compat/linux/include
install  -s -m 0644 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/libbsddialog.so.1.0.1 
/usr/ports/devel/bsddialog/work/stage/compat/linux/lib/
install -l rs 
/usr/ports/devel/bsddialog/work/stage/compat/linux/lib/libbsddialog.so.1.0.1 
/usr/ports/devel/bsddialog/work/stage/compat/linux/lib/libbsddialog.so
install  -m 0644 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/libbsddialog.a 
/usr/ports/devel/bsddialog/work/stage//compat/linux/lib
install  -m 444 /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog.3 
/usr/ports/devel/bsddialog/work/stage/compat/linux/man/man3/
install  -s -m 555 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bsddialog 
/usr/ports/devel/bsddialog/work/stage/compat/linux/bin
install  -m 444 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bsddialog.1 
/usr/ports/devel/bsddialog/work/stage/compat/linux/man/man1/
====> Compressing man pages (compress-man)
===>  Installing for bsddialog-1.0.1
===>  Checking if bsddialog is already installed
===>   bsddialog-1.0.1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of bsddialog
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/devel/bsddialog
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/devel/bsddialog
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/ports-mgmt/portconfig
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/ports-mgmt/portconfig

===> Options unchanged
===>  Staging for linux-c7-libpng-1.5.13_3
===>   linux-c7-libpng-1.5.13_3 depends on package: linux_base-c7>=7.6.1810_7 - 
not found
===> Building portconfig as it is required for the config dialog
===>  Cleaning for bsddialog-1.0.1
===>  Cleaning for portconfig-0.6.1
===>  License BSD2CLAUSE accepted by the user
===>   portconfig-0.6.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by portconfig-0.6.1 for building
===>  Extracting for portconfig-0.6.1
=> SHA256 Checksum OK for portconfig-0.6.1.tar.bz2.
===>  Patching for portconfig-0.6.1
===>   portconfig-0.6.1 depends on file: /usr/local/lib/libbsddialog.a - not 
found
===>  License BSD2CLAUSE accepted by the user
===>   bsddialog-1.0.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by bsddialog-1.0.1 for building
===>  Extracting for bsddialog-1.0.1
=> SHA256 Checksum OK for bsddialog-1.0.1.tar.bz2.
===>  Patching for bsddialog-1.0.1
===>  Configuring for bsddialog-1.0.1
===>  Building for bsddialog-1.0.1
--- /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/libbsddialog.so ---
/usr/bin/make -C /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib
--- barbox.o ---
--- datebox.o ---
--- barbox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c barbox.c -o barbox.o
--- datebox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c datebox.c -o datebox.o
--- formbox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c formbox.c -o formbox.o
--- libbsddialog.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c libbsddialog.c -o libbsddialog.o
--- lib_util.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c lib_util.c -o lib_util.o
--- menubox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c menubox.c -o menubox.o
--- messagebox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c messagebox.c -o messagebox.o
--- textbox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c textbox.c -o textbox.o
--- theme.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c theme.c -o theme.o
--- timebox.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-D_XOPEN_SOURCE_EXTENDED -fPIC -Wall -Wextra -std=gnu99  
-fstack-protector-strong -c timebox.c -o timebox.o
--- libbsddialog.so.1.0.1 ---
--- libbsddialog.a ---
--- libbsddialog.so.1.0.1 ---
cc  -fstack-protector-strong  -fstack-protector-strong -shared -Wl,-x 
-Wl,--fatal-warnings  -Wl,--warn-shared-textrel 
-Wl,-soname,libbsddialog.so.1.0.1  -L/usr/lib -lncursesw -ltinfow barbox.o 
datebox.o formbox.o libbsddialog.o lib_util.o menubox.o messagebox.o textbox.o 
theme.o timebox.o -o libbsddialog.so.1.0.1
--- libbsddialog.a ---
ar cr libbsddialog.a barbox.o datebox.o formbox.o libbsddialog.o lib_util.o 
menubox.o messagebox.o textbox.o theme.o timebox.o
ranlib libbsddialog.a
--- libbsddialog.so ---
ln -s -f libbsddialog.so.1.0.1 libbsddialog.so
--- bsddialog ---
/usr/bin/make -C /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility 
LIBPATH=/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib
--- bsddialog.o ---
--- util_builders.o ---
--- bsddialog.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c bsddialog.c -o bsddialog.o
--- util_builders.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c util_builders.c -o util_builders.o
--- util_cli.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c util_cli.c -o util_cli.o
--- util_theme.o ---
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  
-I/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -std=gnu99 -Wall -Wextra 
-Werror -c util_theme.c -o util_theme.o
--- bsddialog ---
cc  -fstack-protector-strong  -ltinfow 
-L/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib -lbsddialog bsddialog.o 
util_builders.o util_cli.o util_theme.o -o bsddialog
ln -s -f /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bsddialog 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/bsddialog
===>  Staging for bsddialog-1.0.1
===>   Generating temporary packing list
install  -m 0644 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog.h 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog_progressview.h  
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog_theme.h 
/usr/ports/devel/bsddialog/work/stage/compat/linux/include
install  -s -m 0644 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/libbsddialog.so.1.0.1 
/usr/ports/devel/bsddialog/work/stage/compat/linux/lib/
install -l rs 
/usr/ports/devel/bsddialog/work/stage/compat/linux/lib/libbsddialog.so.1.0.1 
/usr/ports/devel/bsddialog/work/stage/compat/linux/lib/libbsddialog.so
install  -m 0644 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/libbsddialog.a 
/usr/ports/devel/bsddialog/work/stage//compat/linux/lib
install  -m 444 /usr/ports/devel/bsddialog/work/bsddialog-1.0.1/lib/bsddialog.3 
/usr/ports/devel/bsddialog/work/stage/compat/linux/man/man3/
install  -s -m 555 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bsddialog 
/usr/ports/devel/bsddialog/work/stage/compat/linux/bin
install  -m 444 
/usr/ports/devel/bsddialog/work/bsddialog-1.0.1/utility/bsddialog.1 
/usr/ports/devel/bsddialog/work/stage/compat/linux/man/man1/
====> Compressing man pages (compress-man)
===>  Installing for bsddialog-1.0.1
===>  Checking if bsddialog is already installed
===>   bsddialog-1.0.1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of bsddialog
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make[8]: stopped in /usr/ports/devel/bsddialog
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/devel/bsddialog
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/ports-mgmt/portconfig
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/ports-mgmt/portconfig

===> Options unchanged
===>  Installing for linux_base-c7-7.9.2009_1
===>  Checking if linux_base-c7 is already installed
===>   Registering installation for linux_base-c7-7.9.2009_1 as automatic
Installing linux_base-c7-7.9.2009_1...
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/emulators/linux_base-c7
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/emulators/linux_base-c7
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/linux-c7-png
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/linux-c7-png
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/linux-wps-office

Reply via email to