FS#32567 - [kdenetwork-kopete] FTBFS with new libotr packages

Attached to Project: Arch Linux
Opened by Kevin Mihelich (kmihelich) - Friday, 09 November 2012, 17:59 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 09 November 2012, 20:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Unable to find libotr/proto.h

In file included from /build/src/build/kopete/plugins/otr/moc_authenticationwizard.cpp:10:0,
from /build/src/build/kopete/plugins/otr/kopete_otr_shared_automoc.cpp:4:
/build/src/build/kopete/plugins/otr/../../../../kdenetwork-4.9.3/kopete/plugins/otr/authenticationwizard.h:29:26: fatal error: libotr/proto.h: No such file or directory
compilation terminated.
distcc[5467] ERROR: compile /build/src/build/kopete/plugins/otr/kopete_otr_shared_automoc.cpp on localhost failed
make[2]: *** [kopete/plugins/otr/CMakeFiles/kopete_otr_shared.dir/kopete_otr_shared_automoc.o] Error 1
make[1]: *** [kopete/plugins/otr/CMakeFiles/kopete_otr_shared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Package version: 4.9.3-1
Steps to reproduce: Build from a clean chroot
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 09 November 2012, 20:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  on trunk
Comment by Andrea Scarpino (BaSh) - Friday, 09 November 2012, 18:57 GMT
I guess you're not building from our PKGBUILD. We use a cmake patch[1] to fix the libotr include dir to use libotr3.

[1] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/use-libotr3.patch?h=packages/kdenetwork
Comment by Kevin Mihelich (kmihelich) - Friday, 09 November 2012, 19:07 GMT
The issue wouldn't have been opened had I been using something other than your PKGBUILD. With the patch. With the patch being applied.
Comment by Jason Plum (WarheadsSE) - Friday, 09 November 2012, 19:27 GMT
# pkgfile /usr/include/libotr/proto.h
extra/libotr

Comment by Kevin Mihelich (kmihelich) - Friday, 09 November 2012, 19:34 GMT
Here is a rework of your patch that does allow it to build inside a clean chroot.
Comment by Kyle Keen (keenerd) - Friday, 09 November 2012, 19:52 GMT
[ 88%] Building CXX object kopete/plugins/otr/CMakeFiles/kopete_otr_shared.dir/kopete_otr_shared_automoc.o
In file included from /build/src/build/kopete/plugins/otr/moc_authenticationwizard.cpp:10:0,
from /build/src/build/kopete/plugins/otr/kopete_otr_shared_automoc.cpp:4:
/build/src/build/kopete/plugins/otr/../../../../kdenetwork-4.9.3/kopete/plugins/otr/authenticationwizard.h:29:26: fatal error: libotr/proto.h: No such file or directory
compilation terminated.
make[2]: *** [kopete/plugins/otr/CMakeFiles/kopete_otr_shared.dir/kopete_otr_shared_automoc.o] Error 1
make[1]: *** [kopete/plugins/otr/CMakeFiles/kopete_otr_shared.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/kkeen/build

Bash, use a clean chroot for building stuff.
Comment by Andrea Scarpino (BaSh) - Friday, 09 November 2012, 20:41 GMT
Calm down guys, mine was just a question.

Keenerd, I do. Building a whole KDE SC release is more complex than just "extra-x86_64-build".

Loading...