February 05, 2012, 11:33:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Failure when trying to build kolabd-2.1  (Read 1405 times)
jayk
Jr. Member
**

Karma: 0
Posts: 76



View Profile WWW Email
« on: July 05, 2007, 12:13:39 AM »

I get failure when trying to build kolabd-2.1:

Code:
>>> Running ebuild phase fetch as paludisbuild:paludisbuild...
>>> Starting builtin_fetch
>>> Already have kolabd-2.1-gentoo-20070510.tar.bz2
 * Checking MD5 for kolabd-2.1-gentoo-20070510.tar.bz2 ...               [ ok ]
 * Checking RMD160 for kolabd-2.1-gentoo-20070510.tar.bz2 ...            [ ok ]
 * Checking SHA256 for kolabd-2.1-gentoo-20070510.tar.bz2 ...            [ ok ]
>>> Done builtin_fetch
>>> Completed ebuild phase fetch
>>> Running ebuild phase prepare as root:root...
>>> Starting builtin_prepare
>>> Done builtin_prepare
>>> Completed ebuild phase prepare
>>> Running ebuild phases init saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_init
>>> Done builtin_init
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases init saveenv
>>> Running ebuild phases loadenv setup saveenv as root:root...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting pkg_setup
Unhandled exception:
  * In program paludis --log-level qa --best-version openldap:
  * When performing best-version action from command line:
  * When parsing package dep spec 'openldap' with parse mode 'permissive':
  * When splitting out category and package names from 'openldap':
  * Name 'openldap' is not a valid qualified package name (paludis::QualifiedPackageNameError)

!!! ERROR in net-mail/kolabd-2.1:
!!! In built_with_use at line 433
!!! Unable to resolve openldap to an installed package

!!! Call stack:
!!!    * built_with_use (/var/tmp/paludis/net-mail/kolabd-2.1/temp/loadsaveenv:433)
!!!    * pkg_setup (/var/tmp/paludis/net-mail/kolabd-2.1/temp/loadsaveenv:2935)
!!!    * ebuild_f_setup (/usr/libexec/paludis/pkg_setup.bash:45)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:363)
!!!    * main (/usr/libexec/paludis/ebuild.bash:381)

die trap: exiting with error.

Thanks,
Jason
Logged
jayk
Jr. Member
**

Karma: 0
Posts: 76



View Profile WWW Email
« Reply #1 on: July 05, 2007, 12:33:55 AM »

Found the problem. In the pkg_setup() section of the ebuild, the

Code:
if ! built_with_use

statements should use fully qualified package names. ex. net-nds/openldap rather than just openldap.

I tried to upload the fixed ebuild as an attachment to this post, but it gave me an error message about not being able to access the attachment path.

Jason
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #2 on: July 05, 2007, 01:24:55 PM »

Thanks for the report. I fixed it for kolabd and horde-kolab-all. I still did not get the chance to convert one of my machines to paludis though I'd like to. So thanks for those type of reports!

I thought I fixed the attachment problem, but I'll try again Smiley
Logged
Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #3 on: July 05, 2007, 01:28:54 PM »

test attachment
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!