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