[ATrpms-users] Fedora-ized version of 915resolution
Philip Prindeville
philipp_subx at redfish-solutions.com
Tue Jul 11 18:43:46 CEST 2006
Axel Thimm wrote:
> On Mon, Jul 10, 2006 at 11:36:28AM -0600, Philip Prindeville wrote:
>
>> Until the modesetting version of the i810 drivers come out in Xorg 7.1
>> ... people are going to continue to struggle with the broken video BIOS
>> that many laptop manufacturers release.
>>
>> Would it make sense to put:
>>
>> ftp://ftp.redfish-solutions.com/pub/915resolution-0.5.2-3.src.rpm
>>
>> onto ATrpms?
>>
>
> Why not. But I tried building it, and it fails with
>
> + install -c -p 915resolution /var/tmp/915resolution-0.5.2-root/usr/sbin
> + install -c -p rc.915resolution /var/tmp/915resolution-0.5.2-root/etc/rc.d/init.d/915resolution
> install: cannot stat `rc.915resolution': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.2920 (%install)
>
What are the contents of the ../BUILD/915resolution-0.5.2/ directory?
I just tried on a virgin machine (well, slightly used... ;-) and saw:
[root at platinum SPECS]# rpm -vv -i ftp://ftp.redfish-solutions.com/pub/915resolution-0.5.2-3.src.rpm
Retrieving ftp://ftp.redfish-solutions.com/pub/915resolution-0.5.2-3.src.rpm
D: ... as /var/tmp/rpm-xfer.2wBenB
D: logging into ftp.redfish-solutions.com as ftp, pw (username)
D: ============== /var/tmp/rpm-xfer.2wBenB
D: Expected size: 12102 = lead(96)+sigs(180)+pad(4)+data(11822)
D: Actual size: 12102
D: /var/tmp/rpm-xfer.2wBenB: Header SHA1 digest: OK (226eab0bdd77a70e2245e95b6c9e41a8d3cee6d6)
D: added source package [0]
D: found 1 source and 0 binary packages
D: Expected size: 12102 = lead(96)+sigs(180)+pad(4)+data(11822)
D: Actual size: 12102
D: InstallSourcePackage: Header SHA1 digest: OK (226eab0bdd77a70e2245e95b6c9e41a8d3cee6d6)
915resolution-0.5.2-3
D: ========== Directories not explicitly included in package:
D: 0 /usr/src/redhat/SOURCES/
D: 1 /usr/src/redhat/SPECS/
D: ==========
D: fini 100600 1 ( 0, 0) 1729 /usr/src/redhat/SPECS/915resolution-0.5.2-3.spec;44b3d41f
D: fini 100664 1 ( 500, 500) 8936 /usr/src/redhat/SOURCES/915resolution-0.5.2.tar.gz;44b3d41f
GZDIO: 2 reads, 11072 total bytes in 0.000193 secs
D: May free Score board((nil))
[root at platinum SPECS]# rpmbuild -bb -v 915resolution-0.5.2-3.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77254
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf 915resolution-0.5.2
+ /bin/gzip -dc /usr/src/redhat/SOURCES/915resolution-0.5.2.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd 915resolution-0.5.2
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -f 915resolution 915resolution.o
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.77254
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd 915resolution-0.5.2
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make
cc -s -Wall -ggdb -c -o 915resolution.o 915resolution.c
cc 915resolution.o -o 915resolution
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.77254
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd 915resolution-0.5.2
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /var/tmp/915resolution-0.5.2
+ mkdir -p /var/tmp/915resolution-0.5.2/usr/sbin
+ mkdir -p /var/tmp/915resolution-0.5.2/etc/rc.d/init.d
+ mkdir -p /var/tmp/915resolution-0.5.2/etc/sysconfig
+ install -c -p 915resolution /var/tmp/915resolution-0.5.2/usr/sbin
+ install -c -p rc.915resolution /var/tmp/915resolution-0.5.2/etc/rc.d/init.d/915resolution
+ install -c -p sysconfig.915resolution /var/tmp/915resolution-0.5.2/etc/sysconfig/915resolution
+ /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/915resolution-0.5.2
extracting debug info from /var/tmp/915resolution-0.5.2/usr/sbin/915resolution
47 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
Processing files: 915resolution-0.5.2-3
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.77254
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd 915resolution-0.5.2
+ DOCDIR=/var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ export DOCDIR
+ rm -rf /var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ /bin/mkdir -p /var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ cp -pr changes.log /var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ cp -pr chipset_info.txt /var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ cp -pr LICENSE.txt /var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ cp -pr README.txt /var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ cp -pr dump_bios /var/tmp/915resolution-0.5.2/usr/share/doc/915resolution-0.5.2
+ exit 0
Provides: config(915resolution) = 0.5.2-3
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: /bin/bash /bin/sh config(915resolution) = 0.5.2-3 libc.so.6 libc.so.6(GLIBC_2.0)
Processing files: 915resolution-debuginfo-0.5.2-3
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/915resolution-0.5.2
Wrote: /usr/src/redhat/RPMS/i386/915resolution-0.5.2-3.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/915resolution-debuginfo-0.5.2-3.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.77254
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd 915resolution-0.5.2
+ rm -rf /var/tmp/915resolution-0.5.2
+ exit 0
[root at platinum SPECS]# gunzip -c ../SOURCES/915resolution-0.5.2.tar.gz | tar tvf -
drwxr-xr-x philipp/philipp 0 2006-07-11 10:28 915resolution-0.5.2/
-rwxr-xr-x philipp/philipp 65 2006-02-02 07:01 915resolution-0.5.2/dump_bios
-rw-rw-r-- philipp/philipp 1729 2006-07-10 10:45 915resolution-0.5.2/915resolution-0.5.2-3.spec
-rw-r--r-- philipp/philipp 208 2006-06-22 11:41 915resolution-0.5.2/Makefile
-rw-r--r-- philipp/philipp 23577 2006-02-02 07:28 915resolution-0.5.2/915resolution.c
-rw-r--r-- philipp/philipp 497 2006-02-02 07:01 915resolution-0.5.2/chipset_info.txt
-rw-r--r-- philipp/philipp 244 2006-02-02 07:18 915resolution-0.5.2/changes.log
-rw-rw-r-- philipp/philipp 998 2006-07-11 10:28 915resolution-0.5.2/rc.915resolution
-rw-r--r-- philipp/philipp 5441 2006-02-02 07:35 915resolution-0.5.2/README.txt
-rw-r--r-- philipp/philipp 946 2006-02-02 07:01 915resolution-0.5.2/LICENSE.txt
-rw-rw-r-- philipp/philipp 261 2006-07-10 11:11 915resolution-0.5.2/sysconfig.915resolution
[root at platinum SPECS]# rpm -q --filesbypkg -p ../RPMS/i386/915resolution-0.5.2-3.i386.rpm
915resolution /etc/rc.d/init.d/915resolution
915resolution /etc/sysconfig/915resolution
915resolution /usr/sbin/915resolution
915resolution /usr/share/doc/915resolution-0.5.2
915resolution /usr/share/doc/915resolution-0.5.2/LICENSE.txt
915resolution /usr/share/doc/915resolution-0.5.2/README.txt
915resolution /usr/share/doc/915resolution-0.5.2/changes.log
915resolution /usr/share/doc/915resolution-0.5.2/chipset_info.txt
915resolution /usr/share/doc/915resolution-0.5.2/dump_bios
[root at platinum SPECS]#
Can you try again?
>> I've asked the author to pick up the changes, but never heard back. Sigh.
>>
>
> Which changes?
>
Adding the .spec file, the rc.d file, and the /etc/sysconfig file...
I've made no
changes to the source itself... though it could certainly stand it.
BTW: I was wondering if I should flag the .spec file as .i386 (.i586,
.i686)
architecture only... so that .x86_64 binaries don't get built.
-Philip
More information about the atrpms-users
mailing list