pkgsrc-Users archive

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

Re: net/tor doesn't build for me



Roland Illig <roland.illig%gmx.de@localhost> writes:

> Am 25.08.2019 um 11:46 schrieb realkay%mailbox.org@localhost:
>> net/tor is also not building on SmartOS, with the same error. See:
>>
>> https://us-east.manta.joyent.com/pkgsrc/public/reports/trunk/x86_64/20190808.1219/tor-0.4.0.5/build.log
>>
>
>> CC src/lib/version/libtor_version_testing_a-git_revision.o
>>
>> src/lib/version/git_revision.c:15:10: fatal error:
>>     micro-revision.i: No such file or directory
>
> Are there any symlinks involved in your setup? Since bootstrap/bootstrap
> 1.263 from 2019-05-01 it's not possible anymore to bootstrap pkgsrc when
> PREFIX or some other directories contain symlinks, and since
> mk/bsd.pkg.mk 1.2032 from 2019-08-18 there is a similar check that
> prevents WRKDIR from containing symlinks.

Good question, but this fails on a machine with PREFIX=/usr/pkg and
PKGSRCDIR=/usr/home/gdt/pkgsrc, both without symlinks.

> Does the file micro-revision.i exist at all?

No; the make rule seems not to fire.

> What command line is passed into WRKDIR/.work.log, and what is the
> resulting real command line?

THe end of .work.log is

[*] /usr/home/gdt/pkgsrc/net/tor/work/.tools/bin/echo gcc-5.5.0
<.> echo  gcc-5.5.0
[*] cc -DHAVE_CONFIG_H -I. -I./src -I./src/ext -I./src/ext/trunnel -I./src/trunnel -I./src/ext -Isrc/ext '-DSHARE_DATADIR="/usr/pkg/share"' '-DLOCALSTATEDIR="/var"' '-DBINDIR="/usr/pkg/bin"' -DT\
OR_UNIT_TESTS -DHAVE_MODULE_DIRAUTH=1 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack\
-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -Waddress -Warray-bounds -Wdate-time -Wdouble-promotion -Wextra -Wfloat-c\
onversion -Winit-self -Wlogical-op -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wnormalized=nfkc -Woverlength-strings -Woverride-init -Wshadow -Wshift-count-negati\
ve -Wshift-count-overflow -Wsizeof-array-argument -Wstrict-overflow=1 -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wswitch-bool -Wsync-nand -Wtrampolines -Wunused-but-set-parameter -\
Wunused-but-set-variable -Wunused-local-typedefs -Wvariadic-macros -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subs\
cripts -Wcomment -Wformat=2 -Wwrite-strings -Wnested-externs -Wbad-function-cast -Wswitch-enum -Waggregate-return -Wpacked -Wunused -Wunused-parameter -Wold-style-definition -Wmissing-declaratio\
ns -MT src/lib/version/libtor_version_testing_a-git_revision.o -MD -MP -MF src/lib/version/.deps/libtor_version_testing_a-git_revision.Tpo -c -o src/lib/version/libtor_version_testing_a-git_revi\
sion.o src/lib/version/git_revision.c
<.> /usr/home/gdt/pkgsrc/net/tor/work/.ccache/bin/gcc -DHAVE_CONFIG_H -I. -I./src -I./src/ext -I./src/ext/trunnel -I./src/trunnel -Isrc/ext '-DSHARE_DATADIR="/usr/pkg/share"' '-DLOCALSTATEDIR="/\
var"' '-DBINDIR="/usr/pkg/bin"' -DTOR_UNIT_TESTS -DHAVE_MODULE_DIRAUTH=1 -I/usr/home/gdt/pkgsrc/net/tor/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fst\
ack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -Waddress -Warray-bounds -Wdate-time -Wdouble-promotion -Wextra -Wfloa\
t-conversion -Winit-self -Wlogical-op -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wnormalized=nfkc -Woverlength-strings -Woverride-init -Wshadow -Wshift-count-neg\
ative -Wshift-count-overflow -Wsizeof-array-argument -Wstrict-overflow=1 -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wswitch-bool -Wsync-nand -Wtrampolines -Wunused-but-set-paramete\
r -Wunused-but-set-variable -Wunused-local-typedefs -Wvariadic-macros -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-s\
ubscripts -Wcomment -Wformat=2 -Wwrite-strings -Wnested-externs -Wbad-function-cast -Wswitch-enum -Waggregate-return -Wpacked -Wunused -Wunused-parameter -Wold-style-definition -Wmissing-declara\
tions -MT src/lib/version/libtor_version_testing_a-git_revision.o -MD -MP -MF src/lib/version/.deps/libtor_version_testing_a-git_revision.Tpo -c -o src/lib/version/libtor_version_testing_a-git_r\
evision.o src/lib/version/git_revision.c -std=gnu99 -D_FORTIFY_SOURCE=2 -fstack-protector
[*] /usr/home/gdt/pkgsrc/net/tor/work/.tools/bin/echo gcc-5.5.0
<.> echo  gcc-5.5.0

This builds once in a blue moon.  As far as I can tell, it's 100%
failure to run the rule to make micro-revision.i, which failure happens
with BSD make 99% of the time (rough impression), and never happens with
GNU make.


Home | Main Index | Thread Index | Old Index