Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rdiff-backup install issues [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Sun Jul 27, 2008 11:42 pm    Post subject: rdiff-backup install issues [solved] Reply with quote

I have a remote server through a VPS running gentoo, as well as a home gentoo box. Therefore I would like to backup the server to the home gentoo box in case anything should happen. I read the wiki gentoo page on backups, and picked rdiff-backup, due to having ssh on the server as well as wanting only differential backups to occur, thus saving bandwidth. Sorry for the long post but I've been doing some trouble shooting and more info is always better:

emerge -av rdiff-backup
Quote:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] sys-apps/attr-2.4.39 USE="nls" 0 kB
[ebuild N ] sys-apps/acl-2.2.45 USE="nls (-nfs)" 150 kB
[ebuild N ] dev-python/pylibacl-0.2.1 18 kB
[ebuild N ] app-backup/rdiff-backup-1.0.5 USE="acl -xattr" 149 kB

Total: 4 packages (4 new), Size of downloads: 316 kB


Error in attr-2.4.39
Quote:

/usr/bin/xgettext --language=C --keyword=_ -o attr.pot ../attr/attr.c ../getfattr/getfattr.c ../setfattr/setfattr.c ../libattr/attr_copy_fd.c ../libattr/attr_copy_file.c
/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
gmake[1]: *** [attr.pot] Error 127
make: *** [default] Error 2
*
* ERROR: sys-apps/attr-2.4.39 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2490: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/environment'.



revdep-rebuild
Quote:

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
broken /usr/bin/xgettext (requires libexpat.so.0)

Evaluating package order...
Warning: Failed to resolve package order.
Will merge in "random" order!
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
and/or /etc/portage/package.unmask to unmask it
..... done.
(/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot =sys-devel/gettext-0.16.1
.........

Calculating dependencies \
!!! All ebuilds that could satisfy "=sys-devel/gettext-0.16.1" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/gettext-0.16.1 (masked by: )

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.


revdep-rebuild failed to emerge all packages
you have the following choices:

- if emerge failed during the build, fix the problems and re-run revdep-rebuild
or
- use -X or --package-names as first argument (trys to rebuild package, not exact
ebuild)
or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
(and remove /root/.revdep-rebuild.5_order to be evaluated again)
or
- modify the above emerge command and run it manually
or
- compile or unmerge unsatisfied packages manually, remove temporary files and
try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*


Syncing emerge has also been done as well. I'm stumped. Oh Gentoo Gods, please assist.

Robert
_________________
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5


Last edited by vaguy02 on Mon Jul 28, 2008 2:42 am; edited 1 time in total
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jul 28, 2008 12:19 am    Post subject: Reply with quote

Quote:
emerge --oneshot =sys-devel/gettext-0.16.1
This simply will not work!

You are trying to install a package that doesn't exist in portage. You're going to have to just emerge gettext and accept whichever version gets compiled (gettext-0.16.1-r1 or gettext-0.17). Those are your only choices presently. Just type in emerge -av gettext, and be done with it. [EDIT] that way, you can fix other problems that may arise.[/EDIT]

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Mon Jul 28, 2008 12:30 am    Post subject: Reply with quote

I didn't try that, that was revdep-rebuild that executed that command. Here is what you requested.

emerge -av gettext
Quote:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] sys-apps/attr-2.4.39 USE="nls" 0 kB
[ebuild N ] sys-apps/acl-2.2.45 USE="nls (-nfs)" 150 kB
[ebuild U ] sys-devel/gettext-0.17 [0.16.1] USE="acl%* nls openmp%* -doc -emacs -nocxx" 11,369 kB


And of course attr-2.4.39 bombs before it can get to gettext
Quote:

/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
gmake[1]: *** [attr.pot] Error 127
make: *** [default] Error 2
*
* ERROR: sys-apps/attr-2.4.39 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2490: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/environment'.
*

_________________
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jul 28, 2008 1:10 am    Post subject: Reply with quote

Please post 20-30 lines above what you've already posted. That's where the error is.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Mon Jul 28, 2008 1:17 am    Post subject: Reply with quote

Quote:

=== getfattr ===
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.39\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.39\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o getfattr.o getfattr.c
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -o getfattr getfattr.o ../libattr/libattr.la ../libmisc/libmisc.la
mkdir .libs
i686-pc-linux-gnu-gcc -o .libs/getfattr getfattr.o ../libattr/.libs/libattr.so ../libmisc/.libs/libmisc.a
creating getfattr
=== setfattr ===
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.39\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.39\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o setfattr.o setfattr.c
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -o setfattr setfattr.o ../libattr/libattr.la ../libmisc/libmisc.la
mkdir .libs
i686-pc-linux-gnu-gcc -o .libs/setfattr setfattr.o ../libattr/.libs/libattr.so ../libmisc/.libs/libmisc.a
creating setfattr
=== examples ===
gmake[1]: Nothing to be done for `default'.
=== test ===
gmake[1]: Nothing to be done for `default'.
=== m4 ===
gmake[1]: Nothing to be done for `default'.
=== man ===
=== man1 ===
gmake[2]: Nothing to be done for `default'.
=== man2 ===
gmake[2]: Nothing to be done for `default'.
=== man3 ===
gmake[2]: Nothing to be done for `default'.
=== man5 ===
gmake[2]: Nothing to be done for `default'.
=== doc ===
/bin/gzip --best -c < CHANGES > CHANGES.gz
=== ea-conv ===
gmake[2]: Nothing to be done for `default'.
=== po ===
/usr/bin/xgettext --language=C --keyword=_ -o attr.pot ../attr/attr.c ../getfattr/getfattr.c ../setfattr/setfattr.c ../libattr/attr_copy_fd.c ../libattr/attr_copy_file.c
/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
gmake[1]: *** [attr.pot] Error 127
make: *** [default] Error 2
*
* ERROR: sys-apps/attr-2.4.39 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2490: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/environment'.
*

* Messages for package sys-apps/attr-2.4.39:

*
* ERROR: sys-apps/attr-2.4.39 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2490: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/environment'.
*

_________________
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jul 28, 2008 1:47 am    Post subject: Reply with quote

I'd emerge -av expat, and then retry. If that doesn't work, then make a bug report.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Mon Jul 28, 2008 1:57 am    Post subject: Reply with quote

Quote:


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] dev-libs/expat-2.0.1 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Successful Re-install.

As instructed by messages:
Quote:

zeus rclowser # revdep-rebuild -X --library libexpat.so.0
Configuring search environment for revdep-rebuild

Environment mismatch from previous run, deleting temporary files...

Checking reverse dependencies...

Packages containing binaries and libraries using libexpat.so.0
will be emerged.

Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)

Checking dynamic linking...
found /usr/bin/xgettext
done.
(/root/.revdep-rebuild_77938876.3_rebuild)

Assigning files to packages...
/usr/bin/xgettext -> sys-devel/gettext
done.
(/root/.revdep-rebuild_77938876.4_packages_raw, /root/.revdep-rebuild_77938876.4_package_owners)

Cleaning list of packages to rebuild... done.
(/root/.revdep-rebuild_77938876.4_packages)

Assigning packages to ebuilds... done.
(/root/.revdep-rebuild_77938876.4_ebuilds)

Evaluating package order... done.
(/root/.revdep-rebuild_77938876.5_order)

There are no dynamic links to libexpat.so.0... All done.


Emerge rdiff-backup:
Quote:

=== setfattr ===
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.39\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -mno-tls-direct-seg-refs -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.39\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o setfattr.o setfattr.c
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -o setfattr setfattr.o ../libattr/libattr.la ../libmisc/libmisc.la
mkdir .libs
i686-pc-linux-gnu-gcc -o .libs/setfattr setfattr.o ../libattr/.libs/libattr.so ../libmisc/.libs/libmisc.a
creating setfattr
=== examples ===
gmake[1]: Nothing to be done for `default'.
=== test ===
gmake[1]: Nothing to be done for `default'.
=== m4 ===
gmake[1]: Nothing to be done for `default'.
=== man ===
=== man1 ===
gmake[2]: Nothing to be done for `default'.
=== man2 ===
gmake[2]: Nothing to be done for `default'.
=== man3 ===
gmake[2]: Nothing to be done for `default'.
=== man5 ===
gmake[2]: Nothing to be done for `default'.
=== doc ===
/bin/gzip --best -c < CHANGES > CHANGES.gz
=== ea-conv ===
gmake[2]: Nothing to be done for `default'.
=== po ===
/usr/bin/xgettext --language=C --keyword=_ -o attr.pot ../attr/attr.c ../getfattr/getfattr.c ../setfattr/setfattr.c ../libattr/attr_copy_fd.c ../libattr/attr_copy_file.c
/usr/bin/xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
gmake[1]: *** [attr.pot] Error 127
make: *** [default] Error 2
*
* ERROR: sys-apps/attr-2.4.39 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2490: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/environment'.
*

* Messages for package sys-apps/attr-2.4.39:

*
* ERROR: sys-apps/attr-2.4.39 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2490: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/attr-2.4.39/temp/environment'.



A similar bug was already declared https://bugs.gentoo.org/show_bug.cgi?format=multiple&id=227401 but declared not a bug but no support was given to solve the problem.
_________________
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jul 28, 2008 2:06 am    Post subject: Reply with quote

If there is already a bug report, add your experience and problems to the report as well. If the devs see that there is more than one person with the problem, it tends to get a bit more interest. Eventually, most bugs die, either by fixes or version updates. The best way to help the exterminators is to let them know there are lots of infestations happening.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
vaguy02
Guru
Guru


Joined: 25 Feb 2005
Posts: 424
Location: Hopefully in one place

PostPosted: Mon Jul 28, 2008 2:42 am    Post subject: Reply with quote

Just in case anyone finds this thread with a similar problem. I was able to solve mine by doing:

Code:

USE="-nls" emerge -av gettext


This was able to install gettext correctly without the library error.

Then I was able to install rdiff-backup without issue.

Thanks.
_________________
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Jul 28, 2008 3:31 am    Post subject: Reply with quote

If you don't already have one, you should create a file called /etc/portage/package.use and add the line "app-dev/gettext -nls" (without quotes) so you don't run into the same problem the next time you attempt compilation.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum