ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Ошибка в rpm-build
@ 2003-10-19 14:47 Alexey Borovskoy
  2003-10-20  7:30 ` Alexey I. Froloff
  2003-10-20  9:15 ` Dmitry V. Levin
  0 siblings, 2 replies; 6+ messages in thread
From: Alexey Borovskoy @ 2003-10-19 14:47 UTC (permalink / raw)
  To: sisyphus

Добрый день.

Исходные данные:
$ rpm -qa|grep rpm
rpm-4.0.4-alt26
rpm-build-perl-0.1-alt4
librpm-4.0.4-alt26
rpm-utils-0.7.3-alt1
rpm-build-4.0.4-alt26

Если с помощью %setup распаковывать zip-архив, то для распаковки 
запускается /usr/bin/unzip с ключем -L. Что при распаковке 
приводит все имена к lowercase.

От такого безобразия сносит крышу javac и ant, которые очень 
чуствительны к регистру символов в именах файлов.

Где у rpm-build покрутить нужную гайку я не нашел.

-- 
Алексей.



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

* Re: [sisyphus] Ошибка в rpm-build
  2003-10-19 14:47 [sisyphus] Ошибка в rpm-build Alexey Borovskoy
@ 2003-10-20  7:30 ` Alexey I. Froloff
  2003-10-20  9:15 ` Dmitry V. Levin
  1 sibling, 0 replies; 6+ messages in thread
From: Alexey I. Froloff @ 2003-10-20  7:30 UTC (permalink / raw)
  To: sisyphus

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

* Alexey Borovskoy <alexey_borovskoy@mail.ru> [031020 11:29]:
> Если с помощью %setup распаковывать zip-архив, то для распаковки 
> запускается /usr/bin/unzip с ключем -L. Что при распаковке 
> приводит все имена к lowercase.

> От такого безобразия сносит крышу javac и ant, которые очень 
> чуствительны к регистру символов в именах файлов.
Та же фигня с simh...

> Где у rpm-build покрутить нужную гайку я не нашел.
В сорцах. Это прибито гвоздями.

-- 
Regards, Sir Raorn.
-------------------
ok, в следующей сборке "задним числом" добавим в changelog.
		-- ldv in devel@

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

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

* Re: [sisyphus] Ошибка в rpm-build
  2003-10-19 14:47 [sisyphus] Ошибка в rpm-build Alexey Borovskoy
  2003-10-20  7:30 ` Alexey I. Froloff
@ 2003-10-20  9:15 ` Dmitry V. Levin
  2003-10-20  9:19   ` Alexander Bokovoy
  1 sibling, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2003-10-20  9:15 UTC (permalink / raw)
  To: ALT Linux Sisyphus mailing list

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

On Mon, Oct 20, 2003 at 03:47:14AM +1300, Alexey Borovskoy wrote:
> Исходные данные:
> $ rpm -qa|grep rpm
> rpm-4.0.4-alt26
> rpm-build-perl-0.1-alt4
> librpm-4.0.4-alt26
> rpm-utils-0.7.3-alt1
> rpm-build-4.0.4-alt26
> 
> Если с помощью %setup распаковывать zip-архив, то для распаковки 
> запускается /usr/bin/unzip с ключем -L. Что при распаковке 
> приводит все имена к lowercase.
> 
> От такого безобразия сносит крышу javac и ant, которые очень 
> чуствительны к регистру символов в именах файлов.
> 
> Где у rpm-build покрутить нужную гайку я не нашел.

rpm-4_0/build/parsePrep.c:doUntar()

Не уверен, что нужно - были жалобы на некорректное поведение без -L.


-- 
ldv

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

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

* Re: [sisyphus] Ошибка в rpm-build
  2003-10-20  9:15 ` Dmitry V. Levin
@ 2003-10-20  9:19   ` Alexander Bokovoy
  2003-10-20  9:25     ` Dmitry V. Levin
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Bokovoy @ 2003-10-20  9:19 UTC (permalink / raw)
  To: sisyphus

On Mon, Oct 20, 2003 at 01:15:23PM +0400, Dmitry V. Levin wrote:
> On Mon, Oct 20, 2003 at 03:47:14AM +1300, Alexey Borovskoy wrote:
> > Исходные данные:
> > $ rpm -qa|grep rpm
> > rpm-4.0.4-alt26
> > rpm-build-perl-0.1-alt4
> > librpm-4.0.4-alt26
> > rpm-utils-0.7.3-alt1
> > rpm-build-4.0.4-alt26
> > 
> > Если с помощью %setup распаковывать zip-архив, то для распаковки 
> > запускается /usr/bin/unzip с ключем -L. Что при распаковке 
> > приводит все имена к lowercase.
> > 
> > От такого безобразия сносит крышу javac и ant, которые очень 
> > чуствительны к регистру символов в именах файлов.
> > 
> > Где у rpm-build покрутить нужную гайку я не нашел.
> 
> rpm-4_0/build/parsePrep.c:doUntar()
> 
> Не уверен, что нужно - были жалобы на некорректное поведение без -L.
переменную-флажок заведем? Пусть в rpm-build-java взводят ее и будет без
-L.

-- 
/ Alexander Bokovoy
Samba Team                      http://www.samba.org/
ALT Linux Team                  http://www.altlinux.org/
Midgard Project Ry              http://www.midgard-project.org/


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

* Re: [sisyphus] Ошибка в rpm-build
  2003-10-20  9:19   ` Alexander Bokovoy
@ 2003-10-20  9:25     ` Dmitry V. Levin
  2003-10-20  9:33       ` Alexander Bokovoy
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry V. Levin @ 2003-10-20  9:25 UTC (permalink / raw)
  To: ALT Linux Sisyphus mailing list

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

On Mon, Oct 20, 2003 at 12:19:59PM +0300, Alexander Bokovoy wrote:
> On Mon, Oct 20, 2003 at 01:15:23PM +0400, Dmitry V. Levin wrote:
> > On Mon, Oct 20, 2003 at 03:47:14AM +1300, Alexey Borovskoy wrote:
> > > Исходные данные:
> > > $ rpm -qa|grep rpm
> > > rpm-4.0.4-alt26
> > > rpm-build-perl-0.1-alt4
> > > librpm-4.0.4-alt26
> > > rpm-utils-0.7.3-alt1
> > > rpm-build-4.0.4-alt26
> > > 
> > > Если с помощью %setup распаковывать zip-архив, то для распаковки 
> > > запускается /usr/bin/unzip с ключем -L. Что при распаковке 
> > > приводит все имена к lowercase.
> > > 
> > > От такого безобразия сносит крышу javac и ant, которые очень 
> > > чуствительны к регистру символов в именах файлов.
> > > 
> > > Где у rpm-build покрутить нужную гайку я не нашел.
> > 
> > rpm-4_0/build/parsePrep.c:doUntar()
> > 
> > Не уверен, что нужно - были жалобы на некорректное поведение без -L.
> переменную-флажок заведем? Пусть в rpm-build-java взводят ее и будет без
> -L.

Придумайте хорошее имя и повесьте PR на rpm-build.

Насчёт размещения в rpm-build-java не уверен: поведение unzip'а будет
зависеть от наличия пакета rpm-build-java, что нелогично.


-- 
ldv

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

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

* Re: [sisyphus] Ошибка в rpm-build
  2003-10-20  9:25     ` Dmitry V. Levin
@ 2003-10-20  9:33       ` Alexander Bokovoy
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Bokovoy @ 2003-10-20  9:33 UTC (permalink / raw)
  To: sisyphus

On Mon, Oct 20, 2003 at 01:25:43PM +0400, Dmitry V. Levin wrote:
> > > > От такого безобразия сносит крышу javac и ant, которые очень 
> > > > чуствительны к регистру символов в именах файлов.
> > > > 
> > > > Где у rpm-build покрутить нужную гайку я не нашел.
> > > 
> > > rpm-4_0/build/parsePrep.c:doUntar()
> > > 
> > > Не уверен, что нужно - были жалобы на некорректное поведение без -L.
> > переменную-флажок заведем? Пусть в rpm-build-java взводят ее и будет без
> > -L.
> 
> Придумайте хорошее имя и повесьте PR на rpm-build.
> 
> Насчёт размещения в rpm-build-java не уверен: поведение unzip'а будет
> зависеть от наличия пакета rpm-build-java, что нелогично.
Я не о том. Если это нужно для сборки java-приложений, то логично было бы
переключать эту переменную во время использования java-specific макросов.
Опять встает вопрос о lazy evaluation...


-- 
/ Alexander Bokovoy
Samba Team                      http://www.samba.org/
ALT Linux Team                  http://www.altlinux.org/
Midgard Project Ry              http://www.midgard-project.org/


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

end of thread, other threads:[~2003-10-20  9:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-19 14:47 [sisyphus] Ошибка в rpm-build Alexey Borovskoy
2003-10-20  7:30 ` Alexey I. Froloff
2003-10-20  9:15 ` Dmitry V. Levin
2003-10-20  9:19   ` Alexander Bokovoy
2003-10-20  9:25     ` Dmitry V. Levin
2003-10-20  9:33       ` Alexander Bokovoy

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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