Menu

Issues install on arch

2020-12-01
2022-04-26
  • Yves Cloutier

    Yves Cloutier - 2020-12-01

    Having some issues installing through the arch package manager. It builds for a while but then stops with:

    /usr/bin/ld: ../../bin/libucommon.a(filepart.o):(.bss+0x8): multiple definition of `flog'; xrwindow.o:(.bss+0x60a8): first defined here
    collect2: error: ld returned 1 exit status
    make[3]: *** [Makefile:47: iconx] Error 1
    make[3]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/runtime'
    make[2]: *** [Makefile:39: interp_all] Error 2
    make[2]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/runtime'
    make[1]: *** [Makefile:32: Iconx] Error 2
    make[1]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src'
    make: *** [Makefile:72: allsrc] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...

     
  • Jafar

    Jafar - 2020-12-02

    Hi Yves,

    Which version of Arch is this ? Can you also share the config summary please? This should be saved in unicon-config.log at the tp level directory.

    Thanks,
    Jafar

     
  • Yves Cloutier

    Yves Cloutier - 2020-12-02

    Jafar, I'm on Manjaro. I'm installing uaing the pacman package manager. Unfortunately I don't get a unicon-config.log.

    Unless this is what it is:

    Preparing...
    Cloning unicon build files...
    Checking unicon dependencies...
    Resolving dependencies...
    Checking inter-conflicts...

    Building unicon...
    ==> Making package: unicon latest-2 (Wed 02 Dec 2020 11:15:39 AM)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    ==> Removing existing $srcdir/ directory...
    ==> Extracting sources...
    ==> Starting prepare()...
    A unicon-code/unicon
    A unicon-code/unicon/doc

    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu

    Configuring Unicon Host: x86_64_linux

    checking for gcc... gcc
    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 gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define EXTENSIONS... yes
    checking whether gcc supports -std=gnu11... yes
    checking whether gcc -std=gnu11 supports -m64... yes
    checking whether gcc -std=gnu11 supports -fno-omit-frame-pointer... yes
    checking whether gcc -std=gnu11 supports -fno-strict-aliasing... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking for ranlib... ranlib
    checking for socket in -lsocket... no
    checking for gethostbyname in -lnsl... yes
    checking for ANSI C header files... (cached) yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking for unistd.h... (cached) yes
    checking for strings.h... (cached) yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking net/errno.h usability... no
    checking net/errno.h presence... no
    checking for net/errno.h... no
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for memory.h... (cached) yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking sys/errno.h usability... yes
    checking sys/errno.h presence... yes
    checking for sys/errno.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking for sys/types.h... (cached) yes
    checking size of int... 4
    checking size of long int... 8
    checking size of long long int... 8
    checking size of int ... 8
    checking whether byte ordering is bigendian... no
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for off_t... yes
    checking for struct stat.st_blksize... yes
    checking for ssize_t... yes
    checking whether gcc supports -fno-unit-at-a-time... yes
    checking for socket... yes
    checking for bcopy... yes
    checking for bzero... yes
    checking for memcpy... yes
    checking for memset... yes
    checking for inet_aton... yes
    checking for inet_pton... yes
    checking for snprintf... yes
    checking for vsprintf... yes
    checking for rename... yes
    checking for ftruncate... yes
    checking for flock... yes
    checking for fsync... yes
    checking for getrlimit... yes
    checking for setrlimit... yes
    checking for strerror... yes
    checking for vfork... yes
    checking for getrusage... yes
    checking for sysconf... yes
    checking for profil... yes
    checking for getenv_r... no
    checking whether strerror_r is declared... yes
    checking for strerror_r... yes
    checking whether strerror_r returns char
    ... yes
    checking for getopt... yes
    checking for pid_t... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... (cached) yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for main in -ldbm... no
    checking for main in -lndbm... no
    checking for library containing getaddrinfo... none required
    checking for library containing clock_gettime... none required
    checking for library containing crypt... -lcrypt
    checking if zlib is wanted... yes
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for library containing inflateEnd... -lz
    checking if xlib is wanted... yes
    checking X11/Xlib.h usability... yes
    checking X11/Xlib.h presence... yes
    checking for X11/Xlib.h... yes
    checking X11/Xos.h usability... yes
    checking X11/Xos.h presence... yes
    checking for X11/Xos.h... yes
    checking X11/Xutil.h usability... yes
    checking X11/Xutil.h presence... yes
    checking for X11/Xutil.h... yes
    checking X11/Xatom.h usability... yes
    checking X11/Xatom.h presence... yes
    checking for X11/Xatom.h... yes
    checking for library containing XAllocColorCells... -lX11
    checking if freetype is wanted... yes
    checking freetype/fttypes.h usability... yes
    checking freetype/fttypes.h presence... yes
    checking for freetype/fttypes.h... yes
    checking for library containing FT_Open_Face... -lfreetype
    checking if Xft is wanted... yes
    checking X11/Xft/Xft.h usability... yes
    checking X11/Xft/Xft.h presence... yes
    checking for X11/Xft/Xft.h... yes
    checking for library containing XftFontOpenPattern... -lXft
    checking if jpeg is wanted... yes
    checking jpeglib.h usability... yes
    checking jpeglib.h presence... yes
    checking for jpeglib.h... yes
    checking jerror.h usability... yes
    checking jerror.h presence... yes
    checking for jerror.h... yes
    checking for library containing jpeg_destroy_decompress... -ljpeg
    checking if png is wanted... yes
    checking png.h usability... yes
    checking png.h presence... yes
    checking for png.h... yes
    checking for library containing png_read_image... -lpng
    checking if opengl is wanted... yes
    checking GL/gl.h usability... yes
    checking GL/gl.h presence... yes
    checking for GL/gl.h... yes
    checking GL/glu.h usability... yes
    checking GL/glu.h presence... yes
    checking for GL/glu.h... yes
    checking for glAccum in -lGL... yes
    checking for gluBeginCurve in -lGLU... yes
    checking GL/glx.h usability... yes
    checking GL/glx.h presence... yes
    checking for GL/glx.h... yes
    checking for cos in -lm... yes
    checking for glAccum in -lGL... (cached) yes
    checking for gluBeginCurve in -lGLU... (cached) yes
    checking how to run the C++ preprocessor... g++ -E
    checking if ftgl is wanted... yes
    checking FTGL/FTGLExtrdFont.h usability... no
    checking FTGL/FTGLExtrdFont.h presence... no
    checking for FTGL/FTGLExtrdFont.h... no
    checking checking lib ftgl in ()... failed
    Building with graphics...
    Native coswitch detected
    checking for library containing dlopen... -ldl
    checking for lxc_get_version in -llxc... no
    checking if ogg is wanted... yes
    checking ogg/ogg.h usability... yes
    checking ogg/ogg.h presence... yes
    checking for ogg/ogg.h... yes
    checking for library containing oggpack_write... -logg
    checking vorbis/codec.h usability... yes
    checking vorbis/codec.h presence... yes
    checking for vorbis/codec.h... yes
    checking for library containing vorbis_info_init... -lvorbis
    checking vorbis/vorbisfile.h usability... yes
    checking vorbis/vorbisfile.h presence... yes
    checking for vorbis/vorbisfile.h... yes
    checking for library containing ov_open... -lvorbisfile
    checking if SDL is wanted... yes
    checking SDL/SDL_audio.h usability... yes
    checking SDL/SDL_audio.h presence... yes
    checking for SDL/SDL_audio.h... yes
    checking for library containing SDL_AudioInit... -lSDL
    checking if smpeg is wanted... yes
    checking smpeg.h usability... no
    checking smpeg.h presence... no
    checking for smpeg.h... no
    checking checking lib smpeg in ()... failed
    checking if openal is wanted... yes
    checking AL/al.h usability... yes
    checking AL/al.h presence... yes
    checking for AL/al.h... yes
    checking for library containing alGetSourceiv... -lopenal
    checking AL/alut.h usability... no
    checking AL/alut.h presence... no
    checking for AL/alut.h... no
    checking checking lib alut in ()... failed
    checking if jvoip is wanted... yes
    checking for _ZN9RTPPacket5ClearEv in -ljrtp... no
    checking for _ZN6JMutex4InitEv in -ljthread... no
    checking for _Z19JVOIPGetErrorStringi in -ljvoip... no
    checking for _Z11dummy_printc in -lvoip... no
    checking checking lib voip in ... failed
    checking if odbc is wanted... yes
    checking sqlext.h usability... yes
    checking sqlext.h presence... yes
    checking for sqlext.h... yes
    checking for library containing SQLAllocConnect... -liodbc
    checking if pthread is wanted... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for library containing pthread_create... -lpthread
    checking if ssl is wanted... yes
    checking openssl/bio.h usability... yes
    checking openssl/bio.h presence... yes
    checking for openssl/bio.h... yes
    checking for library containing BIO_read... -lcrypto
    checking openssl/ssl.h usability... yes
    checking openssl/ssl.h presence... yes
    checking for openssl/ssl.h... yes
    checking for library containing SSL_library_init... no
    checking checking lib ssl in ()... failed
    checking for openssl/ssl.h... (cached) yes
    checking for library containing OPENSSL_init_ssl... -lssl
    checking for global variable sys_nerr... no
    checking for global variable sys_errlist... no
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for struct tm.tm_zone... yes
    checking for timezone external... yes
    checking for altzone external... no
    checking for daylight external... yes
    checking for struct tm.tm_zone... (cached) yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating Makedefs
    config.status: creating Makedefs.uni
    config.status: creating src/h/auto.h


           Configuration Summary
    

    *** Build Environment
    Host : linux-gnu (x86_64_linux) Manjaro Linux
    CC : gcc
    CFLAGS : -fno-omit-frame-pointer -fno-strict-aliasing -fno-unit-at-a-time -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
    CPPFLAGS :-D_FORTIFY_SOURCE=2 -m64 -I/usr/local/include -I/usr/local -I/usr/include/freetype2
    LDFLAGS :-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -m64 -rdynamic -L/usr/local/lib
    LIBS : -lssl -lcrypto -lpthread -liodbc -lopenal -lSDL -lvorbisfile -lvorbis -logg -ldl -lGLU -lGL -lm -lpng -ljpeg -lXft -lfreetype -lX11 -lz -lcrypt -lnsl
    CXX : g++ (Required only with FTGL and VOIP)
    CXXFLAGS : -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
    prefix : /usr
    Verbose : no
    Debug : no
    Devmode : no

    *** Features (+Available -Missing !Disabled)
    + Compression : +ZLIB
    + Graphics : +X11 +JPG +PNG +XFT +Freetype
    + Graphics3D : +OpenGL +GLU -FTGL
    + Concurrency : +pthread
    - Audio : +OpenAL -alut ( +ogg +vorbis ) | ( -SDL -SMPEG )
    - VOIP : -voip -jvoip -jthread -jrtp
    + Database : +iodbc
    + SSL : +ssl

    • Plugins
    • Compiler: no concurrency
    • Patterns
      ! Overloading

    do make to continue the build
    or make -j8 for parallel and faster build
    make -C src
    make[1]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src'
    make -C gdbm
    make -C libtp
    make -C xpm/lib
    make[2]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/gdbm'
    touch gdbmdefs.h
    make[2]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/xpm/lib'
    make[2]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/libtp'
    [GDBM] close.c
    [XPM] data.c
    Making all in uri
    [XPM] misc.c
    [GDBM] dbmrdonly.c
    make[3]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/libtp/uri'
    [XPM] create.c
    [TP URI] uri.c
    [GDBM] gdbmsync.c
    [TP URI] uri_file.c
    [TP URI] uri_fing.c
    [GDBM] gdbmerrno.c
    [TP URI] uri_ftp.c
    [GDBM] gdbmexists.c
    [GDBM] gdbmsetopt.c
    [XPM] rgb.c
    [GDBM] bucket.c
    [TP URI] uri_http.c
    [XPM] scan.c
    [TP URI] uri_pop.c
    [GDBM] falloc.c
    [TP URI] uri_schm.c
    [TP URI] uri_mail.c
    [GDBM] findkey.c
    [XPM] parse.c
    [XPM] hashtab.c
    rm -f liburi.a
    ../shtool/shtool arx -C ar rc liburi.a uri.o uri_file.o uri_fing.o uri_ftp.o uri_http.o uri_pop.o uri_mail.o uri_schm.o
    ranlib liburi.a
    [GDBM] global.c
    [GDBM] hash.c
    [XPM] WrFFrP.c
    make[3]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/libtp/uri'
    Making the libtp library
    make[3]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/libtp'
    [TP] tp.c
    [XPM] RdFToP.c
    [XPM] CrPFrDat.c
    [GDBM] update.c
    [GDBM] version.c
    rm -f gdbm.h
    cp ./gdbm.proto gdbm.h
    chmod +w gdbm.h
    [XPM] CrDatFrP.c
    grep _ ./gdbmerrno.h >> gdbm.h
    cat ./gdbm.proto2 >> gdbm.h
    chmod -w gdbm.h
    [GDBM] dbminit.c
    [XPM] WrFFrI.c
    [TP] util.c
    [TP] tpdunix.c
    [XPM] RdFToI.c
    [XPM] CrIFrDat.c
    [GDBM] delete.c
    [XPM] CrDatFrI.c
    [XPM] CrIFrBuf.c
    [GDBM] fetch.c
    [TP] tpdssl.c
    [TP] tpmdaytm.c
    [GDBM] store.c
    [TP] tpmfinge.c
    [GDBM] seq.c
    [XPM] CrPFrBuf.c
    [XPM] CrBufFrI.c
    [TP] tpmhttp.c
    [TP] tpmpop.c
    [GDBM] dbmopen.c
    [TP] tpmsmtp.c
    [XPM] CrBufFrP.c
    [GDBM] dbmdelete.c
    [GDBM] dbmfetch.c
    [XPM] RdFToDat.c
    [XPM] WrFFrDat.c
    [GDBM] dbmstore.c
    [GDBM] dbmseq.c
    [XPM] Attrib.c
    [XPM] CrIFrP.c
    [GDBM] dbmclose.c
    [GDBM] dbmdirfno.c
    [GDBM] dbmpagfno.c
    [GDBM] gdbmopen.c
    [XPM] CrPFrI.c
    In file included from /usr/include/string.h:519,
    from tpmsmtp.c:11:
    In function ‘strncat’,
    inlined from ‘smtpend’ at tpmsmtp.c💯3:
    /usr/include/bits/string_fortified.h:137:10: warning: ‘__builtinstrncatchk’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
    137 | return
    builtinstrncatchk (dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    tpmsmtp.c: In function ‘smtpend’:
    tpmsmtp.c:99:9: note: length computed here
    99 | len = strlen(buf+4);
    | ^~~~~~~~~~~~~
    In file included from /usr/include/string.h:519,
    from tpmsmtp.c:11:
    In function ‘strncat’,
    inlined from ‘smtpend’ at tpmsmtp.c:106:5:
    [XPM] Image.c
    /usr/include/bits/string_fortified.h:137:10: warning: ‘__builtinstrncatchk’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
    137 | return
    builtinstrncatchk (dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    tpmsmtp.c: In function ‘smtpend’:
    tpmsmtp.c:105:11: note: length computed here
    105 | len = strlen(buf+4);
    | ^~~~~~~~~~~~~
    [GDBM] gdbmdelete.c
    [GDBM] gdbmfetch.c
    [XPM] Info.c
    [XPM] RdFToBuf.c
    [XPM] WrFFrBuf.c
    rm -f libtp.a
    shtool/shtool arx -C ar rc libtp.a tp.o util.o tpdunix.o tpdssl.o tpmdaytm.o tpmfinge.o tpmhttp.o tpmpop.o tpmsmtp.o uri/liburi.a
    [GDBM] gdbmstore.c
    [GDBM] gdbmclose.c
    [GDBM] gdbmreorg.c
    [GDBM] gdbmseq.c
    rm -f libXpm.a
    ar qc libXpm.a data.o create.o misc.o rgb.o scan.o parse.o hashtab.o WrFFrP.o RdFToP.o CrPFrDat.o CrDatFrP.o WrFFrI.o RdFToI.o CrIFrDat.o CrDatFrI.o CrIFrBuf.o CrPFrBuf.o CrBufFrI.o CrBufFrP.o RdFToDat.o WrFFrDat.o Attrib.o CrIFrP.o CrPFrI.o Image.o Info.o RdFToBuf.o WrFFrBuf.o
    ranlib libtp.a
    cp libXpm.a ../../../bin/
    cp xpm.h ../X11
    make[2]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/xpm/lib'
    cp libtp.a ../../bin/
    make[3]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/libtp'
    make[2]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/libtp'
    rm -f libgdbm.a
    ar q libgdbm.a dbminit.o delete.o fetch.o store.o seq.o close.o dbmopen.o dbmdelete.o dbmfetch.o dbmstore.o dbmseq.o dbmclose.o dbmdirfno.o dbmpagfno.o dbmrdonly.o gdbmopen.o gdbmdelete.o gdbmfetch.o gdbmstore.o gdbmclose.o gdbmreorg.o gdbmseq.o gdbmsync.o gdbmerrno.o gdbmexists.o gdbmsetopt.o bucket.o falloc.o findkey.o global.o hash.o update.o version.o
    ar: creating libgdbm.a
    ranlib libgdbm.a
    cp libgdbm.a ../../bin/
    make[2]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/gdbm'
    make -C common
    make[2]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/common'
    [COMMON] time.c
    [COMMON] getopt.c
    [COMMON] long.c
    [COMMON] filepart.c
    [COMMON] identify.c
    [COMMON] strtbl.c
    [COMMON] rtdb.c
    [COMMON] mlocal.c
    [COMMON] literals.c
    [COMMON] alloc.c
    [COMMON] save.c
    [COMMON] redirerr.c
    [COMMON] xwindow.c
    [COMMON] dlrgint.c
    [COMMON] ipp.c
    Got C++, building drawstring3d.o
    [COMMON] doincl.c
    [COMMON] patchstr.c
    [COMMON] uconsole.c
    rm -f libuconsole.a
    ar q libuconsole.a uconsole.o
    ar: creating libuconsole.a
    ranlib libuconsole.a
    cp libuconsole.a ../../bin/
    gcc -D_FORTIFY_SOURCE=2 -m64 -I/usr/local/include -I/usr/local -I/usr/include/freetype2 -L../../bin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -m64 -rdynamic -L/usr/local/lib -o patchstr patchstr.o
    gcc -D_FORTIFY_SOURCE=2 -m64 -I/usr/local/include -I/usr/local -I/usr/include/freetype2 -L../../bin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -m64 -rdynamic -L/usr/local/lib -o doincl doincl.o
    cp patchstr ../../bin/
    strip ../../bin/patchstr
    ./doincl -o ../../bin/rt.h ../h/rt.h
    rm -f libucommon.a
    ar q libucommon.a long.o getopt.o time.o filepart.o identify.o strtbl.o rtdb.o mlocal.o literals.o rswitch.o alloc.o save.o redirerr.o xwindow.o dlrgint.o ipp.o drawstring3d.o
    ar: creating libucommon.a
    ranlib libucommon.a
    cp libucommon.a ../../bin/
    make[2]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/common'
    make -C rtt
    make[2]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/rtt'
    [RTT] rttparse.c
    [RTT] rttmain.c
    [RTT] rttlex.c
    [RTT] rttsym.c
    [RTT] rttnode.c
    [RTT] rttout.c
    [RTT] rttmisc.c
    [RTT] rttdb.c
    [RTT] rttinlin.c
    [RTT] rttilc.c
    [RTT] yyerror.c
    [RTT] ../preproc/pout.c
    [RTT] ../preproc/pchars.c
    [RTT] ../preproc/perr.c
    [RTT] ../preproc/pmem.c
    [RTT] ../preproc/bldtok.c
    [RTT] ../preproc/macro.c
    [RTT] ../preproc/preproc.c
    [RTT] ../preproc/evaluate.c
    [RTT] ../preproc/files.c
    [RTT] ../preproc/gettok.c
    [RTT] ../preproc/pinit.c
    gcc -L../../bin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -m64 -rdynamic -L/usr/local/lib -o rtt rttparse.o rttmain.o rttlex.o rttsym.o rttnode.o rttout.o rttmisc.o rttdb.o rttinlin.o rttilc.o yyerror.o pout.o pchars.o perr.o pmem.o bldtok.o macro.o preproc.o evaluate.o files.o gettok.o pinit.o -lucommon
    cp rtt ../../bin/
    strip ../../bin/rtt
    make[2]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/rtt'
    make -C runtime interp_all
    make[2]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/runtime'
    make iconx
    make[3]: Entering directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/runtime'
    [ICONX RTT] cnv.r
    [ICONX RTT] def.r
    [ICONX RTT] data.r
    [ICONX RTT] errmsg.r
    [ICONX RTT] extcall.r
    [ICONX RTT] fconv.r
    [ICONX RTT] fload.r
    [ICONX RTT] fmath.r
    [ICONX RTT] fmisc.r
    [ICONX RTT] fmonitr.r
    [ICONX RTT] fscan.r
    [ICONX RTT] fstr.r
    [ICONX RTT] fstranl.r
    [ICONX RTT] fstruct.r
    [ICONX RTT] fsys.r
    [ICONX RTT] fwindow.r
    [ICONX RTT] imain.r
    [ICONX RTT] imisc.r
    [ICONX RTT] init.r
    [ICONX RTT] interp.r
    [ICONX RTT] invoke.r
    [ICONX RTT] fdb.r
    [ICONX RTT] keyword.r
    [ICONX RTT] lmisc.r
    [ICONX RTT] oarith.r
    [ICONX RTT] oasgn.r
    [ICONX RTT] ocat.r
    [ICONX RTT] ocomp.r
    [ICONX RTT] omisc.r
    [ICONX RTT] oref.r
    [ICONX RTT] oset.r
    [ICONX RTT] ovalue.r
    [ICONX RTT] ralc.r
    [ICONX RTT] rcoexpr.r
    [ICONX RTT] rcomp.r
    [ICONX RTT] rdb.r
    [ICONX RTT] rdebug.r
    [ICONX RTT] rlocal.r
    [ICONX RTT] rlrgint.r
    [ICONX RTT] rmemmgt.r
    [ICONX RTT] rmisc.r
    [ICONX RTT] rstruct.r
    [ICONX RTT] rsys.r
    [ICONX RTT] rgfxsys.r
    [ICONX RTT] rwinsys.r
    [ICONX RTT] rwindow.r
    [ICONX RTT] fxtra.r
    [ICONX RTT] rwinrsc.r
    [ICONX RTT] rposix.r
    [ICONX RTT] rmsg.r
    [ICONX RTT] raudio.r
    In file included from /usr/include/string.h:519,
    from /var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/bin/../src/h/../h/sys.h:18,
    from /var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/bin/../src/h/rt.h:10,
    from xrmsg.c:7:
    In function ‘strncat’,
    inlined from ‘Mhttp’ at rmsg.r:665:7:
    /usr/include/bits/string_fortified.h:137:10: warning: ‘__builtinstrncatchk’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
    137 | return
    builtinstrncatchk (dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    rmsg.r: In function ‘Mhttp’:
    rmsg.r:247:46: note: length computed here
    247 | Maddtoheader(header, mf->tp->uri.host, strlen(mf->tp->uri.host), &hleft);
    | ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/string.h:519,
    from /var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/bin/../src/h/../h/sys.h:18,
    from /var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/bin/../src/h/rt.h:10,
    from xrmsg.c:7:
    In function ‘strncat’,
    inlined from ‘Msmtp’ at rmsg.r:665:7:
    /usr/include/bits/string_fortified.h:137:10: warning: ‘__builtinstrncatchk’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
    137 | return
    builtinstrncatchk (dest, __src, __len, __bos (__dest));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    rmsg.r: In function ‘Msmtp’:
    rmsg.r:588:38: note: length computed here
    588 | Maddtoheader(header, useraddr, strlen(useraddr), &hleft);
    | ^~~~~~~~~~~~~~~~
    gcc -L../../bin -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -m64 -rdynamic -L/usr/local/lib -rdynamic -Wl,-E -L../../bin -o iconx xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o xfload.o xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o xfdb.o xkeyword.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o xrdb.o xrdebug.o xrlocal.o xrlrgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o xrgfxsys.o xrwinsys.o xrwindow.o xfxtra.o xrwinrsc.o xrposix.o xrmsg.o xraudio.o -L../../bin -ltp -lgdbm -lucommon -lssl -lcrypto -lpthread -liodbc -lopenal -lSDL -lvorbisfile -lvorbis -logg -ldl -lGLU -lGL -lm -lpng -ljpeg -lXft -lfreetype -lX11 -lz -lcrypt -lnsl -lm -ldl -lcrypt -L../../bin -lXpm ../../bin/libuconsole.a
    /usr/bin/ld: xdata.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xdef.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xerrmsg.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xextcall.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xfconv.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xfload.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xfmath.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xfmisc.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xfmonitr.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xfscan.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xfstr.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xfstranl.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xfstruct.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xfsys.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xfwindow.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: ximain.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: ximisc.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xinit.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xinterp.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xinvoke.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xfdb.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xkeyword.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xlmisc.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xoarith.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xoasgn.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xocat.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xocomp.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xomisc.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xoref.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xoset.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xovalue.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xralc.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrcoexpr.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xrcomp.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrdb.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xrdebug.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrlocal.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xrlrgint.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrmemmgt.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xrmisc.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrstruct.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xrsys.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrgfxsys.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xrwinsys.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrwindow.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xfxtra.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrwinrsc.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xrposix.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: xrmsg.o:(.bss+0x0): multiple definition of rmtx_attr'; xcnv.o:(.bss+0x0): first defined here /usr/bin/ld: xraudio.o:(.bss+0x0): multiple definition ofrmtx_attr'; xcnv.o:(.bss+0x0): first defined here
    /usr/bin/ld: ../../bin/libucommon.a(filepart.o):(.bss+0x8): multiple definition of `flog'; xrwindow.o:(.bss+0x60a8): first defined here
    collect2: error: ld returned 1 exit status
    make[3]: *** [Makefile:47: iconx] Error 1
    make[3]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/runtime'
    make[2]: *** [Makefile:39: interp_all] Error 2
    make[2]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src/runtime'
    make[1]: *** [Makefile:32: Iconx] Error 2
    make[1]: Leaving directory '/var/tmp/pamac-build-drifter/unicon/src/unicon-code/unicon/src'
    make: *** [Makefile:72: allsrc] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...

     

    Last edit: Jafar 2020-12-02
  • Jafar

    Jafar - 2020-12-02

    Why are you checking out off svn ? We switched to git in August of 2019. Can you try checking the code there ?

    https://sourceforge.net/p/unicon/unicon/ci/master/tree/

    or from github:

    https://github.com/uniconproject/unicon

     
  • Yves Cloutier

    Yves Cloutier - 2020-12-02

    I'm not doing anything special. I open the package manager, type unicon and click "build". It's just using whatever config the package maintainer created,

     
  • Yves Cloutier

    Yves Cloutier - 2020-12-02

    installed by manually checking out from git and worked. I think must be something with the AUR build file the package manager is using. aybe it's an older one.

     
  • Jafar

    Jafar - 2020-12-02

    Can you file an issue with Arch Linux to update their package ?

     
  • Margret

    Margret - 2022-04-10

    The AUR package (which is what Arch uses) was last updated in April 2019, and the PKGBUILD shouldn't have been submitted in the state it was in. I just submitted a request to orphan the package and will be taking it over. For now, if anyone else is using Arch, here's the PKGBUILD I'm going to be using that builds the current latest release on git:

    pkgname=unicon
    pkgver=13.2
    pkgrel=1
    pkgdesc="A modern descendant of the Icon programming language."
    arch=(x86_64)
    url="https://github.com/uniconproject/unicon/"
    license=('GPL2')
    conflicts=('icon')
    depends=(
        'freetype2'
        'glu'
        'libjpeg-turbo'
        'libnsl'
        'libogg'
        'libvorbis'
        'libxft'
        'openal'
        'sdl'
        'unixodbc'
    )
    makedepends=('git')
    source=("${pkgname}"-"${pkgver}".tar.gz::${url}archive/refs/tags/"${pkgver}".tar.gz)
    sha256sums=('0d0be976f12e3cc3067a4949d8f8a7e4a95368dfd015c43c2c76bc4f83fd0039')
    
    build() {
        cd "${srcdir}"/"${pkgname}"-"${pkgver}"
        ./configure --prefix=/usr
        make
    }
    
    package() {
        cd "${srcdir}"/"${pkgname}"-"${pkgver}"
        make DESTDIR="$pkgdir/" install
    }
    

    Simply put this into a PKGBUILD file in its own directory, cd into it and run makepkg -fisc and it should install it.

     
  • Jafar

    Jafar - 2022-04-10

    @Margret , thank you very much! let me know if there is anything I can do to help.

     
  • Margret

    Margret - 2022-04-26

    I have taken over maintainership of the AUR package and have updated it. Installation on arch linux should work out of the box.

     

Anonymous
Anonymous

Add attachments
Cancel