Skip to contentSkip to conversation

Problems rebuilding the DENX ELDK

DISCUSSION Steven Scholz 2 participants 5 messages Jul 24, 2003

lore
Share & tools
lore
#0 lore raw

Hi there,

I am trying to rebuild the great DENX's ELDK from scratch. My host is a SuSE 8.2 system.
The first obstacle is that some packages won't build with recent automake/autoconf version. So I got some old versions built and installed them on my system.

Now the first step - build the RPM - works. I do get a rpm binary in /opt/eldk/build/ppc-2003-07-23/work/bin

But the next step - build the target RPM from eldt - fails:

The log shows:

+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var '--infodir=${prefix}/share/info' '--mandir=${prefix}/share/man' --enable-shared=no --enable-static=yes --with-target-arch=ppc
creating cache ./config.cache
...
Finding Provides: (using /opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: /bin/sh /bin/sh rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Conflicts: patch < 2.5
Processing files: rpm-devel-4.0.3-1.03b_3
Executing(%doc): /bin/sh -e /opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-tmp.42006
+ umask 022
+ cd /opt/eldk/build/ppc-2003-07-23/work/usr/src/denx/BUILD
+ cd rpm-4.0.3
+ DOCDIR=/opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ export DOCDIR
+ rm -rf /opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ /bin/mkdir -p /opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ cp -pr apidocs /opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-root/usr/share/doc/rpm-devel-4.0.3
+ exit 0
Finding Provides: (using /opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: rpm = 4.0.3
Processing files: rpm-build-4.0.3-1.03b_3
Finding Provides: (using /opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: rpm = 4.0.3
Processing files: popt-1.6.3-1.03b_3
Finding Provides: (using /opt/eldk/build/ppc-2003-07-23/work/usr/lib/rpm/find-provides)...
PreReq: rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
error: /opt/eldk/build/ppc-2003-07-23/work/var/tmp/rpm-tmp.62141:
Fseek failed: Invalid argument

????

I am confused! 3.0.4 is the version of rpm that comes with SuSE 8.2. But I thought ELDK builds the rpm with "--enable-static=yes". So why is he asking for "rpmlib(CompressedFileNames) <= 3.0.4-1" ???

Thanks a million!

Steven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Dear Steven,

Quoted 9 lines · in message <[email protected]> you wrote:

I am trying to rebuild the great DENX's ELDK from scratch. My host is a SuSE 8.2 system.
The first obstacle is that some packages won't build with recent automake/autoconf version. So I got some old versions built and installed them on my system.

Now the first step - build the RPM - works. I do get a rpm binary in /opt/eldk/build/ppc-2003-07-23/work/bin

Just a note: if this is not really urgent, you might just want to wait a bit. We're working on the next release of the ELDK, which will be based on YD-3.0, which contains rpm-4.1

I guess we will have to validate this release with a SuSE system, too.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Anyone can count the seeds in an apple.
No one can count the apples in a seed.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

Dear Wolfgang,

Quoted 14 lines

Dear Steven,

Quoted 8 lines · in message <[email protected]> you wrote:

I am trying to rebuild the great DENX's ELDK from scratch. My host is a SuSE 8.2 system.
The first obstacle is that some packages won't build with recent automake/autoconf version. So I got some old versions built and installed them on my system.

Now the first step - build the RPM - works. I do get a rpm binary in /opt/eldk/build/ppc-2003-07-23/work/bin

Quoted 6 lines

Just a note: if this is not really urgent, you might just want to wait a bit. We're working on the next release of the ELDK, which will be based on YD-3.0, which contains rpm-4.1

I guess we will have to validate this release with a SuSE system, too.

Jippieh!!!

I test! I test! :o)

I made it once to rebuild the ELDK under a modified SuSE 8.0. But I can't do it again. I just can't remember what I did. But as long as I am not able to rebuild it I can't update my build host to a more recent SuSE version... :-(

So I think I can wait (how long?). But any idea about my original question?
I'd love to understand this whole automake/autoconf/rpm stuff? I suppose the times of handwriten/optimized Makefiles are gone... Forever... ;-)

Thanks,

Steven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw

Dear Steven,

Quoted 3 lines · in message <[email protected]> you wrote:

I made it once to rebuild the ELDK under a modified SuSE 8.0. But I can't do it again. I just can't remember what I did. But as long as I

I still have the description you sent me back then. Shall I forward it to you? :-)

Quoted 2 lines

So I think I can wait (how long?). But any idea about my original question?

I think we will have an initial test version before the end of next week. I can keep you posted, if you like.

As for your question: I don't know. And I don't have a SuSE system here (yet), so I cannot test it myself.

Quoted 1 line

I'd love to understand this whole automake/autoconf/rpm stuff?

Me too. Ummm... Actually I don't want, but I'm afraid I must ;-)

Quoted 2 lines

I suppose the times of handwriten/optimized Makefiles are gone... Forever... ;-)

Nope. There is a niche for everyhting :-)

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] One does not thank logic.

	-- Sarek, "Journey to Babel", stardate 3842.4

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw

Dear Wolfgang,

Quoted 5 lines
Quoted 2 lines

I made it once to rebuild the ELDK under a modified SuSE 8.0. But I can't do it again. I just can't remember what I did. But as long as I

I still have the description you sent me back then. Shall I forward it to you? :-)

:o) Then it should be in my Sent-Mail folder... I'll have a look.

Quoted 2 lines

I think we will have an initial test version before the end of next week. I can keep you posted, if you like.

Yes. Please.

Thanks,

Steven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/