rpmbuild for i386 fails

Jason Czerak jason at czerak.com
Tue Dec 28 10:15:20 PST 2010


I did a RHEL 5.3 + patches "everything" install just for this compile since my normal build is stripped down a bit.

Arch is x86_64.

the goal here is to provide the cups-libs i386 for compatibility for other misc apps that may need it.  right now I have the 1.3.7-18.i386 version in place to satisfy some dependencies, I'd like to have the 1.4.5 version instead naturally.

[root at owbsljdsb03 packaging]# rpmq | grep jpeg
libjpeg-6b-37.x86_64
libjpeg-devel-6b-37.i386
libjpeg-devel-6b-37.x86_64
libjpeg-6b-37.i386

If I manually compile with --enable-32bit it will compile just fine. I used "target i386" with rpmbuild for this.

unless I have an old version of something (maybe libjpeg is buggy?) I'm going to skim over RHEL's spec file and see if something jumps out at me.

> Install the JPEG devel package.
>
> On Dec 28, 2010, at 12:00 AM, Jason Czerak wrote:
>
> > anyone have any ideas?
> >=20
> >=20
> > Compiling bannertops.c...
> > bannertops.c: In function 'ps_ascii85':
> > bannertops.c:388: warning: ignoring return value of 'fwrite', declared =
> with attribute warn_unused_result
> > bannertops.c:419: warning: ignoring return value of 'fwrite', declared =
> with attribute warn_unused_result
> > Compiling pstext.c...
> > pstext.c: In function 'psTextEmbedFonts':
> > pstext.c:83: warning: ignoring return value of 'fwrite', declared with =
> attribute warn_unused_result
> > Compiling common.c...
> > Linking bannertops...
> > /usr/bin/ld: skipping incompatible ../filter/libcupsimage.so when =
> searching for -lcupsimage
> > /usr/bin/ld: skipping incompatible ../cups/libcups.so when searching =
> for -lcups
> > ./filter/libcupsimage.a(image-jpeg.o): In function =
> `_cupsImageReadJPEG':
> > /usr/src/redhat/BUILD/cups-1.4.5.jjc.0.1/filter/image-jpeg.c:67: =
> undefined reference to `jpeg_std_error'
> > /usr/src/redhat/BUILD/cups-1.4.5.jjc.0.1/filter/image-jpeg.c:68: =
> undefined reference to `jpeg_CreateDecompress'
> > /usr/src/redhat/BUILD/cups-1.4.5.jjc.0.1/filter/image-jpeg.c:69: =
> undefined reference to `jpeg_save_markers'
> > /usr/src/redhat/BUILD/cups-1.4.5.jjc.0.1/filter/image-jpeg.c:70: =
> undefined reference to `jpeg_stdio_src'
> >=20
> > _______________________________________________
> > cups-dev mailing list
> > cups-dev at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-dev
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>





More information about the cups mailing list