From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3078D138334 for ; Tue, 13 Nov 2018 17:52:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1479E09DD; Tue, 13 Nov 2018 17:52:33 +0000 (UTC) Received: from mail-it1-x144.google.com (mail-it1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A95DE096B for ; Tue, 13 Nov 2018 17:52:33 +0000 (UTC) Received: by mail-it1-x144.google.com with SMTP id o19so10424839itg.5 for ; Tue, 13 Nov 2018 09:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=J+pX5tNwH31dzP9xMlG0Fz+n61vtU1chFCHYwkbyPwQ=; b=byRpGMyu5+zxFiE4ojBulVrTJB8wRJg/bm0bAo3bi4ZbT0vNsUm9kwJvwZErFVpAKz KLMHJ+Ql7YXmYsMaRKNoOJLYjjm3dfG+CQj3Cp84hqRRfGBFPx56tADl8FlPRQ57hMbQ cMnWm4KmXBhP5U0gCSEIcTIdMnFEgNI9sgs+4qgvE0tykIREpMZ3/mLLcoLeJSM+EpBI eGti5DLLdCY3WUA1shyAlHmrbdnw42Mjcy0Rg0gAIvLXlQf+BZtUVWCHavZbHThsLq99 mI5su0zrFmupF23g8z+m8tRZAnQRk6RlrrEqzD0mMqJNw3gvCM08YlNI70xxW14b/yBA +WHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=J+pX5tNwH31dzP9xMlG0Fz+n61vtU1chFCHYwkbyPwQ=; b=fP7yS8JN6lZeBA6PgyHq+aib6Vuav1vel8wGPD03AC1hKd/PhThS8UxYbuyzqqh8cw qI1Ai0Vq6vpr4w7DkkXcCnCkgtnAFv2ALTJ3+ysTQs1bGcRPl3HgEpnv94QZhC9gl+4p HXlUmwQNp6Fyztqpyf/P3n7mKnfX+jwupOWjSQp1cBwyYR9pS6oYswWUWyQ8pXKCDHJG wqGY+lvk7BDJbjzKVSGgdltxm99emw7yLcEjLMm+gvXZkjAeB2O5CJ0wOqPFQm2TGvvs 7d76H/vi72LbOy208AJJ/FvvumhLLcgHB0yljyV1FcM34hUxMQ+uoyOwB2ZGNYSwDTMU J7Ag== X-Gm-Message-State: AGRZ1gIlHDrmie4N14JonrqyBCFiIxmRK1g9++qDoV2T7Wb6BXKiUc7H tztwrdRx5pgRhEjnQO6M2K7AWKOzmX5qm32UXNF0tOsu X-Google-Smtp-Source: AJdET5cscra+5Kkw2zRgsWpNV/Ji+g5ubUX90oXDiTdGZTkE0HH7/O12686qBItpWoOXTtjv3M7dxlmRxdYQNA4/g2s= X-Received: by 2002:a24:5e93:: with SMTP id h141-v6mr4664256itb.103.1542131551707; Tue, 13 Nov 2018 09:52:31 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 References: <20181113171138.rwe43lsliihyhh7s@solfire> In-Reply-To: <20181113171138.rwe43lsliihyhh7s@solfire> From: Alexander Kapshuk Date: Tue, 13 Nov 2018 19:52:16 +0200 Message-ID: Subject: Re: [gentoo-user] Weird compilation error (nasm) To: Gentoo mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: deaf978b-e239-4277-976f-b9ede1b14aad X-Archives-Hash: 443a6cedd0663a289a79f0fc6d99fcd6 On Tue, Nov 13, 2018 at 7:10 PM wrote: > > Hi, > > I got a weird looking error while upgrading/recompiling nasm: > cmake -C /var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/work/libjpeg-tur= bo-2.0.1-abi_x86_64.amd64/gentoo_common_config.cmake -G Unix Makefiles -DCM= AKE_INSTALL_PREFIX=3D/usr -DCMAKE_INSTALL_DEFAULT_DOCDIR=3D/usr/share/doc/l= ibjpeg-turbo-2.0.1 -DENABLE_STATIC=3Dno -DWITH_JAVA=3Dno -DWITH_MEM_SRCDST= =3DON -DCMAKE_BUILD_TYPE=3DGentoo -DCMAKE_TOOLCHAIN_FILE=3D/var/tmp/portage= /media-libs/libjpeg-turbo-2.0.1/work/libjpeg-turbo-2.0.1-abi_x86_64.amd64/g= entoo_toolchain.cmake /var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/work= /libjpeg-turbo-2.0.1 > loading initial cache file /var/tmp/portage/media-libs/libjpeg-turbo-2.0.= 1/work/libjpeg-turbo-2.0.1-abi_x86_64.amd64/gentoo_common_config.cmake > -- The C compiler identification is GNU 8.2.0 > -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc > -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- work= s > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- CMAKE_BUILD_TYPE =3D Gentoo > -- VERSION =3D 2.0.1, BUILD =3D 20181113 > -- 64-bit build (x86_64) > -- CMAKE_INSTALL_PREFIX =3D /usr > -- CMAKE_INSTALL_BINDIR =3D bin (/usr/bin) > -- CMAKE_INSTALL_DATAROOTDIR =3D share (/usr/share) > -- CMAKE_INSTALL_DOCDIR =3D /usr/share/doc/libjpeg-turbo-2.0.1 > -- CMAKE_INSTALL_INCLUDEDIR =3D include (/usr/include) > -- CMAKE_INSTALL_LIBDIR =3D lib64 (/usr/lib64) > -- CMAKE_INSTALL_MANDIR =3D /usr/share/man > -- Shared libraries enabled (ENABLE_SHARED =3D 1) > -- Static libraries disabled (ENABLE_STATIC =3D 0) > -- 12-bit JPEG support disabled (WITH_12BIT =3D 0) > -- Arithmetic decoding support enabled (WITH_ARITH_DEC =3D 1) > -- Arithmetic encoding support enabled (WITH_ARITH_ENC =3D 1) > -- TurboJPEG API library enabled (WITH_TURBOJPEG =3D 1) > -- TurboJPEG Java wrapper disabled (WITH_JAVA =3D 0) > -- In-memory source/destination managers enabled (WITH_MEM_SRCDST =3D 1) > -- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 =3D 0, WITH_JPEG8 =3D 0) > -- libjpeg API shared library version =3D 62.3.0 > -- Compiler flags =3D -march=3Dnative -O -pipe > -- Linker flags =3D -Wl,-O1 -Wl,--as-needed > -- Looking for sys/types.h > -- Looking for sys/types.h - found > -- Looking for stdint.h > -- Looking for stdint.h - found > -- Looking for stddef.h > -- Looking for stddef.h - found > -- Check size of size_t > -- Check size of size_t - done > -- Check size of unsigned long > -- Check size of unsigned long - done > -- Performing Test HAVE_BUILTIN_CTZL > -- Performing Test HAVE_BUILTIN_CTZL - Success > -- Looking for include file locale.h > -- Looking for include file locale.h - found > -- Looking for include file stdlib.h > -- Looking for include file stdlib.h - found > -- Looking for include file sys/types.h > -- Looking for include file sys/types.h - found > -- Looking for memset > -- Looking for memset - found > -- Looking for memcpy > -- Looking for memcpy - found > -- Check size of unsigned char > -- Check size of unsigned char - done > -- Check size of unsigned short > -- Check size of unsigned short - done > -- Performing Test INCOMPLETE_TYPES > -- Performing Test INCOMPLETE_TYPES - Success > -- Compiler supports pointers to undefined structures. > -- Performing Test RIGHT_SHIFT_IS_UNSIGNED > -- Performing Test RIGHT_SHIFT_IS_UNSIGNED - Failed > -- Performing Test __CHAR_UNSIGNED__ > -- Performing Test __CHAR_UNSIGNED__ - Failed > -- Performing Test INLINE_WORKS > -- Performing Test INLINE_WORKS - Success > -- INLINE =3D __inline__ __attribute__((always_inline)) (FORCE_INLINE =3D= 1) > -- Performing Test HAVE_VERSION_SCRIPT > -- Performing Test HAVE_VERSION_SCRIPT - Success > -- Linker supports GNU-style version scripts > -- CMAKE_EXECUTABLE_SUFFIX =3D > * ACCESS DENIED: fopen_wr: /? > -- The ASM_NASM compiler identification is NASM > -- Found assembler: /usr/bin/nasm > -- CMAKE_ASM_NASM_COMPILER =3D /usr/bin/nasm > -- CMAKE_ASM_NASM_OBJECT_FORMAT =3D elf64 > -- CMAKE_ASM_NASM_FLAGS =3D -DELF -D__x86_64__ -DPIC > -- SIMD extensions: x86_64 (WITH_SIMD =3D 1) > -- FLOATTEST =3D sse > -- RPM architecture =3D x86_64, DEB architecture =3D amd64 > -- <<< Gentoo configuration >>> > Build type Gentoo > Install path /usr > Compiler flags: > C -march=3Dnative -O -pipe > C++ > Linker flags: > Executable -Wl,-O1 -Wl,--as-needed > Module -Wl,-O1 -Wl,--as-needed > Shared -Wl,-O1 -Wl,--as-needed > > -- Configuring done > -- Generating done > -- Build files have been written to: /var/tmp/portage/media-libs/libjpeg-= turbo-2.0.1/work/libjpeg-turbo-2.0.1-abi_x86_64.amd64 > >>> Source configured. > * --------------------------- ACCESS VIOLATION SUMMARY -----------------= ---------- > * LOG FILE: "/var/log/sandbox/sandbox-16492.log" > * > VERSION 1.0 > FORMAT: F - Function called > FORMAT: S - Access Status > FORMAT: P - Path as passed to function > FORMAT: A - Absolute Path (not canonical) > FORMAT: R - Canonical Path > FORMAT: C - Command Line > > F: fopen_wr > S: deny > P: /? > A: /? > R: /? > C: /usr/bin/nasm /? > * ----------------------------------------------------------------------= ---------- > !!! When you file a bug report, please include the following information: > GENTOO_VM=3D CLASSPATH=3D"" JAVA_HOME=3D"" > JAVACFLAGS=3D"" COMPILER=3D"" > and of course, the output of emerge --info =3Dlibjpeg-turbo-2.0.1 > * > * The following package has failed to build, install, or execute postins= t: > * > * (media-libs/libjpeg-turbo-2.0.1:0/0::gentoo, ebuild scheduled for mer= ge), Log file: > * '/var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/temp/build.log' > > > If wanted I will post the build.log etc... > > I never had an error looking like this one... > > Any fox for that or am I the onlu one...? > > Cheers! > Meino > > > > The failed build output enclosed is actually that of media-libs/libjpeg-turbo-2.0.1, not nasm. Nasm is listed as a dependency for this library. See libjpeg-turbo-2.0.1.ebuild for ASM_DEPEND. As an aside, libjpeg-turbo-2.0.1 has not been stabilised yet. Are you on an unstable system? As for the actual build error, the contents of /var/log/sandbox/sandbox-16492.log and /var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/temp/build.log would be in order.