When trying to emerge the Thunar thumbnailer plugin, it pulls in dcraw.
However, after successfully compiling dcraw, I get the following error
when make gets to the install phase:
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
From the looks of things, it's trying to install a file directly to the
filesystem outside the /var/tmp sandbox. I believe this is a bug that
needs reporting, but before I did that, I thought I'd check to be sure
it wasn't something I was doing wrong. Can can someone more
knowledgeable than me advise?
I've attached emerge --info and the full build log file for reference.
[32;01m*[0m CPV: media-gfx/dcraw-8.73
[32;01m*[0m REPO: gentoo
[32;01m*[0m USE: elibc_glibc gimp kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking dcraw-8.73.tar.bz2 to /var/tmp/portage/media-gfx/dcraw-8.73/work
>>> Source unpacked in /var/tmp/portage/media-gfx/dcraw-8.73/work
>>> Compiling source in /var/tmp/portage/media-gfx/dcraw-8.73/work/dcraw-8.73 ...
make -j5 CC=i686-pc-linux-gnu-gcc
i686-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -O2 -pipe -g -Wall -I/usr/include -I/usr/include/lcms -lm -ljpeg -llcms -o dcraw dcraw.c
i686-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -O2 -pipe -g -Wall -I/usr/include -I/usr/include/lcms -o dcparse parse.c
parse.c: In function 'get2':
parse.c:54: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'get4':
parse.c:70: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_makernote':
parse.c:214: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:258: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:260: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:262: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_tiff_ifd':
parse.c:339: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c:342: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c:345: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c:392: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:396: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
parse.c: In function 'parse_ciff':
parse.c:517: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_riff':
parse.c:551: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:560: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:566: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_mos':
parse.c:586: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:599: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_rollei':
parse.c:617: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
parse.c: In function 'parse_foveon':
parse.c:699: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'parse_phase_one':
parse.c:843: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c:887: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
parse.c: In function 'identify':
parse.c:948: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'get2':
dcraw.c:275: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'get4':
dcraw.c:291: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'canon_has_lowbits':
dcraw.c:704: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'ljpeg_start':
dcraw.c:809: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:812: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:816: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_is_compressed':
dcraw.c:1100: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_e2100':
dcraw.c:1134: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_3700':
dcraw.c:1156: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'minolta_z2':
dcraw.c:1174: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'nikon_e2100_load_raw':
dcraw.c:1209: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'ppm_thumb':
dcraw.c:1263: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:1264: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'layer_thumb':
dcraw.c:1279: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'casio_qv5700_load_raw':
dcraw.c:1853: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'sony_load_raw':
dcraw.c:2355: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'foveon_thumb':
dcraw.c:2585: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:2586: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'foveon_load_camf':
dcraw.c:2616: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'subtract':
dcraw.c:3272: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_makernote':
dcraw.c:4238: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4298: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4314: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4360: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'get_timestamp':
dcraw.c:4461: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_mos':
dcraw.c:4531: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4543: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4549: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4553: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4555: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4558: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4562: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4566: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c: In function 'parse_tiff_ifd':
dcraw.c:4675: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4678: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4681: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4708: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4720: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4752: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c:4757: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4779: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4783: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result
dcraw.c:4856: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4879: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4960: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:4964: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'parse_ciff':
dcraw.c:5223: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5225: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5227: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_rollei':
dcraw.c:5316: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
dcraw.c: In function 'parse_sinar_ia':
dcraw.c:5357: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5363: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_phase_one':
dcraw.c:5428: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'parse_riff':
dcraw.c:5508: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:5516: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'guess_byte_order':
dcraw.c:6023: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:6025: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'identify':
dcraw.c:6135: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'apply_profile':
dcraw.c:7162: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:7171: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:7175: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c: In function 'jpeg_thumb':
dcraw.c:7520: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
dcraw.c:7526: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7528: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7530: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c: In function 'write_ppm_tiff':
dcraw.c:7549: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7551: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
dcraw.c:7571: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
i686-pc-linux-gnu-gcc -march=native -fomit-frame-pointer -O2 -pipe -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -o rawphoto rawphoto.c -Wl,-O1 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
rawphoto.c: In function 'load_image':
rawphoto.c:244: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/dcraw-8.73
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
On 2/22/10, John H. Moe <johnmoe@optusnet.com.au> wrote:
> From the looks of things, it's trying to install a file directly to the
> filesystem outside the /var/tmp sandbox. I believe this is a bug that
> needs reporting, but before I did that, I thought I'd check to be sure
> it wasn't something I was doing wrong. Can can someone more
> knowledgeable than me advise?
Could it be bug #306177? Looks a lot like your case.
http://bugs.gentoo.org/show_bug.cgi?id=306177
--
Arttu V.
02-22-2010, 07:54 PM
"John H. Moe"
Sandbox violation emerging media-gfx/dcraw-8.73
Arttu V. wrote:
> On 2/22/10, John H. Moe <johnmoe@optusnet.com.au> wrote:
>
>> From the looks of things, it's trying to install a file directly to the
>> filesystem outside the /var/tmp sandbox. I believe this is a bug that
>> needs reporting, but before I did that, I thought I'd check to be sure
>> it wasn't something I was doing wrong. Can can someone more
>> knowledgeable than me advise?
>>
>
> Could it be bug #306177? Looks a lot like your case.
>
> http://bugs.gentoo.org/show_bug.cgi?id=306177
>
>
Perfect, thank you. :-) I had searched bugs.gentoo.org before, but
obviously not thoroughly enough...