Mark Martinec
2017-Jan-14 00:07 UTC
Does building linux packages under poudriere require linux compatibility emulation?
When building packages under poudriere on 11.0-RELEASE-p7 (from a command line in a terminal window) I'm noticing occasional streams of diagnostic: ELF binary type "3" not known. which seem to be related to building some linux packages (example below, parallel builds). Poudriere still reports success for these builds. The host where poudriere is running does not have linux.ko loaded. Does building such packages really require linuxilator configured on the build host ??? Mark [00:23:56] ====>> [02][00:00:00] Starting build of www/linux-c6-qt47-webkit [00:23:57] ====>> [13][00:00:00] Starting build of textproc/linux-c6-libxml2 ELF binary type "3" not known. ELF binary type "3" not known. [00:24:09] ====>> [19][00:00:28] Finished build of textproc/linux-c6-aspell: Success [00:24:11] ====>> [19][00:00:00] Starting build of devel/qt4-makeqpf [00:24:11] ====>> [11][00:00:24] Finished build of security/linux-c6-openssl-compat: Success ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. [00:24:12] ====>> [11][00:00:00] Starting build of x11-toolkits/vte ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. [00:24:16] ====>> [07][00:00:24] Finished build of graphics/linux-c6-glx-utils: Success ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. [00:24:17] ====>> [07][00:00:00] Starting build of devel/qt4-qdoc3 ELF binary type "3" not known. ELF binary type "3" not known. [00:24:19] ====>> [13][00:00:22] Finished build of textproc/linux-c6-libxml2: Success [00:24:19] ====>> [13][00:00:00] Starting build of graphics/goocanvas [00:24:27] ====>> [10][00:02:26] Finished build of graphics/sdl_gfx: Success [00:24:29] ====>> [10][00:00:00] Starting build of multimedia/mjpegtools [00:24:34] ====>> [04][00:02:15] Finished build of devel/linux-c6-devtools: Success [00:24:35] ====>> [04][00:00:00] Starting build of devel/linux-c6-ncurses-base
René Ladan
2017-Jan-14 09:18 UTC
Does building linux packages under poudriere require linux compatibility emulation?
Op 14 jan. 2017 01:07 schreef "Mark Martinec" <Mark.Martinec+freebsd at ijs.si>:When building packages under poudriere on 11.0-RELEASE-p7 (from a command line in a terminal window) I'm noticing occasional streams of diagnostic: ELF binary type "3" not known. which seem to be related to building some linux packages (example below, parallel builds). Poudriere still reports success for these builds. The host where poudriere is running does not have linux.ko loaded. Does building such packages really require linuxilator configured on the build host ??? Mark I rhink the host wouldn't need the linuxolator for building the Linux packages, unless those packages run other Linux packages for their build. Ren? [00:23:56] ====>> [02][00:00:00] Starting build of www/linux-c6-qt47-webkit [00:23:57] ====>> [13][00:00:00] Starting build of textproc/linux-c6-libxml2 ELF binary type "3" not known. ELF binary type "3" not known. [00:24:09] ====>> [19][00:00:28] Finished build of textproc/linux-c6-aspell: Success [00:24:11] ====>> [19][00:00:00] Starting build of devel/qt4-makeqpf [00:24:11] ====>> [11][00:00:24] Finished build of security/linux-c6-openssl-compat: Success ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. [00:24:12] ====>> [11][00:00:00] Starting build of x11-toolkits/vte ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. [00:24:16] ====>> [07][00:00:24] Finished build of graphics/linux-c6-glx-utils: Success ELF binary type "3" not known. ELF binary type "3" not known. ELF binary type "3" not known. [00:24:17] ====>> [07][00:00:00] Starting build of devel/qt4-qdoc3 ELF binary type "3" not known. ELF binary type "3" not known. [00:24:19] ====>> [13][00:00:22] Finished build of textproc/linux-c6-libxml2: Success [00:24:19] ====>> [13][00:00:00] Starting build of graphics/goocanvas [00:24:27] ====>> [10][00:02:26] Finished build of graphics/sdl_gfx: Success [00:24:29] ====>> [10][00:00:00] Starting build of multimedia/mjpegtools [00:24:34] ====>> [04][00:02:15] Finished build of devel/linux-c6-devtools: Success [00:24:35] ====>> [04][00:00:00] Starting build of devel/linux-c6-ncurses-base _______________________________________________ freebsd-ports at freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
Tijl Coosemans
2017-Jan-14 14:11 UTC
Does building linux packages under poudriere require linux compatibility emulation?
On Sat, 14 Jan 2017 01:07:09 +0100 Mark Martinec <Mark.Martinec+freebsd at ijs.si> wrote:> When building packages under poudriere on 11.0-RELEASE-p7 (from a > command line in a terminal window) I'm noticing occasional streams of > diagnostic: > > ELF binary type "3" not known. > > which seem to be related to building some linux packages (example below, > parallel builds). Poudriere still reports success for these builds. > > The host where poudriere is running does not have linux.ko loaded. > > Does building such packages really require linuxilator configured > on the build host ???To build a package, its dependencies need to be installed and on installation some packages may need to run certain commands and for linux packages these commands may be linux programs. So, yes, if you need to build linux packages the build host should have USE_LINUX=yes in /etc/rc.conf.