pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52561: devel/npth broken
The following reply was made to PR pkg/52561; it has been noted by GNATS.
From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/52561: devel/npth broken
Date: Mon, 25 Sep 2017 09:48:32 +0200
> First thought: try MAKE_JOBS_SAFE=no.
Nope, no change.
> Second thought: check for clock skew or other things that might
> confuse make into running rules it shouldn't.
No, I think I can rule that out.
> Third: the build log with one job is only a couple screenfuls long, so
> inspecting it for things that oughtn't to be there, like rerunning
> configure or config.status, isn't a big task.
Of course I have done that, and I don't see anything. I have appended
the full output between "make configure" (script okay) and "make"
(script broken) below.
> And, if you run out of other ideas, try running the whole thing (or
> rather, the smallest separable part of the build that exhibits the
> failure) under ktrace, that is,
>
> make clean
> make configure
> ktrace -i -t+a make
> kdump | less
>
> The dump file will be full of crap but it should reveal what's editing
> the script, and that plus the build log ought to allow figuring out
> what happened.
I still can't pinpoint the exact location where things go wrong, but
that reveals a few suspects:
npth-config seems to get touched by work/npth-1.5/build-aux/ltmain.sh.
This seems to apply work/.wrapper/tmp/untransform.sed.
Is the source of this file something that changed between NetBSD 7.0.1
and 7.1? On Solaris I am using bootstrap-mk-files-20170802.
root@pkgsrc-nb70:/usr/pkgsrc/devel/npth> make
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
===> Building for npth-1.5
--- all ---
/usr/bin/make all-recursive
--- all-recursive ---
Making all in src
--- npth.lo ---
--- npth-sigev.lo ---
--- npth.lo ---
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -O2 -D_FORTIFY_SOURCE=2 -MT npth.lo -MD -MP -MF .deps/npth.Tpo
-c -o npth.lo npth.c
--- npth-sigev.lo ---
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -O2 -D_FORTIFY_SOURCE=2 -MT npth-sigev.lo -MD -MP -MF
.deps/npth-sigev.Tpo -c -o npth-sigev.lo npth-sigev.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -D_FORTIFY_SOURCE=2
-MT npth-sigev.lo -MD -MP -MF .deps/npth-sigev.Tpo -c npth-sigev.c
-fPIC -DPIC -o .libs/npth-sigev.o
--- npth.lo ---
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -D_FORTIFY_SOURCE=2
-MT npth.lo -MD -MP -MF .deps/npth.Tpo -c npth.c -fPIC -DPIC -o
.libs/npth.o
--- npth-sigev.lo ---
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -D_FORTIFY_SOURCE=2
-MT npth-sigev.lo -MD -MP -MF .deps/npth-sigev.Tpo -c npth-sigev.c -o
npth-sigev.o >/dev/null 2>&1
--- npth.lo ---
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -D_FORTIFY_SOURCE=2
-MT npth.lo -MD -MP -MF .deps/npth.Tpo -c npth.c -o npth.o >/dev/null 2>&1
--- npth-sigev.lo ---
mv -f .deps/npth-sigev.Tpo .deps/npth-sigev.Plo
--- npth.lo ---
mv -f .deps/npth.Tpo .deps/npth.Plo
--- libnpth.la ---
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -D_FORTIFY_SOURCE=2
-version-info 1:1:1 -Wl,-R/usr/pkg/lib -o libnpth.la -rpath
/usr/pkg/lib npth.lo npth-sigev.lo -lpthread
libtool: link: gcc -shared -fPIC -DPIC .libs/npth.o .libs/npth-sigev.o
-lpthread -L/usr/pkgsrc/devel/npth/work/.buildlink/lib -O2
-Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libnpth.so.0 -o .libs/libnpth.so.0.1.1
libtool: link: (cd ".libs" && rm -f "libnpth.so.0" && ln -s
"libnpth.so.0.1.1" "libnpth.so.0")
libtool: link: (cd ".libs" && rm -f "libnpth.so" && ln -s
"libnpth.so.0.1.1" "libnpth.so")
libtool: link: ar cru .libs/libnpth.a npth.o npth-sigev.o
libtool: link: ranlib .libs/libnpth.a
libtool: link: ( cd ".libs" && rm -f "libnpth.la" && ln -s
"../libnpth.la" "libnpth.la" )
Making all in tests
--- t-mutex.o ---
--- t-thread.o ---
--- t-fork.o ---
--- t-mutex.o ---
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -D_POSIX_C_SOURCE=200112L -O2
-D_FORTIFY_SOURCE=2 -MT t-mutex.o -MD -MP -MF .deps/t-mutex.Tpo -c -o
t-mutex.o t-mutex.c
--- t-thread.o ---
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -D_POSIX_C_SOURCE=200112L -O2
-D_FORTIFY_SOURCE=2 -MT t-thread.o -MD -MP -MF .deps/t-thread.Tpo -c -o
t-thread.o t-thread.c
--- t-fork.o ---
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -D_POSIX_C_SOURCE=200112L -O2
-D_FORTIFY_SOURCE=2 -MT t-fork.o -MD -MP -MF .deps/t-fork.Tpo -c -o
t-fork.o t-fork.c
--- t-mutex.o ---
mv -f .deps/t-mutex.Tpo .deps/t-mutex.Po
--- t-mutex ---
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -D_FORTIFY_SOURCE=2
-Wl,-R/usr/pkg/lib -o t-mutex t-mutex.o ../src/libnpth.la -lpthread
--- t-fork.o ---
mv -f .deps/t-fork.Tpo .deps/t-fork.Po
--- t-fork ---
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -D_FORTIFY_SOURCE=2
-Wl,-R/usr/pkg/lib -o t-fork t-fork.o ../src/libnpth.la -lpthread
--- t-mutex ---
libtool: link: gcc -O2 -D_FORTIFY_SOURCE=2 -Wl,-R/usr/pkg/lib -o
.libs/t-mutex t-mutex.o -L../src/.libs -lnpth
-L/usr/pkgsrc/devel/npth/work/.buildlink/lib -lpthread
-Wl,-rpath,/usr/pkg/lib
--- t-fork ---
libtool: link: gcc -O2 -D_FORTIFY_SOURCE=2 -Wl,-R/usr/pkg/lib -o
.libs/t-fork t-fork.o -L../src/.libs -lnpth
-L/usr/pkgsrc/devel/npth/work/.buildlink/lib -lpthread
-Wl,-rpath,/usr/pkg/lib
--- t-thread.o ---
mv -f .deps/t-thread.Tpo .deps/t-thread.Po
--- t-thread ---
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -D_FORTIFY_SOURCE=2
-Wl,-R/usr/pkg/lib -o t-thread t-thread.o ../src/libnpth.la -lpthread
libtool: link: gcc -O2 -D_FORTIFY_SOURCE=2 -Wl,-R/usr/pkg/lib -o
.libs/t-thread t-thread.o -L../src/.libs -lnpth
-L/usr/pkgsrc/devel/npth/work/.buildlink/lib -lpthread
-Wl,-rpath,/usr/pkg/lib
=> Unwrapping files-to-be-installed.
--
Jörn Clausen
Plattformen & Serverdienste
BITS - Bielefelder IT-Servicezentrum
Universität Bielefeld
Universitätsstraße 25
33615 Bielefeld
Telefon: +49 521 106-12601
E-Mail: joern.clausen%uni-bielefeld.de@localhost
http://www.uni-bielefeld.de/bits
Home |
Main Index |
Thread Index |
Old Index