ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] labplot-1.6.0.2
@ 2009-03-23  6:53 andriy
  2009-03-23  6:55 ` Хихин Руслан
  2009-03-23  7:43 ` Oleg Turkov
  0 siblings, 2 replies; 6+ messages in thread
From: andriy @ 2009-03-23  6:53 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 1975 bytes --]

Hi,community!
Есть новая версия LabPlot-1.6.0.2
В Альт3.0 была 1.5.0, мейнтейнером был Vitaly Lipatov и Михаил Шигорин.
Из исходников собирается, но rpm почему-то создать не могу.
Беру spec из предыдущих, немного правлю некоторые зависимости, но 
почему-то собрать не могу
ни с помощью простого rpmbb, ни с помощью hesher'а:
.......................................................(skiped).....................
../liborigin-20070926/OPJFile.cpp:2820: warning: ignoring return value 
of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute 
warn_unused_result
make[2]: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
make[1]: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
make[2]: *** [LabPlot] Error 1
make[1]: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2'


RPM build errors:
make: *** [all-recursive] Error 1
error: Bad exit status from /usr/src/tmp/rpm-tmp.48961 (%build)
    Bad exit status from /usr/src/tmp/rpm-tmp.48961 (%build)
Command exited with non-zero status 1
585.62user 71.48system 11:23.98elapsed 96%CPU (0avgtext+0avgdata 
0maxresident)k
0inputs+153440outputs (0major+22982455minor)pagefaults 0swaps
hsh-rebuild: rebuild of `labplot-1.6.0.2-alt7.src.rpm' failed.

!!!!!!! Hasher: FAILED FAILED FAILED !!!!!!!!!
Failed with labplot-1.6.0.2-alt7.src.rpm, built only

Command exited with non-zero status 1
624.36user 85.70system 27:16.67elapsed 43%CPU (0avgtext+0avgdata 
0maxresident)k
449872inputs+2061856outputs (435major+23972254minor)pagefaults 0swaps
понеділок, 23 березня 2009 02:10:49 +0200


Видимо не разобрался в документации.
Посоветуйте как собрать rpm?
Или это к мейнтейнерам?


[-- Attachment #2: labplot.spec --]
[-- Type: text/plain, Size: 4067 bytes --]

%define pre 2 
Name: labplot
Version: 1.6.0.2
Release: alt7

Summary: Function and Data Plotter
Summary(ru_RU.UTF-8): Построитель графиков по данным и функциям

Packager: Michael Shigorin <mike@altlinux.org>

Url: http://labplot.sourceforge.net
Group: Sciences/Other
License: GPL

Source: http://dl.sf.net/labplot/LabPlot-%version.tar.bz2
Source1: LabPlot-1.6.0.2.tar.bz2
#Source1: /usr/src/RPM/SOURCES/LabPlot-1.6.0.2.tar.bz2
#Source1: %name-%version.ru.po

# manually removed: boson gcc-g77 hostinfo libnetcdf-devel
# Automatically added by buildreq on Mon Dec 27 2004
BuildRequires: bzlib-devel fontconfig freetype2-devel gcc-c++ kde-settings kdelibs-devel libImageMagick-devel libarts-devel libaudiofile-devel libfftw3-devel libgsl-devel libjasper-devel libjpeg-devel liblcms-devel libpng-devel libqscintilla2-qt3-designer libqt3-devel libqt3-qsa-devel libqt3-settings libqwt-devel libstdc++-devel libtiff-devel pstoedit qt3-designer xml-utils xorg-x11-devel xorg-x11-libs zlib-devel

Requires: ImageMagick >= 5.4.7 gsl pstoedit

%description
This is a program for plotting of functions and data manipulation.

A versatile spreadsheet for data import and editing was added. Also a better
3 dimensional plot with rotation and colormaps is available.
Newly supported are data set operations and image manipulations. One can now 
import over 80 different images formats and export directly to ps, eps or pdf.
The plots now use double buffering and LabPlot supports scripting using
QSA.

%description -l ru_RU.UTF-8
Это программа для построения графиков функций и
обработки данных.

%prep
%setup -q -n LabPlot-%version
#cp -f %{SOURCE1} po/ru.po
%__subst "s/\.la/\.so/g" configure

%build
export QTDIR=%_libdir/qt3
export KDEDIR=%_libdir/kde3
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
%configure --disable-static	--disable-rpath \
	--enable-fftw3 --enable-gl --enable-audiofile --enable-jasper \
	--enable-gsl --enable-grass --enable-pstoedit --enable-qsa \
	--disable-cdf
# needed new packages:
#	--enable-cdf 

%make

%install
make DESTDIR="%buildroot" install

mkdir -p %buildroot%_menudir
cat >%buildroot%_menudir/%name <<EOF
?package(%name): command="LabPlot" \\
section="Applications/Sciences/Mathematics" \\
title="LabPlot" \\
longtitle="Function and Data Plotter" \\
genericname="Flowcharting and Diagramming" \\
icon="%name.png" \\
needs="x11"
EOF

%__install -D -m644 src/icons/lo32-app-LabPlot.png %buildroot%_iconsdir/%name.png
%__install -D -m644 src/icons/lo16-app-LabPlot.png %buildroot%_miconsdir/%name.png
%__install -D -m644 src/icons/hi48-app-LabPlot.png %buildroot%_liconsdir/%name.png

%find_lang LabPlot --with-kde

%post
%update_menus

%postun
%clean_menus

%files -f LabPlot.lang
%doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm doc/cephes.doc
%_bindir/*
/usr/share/applnk/Applications/*
/usr/share/mimelnk/application/x-lpl.desktop
/usr/share/apps/LabPlot
%_iconsdir/%{name}*
%_liconsdir/%{name}*
%_miconsdir/%{name}*
%_menudir/%name
%_mandir/man?/*

#/usr/share/icons/locolor/16x16/mimetypes/lpl.png
#/usr/share/icons/locolor/32x32/mimetypes/lpl.png
#/usr/share/icons/hicolor/48x48/mimetypes/lpl.png
#/usr/share/icons/hicolor/64x64/mimetypes/lpl.png
%_libdir/*.so.*

%changelog
* Sun Mar 22 2009 Michael Shigorin <mike@altlinux.org> 1.6.0.2-alt7
Build for brahch 5.0

* Thu Mar 23 2006 Michael Shigorin <mike@altlinux.org> 1.5.0-alt0.0.4.M30.1
- built for 3.0 on request from Turkov Oleg (errata)

* Tue Oct 04 2005 Vitaly Lipatov <lav@altlinux.ru> 1.5.0-alt0.4
- new version

* Mon Dec 27 2004 Vitaly Lipatov <lav@altlinux.ru> 1.4.0-alt1
- new version

* Mon Nov 08 2004 Vitaly Lipatov <lav@altlinux.ru> 1.3.1-alt1
- release

* Fri Sep 17 2004 ALT QA Team Robot <qa-robot@altlinux.org> 1.3.1-alt0.1pre2.1
- Rebuilt with libtiff.so.4.

* Sat Jul 31 2004 Vitaly Lipatov <lav@altlinux.ru> 1.3.1-alt0.1pre2
- new version
- add russian translation

* Sat Jun 19 2004 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt1
- first build for Sisyphus


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] labplot-1.6.0.2
  2009-03-23  6:53 [Comm] labplot-1.6.0.2 andriy
@ 2009-03-23  6:55 ` Хихин Руслан
  2009-03-23  7:42   ` andriy
  2009-03-23  7:43 ` Oleg Turkov
  1 sibling, 1 reply; 6+ messages in thread
From: Хихин Руслан @ 2009-03-23  6:55 UTC (permalink / raw)
  To: community

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 979 bytes --]

Здравствуйте andriy
  В сообщении от 23 марта 2009 andriy написал(a):
 > .......................................................(skipe
 >d).....................
 >
 > ../liborigin-20070926/OPJFile.cpp:2820: warning: ignoring
 > return value
 >
 > of 'size_t fread(void*, size_t, size_t, FILE*)', declared
 > with attribute
 >
 > warn_unused_result
 >
 > make[2]: Leaving directory
 > `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
 >
 > make[1]: Leaving directory
 > `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
 >
 > make[2]: *** [LabPlot] Error 1
 >
 > make[1]: *** [all-recursive] Error 1
 >
 > make: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2'

Самой ошибки-то и не видно в логах.

-- 
  А ещё говорят так  (fortune):
 
<stalker37_home> gvy: íåäàâíî ñåðâàê â ìîðãå í¯¿
í»¤åëàë 
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] labplot-1.6.0.2
  2009-03-23  7:42   ` andriy
@ 2009-03-23  7:40     ` Andrey Rahmatullin
  0 siblings, 0 replies; 6+ messages in thread
From: Andrey Rahmatullin @ 2009-03-23  7:40 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

On Mon, Mar 23, 2009 at 09:42:10AM +0200, andriy wrote:
> А что не так делаю тогда, как узнать?
Прочитать лог и найти там ошибку.
> Где hasher ведет логи по конкретной сборке?
Выдаёт в консоль.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

Нет реакции - нет проблемы.
		-- ldv in #12823

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] labplot-1.6.0.2
  2009-03-23  6:55 ` Хихин Руслан
@ 2009-03-23  7:42   ` andriy
  2009-03-23  7:40     ` Andrey Rahmatullin
  0 siblings, 1 reply; 6+ messages in thread
From: andriy @ 2009-03-23  7:42 UTC (permalink / raw)
  To: hihin, ALT Linux Community general discussions

Хихин Руслан написав(ла):
> Здравствуйте andriy
>   В сообщении от 23 марта 2009 andriy написал(a):
>  > .......................................................(skipe
>  >d).....................
>  >
>  > ../liborigin-20070926/OPJFile.cpp:2820: warning: ignoring
>  > return value
>  >
>  > of 'size_t fread(void*, size_t, size_t, FILE*)', declared
>  > with attribute
>  >
>  > warn_unused_result
>  >
>  > make[2]: Leaving directory
>  > `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
>  >
>  > make[1]: Leaving directory
>  > `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
>  >
>  > make[2]: *** [LabPlot] Error 1
>  >
>  > make[1]: *** [all-recursive] Error 1
>  >
>  > make: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2'
>
> Самой ошибки-то и не видно в логах.
>   
А что не так делаю тогда, как узнать?
Где hasher ведет логи по конкретной сборке?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] labplot-1.6.0.2
  2009-03-23  6:53 [Comm] labplot-1.6.0.2 andriy
  2009-03-23  6:55 ` Хихин Руслан
@ 2009-03-23  7:43 ` Oleg Turkov
  2009-03-23  8:19   ` andriy
  1 sibling, 1 reply; 6+ messages in thread
From: Oleg Turkov @ 2009-03-23  7:43 UTC (permalink / raw)
  To: ALT Linux Community general discussions

В сообщении от понеділок, 23-бер-2009 andriy написал(a):
> Hi,community!
> Есть новая версия LabPlot-1.6.0.2
> В Альт3.0 была 1.5.0, мейнтейнером был Vitaly Lipatov и Михаил Шигорин.
> Из исходников собирается, но rpm почему-то создать не могу.
> Беру spec из предыдущих, немного правлю некоторые зависимости, но
> почему-то собрать не могу

В сизифе есть LabPlot.



-- 
Turkov Oleg
turkov at univ.kiev.ua

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] labplot-1.6.0.2
  2009-03-23  7:43 ` Oleg Turkov
@ 2009-03-23  8:19   ` andriy
  0 siblings, 0 replies; 6+ messages in thread
From: andriy @ 2009-03-23  8:19 UTC (permalink / raw)
  To: turkov, ALT Linux Community general discussions

Oleg Turkov написав(ла):
> В сообщении от понеділок, 23-бер-2009 andriy написал(a):
>   
>> Hi,community!
>> Есть новая версия LabPlot-1.6.0.2
>> В Альт3.0 была 1.5.0, мейнтейнером был Vitaly Lipatov и Михаил Шигорин.
>> Из исходников собирается, но rpm почему-то создать не могу.
>> Беру spec из предыдущих, немного правлю некоторые зависимости, но
>> почему-то собрать не могу
>>     
>
> В сизифе есть LabPlot.
>
>   
Спасибо!

Хоть сам собирать не буду, но о hasher'е буду читать.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-23  8:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23  6:53 [Comm] labplot-1.6.0.2 andriy
2009-03-23  6:55 ` Хихин Руслан
2009-03-23  7:42   ` andriy
2009-03-23  7:40     ` Andrey Rahmatullin
2009-03-23  7:43 ` Oleg Turkov
2009-03-23  8:19   ` andriy

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git