[Backports] пересборка digitemp в master24

Motsyo Gennadi aka Drool =?iso-8859-1?q?motsyo_=CE=C1_gmail=2Ecom?=
Ср Май 30 13:01:05 MSD 2007


Serge пишет:
> В сообщении от Wednesday 30 May 2007 11:00:03 Motsyo Gennadi aka Drool 
> написал(а):
>> Serge пишет:
>>> Здравствуйте!
>> 	И Вам такого же!
>>
>>> пытаюсь пересобрать в hasher Master24 + updates
>>> digitemp-3.5.0-alt2.src.rpm
>>> в результате выдает такую ошибку
>> ...
>>
>>> Bytecompiling python modules in /usr/src/tmp/digitemp-buildroot
>>> using /usr/bin/python
>>> /usr/lib/rpm/brp-bytecompile_python: line 30: /usr/bin/python: No such
>>> file or directory
>>> error: Bad exit status from /usr/src/tmp/rpm-tmp.62676 (%install)
>>> RPM build errors:
>>>     Bad exit status from /usr/src/tmp/rpm-tmp.62676 (%install)
>>>
>>> что нужно подправить?
>> 	Нужно разобраться почему он не находит питон. Откуда брался src.rpm, и
>> покажите, если можно, какие у него сборочные зависимости.
> 
> пакет брался отсюда
> http://www.sisyphus.ru/srpm/digitemp/get
> Сам spec:
> cat digitemp.spec
> Name: digitemp
> Version: 3.5.0
> Release: alt2
> License: GPL
> Group: Monitoring
> Source: digitemp.tar
> URL: http://www.digitemp.com
> Packager: Denis Klimov <zver altlinux.ru>
> Summary: DigiTemp, a one-wire LAN temperature sensor reader
> BuildRequires: libusb-devel perl-DBI perl-GD2 perl-libnet rrd-perl perl-CGI


	Я не вижу здесь зависимости на python-devel... Может он и не нужен. Но 
я бы попробовал.
	Собирается в хашере или руками?
	В updates/backports нет готового пакета?

> 
> %description
> DigiTemp is a console application for reading Dallas Semiconductor 1-wire
> network temperature sensors. It supports the DS18S20, DS18B20, DS1822.
> This version requires a DS2490 USB to 1-wire adapter.
> 
> It includes perl scripts for logging using RRDB and MySQL, as well as a
> NetSaint/Nagios plugin and graph generating scripts using RRDB.
> 
> %package ds2490
> Summary: Digitemp for the DS2490 1-wire adapter
> Group: Monitoring
> %description ds2490
> Digitemp for the DS2490 1-wire adapter
> 
> %package ds9097
> Summary: Digitemp for the DS9097 1-wire adapter
> Group: Monitoring
> %description ds9097
> Digitemp for the DS9097 1-wire adapter
> 
> %package ds9097u
> Summary: Digitemp for the DS9097U 1-wire adapter
> Group: Monitoring
> %description ds9097u
> Digitemp for the DS9097U 1-wire adapter
> 
> %package doc
> Summary: Digitemp documentation
> Group: Documentation
> %description doc
> Digitemp documentation
> 
> %package utils
> Summary: Perl and python scripts for logging using RRDB and MySQL
> Group: Monitoring
> %description utils
> Perl and python scripts for logging using RRDB and MySQL
> 
> %package full
> Summary: All subpackages digitemp
> Group: Monitoring
> Requires: %name-ds2490 = %version-%release
> Requires: %name-ds9097 = %version-%release
> Requires: %name-ds9097u = %version-%release
> Requires: %name-doc = %version-%release
> Requires: %name-utils = %version-%release
> %description full
> Virtual package. It's digitemp subpackages:
> %name-ds2490
> %name-ds9097
> %name-ds9097u
> %name-doc
> %name-utils
> 
> %prep
> %setup -n %name
> 
> %build
> %make_build ds2490
> %make_build ds9097
> %make_build ds9097u
> 
> %install
> install -D -m 2755 digitemp_DS2490 %buildroot%_bindir/digitemp_DS2490
> install -D -m 2755 digitemp_DS9097 %buildroot%_bindir/digitemp_DS9097
> install -D -m 2755 digitemp_DS9097U %buildroot%_bindir/digitemp_DS9097U
> install -D -m 644 digitemp.1 %buildroot/%_man1dir/digitemp.1
> 
> install -D -d %buildroot%_datadir/%name
> cp -R perl %buildroot%_datadir/%name
> cp -R python2.3 %buildroot%_datadir/%name
> cp -R rrdb %buildroot%_datadir/%name
> 
> %files full
> 
> %files doc
> %doc COPYRIGHT COPYING FAQ README ChangeLog CREDITS TODO
> %_man1dir/*
> 
> %files ds2490
> %_bindir/digitemp_DS2490
> 
> %files ds9097
> %_bindir/digitemp_DS9097
> 
> %files ds9097u
> %_bindir/digitemp_DS9097U
> 
> %files utils
> %_datadir/%name
> 
> %changelog
> * Thu May 24 2007 Denis Klimov <zver altlinux.ru> 3.5.0-alt2
> - add %make_build
> - change %description for digitemp-full
> - %_datadir/%name/* change to %_datadir/%name
> 
> * Tue May 15 2007 Denis Klimov <zver altlinux.ru> 3.5.0-alt1
> - Initial build for Sisyphus
> 
> 
> _______________________________________________
> Backports mailing list
> Backports на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/backports




Подробная информация о списке рассылки backports