PaulHowarth/Blog/2009-08-05

Wednesday 5th August 2009

Local Packages

  • Updated gtkwave to 3.2.2

Fedora Project

  • Tried updating gtkwave to 3.2.2 in Rawhide but the PPC build failed with an internal compiler error:

  • ./fst/fstapi.c: In function 'fstReaderInit':
    ./fst/fstapi.c:2668: internal compiler error: in memory_address, at explow.c:493
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://bugzilla.redhat.com/bugzilla> for instructions.
  • (same problem with F-11 compiler but F-10 is OK), so I raised Bug #515672 about it

Wiki

Made a start on updating SunJava6OnFedora to go from update 7 to update 15, which brings in the long-awaited browser plugin for x86_64 systems (well, since update 12 actually). Anyway, when it came to building the x86_32 version of the package-in-progress, it soon fell over:

$ setarch i386 rpmbuild --rebuild java-1.6.0-sun-1.6.0.15-1.0.cf.nosrc.rpm
Installing java-1.6.0-sun-1.6.0.15-1.0.cf.nosrc.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NVE81s
+ umask 022
+ cd /home/paul/BUILD/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/paul/BUILD/BUILD/jdk1.6.0_15
+ export MORE=10000
+ MORE=10000
+ sh /home/paul/BUILD/SOURCES/java-1.6.0-sun/jdk-6u15-linux-i586.bin
/home/paul/BUILD/SOURCES/java-1.6.0-sun/jdk-6u15-linux-i586.bin: ./install.sfx.17553: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.NVE81s (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.NVE81s (%prep)

My Fedora 11 development box is a "pure" x86_64 system, so I had to install the 32-bit version of glibc to get past this:

# rpm -q glibc
glibc-2.10.1-2.x86_64
# yum install glibc.i586
Loaded plugins: refresh-packagekit
updates-local                                                                     | 2.3 kB     00:00     
city-fan.org                                                                      | 2.3 kB     00:00     
city-fan.org/primary_db                                                           | 192 kB     00:00     
poptop-stable                                                                     | 2.3 kB     00:00     
pptp-stable                                                                       | 2.3 kB     00:00     
rpmfusion-free-updates                                                            | 3.8 kB     00:00     
rpmfusion-nonfree-updates                                                         | 3.8 kB     00:00     
updates/metalink                                                                  |  15 kB     00:01     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i586 0:2.10.1-2 set to be updated
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.10.1-2.i586
--> Processing Dependency: libfreebl3.so for package: glibc-2.10.1-2.i586
--> Running transaction check
---> Package nss-softokn-freebl.i586 0:3.12.3.99.3-2.11.3.fc11 set to be updated
--> Finished Dependency Resolution  

Dependencies Resolved

=========================================================================================================
 Package                     Arch          Version                          Repository              Size
=========================================================================================================
Installing:
 glibc                       i586          2.10.1-2                         fedora-local           4.9 M
Installing for dependencies:
 nss-softokn-freebl          i586          3.12.3.99.3-2.11.3.fc11          updates-local          136 k

Transaction Summary
=========================================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 5.0 M
Is this ok [y/N]: y
Downloading Packages:
---------------------------------------------------------------------------------------------------------
Total                                                                     14 MB/s | 5.0 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : glibc-2.10.1-2.i586                                                               1/2 
  Installing     : nss-softokn-freebl-3.12.3.99.3-2.11.3.fc11.i586                                   2/2 

Installed:
  glibc.i586 0:2.10.1-2

Dependency Installed:
  nss-softokn-freebl.i586 0:3.12.3.99.3-2.11.3.fc11

Complete!
#

The build then ran successfully...

$ setarch i386 rpmbuild --rebuild java-1.6.0-sun-1.6.0.15-1.0.cf.nosrc.rpm
Installing java-1.6.0-sun-1.6.0.15-1.0.cf.nosrc.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pG3HJM
+ umask 022
+ cd /home/paul/BUILD/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/paul/BUILD/BUILD/jdk1.6.0_15
+ export MORE=10000
+ MORE=10000
+ sh /home/paul/BUILD/SOURCES/java-1.6.0-sun/jdk-6u15-linux-i586.bin
+ cd /home/paul/BUILD/BUILD
+ cd jdk1.6.0_15
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
...


Recent