Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 2021 17:27:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255532] mail/evolution: 'make configure' fails - iconv detection failing
Message-ID:  <bug-255532-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255532

            Bug ID: 255532
           Summary: mail/evolution: 'make configure' fails - iconv
                    detection failing
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

'make configure' fails in poudriere (noticed on 11-stable/amd64) for
mail/evolution:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-- Checking for modules 'gnome-autoar-0>=3D0.1.1;gnome-autoar-gtk-0>=3D0.1.=
1'
--   Found gnome-autoar-0, version 0.3.0
--   Found gnome-autoar-gtk-0, version 0.3.0
-- Performing Test HAVE_LIBICONV
-- Performing Test HAVE_LIBICONV - Failed
-- Looking for iconv
-- Looking for iconv - found
-- Performing Test _correct_iconv
-- Performing Test _correct_iconv - Failed
CMake Error at CMakeLists.txt:381 (message):
  You need to install a working iconv implementation, such as
  ftp://ftp.gnu.org/pub/gnu/libiconv


-- Configuring incomplete, errors occurred!
See also
"/wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeOutput.log".
See also
"/wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeError.log".
*** Error code 1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D



>From CMakeOutput.log ...

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 .
 .

Determining if the function iconv exists passed with the following output:
Change Dir: /wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeT=
mp

Run Build Command(s):/usr/loc/bin/ninja cmTC_946aa && [1/2] Building C obje=
ct
CMakeFiles/cmTC_946aa.dir/CheckFunctionExists.c.o
cc: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
[2/2] Linking C executable cmTC_946aa

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


>From CMakeError.log ...

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Performing C SOURCE FILE Test HAVE_LIBICONV failed with the following outpu=
t:
Change Dir: /wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeT=
mp

Run Build Command(s):/usr/loc/bin/ninja cmTC_fb354 && [1/2] Building C obje=
ct
CMakeFiles/cmTC_fb354.dir/src.c.o
cc: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
[2/2] Linking C executable cmTC_fb354
FAILED: cmTC_fb354
: && /usr/bin/cc -Wno-format-nonliteral -Wno-parentheses-equality
-Wnested-externs -Wno-unused-parameter -Wno-sign-compare
-Wno-missing-field-initializers -Wdeclaration-after-statement
-Werror-implicit-function-declaration -Wno-deprecated-declarations
-fno-strict-aliasing -Wwrite-strings -Wundef -Wredundant-decls -Wpointer-ar=
ith
-Wmissing-noreturn -Wmissing-declarations -Winit-self -Wformat-security
-Wformat -O2 -pipe  -fstack-protector-strong -DLDAP_DEPRECATED -isystem
/usr/loc/include -fno-strict-aliasing -L/usr/local/lib=20
CMakeFiles/cmTC_fb354.dir/src.c.o -o cmTC_fb354  -liconv && :
/usr/bin/ld: cannot find -liconv
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.


Source file was:
#include <iconv.h>
                        #include <stdlib.h>
                        int main(void) { iconv_t cd; cd =3D iconv_open ("UT=
F-8",
"ISO-8859-1"); return 0; }
Performing C SOURCE FILE Test _correct_iconv failed with the following comp=
ile
output:
Change Dir: /wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeT=
mp

Run Build Command(s):/usr/loc/bin/ninja cmTC_661e4 && [1/2] Building C obje=
ct
CMakeFiles/cmTC_661e4.dir/src.c.o
cc: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
[2/2] Linking C executable cmTC_661e4
FAILED: cmTC_661e4
: && /usr/bin/cc -Wno-format-nonliteral -Wno-parentheses-equality
-Wnested-externs -Wno-unused-parameter -Wno-sign-compare
-Wno-missing-field-initializers -Wdeclaration-after-statement
-Werror-implicit-function-declaration -Wno-deprecated-declarations
-fno-strict-aliasing -Wwrite-strings -Wundef -Wredundant-decls -Wpointer-ar=
ith
-Wmissing-noreturn -Wmissing-declarations -Winit-self -Wformat-security
-Wformat -O2 -pipe  -fstack-protector-strong -DLDAP_DEPRECATED -isystem
/usr/loc/include -fno-strict-aliasing -L/usr/local/lib=20
CMakeFiles/cmTC_661e4.dir/src.c.o -o cmTC_661e4   && :
CMakeFiles/cmTC_661e4.dir/src.c.o: In function `main':
src.c:(.text+0x5e): undefined reference to `libiconv_open'
src.c:(.text+0x83): undefined reference to `libiconv'
src.c:(.text+0xb9): undefined reference to `libiconv_close'
src.c:(.text+0x112): undefined reference to `libiconv_open'
src.c:(.text+0x127): undefined reference to `libiconv_close'
src.c:(.text+0x166): undefined reference to `libiconv_open'
src.c:(.text+0x186): undefined reference to `libiconv_open'
src.c:(.text+0x1a9): undefined reference to `libiconv_open'
src.c:(.text+0x1cc): undefined reference to `libiconv_open'
src.c:(.text+0x1ef): undefined reference to `libiconv_open'
src.c:(.text+0x206): undefined reference to `libiconv_close'
src.c:(.text+0x258): undefined reference to `libiconv_open'
src.c:(.text+0x271): undefined reference to `libiconv_open'
src.c:(.text+0x297): undefined reference to `libiconv_open'
src.c:(.text+0x2ae): undefined reference to `libiconv_close'
src.c:(.text+0x300): undefined reference to `libiconv_open'
src.c:(.text+0x320): undefined reference to `libiconv_open'
src.c:(.text+0x340): undefined reference to `libiconv_open'
src.c:(.text+0x35c): undefined reference to `libiconv_open'
src.c:(.text+0x378): undefined reference to `libiconv_open'
CMakeFiles/cmTC_661e4.dir/src.c.o:src.c:(.text+0x394): more undefined
references to `libiconv_open' follow
CMakeFiles/cmTC_661e4.dir/src.c.o: In function `main':
src.c:(.text+0x3c2): undefined reference to `libiconv_close'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.


...and run output:

Return value: 1
Source file was:
#define ICONV_DETECT_BUILD_DIR "/wrkdirs/usr/ports/mail/evolution/work/.bui=
ld/"
                     #include
"/wrkdirs/usr/ports/mail/evolution/work/evolution-3.38.4/iconv-detect.c"
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255532-7788>