pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ham/dpbox trying to build this unstripped, no joy



Ok, tried setting the environment variables and also removed -s in
Makefile.netbsd then did,
make >> output.txt
make install >> output.txt, and still no joy.

The contents of output.txt:

bash-5.2# cat output.txt
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
===> Patching for dpbox-6.00.00nb3
=> Applying pkgsrc patches for dpbox-6.00.00nb3
===> Creating toolchain wrappers for dpbox-6.00.00nb3
===> Configuring for dpbox-6.00.00nb3
===> Building for dpbox-6.00.00nb3
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c filesys.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_mem.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_send.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_sf.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_sub.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_sys.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c boxdbox.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c boxbcm.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_tim.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c boxglobl.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c boxlocal.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_inou.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_serv.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c boxbcast.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c boxfserv.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c yapp.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c crc.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c huffman.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c pastrix.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c sort.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_file.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c tools.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c status.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c shell.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c init.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c linpack.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c main.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_init.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_garb.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_logs.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_wp.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_rout.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c box_scan.c
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce  -DNO_SHELL -c md2md5.c
gcc -s filesys.o box.o box_mem.o box_send.o box_sf.o box_sub.o
box_sys.o boxdbox.o boxbcm.o box_tim.o boxglobl.o boxlocal.o
box_inou.o box_serv.o boxbcast.o boxfserv.o yapp.o crc.o huffman.o
pastrix.o sort.o box_file.o tools.o status.o shell.o init.o linpack.o
main.o box_init.o box_garb.o box_logs.o box_wp.o box_rout.o box_scan.o
md2md5.o -lm -o dpbox
gcc crawler.c -Wall -O3 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce -o crawler
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce dpputlinks.c -o dpputlinks
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce dpcodeconv.c -o dpcodeconv
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce dpgate.c -o dpgate
gcc -Wall -O2 -funsigned-char -fomit-frame-pointer
-fno-strength-reduce dpmybbs.c -o dpmybbs
/usr/bin/sed -e 's#@prefix@#/usr/pkg#g'  <
/usr/pkgsrc/ham/dpbox/files/dpbox.ini >
/usr/pkgsrc/ham/dpbox/work/dpbox-6.00.00/dpbox.ini
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
===> Installing for dpbox-6.00.00nb3
=> Generating pre-install file lists
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/sbin
/usr/bin/install -c dpbox /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/sbin
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin
/usr/bin/install -c -m 4511 dpgate
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin
/usr/bin/install -c dpputlinks /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin
/usr/bin/install -c dpcodeconv /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin
/usr/bin/install -c dpmybbs /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin
/usr/bin/sed "s,/installdir,/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin,"
< ../cgi/dpboxcgi/dphttp >
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin/dphttp
/bin/chmod 555 /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/bin/dphttp
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/doc/dpbox
/usr/bin/install -c -m 444 ../document/*
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/doc/dpbox
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language
/usr/bin/install -c -m 444 ../language/*
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language
ln -sf DL.ALL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/BS.ALL
ln -sf DL.ALL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/DLX.ALL
ln -sf DL.ALL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/EY.ALL
ln -sf DL.ALL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HB.ALL
ln -sf DL.ALL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/OE1.ALL
ln -sf HELP.DL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP.BS
ln -sf HELP.DL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP.DLX
ln -sf HELP.DL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP.EY
ln -sf HELP.DL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP.HB
ln -sf HELP.DL /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP.OE1
ln -sf HELP_SYS.DL
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP_SYS.BS
ln -sf HELP_SYS.DL
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP_SYS.DLX
ln -sf HELP_SYS.DL
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP_SYS.EY
ln -sf HELP_SYS.DL
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP_SYS.HB
ln -sf HELP_SYS.DL
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/language/HELP_SYS.OE1
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/libexec/dpbox
/usr/bin/install -c -m 555 ../run/*
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/libexec/dpbox
/usr/bin/install -c crawler
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/libexec/dpbox
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf
/usr/bin/install -c -m 440 ../dpbox.ini
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf/dpbox.ini
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf/crawler
/usr/bin/install -c -m 444 ../crawler/stopwords
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf/crawler
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf/system
/usr/bin/install -c -m 440 ../system/*
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf/system
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf/sf
/usr/bin/install -c -m 440 ../sf/*
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/examples/dpbox/conf/sf
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/libexec/cgi-bin
echo "installing cgi-scripts";
installing cgi-scripts
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/httpd/htdocs
echo "installing html pages";
installing html pages
mkdir -p /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/httpd/htdocs/dpbox/pic;
/usr/bin/install -c -m 444 ../cgi/dpbox/*.html
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/httpd/htdocs/dpbox;
/usr/bin/install -c -m 444 ../cgi/dpbox/pic/*
/usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/httpd/htdocs/dpbox/pic;

***********************************************************
*                                                         *
* The installation of dpbox is now completed.             *
*                                                         *
* Please read the documentation provided with this        *
* package carefully and edit all configuration files      *
* to reflect your system setup!                           *
*                                                         *
* The documentation can be found in                       *
*             /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/doc/dpbox
                   *
*                                                         *
* The configuration files are located in                  *
*             /usr/pkgsrc/ham/dpbox/work/.destdir/usr/pkg/share/dpbox/conf
                  *
*                                                         *
***********************************************************

=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for dpbox-6.00.00nb3
=> Creating binary package
/usr/pkgsrc/ham/dpbox/work/.packages/dpbox-6.00.00nb3.tgz
===> Building binary package for dpbox-6.00.00nb3
=> Creating binary package /usr/pkgsrc/packages/All/dpbox-6.00.00nb3.tgz
===> Installing binary package of dpbox-6.00.00nb3
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/crawler/stopwords to
/var/spool/dpbox/crawler/stopwords
dpbox-6.00.00nb3: /usr/pkg/share/dpbox/conf/dpbox.ini already exists
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/sf/db0xyz.sf to
/usr/pkg/share/dpbox/conf/sf/db0xyz.sf
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/badwords.box to
/usr/pkg/share/dpbox/conf/system/badwords.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/bcast.box to
/usr/pkg/share/dpbox/conf/system/bcast.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/beacon.box to
/usr/pkg/share/dpbox/conf/system/beacon.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/commands.box to
/usr/pkg/share/dpbox/conf/system/commands.box
dpbox-6.00.00nb3: /usr/pkg/share/dpbox/conf/system/config.box already exists
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/convlt.box to
/usr/pkg/share/dpbox/conf/system/convlt.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/convtit.box to
/usr/pkg/share/dpbox/conf/system/convtit.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/cookies.doc to
/usr/pkg/share/dpbox/conf/system/cookies.doc
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/digimap.stn to
/usr/pkg/share/dpbox/conf/system/digimap.stn
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/prefix.inf to
/usr/pkg/share/dpbox/conf/system/prefix.inf
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/prefix.sub to
/usr/pkg/share/dpbox/conf/system/prefix.sub
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/prvcalls.box to
/usr/pkg/share/dpbox/conf/system/prvcalls.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/reject.box to
/usr/pkg/share/dpbox/conf/system/reject.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/rubriken.box to
/usr/pkg/share/dpbox/conf/system/rubriken.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/tcpip.box to
/usr/pkg/share/dpbox/conf/system/tcpip.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/transfer.box to
/usr/pkg/share/dpbox/conf/system/transfer.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/unproto.box to
/usr/pkg/share/dpbox/conf/system/unproto.box
dpbox-6.00.00nb3: copying
/usr/pkg/share/examples/dpbox/conf/system/whotalks.lan to
/usr/pkg/share/dpbox/conf/system/whotalks.box


###################################

Environment variables were/are:
_=/usr/bin/env
CFLAGS=-g
INSTALL_UNSTRIPPED=yes
PKG_DEBUG_LEVEL=1


On Tue, Jun 18, 2024 at 12:45 PM Chris Maness
<christopher.maness%gmail.com@localhost> wrote:
>
> I will give it a shot when I get back home.  dpbox crashes when a new user connects and tries to set his/her home BBS with MYBBS. It also crashes sometimes when just forwarding with another BBS.  It does not do this in Slackware 11 (the last Linux I could get this old stuff to work on).   I did see the -s flag, but stupidity did not realize that make clean deletes my edit.  I guess “make extract” will freshen the work directory, and a subsequent “make” won’t re-extract.
>
> Thanks,
> Chris Maness
> -Sent from my iPhone
>
>
> On Tue, Jun 18, 2024 at 12:24 PM Greg Troxel <gdt%lexort.com@localhost> wrote:
>>
>> In this case, the issue may be that the upstream makefile is forcing -s.
>> see sources/Makefile.netbsd, line 17.
>>
>> It is unclear to me how install -s interacts with strip(1).
>>
>> I have the impression that the norm is that a package's makefiles should
>> just invoke install, without -s.
>>
>> So extract, remove the -s and proceed
>>
>>
>>


-- 
Thanks,
Chris Maness


Home | Main Index | Thread Index | Old Index