Bug 957737 - cups-1.7-0.1.b1.fc20 is FTBFS on ARM
Summary: cups-1.7-0.1.b1.fc20 is FTBFS on ARM
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2013-04-29 12:28 UTC by Peter Robinson
Modified: 2013-05-03 05:46 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-03 05:46:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2013-04-29 12:28:17 UTC
http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=1205

Main error looks to be:

2271:22: warning: unused variable 'addrlist' [-Wunused-variable]
     http_addrlist_t *addrlist, /* List of addresses */
                      ^
ipp.c: In function 'ippAddStringfv':
ipp.c:1213:18: error: wrong type argument to unary exclamation mark
       !format || !ap)
                  ^
In file included from cups-private.h:29:0,
                 from ipp-support.c:43:
http-private.h:172:1: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
 typedef gnutls_session http_tls_t;
 ^
ipp.c: In function 'ippSetStringfv':
ipp.c:4452:18: error: wrong type argument to unary exclamation mark
       !format || !ap)
                  ^
http-private.h:175:1: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
 extern ssize_t _httpReadGNUTLS(gnutls_transport_ptr ptr, void *data,
 ^
http-private.h:177:1: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
 extern ssize_t _httpWriteGNUTLS(gnutls_transport_ptr ptr, const void *data,
 ^
ipp.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
make[1]: *** [ipp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
http-support.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
http.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
make[1]: Leaving directory `/builddir/build/BUILD/cups-1.7b1/cups'
make: *** [all] Error 1

Comment 1 Jiri Popelka 2013-04-29 14:09:27 UTC
(In reply to comment #0)
> ipp.c:1213:18: error: wrong type argument to unary exclamation mark
>        !format || !ap)

Problem is in applying an unary operator "!" to a non scalar type (va_list ap).
va_list is probably pointer on other architectures.

Anyway it seems we can simply drop the check.
There was the same problem with gnupg2-2.0.5 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437289) and the latest code does not contain the check anymore.

It builds ok now:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1072494

Just needs to be reported upstream once cups.org is up again.

Comment 2 Peter Robinson 2013-05-01 20:08:24 UTC
Any update on getting this fix landed?

Comment 3 Jiri Popelka 2013-05-02 07:12:20 UTC
It's been there for 3 days now.
http://pkgs.fedoraproject.org/cgit/cups.git/commit/?id=47fb896364e1a8d8109748d5dfb16e79feaab4dd

Do you need anything else ?

Comment 4 Peter Robinson 2013-05-03 05:46:54 UTC
> Do you need anything else ?

Sorry, I missed the mainline build, Fixed thanks.


Note You need to log in before you can comment on or make changes to this bug.