Bug 247398 - devel/glib20: build failed on current r361779
Summary: devel/glib20: build failed on current r361779
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2020-06-19 01:10 UTC by takuya.harada.jp.oss
Modified: 2020-11-05 06:48 UTC (History)
4 users (show)

See Also:


Attachments
patch for glib/gthread-posix.c (273 bytes, patch)
2020-06-19 01:10 UTC, takuya.harada.jp.oss
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takuya.harada.jp.oss 2020-06-19 01:10:39 UTC
Created attachment 215757 [details]
patch for glib/gthread-posix.c

Dear Developers,
devel/glib20 build faied on current r361779.
a build log is described below.

Script started on Fri Jun 19 09:04:12 2020
Command: make -DMAKE_JOBS_UNSAFE -C /usr/ports/devel/glib20/ clean build
===>  Cleaning for gmake-4.3_2
===>  Cleaning for python37-3.7.7_1
===>  Cleaning for readline-8.0.4
===>  Cleaning for glib-2.56.3_8,1
===>  License LGPL20 accepted by the user
===>   glib-2.56.3_8,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by glib-2.56.3_8,1 for building
===>  Extracting for glib-2.56.3_8,1
=> SHA256 Checksum OK for gnome2/glib-2.56.3.tar.xz.
===>  Patching for glib-2.56.3_8,1
===>  Applying FreeBSD patches for glib-2.56.3_8,1 from /usr/ports/devel/glib20/files
===>   glib-2.56.3_8,1 depends on package: docbook-xml>4.1.2 - found
===>   glib-2.56.3_8,1 depends on package: docbook-xsl>0 - found
===>   glib-2.56.3_8,1 depends on executable: msgfmt - found
===>   glib-2.56.3_8,1 depends on package: gmake>=4.3 - found
===>   glib-2.56.3_8,1 depends on executable: xsltproc - found
===>   glib-2.56.3_8,1 depends on package: pkgconf>=1.3.0_1 - found
===>   glib-2.56.3_8,1 depends on file: /usr/local/bin/python3.7 - found
===>   glib-2.56.3_8,1 depends on package: perl5>=5.30.r1<5.31 - found
===>   glib-2.56.3_8,1 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so)
===>   glib-2.56.3_8,1 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so)
===>   glib-2.56.3_8,1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   glib-2.56.3_8,1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===>   glib-2.56.3_8,1 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so)
===>  Configuring for glib-2.56.3_8,1
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... (cached) /usr/bin/tar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether gmake supports nested variables... (cached) yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-portbld-freebsd13.0
checking host system type... x86_64-portbld-freebsd13.0
checking for Win32... no
checking for the Android... no
checking for Mac OS X Carbon support... no
checking for Mac OS X Cocoa support... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking pkg-config is at least version 0.16... yes
checking for gawk... (cached) /usr/bin/awk
checking for perl5... no
checking for perl... perl
checking whether /usr/local/bin/python3.7 version is >= 2.7... yes
checking for /usr/local/bin/python3.7 version... 3.7
checking for /usr/local/bin/python3.7 platform... freebsd13
checking for /usr/local/bin/python3.7 script directory... ${prefix}/lib/python3.7/site-packages
checking for /usr/local/bin/python3.7 extension module directory... ${exec_prefix}/lib/python3.7/site-packages
checking for libiconv_open in -liconv... yes
checking for ZLIB... yes
checking for LIBFFI... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed...  af am an ar as ast az be be@latin bg bn bn_IN bs ca ca@valencia cs cy da de dz el en_CA en_GB en@shaw eo es et eu fa fi fr fur ga gd gl gu he hi hr hu hy id is it ja ka kk kn ko ku lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sr@ije sv ta te tg th tl tr ug tt uk vi wa xh yi zh_CN zh_HK zh_TW
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 524288
checking how to convert x86_64-portbld-freebsd13.0 file names to x86_64-portbld-freebsd13.0 format... func_convert_file_noop
checking how to convert x86_64-portbld-freebsd13.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for size_t... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
checking for mmap... (cached) yes
checking for posix_memalign... yes
checking for memalign... yes
checking for valloc... yes
checking for fsync... (cached) yes
checking for pipe2... yes
checking for issetugid... (cached) yes
checking for timegm... yes
checking for gmtime_r... yes
checking whether strerror_r is declared... (cached) yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... no
checking for __libc_enable_secure... no
checking size of char... 1
checking size of short... 2
checking size of long... 8
checking size of int... 4
checking size of void *... 8
checking size of long long... 8
checking size of __int64... 0
checking for sig_atomic_t... (cached) yes
checking for format to printf and scanf a guint64... %llu
checking for an ANSI C-conforming const... yes
checking for growing stack pointer... no
checking for ISO C99 varargs macros in C... yes
checking for ISO C99 varargs macros in C++... yes
checking for GNUC varargs macros... yes
checking for GNUC visibility attribute... yes
checking whether using Sun Studio C compiler... no
checking whether byte ordering is bigendian... no
checking for sys/param.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking mach/mach_time.h usability... no
checking mach/mach_time.h presence... no
checking for mach/mach_time.h... no
checking for sys/select.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sched.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking sys/vmount.h usability... no
checking sys/vmount.h presence... no
checking for sys/vmount.h... no
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking for sys/statvfs.h... (cached) yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/vfstab.h usability... no
checking sys/vfstab.h presence... no
checking for sys/vfstab.h... no
checking sys/mntctl.h usability... no
checking sys/mntctl.h presence... no
checking for sys/mntctl.h... no
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking linux/magic.h usability... no
checking linux/magic.h presence... no
checking for linux/magic.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for dirent.h... (cached) yes
checking for sys/time.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking for sys/mount.h... (cached) yes
checking for sys/sysctl.h... (cached) yes
checking for sysctlbyname... yes
checking whether sys/types.h defines makedev... yes
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking for struct stat.st_mtimensec... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_atimensec... yes
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_ctimensec... yes
checking for struct stat.st_ctim.tv_nsec... yes
checking for struct stat.st_birthtime... yes
checking for struct stat.st_birthtimensec... yes
checking for struct stat.st_birthtim... yes
checking for struct stat.st_birthtim.tv_nsec... yes
checking for struct stat.st_blksize... (cached) yes
checking for struct stat.st_blocks... yes
checking for struct statfs.f_fstypename... yes
checking for struct statfs.f_bavail... yes
checking for struct statvfs.f_basetype... no
checking for struct statvfs.f_fstypename... no
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dirent.d_type... yes
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking size of size_t... 8
checking for the appropriate definition for size_t... unsigned long
checking size of ssize_t... 8
checking for the appropriate definition for ssize_t... long
checking for lstat... (cached) yes
checking for strsignal... (cached) yes
checking for vsnprintf... (cached) yes
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for poll... (cached) yes
checking for vasprintf... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getc_unlocked... yes
checking for readlink... (cached) yes
checking for symlink... (cached) yes
checking for fdwalk... no
checking for mkostemp... yes
checking for link... (cached) yes
checking for lchmod... yes
checking for lchown... yes
checking for fchmod... (cached) yes
checking for fchown... (cached) yes
checking for utimes... (cached) yes
checking for getresuid... yes
checking for getmntent_r... no
checking for setmntent... no
checking for endmntent... no
checking for hasmntopt... no
checking for getfsstat... yes
checking for getvfsstat... no
checking for fallocate... no
checking for splice... no
checking for prlimit... no
checking for statvfs... (cached) yes
checking for statfs... (cached) yes
checking whether to use statfs or statvfs... statfs
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for newlocale... (cached) yes
checking for uselocale... (cached) yes
checking for strtod_l... yes
checking for strtoll_l... yes
checking for strtoull_l... yes
checking value of AF_INET... 2
checking value of AF_INET6... 28
checking value of AF_UNIX... 1
checking value of MSG_PEEK... 2
checking value of MSG_OOB... 1
checking value of MSG_DONTROUTE... 4
checking for endservent... yes
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking for sendmmsg... yes
checking for recvmmsg... yes
checking for SIOCGIFADDR... yes
checking if arpa/nameser_compat.h is needed... no
checking for res_query... yes
checking for socket... yes
checking for res_init... yes
checking for res_nclose... yes
checking for res_ndestroy... yes
checking for res_ninit... yes
checking for res_nquery... yes
checking for linux/netlink.h... no
checking for struct ip_mreqn... yes
checking number of arguments to statfs()... 2
checking open() option O_DIRECTORY... yes
checking for C99 vsnprintf... yes
checking whether printf supports positional parameters... yes
checking for signed... yes
checking for long long... (cached) yes
checking for long double... yes
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking for size_t... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for snprintf... (cached) yes
checking for strnlen... (cached) yes
checking for wcslen... (cached) yes
checking for wcsnlen... (cached) yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking for C99 snprintf... yes
checking for fd_set... yes, found in sys/types.h
checking for nl_langinfo (CODESET)... yes
checking for nl_langinfo (PM_STR)... yes
checking for nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)... no
checking for nl_langinfo (ALTMON_n)... yes
checking for nl_langinfo (_NL_ABALTMON_n)... no
checking for a compliant posix_memalign() implementation... yes
checking for OpenBSD strlcpy/strlcat... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... no
checking for dlopen... (cached) yes
checking for dlsym... yes
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
checking whether RTLD_LAZY is declared... yes
checking whether RTLD_NOW is declared... yes
checking whether RTLD_GLOBAL is declared... yes
checking for dlerror... yes
checking for the suffix of module shared libraries... .so
checking for gspawn implementation... gspawn.lo
checking for GIOChannel implementation... giounix.lo
checking for is_selinux_enabled in -lselinux... no
checking for sys/inotify.h... (cached) 
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking for kqueue... yes
checking for kevent... yes
checking for getxattr in -lc... no
checking for getxattr in -lattr... no
checking for LIBELF... no
checking for elf_begin in -lelf... yes
checking for elf_getshdrstrndx in -lelf... yes
checking for elf_getshdrnum in -lelf... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking for platform-dependent source... 
checking whether to compile timeloop... yes
checking if building for some Win32 platform... no
checking for thread implementation... posix
checking thread related cflags... -pthread
checking thread related libraries... -pthread
checking for localtime_r... yes
checking for gmtime_r... (cached) yes
checking for getpwuid_r... yes
checking for getgrgid_r... yes
checking for pthread_attr_setstacksize... yes
checking for pthread_condattr_setclock... yes
checking for pthread_cond_timedwait_relative_np... no
checking for pthread_setname_np(const char*)... yes
checking for pthread_setname_np(pthread_t, const char*)... yes
checking for pthread_getname_np(pthread_t, name, len)... yes
checking for clock_gettime... (cached) yes
checking for lock-free atomic intrinsics... yes
checking for futex(2) system call... no
checking for eventfd(2) system call... no
checking value of POLLIN... 1
checking value of POLLOUT... 4
checking value of POLLPRI... 2
checking value of POLLERR... 8
checking value of POLLHUP... 16
checking value of POLLNVAL... 32
checking for broken poll... no
checking for PCRE... yes
checking for Unicode support in PCRE... yes
checking for EILSEQ... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/local/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/local/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/local/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for xsltproc... /usr/local/bin/xsltproc
checking for XML catalog (/usr/local/share/xml/catalog)... found
checking for xmlcatalog... /usr/local/bin/xmlcatalog
checking for DocBook XML DTD V4.1.2 in XML catalog... found
checking for DocBook XSL Stylesheets in XML catalog... found
checking whether to generate man pages... yes
checking whether to include dtrace tracing support... no
checking whether to include systemtap tracing support... no
checking for guint32... yes
checking alignment of guint32... 4
checking for guint64... yes
checking alignment of guint64... 8
checking for unsigned long... (cached) yes
checking alignment of unsigned long... 8
checking for DBUS1... yes
checking for dbus-daemon... dbus-daemon
checking for -Bsymbolic-functions linker flag... yes
checking for --fatal-warnings linker flag... yes
checking for -z,nodelete linker flag... yes
checking for -fvisibility=hidden compiler flag... yes
checking if cc supports flag -Wall in envvar CFLAGS... yes
checking if cc supports flag -Wstrict-prototypes in envvar CFLAGS... yes
checking if cc supports flag -Wduplicated-branches in envvar CFLAGS... yes
checking if cc supports flag =declaration-after-statement in envvar CFLAGS... no
checking if cc supports flag =missing-prototypes in envvar CFLAGS... no
checking if cc supports flag -Werror=implicit-function-declaration in envvar CFLAGS... yes
checking if cc supports flag =pointer-arith in envvar CFLAGS... no
checking if cc supports flag -Werror=init-self in envvar CFLAGS... yes
checking if cc supports flag -Werror=format-security in envvar CFLAGS... yes
checking if cc supports flag =format=2 in envvar CFLAGS... no
checking if cc supports flag -Werror=missing-include-dirs in envvar CFLAGS... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating glib-2.0.pc
config.status: creating gmodule-2.0.pc
config.status: creating gmodule-export-2.0.pc
config.status: creating gmodule-no-export-2.0.pc
config.status: creating gthread-2.0.pc
config.status: creating gobject-2.0.pc
config.status: creating gio-2.0.pc
config.status: creating gio-unix-2.0.pc
config.status: creating gio-windows-2.0.pc
config.status: creating glib-zip
config.status: creating glib-gettextize
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/dirent/Makefile
config.status: creating win32/Makefile
config.status: creating win32/vs9/Makefile
config.status: creating win32/vs9/glib-version-paths.vsprops
config.status: creating win32/vs10/Makefile
config.status: creating win32/vs10/glib-version-paths.props
config.status: creating win32/vs11/Makefile
config.status: creating win32/vs12/Makefile
config.status: creating win32/vs14/Makefile
config.status: creating win32/vs15/Makefile
config.status: creating glib/Makefile
config.status: creating glib/libcharset/Makefile
config.status: creating glib/gnulib/Makefile
config.status: creating glib/pcre/Makefile
config.status: creating glib/update-pcre/Makefile
config.status: creating glib/tests/Makefile
config.status: creating gmodule/Makefile
config.status: creating gmodule/gmoduleconf.h
config.status: creating gobject/Makefile
config.status: creating gobject/glib-genmarshal
config.status: creating gobject/glib-mkenums
config.status: creating gobject/tests/Makefile
config.status: creating gthread/Makefile
config.status: creating gio/Makefile
config.status: creating gio/gdbus-2.0/codegen/Makefile
config.status: creating gio/gdbus-2.0/codegen/config.py
config.status: creating gio/gnetworking.h
config.status: creating gio/xdgmime/Makefile
config.status: creating gio/inotify/Makefile
config.status: creating gio/kqueue/Makefile
config.status: creating gio/fam/Makefile
config.status: creating gio/win32/Makefile
config.status: creating gio/tests/Makefile
config.status: creating gio/tests/gdbus-object-manager-example/Makefile
config.status: creating gio/tests/services/Makefile
config.status: creating gio/tests/services/org.gtk.GDBus.Examples.ObjectManager.service
config.status: creating gio/tests/modules/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/glib/Makefile
config.status: creating docs/reference/glib/version.xml
config.status: creating docs/reference/gobject/Makefile
config.status: creating docs/reference/gobject/version.xml
config.status: creating docs/reference/gio/Makefile
config.status: creating docs/reference/gio/version.xml
config.status: creating tests/Makefile
config.status: creating tests/gobject/Makefile
config.status: creating tests/refcount/Makefile
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing glib/glibconfig.h commands
config.status: executing chmod-scripts commands
===>  Building for glib-2.56.3_8,1
(snip)
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I.. -I/usr/local/include  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -isystem /usr/local/include -pthread -Wall -Wstrict-prototypes -Wduplicated-branches -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -fvisibility=hidden  -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -fno-strict-aliasing -MT libglib_2_0_la-gthread-posix.lo -MD -MP -MF .deps/libglib_2_0_la-gthread-posix.Tpo -c -o libglib_2_0_la-gthread-posix.lo `test -f 'gthread-posix.c' || echo './'`gthread-posix.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. -I/usr/local/include -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION -DPCRE_STATIC -isystem /usr/local/include -pthread -Wall -Wstrict-prototypes -Wduplicated-branches -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -fvisibility=hidden -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fno-strict-aliasing -MT libglib_2_0_la-gthread-posix.lo -MD -MP -MF .deps/libglib_2_0_la-gthread-posix.Tpo -c gthread-posix.c  -fPIC -DPIC -o .libs/libglib_2_0_la-gthread-posix.o
[0;1;35mwarning: [0munknown warning option '-Wduplicated-branches'
      [-Wunknown-warning-option][0m
[1mgthread-posix.c:1236:3: [0m[0;1;31merror: [0m[1mimplicit declaration of function
      'pthread_setname_np' is invalid in C99
      [-Werror,-Wimplicit-function-declaration][0m
  pthread_setname_np (pthread_self(), name); /* on Linux and Solaris */
[0;1;32m  ^
[0m1 warning and 1 error generated.
gmake[6]: *** [Makefile:2404: libglib_2_0_la-gthread-posix.lo] Error 1
gmake[6]: Leaving directory '/usr/ports/devel/glib20/work/glib-2.56.3/glib'
gmake[5]: *** [Makefile:2630: all-recursive] Error 1
gmake[5]: Leaving directory '/usr/ports/devel/glib20/work/glib-2.56.3/glib'
gmake[4]: *** [Makefile:1324: all] Error 2
gmake[4]: Leaving directory '/usr/ports/devel/glib20/work/glib-2.56.3/glib'
gmake[3]: *** [Makefile:1279: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/devel/glib20/work/glib-2.56.3'
gmake[2]: *** [Makefile:900: all] Error 2
gmake[2]: Leaving directory '/usr/ports/devel/glib20/work/glib-2.56.3'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/glib20
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/glib20/

Command exit status: 1
Script done on Fri Jun 19 09:05:50 2020

Application of a patch in an attachment causes build successful.

Thanks,
Takuya Harada
Comment 1 takuya.harada.jp.oss 2020-06-19 01:11:58 UTC
References:
https://gitlab.gnome.org/GNOME/glib/-/issues/1761
Comment 2 Lewis Cook freebsd_triage 2020-06-19 07:33:53 UTC
Hi, thank you for the submission. Just a few things:

- When generating a patch, it's best to `svn diff` against the port(s) tree as oppose to a unified diff. This keeps the paths/relevant meta-data in check and makes committing _much_ easier. For further information see here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html 
- Attaching relevant logs (.e.g. Poudriere build/testport logs) leaves less room for interpretation and puts everyone on the same page. It be worth looking into Poudriere, see here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing-poudriere.html
 
^Triage: [tags] in issue Titles are deprecated
Comment 3 Lewis Cook freebsd_triage 2020-06-19 08:23:50 UTC
(In reply to Lewis Cook from comment #2)
Made a slight typo, for generating diffs based on svn see here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html#svn-diff
Comment 4 takuya.harada.jp.oss 2020-06-19 09:03:59 UTC
Thank you very much for the advice. I will take care next time.

Takuya Harada
Comment 5 Tobias C. Berner freebsd_committer 2020-11-05 04:56:00 UTC
Moin moin 

I think this has been overcome by events -- glib20 builds fine on recent currents.


mfg Tobias
Comment 6 Li-Wen Hsu freebsd_committer 2020-11-05 06:48:52 UTC
Close this since it's fine now. Please report if there is any issue still happening. Thanks!