Package Details: centerim5-git git-1

Git Clone URL: https://aur.archlinux.org/centerim5-git.git (read-only, click to copy)
Package Base: centerim5-git
Description: CenterIM5 - An ncurses based terminal chat client - git development version
Upstream URL: http://centerim.org/
Licenses: GPL
Conflicts: centerim5
Provides: centerim5
Submitter: kyak
Maintainer: None
Last Packager: kyak
Votes: 5
Popularity: 0.000000
First Submitted: 2015-08-11 14:25 (UTC)
Last Updated: 2015-08-11 14:26 (UTC)

Latest Comments

dreieck commented on 2019-03-22 09:31 (UTC) (edited on 2019-03-22 09:35 (UTC) by dreieck)

Regarding the build error I reported on 2019-03-22 09:24:

Adding --disable-shared --enable-static as options to ./configure makes it compiling, but that does not seem to be what we want at the end, so I consider it a bad workaround.

But when I run, I get the errors

libpurple/plugins: /usr/lib/purple-2/libjabber.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
libpurple/plugins: /usr/lib/purple-2/liboscar.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?

dreieck commented on 2019-03-22 09:25 (UTC)

Can you move ./bootstrap from build() to prepare()?

dreieck commented on 2019-03-22 09:24 (UTC)

I get the following build error (linking related):

[...]
Making all in cppconsui
make[2]: Entering directory '/tmp/centerim5-git/src/centerim5/cppconsui'
  CXX      libcppconsui_la-AbstractDialog.lo
  CXX      libcppconsui_la-AbstractLine.lo
  CXX      libcppconsui_la-AbstractListBox.lo
  CXX      libcppconsui_la-Button.lo
  CXX      libcppconsui_la-CheckBox.lo
  CXX      libcppconsui_la-ColorPicker.lo
  CXX      libcppconsui_la-ColorPickerPalette.lo
  CXX      libcppconsui_la-ColorPickerComboBox.lo
  CXX      libcppconsui_la-ColorPickerDialog.lo
  CXX      libcppconsui_la-ColorScheme.lo
  CXX      libcppconsui_la-ConsUICurses.lo
  CXX      libcppconsui_la-Container.lo
  CXX      libcppconsui_la-ComboBox.lo
  CXX      libcppconsui_la-CoreManager.lo
  CXX      libcppconsui_la-CppConsUI.lo
  CXX      libcppconsui_la-Dialog.lo
  CXX      libcppconsui_la-HorizontalLine.lo
  CXX      libcppconsui_la-HorizontalListBox.lo
  CXX      libcppconsui_la-InputDialog.lo
  CXX      libcppconsui_la-InputProcessor.lo
  CXX      libcppconsui_la-Label.lo
  CXX      libcppconsui_la-ListBox.lo
  CXX      libcppconsui_la-KeyConfig.lo
  CXX      libcppconsui_la-Keys.lo
  CXX      libcppconsui_la-MenuWindow.lo
  CXX      libcppconsui_la-MessageDialog.lo
  CXX      libcppconsui_la-Panel.lo
  CXX      libcppconsui_la-Spacer.lo
  CXX      libcppconsui_la-SplitDialog.lo
  CXX      libcppconsui_la-TextEdit.lo
  CXX      libcppconsui_la-TextEntry.lo
  CXX      libcppconsui_la-TextView.lo
  CXX      libcppconsui_la-TreeView.lo
  CXX      libcppconsui_la-VerticalLine.lo
  CXX      libcppconsui_la-Widget.lo
  CXX      libcppconsui_la-Window.lo
  CC       libtermkey/libcppconsui_la-driver-csi.lo
  CC       libtermkey/libcppconsui_la-driver-ti.lo
  CC       libtermkey/libcppconsui_la-termkey.lo
  CXXLD    libcppconsui.la
/sbin/ld: /usr/lib/libc_nonshared.a(elf-init.oS): in function `__libc_csu_init':
(.text+0x18): undefined reference to `__init_array_start'
/sbin/ld: /usr/lib/libc_nonshared.a(elf-init.oS): relocation R_X86_64_PC32 against undefined hidden symbol `__init_array_start' can not be used when making a shared object
/sbin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:622: libcppconsui.la] Error 1
make[2]: Leaving directory '/tmp/centerim5-git/src/centerim5/cppconsui'
make[1]: *** [Makefile:526: all-recursive] Error 1
make[1]: Leaving directory '/tmp/centerim5-git/src/centerim5'
make: *** [Makefile:415: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

dreieck commented on 2019-03-22 09:12 (UTC) (edited on 2019-03-22 09:40 (UTC) by dreieck)

  • Can you fix the pkgver() such that it does not contain the leading v (so that version numbering is comparable to the centerim-package and general habits how to do such things)? After doing that, set epoch=1 is needed.

Here is an example pkgver():

pkgver() {
    cd ${pkgname%-*} 

    _ver="$(git describe --tags | sed 's|^v||' | sed 's|\-[^-]*$||' | tr '-' '_')"
    _rev="$(git rev-list --count HEAD)"
    _hash="$(git rev-parse --short HEAD)"
    _date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"

    if [ -n "${_ver}" ]; then
        printf %s "${_ver}+r${_rev}.${_date}.${_hash}"
    fi
}

kyak commented on 2015-11-15 11:01 (UTC)

This should be fixed now

kyak commented on 2015-10-23 18:41 (UTC)

- This is correct, since this is a git+ssh repo. You must validate and accept ssh fingerprint of the host. - Indeed, this has to do with ncurses5 -> ncurses6 recent update. You should report upstream.

willemw commented on 2015-10-23 17:41 (UTC)

What goes wrong on my side is: - I am asked to accept the public ssh key of repo.or.cz. I don't think that is correct. - Build fails (ncursesw related). $ makepkg ==> Making package: centerim5-git git-1 ... ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning centerim5 git repo... Cloning into bare repository '/home/willem/centerim5-git/centerim5'... The authenticity of host 'repo.or.cz (195.113.20.142)' can't be established. RSA key fingerprint is SHA256:4498SjyknCMtvogLad4t8eFFPD8Qcpa4AtYfljDiItA. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'repo.or.cz,195.113.20.142' (RSA) to the list of known hosts. ... checking for ncursesw5-config... no checking for NCURSESW - any version... no *** The $ac_path_lib_ncursesw_config script installed by NCURSESW could not be found. *** If NCURSESW was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the NCURSESW_CONFIG environment variable to the *** full path to $ac_path_lib_ncursesw_config. no configure: error: You must have the ncursesw library and developement headers installed to build. ==> ERROR: A failure occurred in build(). Aborting...

kyak commented on 2015-10-23 15:35 (UTC)

It downloads just fine from git url. Also, there is the mob branch. Also, there is the bootstrap file. In other words, the package works just fine here. Dunno what's wrong on your side.

willemw commented on 2015-10-22 17:07 (UTC)

Cannot download the source files, because the git url is a read-write (push) url. Correct url is: source=(${pkgname%-*}::git://repo.or.cz/centerim.git#branch=mob) Also there is no 'mob' git branch and there is no 'bootstrap' file.