Re: can't install libgnomecups-shlibs

Tom Liehe via Fink-beginners <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Thank you, Hanspeter. I also have two other packages failing to build. Shall I put them on fink-beginners or wait? This stuff is somewhat low priority for me since I can run Ubuntu (slowly) under Oracle VirtualBox on my imac. 

> On Nov 8, 2019, at 6:15 AM, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 11/7/19 3:05 PM, Tom Liehe via Fink-beginners wrote:
>> This may be another case where Apple changes are needed?
>> The errors are all either incomplete definition of type 'struct _ipp_attribute_s’ or incomplete definition of type 'struct _ipp_s’
>> Thanks in advance for any help!
>> edited log file:
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
>> Making all in libgnomecups
>> <<< SNIP >>>
>>  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/opt/sw/include/glib-2.0 -I/opt/sw/lib/glib-2.0/include -DDATADIR=\"/opt/sw/share\" -D_IPP_PRIVATE_STRUCTURES=1 -I/opt/sw/include -Os -MT gnome-cups-printer.lo -MD -MP -MF .deps/gnome-cups-printer.Tpo -c gnome-cups-printer.c  -fno-common -DPIC -o .libs/gnome-cups-printer.o
>> gnome-cups-printer.c:176:22: error: incomplete definition of type 'struct _ipp_attribute_s'
>>         for (i = 0; i < attr->num_values; i++) {
>>                         ~~~~^
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/ipp.h:732:16: note: forward declaration of 'struct _ipp_attribute_s'
>> typedef struct _ipp_attribute_s ipp_attribute_t;
>>                ^
>> gnome-cups-printer.c:178:29: error: incomplete definition of type 'struct _ipp_attribute_s'
>>                 const char *keyword = attr->values [i].string.text;
>>                                       ~~~~^
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/ipp.h:732:16: note: forward declaration of 'struct _ipp_attribute_s'
>> typedef struct _ipp_attribute_s ipp_attribute_t;
>>                ^
>> gnome-cups-printer.c:246:23: error: incomplete definition of type 'struct _ipp_s'
>>                 for (attr = response->attrs; attr != NULL; attr = attr->next) {
>>                             ~~~~~~~~^
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/cups/ipp.h:731:16: note: forward declaration of 'struct _ipp_s'
>> <<< SNIP more errors >>>
>> 20 errors generated.
>> make[2]: *** [gnome-cups-printer.lo] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.IAD6S failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-libgnomecups-shlibs-0.2.3-9
>> (Reading database ... 179982 files and directories currently installed.)
>> Removing fink-buildlock-libgnomecups-shlibs-0.2.3-9 ...
>> Failed: phase compiling: libgnomecups-shlibs-0.2.3-9 failed
>> Package manager version: 0.45.0
>> Distribution version: selfupdate-rsync Wed Nov  6 15:11:13 2019, 10.15, x86_64
>> Trees: local/main stable/main
>> Xcode.app: 11.2
>> Xcode command-line tools: 11.2.0.0.1.1571444319
>> Max. Fink build jobs:  1
> 
> Thanks for the report. It's partially fixed by <https://git.pld-linux.org/?p=packages/libgnomecups.git;a=blob;f=libgnomecups-0.2.3-cups-1.6.patch;h=68f379c2510950d9779df7b6eabfa4b8005ec17b;hb=HEAD> but not completely. I'm looking for how to fix the remaining failure on 10.15 (10.13 is OK).
> 
> Hanspeter



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.