Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

[Howto] xdelta on AMD64

Have an x86-64 problem? Post here.
Locked
Advanced search
16 posts • Page 1 of 1
Author
Message
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

[Howto] xdelta on AMD64

  • Quote

Post by Giuly » Fri Apr 22, 2005 11:21 am

1) Download http://giuly.de/xdelta/xdelta-1.1.3.ebuild to /usr/portage/dev-util/xdelta/xdelta-1.1.3.ebuild
2) Download http://giuly.de/xdelta/xdelta-1.1.3.patch to /usr/portage/dev-util/xdelta/files
3) `ebuild /usr/portage/dev-util/xdelta/xdelta-1.1.3.ebuild digest`
4) `ACCEPT_KEYWORDS="~amd64" emerge xdelta`

Useful for Deltup
Last edited by Giuly on Fri Apr 22, 2005 6:43 pm, edited 3 times in total.
dunno
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Fri Apr 22, 2005 12:49 pm

Hmm, I tried it, but it doesn't seem to like your patch:

Code: Select all

gcc -march=athlon64 -O2 -pipe -fno-ident -Wall -Wl,-O1 -o .libs/xdelta xdmain.o getopt.o getopt1.o .libs/libxdelta.so -L/usr/lib64 -lglib ./libedsio/.libs/libedsio.so -lglib -L/usr/lib64 -lglib -lz -Wl,--rpath -Wl,/usr/lib32
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
xdmain.o(.text+0xbe3): In function `file_gunzip':
: undefined reference to `g_string_printf'
collect2: ld returned 1 exit status
make[2]: *** [xdelta] Error 1
make[2]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make: *** [all-recursive-am] Error 2
No-one's more important than the earthworm.
Top
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

  • Quote

Post by Giuly » Fri Apr 22, 2005 2:44 pm

try

Code: Select all

ln -s  /lib32/libc.so.6  /lib32/libc.so
ln -s  /emul/linux/x86/usr/lib/libglib-2.0.so.0  /emul/linux/x86/usr/lib/libglib.so
Last edited by Giuly on Fri Apr 22, 2005 2:55 pm, edited 2 times in total.
dunno
Top
Lucky B
Apprentice
Apprentice
User avatar
Posts: 235
Joined: Fri Apr 01, 2005 3:52 am
Location: Florida
Contact:
Contact Lucky B
Website

  • Quote

Post by Lucky B » Fri Apr 22, 2005 2:46 pm

why is it still trying to

Code: Select all

-L/usr/lib64 -L/usr/lib64
?


And please change the keyword to ~amd64.
Last edited by Lucky B on Fri Apr 22, 2005 3:02 pm, edited 2 times in total.
We are Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.
Top
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

  • Quote

Post by Giuly » Fri Apr 22, 2005 2:50 pm

I don't know, but they're skipped
--
edited to ~amd64
Last edited by Giuly on Fri Apr 22, 2005 3:03 pm, edited 1 time in total.
dunno
Top
Lucky B
Apprentice
Apprentice
User avatar
Posts: 235
Joined: Fri Apr 01, 2005 3:52 am
Location: Florida
Contact:
Contact Lucky B
Website

  • Quote

Post by Lucky B » Fri Apr 22, 2005 3:02 pm

One more thing, my xdelta works out of the box for amd64... Is there any reason I should use yours?
We are Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.
Top
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

  • Quote

Post by Giuly » Fri Apr 22, 2005 3:05 pm

It WORKS out of the box. But only with packages whose were built on amd64-machines, because of the integer-length.
to user the dynamic deltup server, you need to build it 32bit.
dunno
Top
Lucky B
Apprentice
Apprentice
User avatar
Posts: 235
Joined: Fri Apr 01, 2005 3:52 am
Location: Florida
Contact:
Contact Lucky B
Website

  • Quote

Post by Lucky B » Fri Apr 22, 2005 3:07 pm

but does it break compatibility with 64 bit binaries?
We are Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.
Top
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

  • Quote

Post by Giuly » Fri Apr 22, 2005 3:33 pm

it breaks compatibility with 64Bit-Deltas. My intention was using the dynamic-deltup-server with amd64.
dunno
Top
Lucky B
Apprentice
Apprentice
User avatar
Posts: 235
Joined: Fri Apr 01, 2005 3:52 am
Location: Florida
Contact:
Contact Lucky B
Website

  • Quote

Post by Lucky B » Fri Apr 22, 2005 3:39 pm

wouldn't it then be more useful to create a separate ebuild or better yet multilib this ebuild so that it creates xdelta64 and xdelta32 if they're not compatible?
We are Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.
Top
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

  • Quote

Post by Giuly » Fri Apr 22, 2005 3:52 pm

AMD64 isn't supported officialily, so there is no need to build up a 64bit-edition.
dunno
Top
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

  • Quote

Post by Giuly » Fri May 06, 2005 11:36 am

Updated, have a look at http://giuly.de/xdelta
dunno
Top
prymitive
Apprentice
Apprentice
Posts: 260
Joined: Sun Jun 13, 2004 2:37 pm

  • Quote

Post by prymitive » Fri May 06, 2005 12:55 pm

Maedhros wrote:Hmm, I tried it, but it doesn't seem to like your patch:

Code: Select all

gcc -march=athlon64 -O2 -pipe -fno-ident -Wall -Wl,-O1 -o .libs/xdelta xdmain.o getopt.o getopt1.o .libs/libxdelta.so -L/usr/lib64 -lglib ./libedsio/.libs/libedsio.so -lglib -L/usr/lib64 -lglib -lz -Wl,--rpath -Wl,/usr/lib32
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
xdmain.o(.text+0xbe3): In function `file_gunzip':
: undefined reference to `g_string_printf'
collect2: ld returned 1 exit status
make[2]: *** [xdelta] Error 1
make[2]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xdelta-1.1.3/work/xdelta-1.1.3'
make: *** [all-recursive-am] Error 2
I tried to build it with -m32 but I got some errors so I did a little ebuild that installs binary version

Code: Select all

# Copyright 1999-2005 Gentoo Foundation 
# Distributed under the terms of the GNU General Public License v2 
# $Header: /var/cvsroot/gentoo-x86/dev-util/xdelta/xdelta-1.1.3.ebuild,v 1.16 2005/04/27 16:46:50 corsair Exp $ 

inherit rpm eutils 

DESCRIPTION="Computes changes between binary or text files and creates deltas" 
SRC_URI="ftp://fr2.rpmfind.net/linux/PLD/dists/ra/PLD/i686/PLD/RPMS/xdelta-1.1.3-2.i686.rpm" 
HOMEPAGE="http://xdelta.sourceforge.net" 

SLOT="0" 
LICENSE="GPL-2" 
KEYWORDS="~amd64" 
IUSE="" 

DEPEND="=dev-libs/glib-1.2* 
   >=sys-libs/zlib-1.1.4" 

RESTRICT="nostrip nomirror" 

inherit eutils rpm 

src_compile() { :; } 

src_install() { 
   cd "${WORKDIR}" 

   insinto /usr/share/doc 
   doins -r ./usr/share/doc/xdelta-1.1.3 

   insinto /usr/share/man 
   doins -r ./usr/share/man/man1 

   dodir /usr/lib 
   insinto /usr/lib32 
   doins ./usr/lib/* 

   dobin ./usr/bin/xdelta 
}
Top
Giuly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Wed May 21, 2003 10:39 am
Location: Bremen - Germany
Contact:
Contact Giuly
Website

  • Quote

Post by Giuly » Tue May 10, 2005 2:12 pm

prymitive, i've fixed that already. Have a look at http://giuly.de/xdelta
And a little information: the dynamic deltup server switched to bdelta, which is full 64bit-compatible. :)
dunno
Top
prymitive
Apprentice
Apprentice
Posts: 260
Joined: Sun Jun 13, 2004 2:37 pm

  • Quote

Post by prymitive » Tue May 10, 2005 3:27 pm

Giuly wrote:prymitive, i've fixed that already. Have a look at http://giuly.de/xdelta
And a little information: the dynamic deltup server switched to bdelta, which is full 64bit-compatible. :)
Yep, I saw that there is 0.7 this morning, I will give it a shot later.
Top
PovMan
Guru
Guru
User avatar
Posts: 375
Joined: Mon Sep 30, 2002 12:26 pm
Location: Australia

  • Quote

Post by PovMan » Wed Nov 09, 2005 10:26 am

There is still a problem with the xdelta in portage, where can i get this patch from? (your page is down)
I am SPAM, hear me roar.
Before posting your own topic, try to answer at least one unanswered one.
Top
Locked

16 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy