ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] libmikmod-config
@ 2007-09-29 11:07 Alexey Tourbin
  2007-09-29 11:21 ` Alexey Tourbin
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Tourbin @ 2007-09-29 11:07 UTC (permalink / raw)
  To: devel

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

Сравнение логов выявляет ошибки, которые не являются специфическими
для rpm-build.  Всё это говорит о том, что простая пересборка не
является достаточно надёжным инструментом для выявления регрессий.

Убежден, что к президентским выборам 2008 года у нас должна появиться
новая автоматическая система регрессионного тестирования на основе
сборки из gear (giter-factory + что-то).  Или чуть позже.

>  bb-1.3-alt0.2	Requires	libm.so.6(GLIBC_2.0)
> -bb-1.3-alt0.2	Requires	libmikmod.so.2
>  bb-1.3-alt0.2	Requires	rtld(GNU_HASH)

Preparing packages for installation...
...
libmikmod-3.1.11-alt0.3
libmikmod-devel-3.1.11-alt0.3
...
checking for libmikmod-config... /usr/bin/libmikmod-config
checking for libmikmod - version >= 3.0.0... no
*** Could not run libmikmod test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means libmikmod was incorrectly installed
*** or that you have moved libmikmod since it was installed. In the latter case, you
*** may want to edit the libmikmod-config script: /usr/bin/libmikmod-config
Libmikmod is missing - sound support will be disabled

>  libSDL_sound-1.0.1-alt2	Requires	libm.so.6(GLIBC_2.0)
> -libSDL_sound-1.0.1-alt2	Requires	libmikmod.so.2
>  libSDL_sound-1.0.1-alt2	Requires	libphysfs-1.0.so.1

Preparing packages for installation...
...
libmikmod-3.1.11-alt0.3
libmikmod-devel-3.1.11-alt0.3
...
checking for libmikmod-config... /usr/bin/libmikmod-config
checking for libmikmod - version >= 3.1.5... no
*** Could not run libmikmod test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means libmikmod was incorrectly installed
*** or that you have moved libmikmod since it was installed. In the latter case, you
*** may want to edit the libmikmod-config script: /usr/bin/libmikmod-config

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

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

* Re: [devel] libmikmod-config
  2007-09-29 11:07 [devel] libmikmod-config Alexey Tourbin
@ 2007-09-29 11:21 ` Alexey Tourbin
  2007-09-29 12:05   ` Alexey Tourbin
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexey Tourbin @ 2007-09-29 11:21 UTC (permalink / raw)
  To: devel

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

On Sat, Sep 29, 2007 at 03:07:19PM +0400, Alexey Tourbin wrote:
> >  libSDL_sound-1.0.1-alt2	Requires	libm.so.6(GLIBC_2.0)
> > -libSDL_sound-1.0.1-alt2	Requires	libmikmod.so.2
> >  libSDL_sound-1.0.1-alt2	Requires	libphysfs-1.0.so.1
> 
> Preparing packages for installation...
> ...
> libmikmod-3.1.11-alt0.3
> libmikmod-devel-3.1.11-alt0.3
> ...
> checking for libmikmod-config... /usr/bin/libmikmod-config
> checking for libmikmod - version >= 3.1.5... no
> *** Could not run libmikmod test program, checking why...
> *** The test program failed to compile or link. See the file config.log for the
> *** exact error that occured. This usually means libmikmod was incorrectly installed
> *** or that you have moved libmikmod since it was installed. In the latter case, you
> *** may want to edit the libmikmod-config script: /usr/bin/libmikmod-config

config.log:

configure:7603: checking for libmikmod - version >= 3.1.5
configure:7728: x86_64-alt-linux-gcc -o conftest -pipe -Wall -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -D_REENTRANT -pthread   conftest.c -L/usr/lib -lmikmod -ldl -lm -laudiofile -lm  -lSDL -lpthread >&5
configure: In function 'my_strdup':
configure:7646: warning: implicit declaration of function 'strlen'
configure:7646: warning: incompatible implicit declaration of built-in function 'strlen'
configure:7647: warning: implicit declaration of function 'strcpy'
configure:7647: warning: incompatible implicit declaration of built-in function 'strcpy'
configure: In function 'main':
configure:7693: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
configure:7693: warning: format '%d' expects type 'int', but argument 4 has type 'long int'
configure:7693: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
configure:7660: warning: ignoring return value of 'system', declared with attribute warn_unused_result
/usr/bin/ld: cannot find -laudiofile
collect2: ld returned 1 exit status
configure:7731: $? = 1

Вообще-то при таком раскладе у пакета libmikmod-devel должна
быть зависимость на libaudiofile-devel.

Я реалзиовал подобный поиск зависимостей на библиотеки для *.pc
файлов.  Но здесь используется libmikmod-config, а libmikmod.pc
в пакете нету и он не используется.

Не знаю, стоит ли реализовать поиск зависимостей для /usr/bin/*-config
файлов.  В общем-то этот способ отживает и уступает место pkg-config.

--- libmikmod-devel-3.1.11-alt0.2.i586.rpm/usr/bin/libmikmod-config     2006-06-21 01:37:16 +0000
+++ libmikmod-devel-3.1.11-alt0.3.i586.rpm/usr/bin/libmikmod-config     2007-09-17 10:43:31 +0000
@@ -50,7 +50,7 @@ while test $# -gt 0 ; do
        ;;
        --libs)
                libdir=
-               echo $libdir -lmikmod  -ldl   -lm 
+               echo $libdir -lmikmod  -ldl   -lm  -laudiofile -lm 
        ;;
        *)
                echo "${usage}" 1>&2

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

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

* Re: [devel] libmikmod-config
  2007-09-29 11:21 ` Alexey Tourbin
@ 2007-09-29 12:05   ` Alexey Tourbin
  2007-09-29 14:52   ` Pavlov Konstantin
  2007-10-01  5:48   ` Slava Semushin
  2 siblings, 0 replies; 5+ messages in thread
From: Alexey Tourbin @ 2007-09-29 12:05 UTC (permalink / raw)
  To: devel

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

On Sat, Sep 29, 2007 at 03:21:01PM +0400, Alexey Tourbin wrote:
> Вообще-то при таком раскладе у пакета libmikmod-devel должна
> быть зависимость на libaudiofile-devel.
> 
> Я реалзиовал подобный поиск зависимостей на библиотеки для *.pc
> файлов.  Но здесь используется libmikmod-config, а libmikmod.pc
> в пакете нету и он не используется.
> 
> Не знаю, стоит ли реализовать поиск зависимостей для /usr/bin/*-config
> файлов.  В общем-то этот способ отживает и уступает место pkg-config.

Я склоняюсь к тому, что зависимости на библиотеки нельзя извлечь из
/usr/bin/*-config файлов достаточно надёжно, с учетом того, что при
сборке они находятся в билдруте.

lrwxrwxrwx 1 root root 41 Dec 23  2006 /usr/bin/wx-config -> ../lib/wx/config/gtk2-unicode-release-2.6
   914      if ! is_installed && [ -x "$_util" ]; then
   915          is_static || _preload="eval LD_LIBRARY_PATH=$exec_prefix/lib"
   916          echo $_preload $_util
   917          exit
   918      fi

и т.п.

> --- libmikmod-devel-3.1.11-alt0.2.i586.rpm/usr/bin/libmikmod-config     2006-06-21 01:37:16 +0000
> +++ libmikmod-devel-3.1.11-alt0.3.i586.rpm/usr/bin/libmikmod-config     2007-09-17 10:43:31 +0000
> @@ -50,7 +50,7 @@ while test $# -gt 0 ; do
>         ;;
>         --libs)
>                 libdir=
> -               echo $libdir -lmikmod  -ldl   -lm 
> +               echo $libdir -lmikmod  -ldl   -lm  -laudiofile -lm 
>         ;;
>         *)
>                 echo "${usage}" 1>&2

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

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

* Re: [devel] libmikmod-config
  2007-09-29 11:21 ` Alexey Tourbin
  2007-09-29 12:05   ` Alexey Tourbin
@ 2007-09-29 14:52   ` Pavlov Konstantin
  2007-10-01  5:48   ` Slava Semushin
  2 siblings, 0 replies; 5+ messages in thread
From: Pavlov Konstantin @ 2007-09-29 14:52 UTC (permalink / raw)
  To: devel

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

On Sat, Sep 29, 2007 at 03:21:01PM +0400, Alexey Tourbin wrote:
> Я реалзиовал подобный поиск зависимостей на библиотеки для *.pc
> файлов.  Но здесь используется libmikmod-config, а libmikmod.pc
> в пакете нету и он не используется.
> 
> Не знаю, стоит ли реализовать поиск зависимостей для /usr/bin/*-config
> файлов.  В общем-то этот способ отживает и уступает место pkg-config.

Мне кажется, не стоит. Отсутствие в пакете .pc-файла -- есть прямая бага
upstream'у библиотеки.

-- 
> Естественно Master'ом это называть нельзя.
Master'ом можно назвать что угодно, было бы желание.
		-- ldv in devel@

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

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

* Re: [devel] libmikmod-config
  2007-09-29 11:21 ` Alexey Tourbin
  2007-09-29 12:05   ` Alexey Tourbin
  2007-09-29 14:52   ` Pavlov Konstantin
@ 2007-10-01  5:48   ` Slava Semushin
  2 siblings, 0 replies; 5+ messages in thread
From: Slava Semushin @ 2007-10-01  5:48 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2007/9/29, Alexey Tourbin <at / altlinux.ru>:
[...]
> --- libmikmod-devel-3.1.11-alt0.2.i586.rpm/usr/bin/libmikmod-config     2006-06-21 01:37:16 +0000
> +++ libmikmod-devel-3.1.11-alt0.3.i586.rpm/usr/bin/libmikmod-config     2007-09-17 10:43:31 +0000
> @@ -50,7 +50,7 @@ while test $# -gt 0 ; do
>         ;;
>         --libs)
>                 libdir=
> -               echo $libdir -lmikmod  -ldl   -lm
> +               echo $libdir -lmikmod  -ldl   -lm  -laudiofile -lm
[...]

Думаю, что одного -lm будет достаточно.


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

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

end of thread, other threads:[~2007-10-01  5:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-29 11:07 [devel] libmikmod-config Alexey Tourbin
2007-09-29 11:21 ` Alexey Tourbin
2007-09-29 12:05   ` Alexey Tourbin
2007-09-29 14:52   ` Pavlov Konstantin
2007-10-01  5:48   ` Slava Semushin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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