Page MenuHome GnuPG

npth-1.3 failed to build on NetBSD-7
Closed, ResolvedPublic

Description

NetBSD 7.1 (GENERIC.201703111743Z)
Welcome ...
after ./configure
npth-1.3 prepared for make
Revision: d1b8d54 (53688)
Platform: x86_64-unknown-netbsd7.0

$ make check
Making check in src
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT npth.lo -MD -MP -MF .deps/npth.Tpo -c -o npth.lo npth.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT npth.lo -MD -MP -MF .deps/npth.Tpo -c npth.c -fPIC -DPIC -o .libs/npth.o
mv -f .deps/npth.Tpo .deps/npth.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -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.. -g -O2 -MT npth-sigev.lo -MD -MP -MF .deps/npth-sigev.Tpo -c npth-sigev.c -fPIC -DPIC -o .libs/npth-sigev.o
mv -f .deps/npth-sigev.Tpo .deps/npth-sigev.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -version-info 0:6:0 -o libnpth.la -rpath /usr/local/lib npth.lo npth-sigev.lo
libtool: link: rm -fr .libs/libnpth.la .libs/libnpth.lai .libs/libnpth.so .libs/libnpth.so.0 .libs/libnpth.so.0.6
libtool: link: gcc -shared -fPIC -DPIC .libs/npth.o .libs/npth-sigev.o -O2 -Wl,-soname -Wl,libnpth.so.0 -o .libs/libnpth.so.0.6
libtool: link: (cd ".libs" && rm -f "libnpth.so.0" && ln -s "libnpth.so.0.6" "libnpth.so.0")
libtool: link: (cd ".libs" && rm -f "libnpth.so" && ln -s "libnpth.so.0.6" "libnpth.so")
libtool: link: ( cd ".libs" && rm -f "libnpth.la" && ln -s "../libnpth.la" "libnpth.la" )
Making check in tests
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -D_POSIX_C_SOURCE=200112L -g -O2 -MT t-mutex.o -MD -MP -MF .deps/t-mutex.Tpo -c -o t-mutex.o t-mutex.c
mv -f .deps/t-mutex.Tpo .deps/t-mutex.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o t-mutex t-mutex.o ../src/libnpth.la
libtool: link: gcc -g -O2 -o .libs/t-mutex t-mutex.o ../src/.libs/libnpth.so -Wl,-rpath -Wl,/usr/local/lib
../src/.libs/libnpth.so: undefined reference to `sem_wait'
../src/.libs/libnpth.so: undefined reference to `sem_init'
../src/.libs/libnpth.so: undefined reference to `pthread_create'
../src/.libs/libnpth.so: undefined reference to `sem_open'
../src/.libs/libnpth.so: undefined reference to `sem_post'

  • Error code 1

٩๏̯͡๏۶(̅_̅_̅_̅(̅_̅_̅_̅_̅_̅_̅_̅_̅̅_̅()ڪے~ ~break

Details

Version
npth-1.3

Related Objects

Event Timeline

justus triaged this task as Normal priority.Jun 14 2017, 9:49 AM
justus added a project: npth.

1.4 has build fixes for NetBSD. Thus I _assume_ this bug has been fixed.

@aa can you please try npth 1.5 ?

gniibe claimed this task.
gniibe added a subscriber: gniibe.

For me, it works. Please re-open if you still have any issue for NetBSD.

In T3206#99005, @werner wrote:

1.4 has build fixes for NetBSD. Thus I _assume_ this bug has been fixed.

@aa can you please try npth 1.5 ?

Yes I will try, I already stored it on my directory ( the .bz file) I did not checked the sig yet though. BSD Group always reminds Van Jacobson Talks at PARC. IEEE.tv: The Slow-Start Algorithm

Macro ilovetrains:

Indeed. Van is a wonderful person.

Regards to try on npth 1.5 ...

I'm still getting errors. Oh my days...
I going to ask Sir user 888 at csail to write a complain letter to BSD Group.
:-D ...
Set Sail for Adventure Love and Fun!

config.status: executing libtool commands

        npth-1.5 prepared for make

        Revision: 77c094e  (30656)
        Platform: x86_64-unknown-netbsd7.1

make  all-recursive
Making all in src
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I..      -g -O2 -MT npth.lo -MD -MP -MF .deps/npth.Tpo -c -o npth.lo npth.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT npth.lo -MD -MP -MF .deps/npth.Tpo -c npth.c  -fPIC -DPIC -o .libs/npth.o
mv -f .deps/npth.Tpo .deps/npth.Plo
/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I..      -g -O2 -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.. -g -O2 -MT npth-sigev.lo -MD -MP -MF .deps/npth-sigev.Tpo -c npth-sigev.c  -fPIC -DPIC -o .libs/npth-sigev.o
mv -f .deps/npth-sigev.Tpo .deps/npth-sigev.Plo
/bin/sh ../libtool  --tag=CC    --mode=link gcc  -g -O2      -version-info  1:1:1  -o libnpth.la -rpath /usr/local/lib npth.lo npth-sigev.lo  -lpthread
libtool: link: gcc -shared  -fPIC -DPIC  .libs/npth.o .libs/npth-sigev.o   -lpthread  -O2   -Wl,-soname -Wl,libnpth.so.1 -o .libs/libnpth.so.1.1
libtool: link: (cd ".libs" && rm -f "libnpth.so.1" && ln -s "libnpth.so.1.1" "libnpth.so.1")
libtool: link: (cd ".libs" && rm -f "libnpth.so" && ln -s "libnpth.so.1.1" "libnpth.so")
libtool: link: ( cd ".libs" && rm -f "libnpth.la" && ln -s "../libnpth.la" "libnpth.la" )
Making all in tests
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_POSIX_C_SOURCE=200112L    -g -O2 -MT t-mutex.o -MD -MP -MF .deps/t-mutex.Tpo -c -o t-mutex.o t-mutex.c
mv -f .deps/t-mutex.Tpo .deps/t-mutex.Po
/bin/sh ../libtool  --tag=CC    --mode=link gcc  -g -O2    -o t-mutex t-mutex.o ../src/libnpth.la   -lpthread
libtool: link: gcc -g -O2 -o .libs/t-mutex t-mutex.o  ../src/.libs/libnpth.so -lpthread -Wl,-rpath -Wl,/usr/local/lib
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_POSIX_C_SOURCE=200112L    -g -O2 -MT t-thread.o -MD -MP -MF .deps/t-thread.Tpo -c -o t-thread.o t-thread.c
mv -f .deps/t-thread.Tpo .deps/t-thread.Po
/bin/sh ../libtool  --tag=CC    --mode=link gcc  -g -O2    -o t-thread t-thread.o ../src/libnpth.la   -lpthread
libtool: link: gcc -g -O2 -o .libs/t-thread t-thread.o  ../src/.libs/libnpth.so -lpthread -Wl,-rpath -Wl,/usr/local/lib
gcc -DHAVE_CONFIG_H -I. -I..  -I../src -D_POSIX_C_SOURCE=200112L    -g -O2 -MT t-fork.o -MD -MP -MF .deps/t-fork.Tpo -c -o t-fork.o t-fork.c
mv -f .deps/t-fork.Tpo .deps/t-fork.Po
/bin/sh ../libtool  --tag=CC    --mode=link gcc  -g -O2    -o t-fork t-fork.o ../src/libnpth.la   -lpthread
libtool: link: gcc -g -O2 -o .libs/t-fork t-fork.o  ../src/.libs/libnpth.so -lpthread -Wl,-rpath -Wl,/usr/local/lib
Making install in src
 /usr/pkg/bin/gmkdir -p '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/pkg/bin/ginstall -c   libnpth.la '/usr/local/lib'
libtool: install: /usr/pkg/bin/ginstall -c .libs/libnpth.so.1.1 /usr/local/lib/libnpth.so.1.1
/usr/pkg/bin/ginstall: cannot create regular file '/usr/local/lib/libnpth.so.1.1': Permission denied
*** Error code 1

Stop.
make[2]: stopped in /sdf/arpa/af/a/aa/GnuPG/nPth/npth-1.5/src
*** Error code 1

Stop.
make[1]: stopped in /sdf/arpa/af/a/aa/GnuPG/nPth/npth-1.5/src
*** Error code 1

Stop.
make: stopped in /sdf/arpa/af/a/aa/GnuPG/nPth/npth-1.5
$

From my viewpoint, it works well. Just you don't have a permission to install the library to the directory.