[Bug 216063] [maintainer] audio/linux-skype_oss_wrapper: refuse to build if compat.linux.osrelease OID is absent.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 21 13:54:27 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216063

--- Comment #3 from Andriy Voskoboinyk <avos at freebsd.org> ---
(In reply to Tijl Coosemans from comment #2)
> No linux port contains a check like this.

There are no other linux ports which are using ${LINUXBASE}/usr/bin/gcc at the
build stage.

> Instead linux_base and all linux packages with USE_LDCONFIG
> (including devtools) check the sysctl via pkg-plist and print
> an error if it's not present.

This is only checked at the install stage:

$ make
===>  License BSD3CLAUSE accepted by the user
===>   linux-skype_oss_wrapper-0.1.1 depends on file: /usr/local/sbin/pkg -
found
===> Fetching all distfiles required by linux-skype_oss_wrapper-0.1.1 for
building
===>  Extracting for linux-skype_oss_wrapper-0.1.1
=> SHA256 Checksum OK for s3erios-skype_oss_wrapper-v0.1.1_GH0.tar.gz.
===>  Patching for linux-skype_oss_wrapper-0.1.1
===>   linux-skype_oss_wrapper-0.1.1 depends on file: /compat/linux/usr/bin/gcc
- found
===>  Configuring for linux-skype_oss_wrapper-0.1.1
===>  Building for linux-skype_oss_wrapper-0.1.1
--- skype_oss ---
--- libpulse.o ---
--- skype_oss ---
ELF binary type "3" not known.
echo "#!/bin/sh" > skype_oss && echo
"LD_LIBRARY_PATH=/compat/linux/lib/skype_oss_wrapper:\$LD_LIBRARY_PATH skype"
>> skype_oss && chmod +x skype_oss
--- libpulse.o ---
/compat/linux/usr/bin/gcc  -O2 -pipe  -fno-strict-aliasing -m32 -fPIC -c
libpulse.c -o libpulse.o
sh: /compat/linux/usr/bin/gcc: Exec format error
*** [libpulse.o] Error code 126

make[1]: stopped in
/usr/ports/workdir/skype_oss_wrapper/skype_oss_wrapper-0.1.1
1 error

make[1]: stopped in
/usr/ports/workdir/skype_oss_wrapper/skype_oss_wrapper-0.1.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/home/andriy/ports/audio/linux-skype_oss_wrapper

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list