Re: [Solved?] Re: How do I clear no-longer-usable packages from poudriere?

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Tue, 05 Mar 2024 05:32:48 UTC
Thank you for the various extractions.

In the official poudriere this still seems to be yes.
The version of it is 14.0-RELEASE-p5 amd64.
In my environment this is yes.
The version of it is still 12.4-STABLE amd64 :)

Since dns/libidn2 has --enable-ld-version-script in CONFIGURE_ARGS, the problem does not occur.

It may be that a change was added to 14.0-STABLE to make this a no, but it may be a different option when testing.
To erase that possibility, I will write down the command that was executed in that test in my environment.
The following is the relevant part of config.log of dns/libidn.
If there seems to be something different, another search begins using that as a keyword.

Regards.
The following is log.

configure:25724: checking if LD -Wl,--version-script works
configure:25744: cc -o conftest -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include  -fstack-protector-strong  -Wl,--version-script=conftest.map conftest.c -L/usr/local/lib >&5
ld: error: conftest.map:1: unexpected EOF
>>> foo
>>> ^
cc: error: linker command failed with exit code 1 (use -v to see invocation)
configure:25744: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Libidn"
| #define PACKAGE_TARNAME "libidn"
| #define PACKAGE_VERSION "1.38"
| #define PACKAGE_STRING "GNU Libidn 1.38"
| #define PACKAGE_BUGREPORT "help-libidn gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libidn/"
| #define PACKAGE "libidn"
| #define VERSION "1.38"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_ICONV_H 1
| #define HAVE_LANGINFO_H 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_ALLOCA 1
| #define HAVE_FCNTL 1
| #define HAVE_SYMLINK 1
| #define HAVE_GETDELIM 1
| #define HAVE_GETDTABLESIZE 1
| #define HAVE_GETPROGNAME 1
| #define HAVE_LSTAT 1
| #define HAVE_DECL_STRERROR_R 1
| #define HAVE_STRERROR_R 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 1
| #define restrict __restrict__
| #define HAVE_DECL_GETDELIM 1
| #define HAVE_DECL_GETDTABLESIZE 1
| #define HAVE_DECL_GETLINE 1
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_STDLIB_H 1
| #define MALLOC_0_IS_NONNULL 1
| #define PROMOTED_MODE_T int
| #define HAVE__BOOL 1
| #define HAVE_WCHAR_T 1
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_DECL_FCLOSEALL 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 0
| #define GNULIB_TEST_CLOEXEC 1
| #define GNULIB_TEST_CLOSE 1
| #define GNULIB_TEST_DUP2 1
| #define GNULIB_TEST_FCNTL 1
| #define GNULIB_TEST_FSTAT 1
| #define GNULIB_TEST_GETDELIM 1
| #define GNULIB_TEST_GETDTABLESIZE 1
| #define GNULIB_TEST_GETLINE 1
| #define __GETOPT_PREFIX rpl_
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
| #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
| #define HAVE_DECL___ARGV 0
| #define HAVE_VAR___PROGNAME 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:25767: cc -o conftest -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include -I/usr/local/include  -fstack-protector-strong  -Wl,--version-script=conftest.map conftest.c -L/usr/local/lib >&5
configure:25767: $? = 0
configure:25778: result: yes