Isn't g-cpan included in the gentoo repository?loftwyr wrote:I've gone through the thread but can't see if it's been addressed so I'm trying.
I (and the sunrise overlay) use g-cpan for a number of perl packages and I can't seem to get paludis to find them by default. I can get it if I add perl-gcpan to /usr/portage/profiles/categories but that's overwritten by going a gentoo repo sync. I can't seem to find it in the web page but is there a file like g-cpan uses (/etc/portage/categories) that paludis uses to reference any category extensions?
It's getting to be a pain having to manually add perl-gcpan to the default file every time I need to do an update or install a perl package.
Code: Select all
5:22PM % eix -c cpan ~ (knute)
[I] app-portage/g-cpan (0.15.0-r1@07/21/07): g-cpan: generate and install CPAN modules using portage
[N] dev-perl/CPAN-Checksums (1.050): Write a CHECKSUMS file for a directory as on CPAN
[I] dev-perl/CPAN-Mini (0.562@07/21/07): create a minimal mirror of CPAN
[N] dev-perl/CPAN-Mini-Inject (0.18): Inject modules into a CPAN::Mini mirror.
[N] dev-perl/CPAN-Mini-Phalanx (0.01): create a minimal mirror of CPAN containing the modules in the Phalanx 100
[N] net-misc/secpanel (0.53): Graphical frontend for managing and running SSH and SCP connections
Found 6 matches.
5:24PM % ~ (knute)Couldn't you write a post_sync hook to add it?loftwyr wrote:g-cpan is in the gentoo repo.
It's the fact that the ebuilds it generates are placed in a category called perl-gcpan and not dev-perl.
Code: Select all
echo "perl-gcpan" >> /usr/portage/profiles/categoriesCode: Select all
localhost paludis # paludis -ip world
Building target list...
Building dependency list...
These packages will be installed:
* dev-scheme/guile :12 [U 1.8.2 -> 1.8.3-r2]
Reasons: *app-office/gnucash-2.2.3:0::installed, sys-devel/autogen-5.9.2:0::installed
-debug -debug-freelist -debug-malloc deprecated -discouraged -elisp -networking nls regex threads
3.69 MBytes to download
* dev-scheme/slib [U 3.1.1-r1 -> 3.1.5-r1]
Reasons: *app-office/gnucash-2.2.3:0::installed
1.01 MBytes to download
* dev-java/java-config :2 [U 2.0.33-r1 -> 2.1.5]
Reasons: *java-virtuals/javamail-1.0-r1:0::installed, app-text/jabref-2.3.1:0::installed, 30 more
38.01 kBytes to download
* net-analyzer/aimsniff :0.9-r2 [S 0.9-r2] <world>
-http -mysql samba -vhosts
23.48 kBytes to download
* sys-kernel/gentoo-sources :2.6.24-r4 [S 2.6.24-r4] <world>
-build symlink
44.68 MBytes to download
Total: 5 packages (3 upgrades, 2 in new slots), at most 49.44 MBytes to download
General sets:
* world: Packages that have been explicitly installed
* No unread news items found
localhost paludis # paludis -ip pidgin
Building target list...
Building dependency list...
These packages will be installed:
* net-im/pidgin [U 2.4.0 -> 2.4.1] <target>
-bonjour dbus debug doc eds -gadu -gnutls -groupwise gstreamer gtk -meanwhile ncurses -networkmanager nls perl -prediction -qq -sasl -silc spell -tcl -tk -zephyr
9.02 MBytes to download
Total: 1 package (1 upgrade), at most 9.02 MBytes to download
* No unread news items found
localhost paludis # grep pidgin /var/db/pkg/world
net-im/pidgin

Code: Select all
paludis -i --dl-deps-default discard paludis
Building target list...
Building dependency list...
These packages will be installed:
* sys-apps/paludis::paludis-overlay [U 0.26.0_alpha4 -> 0.26.0_pre1] <target>
bash-completion -doc glsa inquisitio pink portage* python qa -ruby vim-syntax visibility -zsh-completion
Total: 1 package (1 upgrade)
Use flags:
* portage: Enable experimental support for Portage configuration formats
(1 of 1) Installing sys-apps/paludis-0.26.0_pre1:0::paludis-overlay
Checking 'paludis-0.26.0_pre1.tar.bz2'... not in Manifest
Fetch error:
* In program paludis -i --dl-deps-default discard paludis:
* When performing install action from command line:
* When executing install task:
* When fetching 'sys-apps/paludis-0.26.0_pre1:0::paludis-overlay':
* Fetch error: Fetch of 'sys-apps/paludis-0.26.0_pre1:0::paludis-overlay' failed
* File 'paludis-0.26.0_pre1.tar.bz2': failed integrity checks: Not in Manifest
Resume command: paludis --log-level qa --install --add-to-world-spec '( sys-apps/paludis )' --dl-deps-default discard '=sys-apps/paludis-0.26.0_pre1:0::paludis-overlay'
What happens if you justtecknojunky wrote:Paludis over version 0.26.0-alpha4 is not in the Manifest file of the paludis-overlay.
How can I bypass this Manifest error?
Code: Select all
paludis -i --dl-deps-default discard paludis
Code: Select all
paludis -i paludis
I solved this 1 minute ago, by re-installing dev-libs/boost.tranquilcool wrote:checking for Python installation dir... ${exec_prefix}/lib/python2.5/site-packages
checking for boost.python... no
configure: error: boost.python (http://www.boost.org/libs/python/doc/) is required

my problem was with gcc-4.3.0.mikkoc wrote:I solved this 1 minute ago, by re-installing dev-libs/boost.tranquilcool wrote:checking for Python installation dir... ${exec_prefix}/lib/python2.5/site-packages
checking for boost.python... no
configure: error: boost.python (http://www.boost.org/libs/python/doc/) is required
I'm using gcc-4.3.0 too.tranquilcool wrote: my problem was with gcc-4.3.0.
paludis and boost doesn't compile with gcc-4.3.0.
if you want to compile latest paludis switch back to other gcc.
Code: Select all
/usr/libexec/paludis/source_functions.bash: debug trap: line 39: syntax error in conditional expression: unexpected token `('
/usr/libexec/paludis/source_functions.bash: debug trap: line 39: syntax error near `@(*'
/usr/libexec/paludis/source_functions.bash: debug trap: line 39: `[[ ${BASH_COMMAND%%[[:space:]]*} != @(*=*|export|declare) ||'
/usr/libexec/paludis/ebuild.bash: debug trap: line 234: syntax error in conditional expression: unexpected token `('
/usr/libexec/paludis/ebuild.bash: debug trap: line 234: syntax error near `@(*'
/usr/libexec/paludis/ebuild.bash: debug trap: line 234: `[[ ${BASH_COMMAND%%[[:space:]]*} != @(*=*|export|declare) ||'
/usr/libexec/paludis/ebuild.bash: debug trap: line 235: syntax error in conditional expression: unexpected token `('
Code: Select all
>>> Running ebuild phases loadenv postrm tidyuprm as root:root...
bunzip2 < /var/db/pkg/(package-installing)/environment.bz2 > /var/tmp/paludis/environment-(package-installing)
ebuild_scrub_environment /var/tmp/paludis/environment-(package-installing)

Knute wrote:What happens if you justtecknojunky wrote:Paludis over version 0.26.0-alpha4 is not in the Manifest file of the paludis-overlay.
How can I bypass this Manifest error?
Code: Select all
paludis -i --dl-deps-default discard paludis???Code: Select all
paludis -i paludis
Code: Select all
# paludis -ip paludis
Building target list...
Building dependency list...paludis@1208105723: [WARNING] Not writing cache file to '/var/cache/paludis/metadata/local/app-office/openoffice-bin-1.1.0' due to exception 'Bad dependency string 'LGPL-2 | SISSL-1.1': in lex phase: '|' should be followed by '|'' (paludis::erepository::DepStringLexError)
These packages will be installed:
* dev-lang/python :2.4 [U 2.4.4-r6 -> 2.4.4-r9]
Reasons: app-editors/vim-7.1.266:0::gentoo, dev-libs/libxml2-2.6.31:2::installed, 4 more
berkdb -bootstrap -build -doc -examples -gdbm* ipv6 -ncurses* -nocxx -nothreads readline ssl -tk -ucs2 elibc: (-uclibc)+
* sys-apps/paludis::paludis-overlay [U 0.26.0_alpha4 -> 0.26.0_pre1] <target>
Reasons: app-admin/python-updater-0.2:0::installed
bash-completion -doc glsa inquisitio pink portage* python qa -ruby vim-syntax visibility -zsh-completion
* app-editors/vim-core [U 7.1.123 -> 7.1.266]
Reasons: *app-editors/vim-7.1.266:0::gentoo, sys-apps/paludis-0.26.0_pre1:0::paludis-overlay
acl bash-completion -livecd nls
* app-editors/vim [U 7.1.123 -> 7.1.266]
Reasons: app-vim/gentoo-syntax-20070506:0::installed
acl bash-completion cscope gpm -minimal nls perl python -ruby -vim-pager -vim-with-x
Total: 4 packages (4 upgrades)
Use flags:
* gdbm: Adds support for sys-libs/gdbm (GNU database libraries)
* ncurses: Adds ncurses support (console display library)
* portage: Enable experimental support for Portage configuration formats
elibc:
* uclibc: ELIBC setting for systems that use the uClibc C libraryI think different...creidiki wrote:paludis-overlay doesn't even /have/ a Manifest ...
Code: Select all
# tail /var/paludis/repositories/paludis-overlay/sys-apps/paludis/Manifest
SHA256 309eb2f90241c052a21107e9ac2fffbf601883c5a2f531249ed6e67aca26053a files/digest-paludis-0.26.0_alpha1 271
MD5 8c8198b82dd6c9b75e0ab2593a8672e5 files/digest-paludis-0.26.0_alpha2 271
RMD160 58eb614c5862da6b3acef1e66848e289bbc34705 files/digest-paludis-0.26.0_alpha2 271
SHA256 9821a201993bc89707bd9a4f51296d181d3148164453ae3b4c8ce78b28bacf18 files/digest-paludis-0.26.0_alpha2 271
MD5 5cee2c24f97d6cda515aafa2482ee2ba files/digest-paludis-0.26.0_alpha3 271
RMD160 bd40e60927f8e0c307e6ff35cb486d75fa9a066f files/digest-paludis-0.26.0_alpha3 271
SHA256 48ddc383514789221f2ae9a4a6e7f8b75ff5d4d4a3fab6c0c39425c6933a2998 files/digest-paludis-0.26.0_alpha3 271
MD5 2b0131073106612b4bb4da73d00fe67d files/digest-paludis-0.26.0_alpha4 271
RMD160 cfb022ede3171f3e1aaa49858cfaa30b69630d28 files/digest-paludis-0.26.0_alpha4 271
SHA256 92cc71e8a1a78d41491c0fb0bddab52bc579505f63ddef417f6d2b3cb5944a23 files/digest-paludis-0.26.0_alpha4 271
Code: Select all
>>> Starting src_unpack
>>> Unpacking m4-1.4.11.tar.lzma to /var/tmp/paludis/sys-devel/m4-1.4.11/work
Skipping unpack for /home/sotn3m/portage/distfiles/m4-1.4.11.tar.lzma
chmod: missing operand after `a+rX,u+w,go-w'
Try `chmod --help' for more information.
>>> Done src_unpack
>>> Starting src_compile
!!! ERROR in sys-devel/m4-1.4.11:
!!! In econf at line 957
!!! No configure script for econf
!!! Call stack:
!!! * econf (/var/tmp/paludis/sys-devel/m4-1.4.11/temp/loadsaveenv:957)
!!! * src_compile (/var/tmp/paludis/sys-devel/m4-1.4.11/temp/loadsaveenv:1321)
!!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:51)
!!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:479)
!!! * main (/usr/libexec/paludis/ebuild.bash:497)

Code: Select all
...
Skipping unpack for /var/paludis/distfiles/coreutils-6.10-patches-1.2.tar.lzma
...
So, anyone who had the same problem has me, I think all you need is to add this line in the Manifest file:tecknojunky wrote:Paludis over version 0.26.0-alpha4 is not in the Manifest file of the paludis-overlay.
How can I bypass this Manifest error?
Code: Select all
paludis -i --dl-deps-default discard paludis Building target list... Building dependency list... These packages will be installed: * sys-apps/paludis::paludis-overlay [U 0.26.0_alpha4 -> 0.26.0_pre1] <target> bash-completion -doc glsa inquisitio pink portage* python qa -ruby vim-syntax visibility -zsh-completion Total: 1 package (1 upgrade) Use flags: * portage: Enable experimental support for Portage configuration formats (1 of 1) Installing sys-apps/paludis-0.26.0_pre1:0::paludis-overlay Checking 'paludis-0.26.0_pre1.tar.bz2'... not in Manifest Fetch error: * In program paludis -i --dl-deps-default discard paludis: * When performing install action from command line: * When executing install task: * When fetching 'sys-apps/paludis-0.26.0_pre1:0::paludis-overlay': * Fetch error: Fetch of 'sys-apps/paludis-0.26.0_pre1:0::paludis-overlay' failed * File 'paludis-0.26.0_pre1.tar.bz2': failed integrity checks: Not in Manifest Resume command: paludis --log-level qa --install --add-to-world-spec '( sys-apps/paludis )' --dl-deps-default discard '=sys-apps/paludis-0.26.0_pre1:0::paludis-overlay'
Code: Select all
DIST paludis-0.26.0_pre1.tar.bz2 1490131 RMD160 479614eb8de04b42f2d584940a1b0ba9c05fa6e5 SHA1 d172394283a664d654c79e71cb1eea053e623103 SHA256 1be589bd2e071bc63872f91006ea7310eaa080045180c4d3d4bf88a7ce6c6350Code: Select all
holy_fire ~ # ls /var/paludis/repositories/paludis-overlay/sys-apps/paludis
files paludis-0.24.6.ebuild paludis-0.26.0_alpha13.ebuild paludis-0.26.0_alpha14.ebuild paludis-0.26.0_pre1.ebuild paludis-scm.ebuild
I tried to download the coreutils-6.9.tbz2 , managed to install it using emerge , then I had two coreutils on the system - still paludis would say segmantation fault - when ever tring to install. I now removed both coreutils , and my system is cripled - help me pls.These packages will be installed:
* sys-apps/coreutils::installed [! blocking]
Reasons: sys-apps/mktemp-1.5:0::gentoo
* sys-apps/mktemp [N 1.5] <target>
"allow safe temporary file creation from shell scripts."
68.88 kBytes to download
Total: 1 package (1 new), at most 68.88 kBytes to download, 1 error
* Cannot continue with install due to the errors indicated above
Segmentation fault
notice I got no coreutils installed:paludis -i Desktop/coreutils-6.9-r1.tbz2
Building target list...
Unhandled exception:
* In program paludis -i Desktop/coreutils-6.9-r1.tbz2:
* When performing install action from command line:
* When adding install target 'Desktop/coreutils-6.9-r1.tbz2':
* When parsing package dep spec 'Desktop/coreutils-6.9-r1.tbz2':
* When splitting out category and package names from 'Desktop/coreutils-6.9-r1.tbz2':
* When validating package name part 'coreutils-6.9-r1.tbz2':
* Name 'coreutils-6.9-r1.tbz2' is not a valid package name part (paludis::PackageNamePartError)
eix coreutils
* sys-apps/coreutils
Available versions: 6.9-r1 6.10-r1 ~6.10-r2 {acl nls selinux static vanilla xattr}
Homepage: http://www.gnu.org/software/coreutils/
Description: Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)
# paludis -i =sys-apps/coreutils-6.9-r1
Building target list...
Building dependency list...paludis@1208206279: [WARNING] Can't use provides cache at '/var/db/pkg/.cache/provides' because format 'paludis-2' is not 'paludis-3'
paludis@1208206279: [WARNING] Skipping VDB PROVIDE entry for 'games-fps/ut2004-demo-3334::installed' due to exception 'Error running stat() on '/var/db/pkg/games-fps/ut2004-demo-3334/EAPI': Input/output error' (paludis::FSError)
paludis@1208206282: [QA] In program paludis -i =sys-apps/coreutils-6.9-r1:
... When performing install action from command line:
... When executing install task:
... When building dependency list:
... When adding PackageDepSpec '=sys-apps/coreutils-6.9-r1':
... When adding package 'sys-apps/coreutils-6.9-r1:0::gentoo':
... When adding build dependencies as pre dependencies:
... When adding PackageDepSpec '>=sys-devel/automake-1.10':
... When adding installed package 'sys-devel/automake-1.10.1:1.10::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec 'dev-lang/perl':
... When adding installed package 'dev-lang/perl-5.8.8-r4:0::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec '~sys-devel/libperl-5.8.8':
... When adding installed package 'sys-devel/libperl-5.8.8-r1:1::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec 'sys-libs/db':
... When adding installed package 'sys-libs/db-4.5.20_p2:4.5::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec '>=virtual/jre-1.4':
... When adding installed package 'virtual/jre-1.6.0:1.6::installed':
... When adding run dependencies as post dependencies:
... When using already installed package to resolve dependencies:
... When adding PackageDepSpec '=virtual/jdk-1.6.0*':
... When adding installed package 'virtual/jdk-1.6.0:1.6::installed':
... When adding run dependencies as post dependencies:
... When using already installed package to resolve dependencies:
... When adding PackageDepSpec '=dev-java/sun-jdk-1.6.0*':
... When adding installed package 'dev-java/sun-jdk-1.6.0.05:1.6::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec '=dev-java/java-config-2*':
... When adding installed package 'dev-java/java-config-2.1.4:2::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec 'dev-lang/python':
... When adding installed package 'dev-lang/python-2.4.4-r9:2.4::installed':
... When adding run dependencies as post dependencies:
... When using already installed package to resolve dependencies:
... When adding PackageDepSpec 'sys-libs/db:4.3':
... When adding installed package 'sys-libs/db-4.3.29-r2:4.3::installed':
... When adding run dependencies as post dependencies:
... When adding PackageDepSpec '>=sys-apps/portage-2.1_pre1':
... When adding installed package 'sys-apps/portage-2.1.4.4:0::installed':
... When adding post dependencies as post dependencies with cycle breaking unless under a suggested label:
... When adding PackageDepSpec '>=sys-apps/coreutils-6.4':
... Dropping circular dependency on 'sys-apps/coreutils-6.9-r1:0::gentoo'
paludis@1208206284: [WARNING] Stale cache file at '/usr/portage/metadata/cache/app-admin/perl-cleaner-1.05'
These packages will be installed:
* sys-apps/coreutils [N 6.9-r1] <target>
"Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)"
acl nls (-selinux) -static -xattr
Total: 1 package (1 new)
Use flags:
* acl: Adds support for Access Control Lists
* nls: Adds Native Language Support (using gettext - GNU locale utilities)
* selinux: !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
* static: !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
* xattr: Adds support for extended attributes (filesystem-stored metadata)
Segmentation fault
