Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 13:54:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216063] [maintainer] audio/linux-skype_oss_wrapper: refuse to build if compat.linux.osrelease OID is absent.
Message-ID:  <bug-216063-13-D4GwdZs6Kf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216063-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216063-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216063

--- Comment #3 from Andriy Voskoboinyk <avos@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
=3D=3D=3D>  License BSD3CLAUSE accepted by the user
=3D=3D=3D>   linux-skype_oss_wrapper-0.1.1 depends on file: /usr/local/sbin=
/pkg -
found
=3D=3D=3D> Fetching all distfiles required by linux-skype_oss_wrapper-0.1.1=
 for
building
=3D=3D=3D>  Extracting for linux-skype_oss_wrapper-0.1.1
=3D> SHA256 Checksum OK for s3erios-skype_oss_wrapper-v0.1.1_GH0.tar.gz.
=3D=3D=3D>  Patching for linux-skype_oss_wrapper-0.1.1
=3D=3D=3D>   linux-skype_oss_wrapper-0.1.1 depends on file: /compat/linux/u=
sr/bin/gcc
- found
=3D=3D=3D>  Configuring for linux-skype_oss_wrapper-0.1.1
=3D=3D=3D>  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=3D/compat/linux/lib/skype_oss_wrapper:\$LD_LIBRARY_PATH sk=
ype"
>> 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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216063-13-D4GwdZs6Kf>