Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build with #62

Closed
czchen opened this issue Nov 30, 2015 · 7 comments
Closed

Cannot build with #62

czchen opened this issue Nov 30, 2015 · 7 comments
Milestone

Comments

@czchen
Copy link
Member

czchen commented Nov 30, 2015

From http://bugs.debian.org/806686, ibus-chewing cannot be built with cmake-fedora/2.4.4-1 in Debian.

The following error message is show when building on Debian:

    [Info1] MSGINIT_EXECUTABLE=/usr/bin/msginit
    [Off] MANAGE_ZANATA: Failed to find zanata.ini at /home/czchen/.config/zanata.ini
    CMake Error at /usr/share/cmake/Modules/ManageZanata.cmake:624 (ADD_CUSTOM_TARGET):
      add_custom_target cannot create target "zanata_push" because another target
      with the same name already exists.  The existing target is a custom target
      created in source directory
      "/mnt/disk/home/czchen/src/debian/ibus-chewing/po".  See documentation for
      policy CMP0002 for more details.
    Call Stack (most recent call first):
      /usr/share/cmake/Modules/ManageZanata.cmake:713 (MANAGE_ZANATA_PUSH_TARGETS)
      po/CMakeLists.txt:6 (MANAGE_ZANATA)


    test GLIB2_LIBRARIES=gio-2.0;gmodule-2.0;gobject-2.0;gthread-2.0;glib-2.0
    test GLIB2_LIBRARIES=gio-2.0;gmodule-2.0;gobject-2.0;gthread-2.0;glib-2.0
    -- Configuring incomplete, errors occurred!
    See also "/mnt/disk/home/czchen/src/debian/ibus-chewing/CMakeFiles/CMakeOutput.log".
    debian/rules:24: recipe for target 'override_dh_auto_configure' failed
    make[1]: *** [override_dh_auto_configure] Error 1
    make[1]: Leaving directory '/mnt/disk/home/czchen/src/debian/ibus-chewing'
    debian/rules:8: recipe for target 'build' failed
    make: *** [build] Error 2
    dpkg-buildpackage: error: debian/rules build gave error exit status 2
    debuild: fatal error at line 1374:
    dpkg-buildpackage -rfakeroot -D -us -uc failed
@definite
Copy link
Member

definite commented Dec 1, 2015

It looks like that cmake-fedora-2.4.3 is still detected/used.
Please try:
1 Update the cmake-fedora used in ibus-chewing to 2.4.4

      cd cmake-fedora;  git fetch; git checkout 2.4.4; cd ..

2 Clean up old CMake file and rebuild

     ./wipe-rebuild.sh

Note that I assume you want gesttings_support=1, please inform me if thing does not work as expected.

@czchen
Copy link
Member Author

czchen commented Dec 4, 2015

Strange, looks like Debian cmake-fedora/2.4.4-1 uses the commit 87335d836abd3cc667d2645bab4dc6d1582a47eb, which is two commit behind the 2.4.4 version. Not sure why this commit is used as cmake-fedora/2.4.4-1 base version.

@czchen
Copy link
Member Author

czchen commented Dec 4, 2015

The upstream codebase uses for cmake-fedora/2.4.4-1 is in http://anonscm.debian.org/cgit/collab-maint/cmake-fedora.git/log/?h=upstream/latest

@czchen
Copy link
Member Author

czchen commented Dec 4, 2015

The release tarball downloaded from https://fedorahosted.org/releases/c/m/cmake-fedora/cmake-fedora-2.4.4-Source.tar.gz does not match the git tag in http://git.fedorahosted.org/git/cmake-fedora.git, please help to check if there is any problem.

@definite
Copy link
Member

For cmake-fedora itself, the content should be no different between cmake-fedora--Source.tar.gz and cmake-fedora-.tar.gz except the directory structure.

cmake-fedora--Source.tar.gz extract to cmake-fedora--Source/
while
cmake-fedora-.tar.gz extract to cmake-fedora-/

For ibus-chewing, cmake-fedora is acted as git submodule. I have updated cmake-fedora to 2.6.0, would you mind helping me to verify whether the it still working for you?

@definite
Copy link
Member

@czchen Just wondering whether ibus-chewing-1.5.0 and cmake-fedora-2.6.0 works for you.

@definite definite added this to the 1.5.1 milestone May 18, 2016
@definite
Copy link
Member

@czchen I assume this issue is fixed. Please open a new issue if it does not work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants