From nobody Wed Sep 08 05:37:45 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D487A17ABC24 for ; Wed, 8 Sep 2021 05:37:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H49rn5Wzcz3Mxq for ; Wed, 8 Sep 2021 05:37:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9AF9D20341 for ; Wed, 8 Sep 2021 05:37:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1885bjoe067044 for ; Wed, 8 Sep 2021 05:37:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1885bjCG067043 for ports-bugs@FreeBSD.org; Wed, 8 Sep 2021 05:37:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258361] print/cups-filters fails to build for 1.28.6_12 Date: Wed, 08 Sep 2021 05:37:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rkoberman@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tijl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258361 Bug ID: 258361 Summary: print/cups-filters fails to build for 1.28.6_12 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tijl@FreeBSD.org Reporter: rkoberman@gmail.com Flags: maintainer-feedback?(tijl@FreeBSD.org) Assignee: tijl@FreeBSD.org After the update from openldap24-cient to openldp25-client, the build fails with the error: cc -DHAVE_CONFIG_H -I. -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include -I/usr/local/include -D_PPD_DEPRECATED=3D"" -D_REENTRA= NT -D_THREAD_SAFE -pthread -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread=20 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread=20 -I./cupsfilters/ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/include -fno-strict-aliasing -Wall -std=3Dgnu11 -D_GNU_SOURCE -MT utils/cups_browsed-cups-browsed.o -MD -MP -MF utils/.deps/cups_browsed-cups-browsed.Tpo -c -o utils/cups_browsed-cups-browsed.o `test -f 'utils/cups-browsed.c' || echo './'`utils/cups-browsed.c utils/cups-browsed.c:94:14: error: static declaration of 'ldap_connect' fol= lows non-static declaration static LDAP *ldap_connect(void); ^ /usr/local/include/ldap.h:1555:1: note: previous declaration is here ldap_connect( LDAP *ld ); ^ utils/cups-browsed.c:4356:1: error: static declaration of 'ldap_connect' follows non-static declaration ldap_connect(void) ^ /usr/local/include/ldap.h:1555:1: note: previous declaration is here ldap_connect( LDAP *ld ); ^ utils/cups-browsed.c:4605:39: error: too few arguments to function call, si= ngle argument 'ld' was not specified TempBrowseLDAPHandle =3D ldap_connect(); ~~~~~~~~~~~~ ^ /usr/local/include/ldap.h:1555:1: note: 'ldap_connect' declared here ldap_connect( LDAP *ld ); ^ utils/cups-browsed.c:5608:25: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] } else if ((ppd =3D ppdOpenFile(ppdname)) =3D=3D NULL) { ^ /usr/local/include/cups/ppd.h:389:54: note: 'ppdOpenFile' has been explicit= ly marked deprecated here extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:5615:2: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppd); ^ /usr/local/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:5616:17: warning: 'ppdFirstOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] for (ppd_opt =3D ppdFirstOption(ppd); ppd_opt; ^ /usr/local/include/cups/ppd.h:431:54: note: 'ppdFirstOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFirstOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:5617:17: warning: 'ppdNextOption' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppd_opt =3D ppdNextOption(ppd)) ^ /usr/local/include/cups/ppd.h:433:53: note: 'ppdNextOption' has been explic= itly marked deprecated here extern ppd_option_t *ppdNextOption(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:5625:2: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdClose(ppd); ^ /usr/local/include/cups/ppd.h:364:40: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG(= "Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8639:13: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppd =3D ppdOpenFile(loadedppd)) =3D=3D NULL) { ^ /usr/local/include/cups/ppd.h:389:54: note: 'ppdOpenFile' has been explicit= ly marked deprecated here extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8641:26: warning: 'ppdLastError' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppd_status_t status =3D ppdLastError(&linenum); ^ /usr/local/include/cups/ppd.h:403:45: note: 'ppdLastError' has been explici= tly marked deprecated here extern ppd_status_t ppdLastError(int *line) _CUPS_DEPRECATED_1_6_MSG("U= se cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8643:21: warning: 'ppdErrorString' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] loadedppd, ppdErrorString(status), linenum); ^ /usr/local/include/cups/ppd.h:398:56: note: 'ppdErrorString' has been explicitly marked deprecated here extern const char *ppdErrorString(ppd_status_t status) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8650:2: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppd); ^ /usr/local/include/cups/ppd.h:384:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8651:2: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppd, p->num_options, p->options); ^ /usr/local/include/cups/ppd.h:362:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8657:4: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdClose(ppd); ^ /usr/local/include/cups/ppd.h:364:40: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG(= "Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8668:4: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdClose(ppd); ^ /usr/local/include/cups/ppd.h:364:40: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG(= "Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8693:22: warning: 'ppdFindMarkedChoice' is deprecated:= Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((choice =3D ppdFindMarkedChoice(ppd, "PageSize")) =3D=3D = NULL) ^ /usr/local/include/cups/ppd.h:379:25: note: 'ppdFindMarkedChoice' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8694:12: warning: 'ppdFindMarkedChoice' is deprecated:= Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] choice =3D ppdFindMarkedChoice(ppd, "PageRegion"); ^ /usr/local/include/cups/ppd.h:379:25: note: 'ppdFindMarkedChoice' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8696:17: warning: 'ppdFindMarkedChoice' is deprecated:= Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] choice =3D ppdFindMarkedChoice(ppd, keyword); ^ /usr/local/include/cups/ppd.h:379:25: note: 'ppdFindMarkedChoice' has been explicitly marked deprecated here _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:8774:2: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdClose(ppd); ^ /usr/local/include/cups/ppd.h:364:40: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG(= "Use cupsCopyDestInfo and friends instead."); ^ /usr/local/include/cups/versioning.h:202:59: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' # define _CUPS_DEPRECATED_1_6_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ utils/cups-browsed.c:11393:39: error: too few arguments to function call, single argument 'ld' was not specified BrowseLDAPHandle =3D ldap_connect(); ~~~~~~~~~~~~ ^ /usr/local/include/ldap.h:1555:1: note: 'ldap_connect' declared here ldap_connect( LDAP *ld ); ^ 16 warnings and 4 errors generated. gmake[4]: *** [Makefile:3595: utils/cups_browsed-cups-browsed.o] Error 1 gmake[4]: Leaving directory '/usr/ports/print/cups-filters/work/cups-filters-1.28.6' gmake[3]: *** [Makefile:4913: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/print/cups-filters/work/cups-filters-1.28.6' gmake[2]: *** [Makefile:2090: all] Error 2 gmake[2]: Leaving directory '/usr/ports/print/cups-filters/work/cups-filters-1.28.6' *** Error code 1 Stop. make[1]: stopped in /usr/ports/print/cups-filters *** Error code 1 Stop. make: stopped in /usr/ports/print/cups-filters =3D=3D=3D>>> make build failed for print/cups-filters =3D=3D=3D>>> Aborting update --=20 You are receiving this mail because: You are the assignee for the bug.=