You are not logged in.

#1 2019-09-01 12:09:00

Fauveboy
Member
Registered: 2019-08-03
Posts: 11

1 task in 'LIBUV' failed exit status

On the PKGBUILD for the serialosc git files (a protocol to communicate with the monome hardware interface), after running #makepkg -si.
the result was: 1 task in 'LIBUV' failed exit status.
So I thought LIBUV was a library that is perhaps missing that the serialosc PKGBUILD needs.

I then got git clone https://aur.archlinux.org/libuv-git.git, ran the PKGBUILD for that but an error occurs in check().

What does this mean I should about next? Is there another way to access LIBUV if this is what I require to install serialosc?

Offline

#2 2019-09-01 13:16:15

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 2,669

Re: 1 task in 'LIBUV' failed exit status

Post the complete output from makepkg for serialosc. https://bbs.archlinux.org/viewtopic.php?id=57855

Moving to AUR issues.

Offline

#3 2019-09-01 14:56:00

Fauveboy
Member
Registered: 2019-08-03
Posts: 11

Re: 1 task in 'LIBUV' failed exit status

Here's the Output of the PKGBUILD file for LIBUV
   
   

Fetching origin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking if gcc supports -pedantic flag... yes
checking for gcc way to treat warnings as errors... -Werror
checking if gcc supports -fvisibility=hidden... yes
checking if gcc supports -g flag... yes
checking if gcc supports -std=gnu99 flag... yes
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wextra flag... yes
checking if gcc supports -Wno-unused-parameter flag... yes
checking if gcc supports -Wstrict-prototypes flag... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for dlopen in -ldl... yes
checking for kstat_lookup in -lkstat... no
checking for gethostbyname in -lnsl... yes
checking for perfstat_cpu in -lperfstat... no
checking for pthread_mutex_init in -lpthread... yes
checking for clock_gettime in -lrt... yes
checking for sendfile in -lsendfile... no
checking for socket in -lsocket... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking sys/ahafs_evProds.h usability... no
checking sys/ahafs_evProds.h presence... no
checking for sys/ahafs_evProds.h... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libuv.pc
config.status: executing depfiles commands
config.status: executing libtool commands
make: Nothing to be done for 'all'.
make: Entering directory '/home/joel/libuv-git/src/libuv/docs'
sphinx-build -b man -d build/doctrees   src build/man
Running Sphinx v2.1.2
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
writing... libuv.1 { design api errors version loop handle request timer prepare check idle async poll signal process stream tcp pipe tty udp fs_event fs_poll fs threadpool dns dll threading misc guide guide/introduction guide/basics guide/filesystem guide/networking guide/threads guide/processes guide/eventloops guide/utilities guide/about upgrading migration_010_100 migration_100_200 } done
build succeeded, 1 warning.

The manual pages are in build/man.

Build finished. The manual pages are in build/man.
make: Leaving directory '/home/joel/libuv-git/src/libuv/docs'
make  test/run-tests
make[1]: Entering directory '/home/joel/libuv-git/src/libuv'
make[1]: 'test/run-tests' is up to date.
make[1]: Leaving directory '/home/joel/libuv-git/src/libuv'
make  check-TESTS
make[1]: Entering directory '/home/joel/libuv-git/src/libuv'
FAIL: test/run-tests
======================================================
1 of 1 test failed
Please report to https://github.com/libuv/libuv/issues
======================================================
make[1]: Leaving directory '/home/joel/libuv-git/src/libuv'

PKGBUILDOutput.txt
Displaying PKGBUILDOutput.txt.

Offline

#4 2019-09-01 15:15:47

loqs
Member
Registered: 2014-03-06
Posts: 8,466

Re: 1 task in 'LIBUV' failed exit status

Is /home/joel/libuv-git/src/libuv mounted noexec?

findmnt --target /home/joel/libuv-git/src/libuv

Please use code tags for commands and their outputs.
Edit:
Minor issue in the PKGBUILD the LICENSE file is installed in the wrong directory

-  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/libuv/LICENSE"
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

Minor upstream issue configure.ac checks for gethostbyname which is never used but causes libnsl to be linked in.

Last edited by loqs (2019-09-01 15:27:40)

Offline

#5 2019-09-01 15:28:53

Fauveboy
Member
Registered: 2019-08-03
Posts: 11

Re: 1 task in 'LIBUV' failed exit status

I have not yet mounted  /home/joel/libuv-git/src/libuv to noexec. I suppose this would mean that the current shell process isnt getting replaced by something that needs to run in the PKBUILD? Is that correct as to what noexec would do?

edit: I guess I need to move the licence build into the 'joel' user directory?

Last edited by Fauveboy (2019-09-01 15:31:01)

Offline

#6 2019-09-01 15:31:42

loqs
Member
Registered: 2014-03-06
Posts: 8,466

Re: 1 task in 'LIBUV' failed exit status

noexec would stop a command located in that directory from being executed.
The output of the findmnt command I provided would show the options used to mount whatever filesystem is providing that directory.
Edit:
No please post the output of the findmnt command I posted also the output of the following after installing the strace package

cd /home/joel/libuv-git/src/libuv
strace make check

Last edited by loqs (2019-09-01 15:50:12)

Offline

Board footer

Powered by FluxBB