Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] net-print/hplip-3.11.5 compile fails
Date: Sun, 19 Jun 2011 00:04:42
Message-Id: 4DFD3645.7010509@gmail.com
1 Hi,
2
3 Did my sync and upgraded some stuff then ran into this hiccup. I posted
4 the console output only this time. If someone else has ran into this and
5 has a fix, then we are good to go. If this is a first timer, I'll post
6 the rest of the info if needed.
7
8 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
9 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
10 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
11 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
12 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
13 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
14 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
15 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
16 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
17 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
18 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
19 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
20 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -DAPDK_LITTLE_ENDIAN -march=native
21 -O2 -pipe -c -o hpcups-LidilCompress.o `test -f
22 'prnt/hpcups/LidilCompress.cpp' || echo './'`prnt/hpcups/LidilCompress.cpp
23 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
24 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
25 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
26 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
27 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
28 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
29 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
30 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
31 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
32 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
33 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
34 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
35 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -DAPDK_LITTLE_ENDIAN -march=native
36 -O2 -pipe -c -o hpcups-dj3320ColorMaps.o `test -f
37 'prnt/hpcups/dj3320ColorMaps.cpp' || echo
38 './'`prnt/hpcups/dj3320ColorMaps.cpp
39 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
40 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
41 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
42 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
43 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
44 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
45 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
46 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
47 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
48 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
49 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
50 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
51 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -DAPDK_LITTLE_ENDIAN -march=native
52 -O2 -pipe -c -o hpcups-dj3600ColorMaps.o `test -f
53 'prnt/hpcups/dj3600ColorMaps.cpp' || echo
54 './'`prnt/hpcups/dj3600ColorMaps.cpp
55 x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
56 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
57 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
58 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
59 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
60 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
61 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
62 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
63 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
64 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
65 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
66 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
67 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -march=native -O2 -pipe -c -o
68 hplipjs.o `test -f 'prnt/filters/hplipjs.c' || echo
69 './'`prnt/filters/hplipjs.c
70 prnt/filters/hplipjs.c: In function ‘SendJobHoldCommands’:
71 prnt/filters/hplipjs.c:76: warning: ignoring return value of ‘write’,
72 declared with attribute warn_unused_result
73 prnt/filters/hplipjs.c:102: warning: ignoring return value of ‘write’,
74 declared with attribute warn_unused_result
75 prnt/filters/hplipjs.c: In function ‘GetOptionStringFromCups’:
76 prnt/filters/hplipjs.c:129: warning: ignoring return value of ‘fgets’,
77 declared with attribute warn_unused_result
78 prnt/filters/hplipjs.c: In function ‘main’:
79 prnt/filters/hplipjs.c:267: warning: ignoring return value of ‘write’,
80 declared with attribute warn_unused_result
81 prnt/filters/hplipjs.c:269: warning: ignoring return value of ‘write’,
82 declared with attribute warn_unused_result
83 prnt/filters/hplipjs.c:287: warning: ignoring return value of ‘write’,
84 declared with attribute warn_unused_result
85 prnt/filters/hplipjs.c:291: warning: ignoring return value of ‘write’,
86 declared with attribute warn_unused_result
87 prnt/filters/hplipjs.c:294: warning: ignoring return value of ‘write’,
88 declared with attribute warn_unused_result
89 x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
90 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
91 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
92 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
93 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
94 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
95 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
96 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
97 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
98 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
99 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
100 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
101 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -march=native -O2 -pipe -c -o
102 hppsfilter.o `test -f 'prnt/hpps/hppsfilter.c' || echo
103 './'`prnt/hpps/hppsfilter.c
104 x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
105 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
106 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
107 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
108 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
109 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
110 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
111 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
112 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
113 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
114 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
115 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
116 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -march=native -O2 -pipe -c -o
117 ptest.o `test -f 'pcard/ptest.c' || echo './'`pcard/ptest.c
118 x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
119 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
120 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
121 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
122 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
123 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
124 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
125 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
126 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
127 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
128 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
129 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
130 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -march=native -O2 -pipe -c -o fat.o
131 `test -f 'pcard/fat.c' || echo './'`pcard/fat.c
132 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\
133 Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\"
134 -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\"
135 -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\"
136 -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
137 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
138 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
139 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
140 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1
141 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1
142 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1
143 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip
144 -Iio/hpmud -Iscan/sane -Iprnt/hpijs -DAPDK_DJ660 -DAPDK_DJ6xx
145 -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630
146 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600
147 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX
148 -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850
149 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP
150 -DAPDK_LJJETREADY -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND
151 -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE -DAPDK_MLC_PRINTER
152 -DAPDK_DJ3600 -DAPDK_LJZJS_MONO -DAPDK_LJZJS_COLOR -DAPDK_LJM1005
153 -DAPDK_QUICKCONNECT -DAPDK_LITTLE_ENDIAN -DAPDK_AUTO_INCLUDE
154 -DAPDK_LINUX -DNDEBUG -I/usr/include/dbus-1.0
155 -I/usr/lib64/dbus-1.0/include -march=native -O2 -pipe -c -o
156 hppgsz-PrinterProperties.o `test -f 'prnt/hpijs/PrinterProperties.cpp'
157 || echo './'`prnt/hpijs/PrinterProperties.cpp
158 prnt/hpps/hppsfilter.c: In function ‘open_dbg_outfile’:
159 prnt/hpps/hppsfilter.c:95: warning: format ‘%d’ expects type ‘int’, but
160 argument 3 has type ‘char *’
161 prnt/hpps/hppsfilter.c: In function ‘require_bod’:
162 prnt/hpps/hppsfilter.c:119: error: ‘ppd_attr_t’ undeclared (first use in
163 this function)
164 prnt/hpps/hppsfilter.c:119: error: (Each undeclared identifier is
165 reported only once
166 prnt/hpps/hppsfilter.c:119: error: for each function it appears in.)
167 prnt/hpps/hppsfilter.c:119: error: ‘pattr’ undeclared (first use in this
168 function)
169 prnt/hpps/hppsfilter.c:120: error: ‘ppd_file_t’ undeclared (first use in
170 this function)
171 prnt/hpps/hppsfilter.c:120: error: ‘pppd’ undeclared (first use in this
172 function)
173 prnt/hpps/hppsfilter.c: In function ‘main’:
174 prnt/hpps/hppsfilter.c:200: warning: format ‘%s’ expects type ‘char *’,
175 but argument 4 has type ‘char * (*)(int)’
176 pcard/fat.c: In function ‘FatReadFile’:
177 pcard/fat.c:630: warning: ignoring return value of ‘write’, declared
178 with attribute warn_unused_result
179 make: *** [hppsfilter.o] Error 1
180 make: *** Waiting for unfinished jobs....
181 emake failed
182 * ERROR: net-print/hplip-3.11.5 failed (compile phase):
183 * emake failed
184 *
185 * Call stack:
186 * ebuild.sh, line 56: Called src_compile
187 * environment, line 5970: Called _eapi2_src_compile
188 * ebuild.sh, line 665: Called die
189 * The specific snippet of code:
190 * emake || die "emake failed"
191 *
192 * If you need support, post the output of 'emerge --info
193 =net-print/hplip-3.11.5',
194 * the complete build log and the output of 'emerge -pqv
195 =net-print/hplip-3.11.5'.
196 * The complete build log is located at
197 '/var/log/portage/net-print:hplip-3.11.5:20110618-232524.log'.
198 * The ebuild environment file is located at
199 '/var/tmp/portage/net-print/hplip-3.11.5/temp/environment'.
200 * S: '/var/tmp/portage/net-print/hplip-3.11.5/work/hplip-3.11.5'
201
202 >>> Failed to emerge net-print/hplip-3.11.5, Log file:
203
204 >>> '/var/log/portage/net-print:hplip-3.11.5:20110618-232524.log'
205 root@fireball / #
206
207
208 I looked on bgo and the forums with no luck. I don't recall seeing this
209 on this list either.
210
211 Ideas?
212
213 Oh, I did run etc-update and then did env-update and source /etc/profile
214 just in case some other update changed something. No joy there either.
215
216 Thanks much.
217
218 Dale
219
220 :-) :-)

Replies

Subject Author
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails Daniel Pielmeier <billie@g.o>
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails Daniel Pielmeier <billie@g.o>