Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 20, 2021 16:38
Show Gist options
  • Save r-rmcgibbo/4fe16166624b33427c0265818cea74e0 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/4fe16166624b33427c0265818cea74e0 to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 4 seconds | https://github.com/NixOS/nixpkgs/pull/117040
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/6rj1y6di82cmq6m2lylxmk4aan0ijmg1-splix-r315
source root is splix-r315
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
renamed 'ml2160.ppd' -> 'ppd/ml2160.ppd'
renamed 'ml2160fr.ppd' -> 'ppd/ml2160fr.ppd'
renamed 'ml2160pt.ppd' -> 'ppd/ml2160pt.ppd'
renamed 'ml2165.ppd' -> 'ppd/ml2165.ppd'
renamed 'ml2165fr.ppd' -> 'ppd/ml2165fr.ppd'
renamed 'ml2165pt.ppd' -> 'ppd/ml2165pt.ppd'
renamed 'ml3310.ppd' -> 'ppd/ml3310.ppd'
renamed 'ml3310fr.ppd' -> 'ppd/ml3310fr.ppd'
renamed 'ml3310nd.ppd' -> 'ppd/ml3310nd.ppd'
renamed 'ml3310ndfr.ppd' -> 'ppd/ml3310ndfr.ppd'
renamed 'ml3310ndpt.ppd' -> 'ppd/ml3310ndpt.ppd'
renamed 'ml3310pt.ppd' -> 'ppd/ml3310pt.ppd'
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/zb8qc1b38rh2krkq6v0bnmpwsj4g21l3-bash-4.4-p23/bin/bash CUPSFILTER=\$\(out\)/lib/cups/filter CUPSPPD=\$\(out\)/share/cups/model CUPSPROFILE=/nix/store/air689vjc52fcm1y4b9vmk23jy3qjv13-splix-color-profiles-20070625/share/cups/profiles
GEN .defs.mk..
+---------------------------------------------+
| COMPILATION PARAMETERS SUMMARY |
+---------------------------------------------+
| THREADS = enabled |
| THREADS Nr = 2 |
| CACHESIZE = 30 |
| JBIG = enabled |
| BLACK OPTIM = enabled |
| DRV ONLY = disabled |
+---------------------------------------------+
(Do a "make clean" before updating these values)
CXX src/rastertoqpdl.cpp
CXX src/request.cpp
CXX src/printer.cpp
CXX src/qpdl.cpp
src/qpdl.cpp: In function 'bool _renderBand(const Request&, const Band*, bool)':
src/qpdl.cpp:250:25: warning: array subscript 32 is outside array bounds of 'unsigned char [32]' [-Warray-bounds]
250 | *(uint32_t*)(&header + size) = (uint32_t)plane->
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/qpdl.cpp:135:19: note: while referencing 'header'
135 | unsigned char header[0x20];
| ^~~~~~
src/qpdl.cpp:252:25: warning: array subscript 64 is outside array bounds of 'unsigned char [32]' [-Warray-bounds]
252 | *(uint32_t*)(&header + size + 4) = (uint32_t)state;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/qpdl.cpp:135:19: note: while referencing 'header'
135 | unsigned char header[0x20];
| ^~~~~~
CXX src/document.cpp
src/document.cpp: In member function 'Page* Document::getNextRawPage(const Request&)':
src/document.cpp:84:47: warning: 'unsigned int cupsRasterReadHeader(cups_raster_t*, cups_page_header_t*)' is deprecated: Use cupsRasterReadHeader2 instead. [-Wdeprecated-declarations]
84 | if (!cupsRasterReadHeader(_raster, &header) || !header.cupsBytesPerLine ||
| ^
In file included from include/document.h:24,
from src/document.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/raster.h:377:18: note: declared here
377 | extern unsigned cupsRasterReadHeader(cups_raster_t *r, cups_page_header_t *h) _CUPS_DEPRECATED_MSG("Use cupsRasterReadHeader2 instead.") _CUPS_PUBLIC;
| ^~~~~~~~~~~~~~~~~~~~
src/document.cpp:84:47: warning: 'unsigned int cupsRasterReadHeader(cups_raster_t*, cups_page_header_t*)' is deprecated: Use cupsRasterReadHeader2 instead. [-Wdeprecated-declarations]
84 | if (!cupsRasterReadHeader(_raster, &header) || !header.cupsBytesPerLine ||
| ^
In file included from include/document.h:24,
from src/document.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/raster.h:377:18: note: declared here
377 | extern unsigned cupsRasterReadHeader(cups_raster_t *r, cups_page_header_t *h) _CUPS_DEPRECATED_MSG("Use cupsRasterReadHeader2 instead.") _CUPS_PUBLIC;
| ^~~~~~~~~~~~~~~~~~~~
CXX src/core.cpp
CXX src/compress.cpp
src/compress.cpp: In function 'bool _compressBandedJBIGPage(const Request&, Page*)':
src/compress.cpp:255:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
255 | for (unsigned int i=0; i < page->colorsNr() - 1; i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
CXX src/algorithm.cpp
CXX src/ppdfile.cpp
src/ppdfile.cpp: In member function 'bool PPDFile::open(const char*, const char*, const char*)':
src/ppdfile.cpp:63:28: warning: 'ppd_file_t* ppdOpenFile(const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
63 | _ppd = ppdOpenFile(file);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:389:20: note: declared here
389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
src/ppdfile.cpp:63:28: warning: 'ppd_file_t* ppdOpenFile(const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
63 | _ppd = ppdOpenFile(file);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:389:20: note: declared here
389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~
src/ppdfile.cpp:70:25: warning: 'void ppdMarkDefaults(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
70 | ppdMarkDefaults(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:384:14: note: declared here
384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
src/ppdfile.cpp:70:25: warning: 'void ppdMarkDefaults(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
70 | ppdMarkDefaults(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:384:14: note: declared here
384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
src/ppdfile.cpp:72:38: warning: 'int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | cupsMarkOptions(_ppd, nr, options);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:362:13: note: declared here
362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
src/ppdfile.cpp:72:38: warning: 'int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
72 | cupsMarkOptions(_ppd, nr, options);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:362:13: note: declared here
362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~~~~~~~~
src/ppdfile.cpp:80:22: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
80 | ppdClose(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:364:14: note: declared here
364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
src/ppdfile.cpp:80:22: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
80 | ppdClose(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:364:14: note: declared here
364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
src/ppdfile.cpp:87:22: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
87 | ppdClose(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:364:14: note: declared here
364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
src/ppdfile.cpp:87:22: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
87 | ppdClose(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:364:14: note: declared here
364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
src/ppdfile.cpp: In member function 'void PPDFile::close()':
src/ppdfile.cpp:99:18: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
99 | ppdClose(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:364:14: note: declared here
364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
src/ppdfile.cpp:99:18: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
99 | ppdClose(_ppd);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:364:14: note: declared here
364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
| ^~~~~~~~
src/ppdfile.cpp: In member function 'PPDValue PPDFile::get(const char*, const char*)':
src/ppdfile.cpp:121:44: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
121 | attr = ppdFindAttr(_ppd, name, NULL);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:399:20: note: declared here
399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
src/ppdfile.cpp:121:44: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
121 | attr = ppdFindAttr(_ppd, name, NULL);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:399:20: note: declared here
399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
src/ppdfile.cpp:123:43: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
123 | attr = ppdFindAttr(_ppd, opt, name);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:399:20: note: declared here
399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
src/ppdfile.cpp:123:43: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
123 | attr = ppdFindAttr(_ppd, opt, name);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:399:20: note: declared here
399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
| ^~~~~~~~~~~
src/ppdfile.cpp:126:48: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
126 | choice = ppdFindMarkedChoice(_ppd, name);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:377:22: note: declared here
377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
src/ppdfile.cpp:126:48: warning: 'ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
126 | choice = ppdFindMarkedChoice(_ppd, name);
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:377:22: note: declared here
377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
| ^~~~~~~~~~~~~~~~~~~
src/ppdfile.cpp: In member function 'PPDValue PPDFile::getPageSize(const char*)':
src/ppdfile.cpp:140:37: warning: 'ppd_size_t* ppdPageSize(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
140 | if (!(s = ppdPageSize(_ppd, name)))
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:392:20: note: declared here
392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
src/ppdfile.cpp:140:37: warning: 'ppd_size_t* ppdPageSize(ppd_file_t*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
140 | if (!(s = ppdPageSize(_ppd, name)))
| ^
In file included from include/ppdfile.h:24,
from src/ppdfile.cpp:21:
/nix/store/ir3ahh2p7k65n69815q454xh9pbz90a0-cups-2.3.3-dev/include/cups/ppd.h:392:20: note: declared here
392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
| ^~~~~~~~~~~
CXX src/page.cpp
src/page.cpp: In member function 'bool Page::swapToDisk(int)':
src/page.cpp:134:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
134 | write(fd, &_xResolution, sizeof(_xResolution));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:135:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
135 | write(fd, &_yResolution, sizeof(_yResolution));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:136:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
136 | write(fd, &_width, sizeof(_width));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:137:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
137 | write(fd, &_height, sizeof(_height));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:138:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
138 | write(fd, &_colors, sizeof(_colors));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:139:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
139 | write(fd, &_pageNr, sizeof(_pageNr));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:140:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
140 | write(fd, &_copiesNr, sizeof(_copiesNr));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:141:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
141 | write(fd, &_compression, sizeof(_compression));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:142:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
142 | write(fd, &_empty, sizeof(_empty));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:143:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
143 | write(fd, &_bandsNr, sizeof(_bandsNr));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:147:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
147 | write(fd, _bih, 20);
| ~~~~~^~~~~~~~~~~~~~
src/page.cpp: In static member function 'static Page* Page::restoreIntoMemory(int)':
src/page.cpp:163:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
163 | read(fd, &page->_xResolution, sizeof(page->_xResolution));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:164:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
164 | read(fd, &page->_yResolution, sizeof(page->_yResolution));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:165:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
165 | read(fd, &page->_width, sizeof(page->_width));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:166:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
166 | read(fd, &page->_height, sizeof(page->_height));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:167:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
167 | read(fd, &page->_colors, sizeof(page->_colors));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:168:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
168 | read(fd, &page->_pageNr, sizeof(page->_pageNr));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:169:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
169 | read(fd, &page->_copiesNr, sizeof(page->_copiesNr));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:170:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
170 | read(fd, &page->_compression, sizeof(page->_compression));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:171:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
171 | read(fd, &page->_empty, sizeof(page->_empty));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/page.cpp:172:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
172 | read(fd, &nr, sizeof(nr));
| ~~~~^~~~~~~~~~~~~~~~~~~~~
src/page.cpp:177:13: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
177 | read(fd, bih, 20);
| ~~~~^~~~~~~~~~~~~
CXX src/colors.cpp
CXX src/band.cpp
src/band.cpp: In member function 'bool Band::swapToDisk(int)':
src/band.cpp:74:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
74 | write(fd, &_bandNr, sizeof(_bandNr));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/band.cpp:75:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
75 | write(fd, &_colors, sizeof(_colors));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/band.cpp:76:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
76 | write(fd, &_width, sizeof(_width));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/band.cpp:77:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
77 | write(fd, &_height, sizeof(_height));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/band.cpp: In static member function 'static Band* Band::restoreIntoMemory(int)':
src/band.cpp:90:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
90 | read(fd, &band->_bandNr, sizeof(band->_bandNr));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/band.cpp:91:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
91 | read(fd, &colors, sizeof(colors));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/band.cpp:92:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
92 | read(fd, &band->_width, sizeof(band->_width));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/band.cpp:93:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
93 | read(fd, &band->_height, sizeof(band->_height));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CXX src/bandplane.cpp
src/bandplane.cpp: In member function 'bool BandPlane::swapToDisk(int)':
src/bandplane.cpp:68:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
68 | write(fd, &_colorNr, sizeof(_colorNr));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:69:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
69 | write(fd, &_size, sizeof(_size));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:70:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
70 | write(fd, _data, _size);
| ~~~~~^~~~~~~~~~~~~~~~~~
src/bandplane.cpp:71:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
71 | write(fd, &_checksum, sizeof(_checksum));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:72:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
72 | write(fd, &_endian, sizeof(_endian));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:73:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
73 | write(fd, &_compression, sizeof(_compression));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp: In static member function 'static BandPlane* BandPlane::restoreIntoMemory(int)':
src/bandplane.cpp:83:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
83 | read(fd, &plane->_colorNr, sizeof(plane->_colorNr));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:84:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
84 | read(fd, &plane->_size, sizeof(plane->_size));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:86:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
86 | read(fd, data, plane->_size);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:88:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
88 | read(fd, &plane->_checksum, sizeof(plane->_checksum));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:89:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
89 | read(fd, &plane->_endian, sizeof(plane->_endian));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bandplane.cpp:90:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
90 | read(fd, &plane->_compression, sizeof(plane->_compression));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CXX src/cache.cpp
src/cache.cpp: In function 'void* _cacheControllerThread(void*)':
src/cache.cpp:245:25: warning: '~' on an expression of type bool [-Wbool-operation]
245 | whatToDo = ~whatToDo;
| ^~~~~~~~
src/cache.cpp:245:25: note: did you mean to use logical not ('!')?
CXX src/rendering.cpp
CXX src/semaphore.cpp
CXX src/algo0x0d.cpp
CXX src/algo0x0e.cpp
CXX src/algo0x11.cpp
CXX src/algo0x13.cpp
CXX src/algo0x15.cpp
LINK optimized/rastertoqpdl
CXX src/pstoqpdl.cpp
src/pstoqpdl.cpp: In function 'int main(int, char**)':
src/pstoqpdl.cpp:183:17: warning: variable 'jobid' set but not used [-Wunused-but-set-variable]
183 | const char *jobid, *user, *title, *options, *ppdFile, *file;
| ^~~~~
src/pstoqpdl.cpp:183:25: warning: variable 'user' set but not used [-Wunused-but-set-variable]
183 | const char *jobid, *user, *title, *options, *ppdFile, *file;
| ^~~~
src/pstoqpdl.cpp:183:32: warning: variable 'title' set but not used [-Wunused-but-set-variable]
183 | const char *jobid, *user, *title, *options, *ppdFile, *file;
| ^~~~~
src/pstoqpdl.cpp:185:19: warning: variable 'copies' set but not used [-Wunused-but-set-variable]
185 | unsigned long copies;
| ^~~~~~
src/pstoqpdl.cpp:245:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
245 | fgets((char *)&buffer, sizeof(buffer), stdin);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LINK optimized/pstoqpdl
@nix { "action": "setPhase", "phase": "installPhase" }
installing
install flags: SHELL=/nix/store/zb8qc1b38rh2krkq6v0bnmpwsj4g21l3-bash-4.4-p23/bin/bash CUPSFILTER=\$\(out\)/lib/cups/filter CUPSPPD=\$\(out\)/share/cups/model CUPSPROFILE=/nix/store/air689vjc52fcm1y4b9vmk23jy3qjv13-splix-color-profiles-20070625/share/cups/profiles install
INSTALL optimized/rastertoqpdl
INSTALL optimized/pstoqpdl
INSTALL Samsung PPD files
INSTALL Xerox PPD files
INSTALL Dell PPD files
INSTALL Lexmark PPD files
INSTALL Toshiba PPD files
PLEASE INSTALL MANUALLY COLOR PROFILE FILES (CHECK INSTALL)
--- Everything is done! Have fun ---
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/igxb9zf4f0bfkdjmj29ijzk139v1vrzg-splix-svn-315
shrinking /nix/store/igxb9zf4f0bfkdjmj29ijzk139v1vrzg-splix-svn-315/lib/cups/filter/pstoqpdl
shrinking /nix/store/igxb9zf4f0bfkdjmj29ijzk139v1vrzg-splix-svn-315/lib/cups/filter/rastertoqpdl
strip is /nix/store/h5wgppbyv8vkla58v8zi535j5i9akly5-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/igxb9zf4f0bfkdjmj29ijzk139v1vrzg-splix-svn-315/lib
patching script interpreter paths in /nix/store/igxb9zf4f0bfkdjmj29ijzk139v1vrzg-splix-svn-315
checking for references to /build/ in /nix/store/igxb9zf4f0bfkdjmj29ijzk139v1vrzg-splix-svn-315...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment