Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Weird compilation error (nasm)
Date: Tue, 13 Nov 2018 17:10:40
Message-Id: 20181113171138.rwe43lsliihyhh7s@solfire
1 Hi,
2
3 I got a weird looking error while upgrading/recompiling nasm:
4 cmake -C /var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/work/libjpeg-turbo-2.0.1-abi_x86_64.amd64/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_DEFAULT_DOCDIR=/usr/share/doc/libjpeg-turbo-2.0.1 -DENABLE_STATIC=no -DWITH_JAVA=no -DWITH_MEM_SRCDST=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/work/libjpeg-turbo-2.0.1-abi_x86_64.amd64/gentoo_toolchain.cmake /var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/work/libjpeg-turbo-2.0.1
5 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
6 -- The C compiler identification is GNU 8.2.0
7 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
8 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
9 -- Detecting C compiler ABI info
10 -- Detecting C compiler ABI info - done
11 -- Detecting C compile features
12 -- Detecting C compile features - done
13 -- CMAKE_BUILD_TYPE = Gentoo
14 -- VERSION = 2.0.1, BUILD = 20181113
15 -- 64-bit build (x86_64)
16 -- CMAKE_INSTALL_PREFIX = /usr
17 -- CMAKE_INSTALL_BINDIR = bin (/usr/bin)
18 -- CMAKE_INSTALL_DATAROOTDIR = share (/usr/share)
19 -- CMAKE_INSTALL_DOCDIR = /usr/share/doc/libjpeg-turbo-2.0.1
20 -- CMAKE_INSTALL_INCLUDEDIR = include (/usr/include)
21 -- CMAKE_INSTALL_LIBDIR = lib64 (/usr/lib64)
22 -- CMAKE_INSTALL_MANDIR = /usr/share/man
23 -- Shared libraries enabled (ENABLE_SHARED = 1)
24 -- Static libraries disabled (ENABLE_STATIC = 0)
25 -- 12-bit JPEG support disabled (WITH_12BIT = 0)
26 -- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1)
27 -- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1)
28 -- TurboJPEG API library enabled (WITH_TURBOJPEG = 1)
29 -- TurboJPEG Java wrapper disabled (WITH_JAVA = 0)
30 -- In-memory source/destination managers enabled (WITH_MEM_SRCDST = 1)
31 -- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 = 0, WITH_JPEG8 = 0)
32 -- libjpeg API shared library version = 62.3.0
33 -- Compiler flags = -march=native -O -pipe
34 -- Linker flags = -Wl,-O1 -Wl,--as-needed
35 -- Looking for sys/types.h
36 -- Looking for sys/types.h - found
37 -- Looking for stdint.h
38 -- Looking for stdint.h - found
39 -- Looking for stddef.h
40 -- Looking for stddef.h - found
41 -- Check size of size_t
42 -- Check size of size_t - done
43 -- Check size of unsigned long
44 -- Check size of unsigned long - done
45 -- Performing Test HAVE_BUILTIN_CTZL
46 -- Performing Test HAVE_BUILTIN_CTZL - Success
47 -- Looking for include file locale.h
48 -- Looking for include file locale.h - found
49 -- Looking for include file stdlib.h
50 -- Looking for include file stdlib.h - found
51 -- Looking for include file sys/types.h
52 -- Looking for include file sys/types.h - found
53 -- Looking for memset
54 -- Looking for memset - found
55 -- Looking for memcpy
56 -- Looking for memcpy - found
57 -- Check size of unsigned char
58 -- Check size of unsigned char - done
59 -- Check size of unsigned short
60 -- Check size of unsigned short - done
61 -- Performing Test INCOMPLETE_TYPES
62 -- Performing Test INCOMPLETE_TYPES - Success
63 -- Compiler supports pointers to undefined structures.
64 -- Performing Test RIGHT_SHIFT_IS_UNSIGNED
65 -- Performing Test RIGHT_SHIFT_IS_UNSIGNED - Failed
66 -- Performing Test __CHAR_UNSIGNED__
67 -- Performing Test __CHAR_UNSIGNED__ - Failed
68 -- Performing Test INLINE_WORKS
69 -- Performing Test INLINE_WORKS - Success
70 -- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1)
71 -- Performing Test HAVE_VERSION_SCRIPT
72 -- Performing Test HAVE_VERSION_SCRIPT - Success
73 -- Linker supports GNU-style version scripts
74 -- CMAKE_EXECUTABLE_SUFFIX =
75 * ACCESS DENIED: fopen_wr: /?
76 -- The ASM_NASM compiler identification is NASM
77 -- Found assembler: /usr/bin/nasm
78 -- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm
79 -- CMAKE_ASM_NASM_OBJECT_FORMAT = elf64
80 -- CMAKE_ASM_NASM_FLAGS = -DELF -D__x86_64__ -DPIC
81 -- SIMD extensions: x86_64 (WITH_SIMD = 1)
82 -- FLOATTEST = sse
83 -- RPM architecture = x86_64, DEB architecture = amd64
84 -- <<< Gentoo configuration >>>
85 Build type Gentoo
86 Install path /usr
87 Compiler flags:
88 C -march=native -O -pipe
89 C++
90 Linker flags:
91 Executable -Wl,-O1 -Wl,--as-needed
92 Module -Wl,-O1 -Wl,--as-needed
93 Shared -Wl,-O1 -Wl,--as-needed
94
95 -- Configuring done
96 -- Generating done
97 -- 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
98 >>> Source configured.
99 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
100 * LOG FILE: "/var/log/sandbox/sandbox-16492.log"
101 *
102 VERSION 1.0
103 FORMAT: F - Function called
104 FORMAT: S - Access Status
105 FORMAT: P - Path as passed to function
106 FORMAT: A - Absolute Path (not canonical)
107 FORMAT: R - Canonical Path
108 FORMAT: C - Command Line
109
110 F: fopen_wr
111 S: deny
112 P: /?
113 A: /?
114 R: /?
115 C: /usr/bin/nasm /?
116 * --------------------------------------------------------------------------------
117 !!! When you file a bug report, please include the following information:
118 GENTOO_VM= CLASSPATH="" JAVA_HOME=""
119 JAVACFLAGS="" COMPILER=""
120 and of course, the output of emerge --info =libjpeg-turbo-2.0.1
121 *
122 * The following package has failed to build, install, or execute postinst:
123 *
124 * (media-libs/libjpeg-turbo-2.0.1:0/0::gentoo, ebuild scheduled for merge), Log file:
125 * '/var/tmp/portage/media-libs/libjpeg-turbo-2.0.1/temp/build.log'
126
127
128 If wanted I will post the build.log etc...
129
130 I never had an error looking like this one...
131
132 Any fox for that or am I the onlu one...?
133
134 Cheers!
135 Meino

Replies

Subject Author
Re: [gentoo-user] Weird compilation error (nasm) Alexander Kapshuk <alexander.kapshuk@×××××.com>
Re: [gentoo-user] Weird compilation error (nasm) Jack <ostroffjh@×××××××××××××××××.net>
Re: [gentoo-user] Weird compilation error (nasm) David Haller <gentoo@×××××××.de>
Re: [gentoo-user] Weird compilation error (nasm) Sergei Trofimovich <slyfox@g.o>