ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: freetype2-devel-2.1.9-alt1 is broken?
@ 2004-10-27 11:02 Dmitry V. Levin
  2004-10-27 11:26 ` Andrey Orlov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dmitry V. Levin @ 2004-10-27 11:02 UTC (permalink / raw)
  To: ALT Devel discussion list

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

Похоже, что новый freetype2-devel сломал сборку реально использующих его
пакетов; перестали собираться нижеперечисленные пакеты:
avifile-0.738-alt0.6
bootsplash-3.0.7-alt1
camlimages-2.11-alt9.1
clanlib-0.6.5-alt1.3
gd1-1.8.4-alt7
gnome-print-0.36-alt6
python-module-imaging-1.1.4-alt8
SDL_ttf-2.0.6-alt2.1
xpdf-3.00-alt2

Вот, например, лог сборки пакета bootsplash:
Preparing packages for installation...
freetype2-2.1.9-alt1
freetype2-devel-2.1.9-alt1
libjpeg-6b-alt4
libjpeg-devel-6b-alt4
liblcms-1.11-alt2.1.1
libmng-1.0.8-alt1
libmng-devel-1.0.8-alt1
zlib-devel-1.2.2-alt1
Installing bootsplash-3.0.7-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/RPM/tmp/rpm-tmp.12016
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf bootsplash-3.0.7
+ echo 'Source #0 (bootsplash-3.0.7.tar.bz2):'
Source #0 (bootsplash-3.0.7.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/bootsplash-3.0.7.tar.bz2
+ /bin/tar -xf -
+ cd bootsplash-3.0.7
+ /bin/chmod -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/RPM/tmp/rpm-tmp.12016
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd bootsplash-3.0.7
+ pushd Utilities
~/RPM/BUILD/bootsplash-3.0.7/Utilities ~/RPM/BUILD/bootsplash-3.0.7
+ make
make: Entering directory `/usr/src/RPM/BUILD/bootsplash-3.0.7/Utilities'
gcc -Os -Wall -I/usr/include/freetype2  -L/usr/lib  splash.c   -o splash
gcc -Os -Wall -I/usr/include/freetype2  -L/usr/lib  fbresolution.c   -o fbresolution
gcc -Os -Wall -I/usr/include/freetype2   -c -o fbtruetype.o fbtruetype.c
gcc -Os -Wall -I/usr/include/freetype2   -c -o fbtruetype-messages.o fbtruetype-messages.c
gcc -Os -Wall -I/usr/include/freetype2   -c -o console.o console.c
gcc -Os -Wall -I/usr/include/freetype2   -c -o ttf.o ttf.c
In file included from ttf.c:13:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
make: *** [ttf.o] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/bootsplash-3.0.7/Utilities'
error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.12016 (%build)


RPM build errors:
    Bad exit status from /usr/src/RPM/tmp/rpm-tmp.12016 (%build)
0.86user 0.08system 0:00.95elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (8496major+8104minor)pagefaults 0swaps
rebuild: rebuild of `bootsplash-3.0.7-alt1.src.rpm' failed.


-- 
ldv

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

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

* Re: [devel] I: freetype2-devel-2.1.9-alt1 is broken?
  2004-10-27 11:02 [devel] I: freetype2-devel-2.1.9-alt1 is broken? Dmitry V. Levin
@ 2004-10-27 11:26 ` Andrey Orlov
  2004-10-27 12:40 ` Sergey V Turchin
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Andrey Orlov @ 2004-10-27 11:26 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Wednesday 27 October 2004 15:02, Dmitry V. Levin wrote:
> python-module-imaging-1.1.4-alt8

Мндя. Надо будет посмотреть. Тем более, что 1.1.5 назревает.

-- 
WthBstRgrds -- Андрей Орлов --  
 --- http: www.neural.ru, mail: cray@neural.ru, jid: cray@altlinux.org ---
----------------------------------------

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

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

* Re: [devel] I: freetype2-devel-2.1.9-alt1 is broken?
  2004-10-27 11:02 [devel] I: freetype2-devel-2.1.9-alt1 is broken? Dmitry V. Levin
  2004-10-27 11:26 ` Andrey Orlov
@ 2004-10-27 12:40 ` Sergey V Turchin
  2004-10-27 13:10 ` Valery V. Inozemtsev
  2004-10-27 13:59 ` Dmitry V. Levin
  3 siblings, 0 replies; 8+ messages in thread
From: Sergey V Turchin @ 2004-10-27 12:40 UTC (permalink / raw)
  To: ALT Devel discussion list


[-- Attachment #1.1: Type: text/plain, Size: 810 bytes --]

В сообщении от Среда 27 Октябрь 2004 15:02 Dmitry V. Levin 
написал(a):
> Похоже, что новый freetype2-devel сломал сборку реально

[...]

> /usr/include/freetype2/freetype/freetype.h:20:2: #error
> "`ft2build.h' hasn't been included yet!"
> /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please
> always use macros to include FreeType header files."
> /usr/include/freetype2/freetype/freetype.h:22:2: #error
> "Example:" /usr/include/freetype2/freetype/freetype.h:23:2:
> #error "  #include <ft2build.h>"
> /usr/include/freetype2/freetype/freetype.h:24:2: #error " 
> #include FT_FREETYPE_H" make: *** [ttf.o] Error 1
Вот, что достаточно видимо. См. аттач

-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08

[-- Attachment #1.2: qt-x11-free-3.3.0-freetype.patch --]
[-- Type: text/x-diff, Size: 370 bytes --]

--- qt-x11-free-3.3.0/src/3rdparty/opentype/ftxopen.h.orig	2004-02-23 13:52:29.000000000 -0500
+++ qt-x11-free-3.3.0/src/3rdparty/opentype/ftxopen.h	2004-02-23 13:54:01.000000000 -0500
@@ -22,7 +22,8 @@
 #ifndef FTXOPEN_H
 #define FTXOPEN_H
 
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
 
 #ifdef __cplusplus
 extern "C" {

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

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

* Re: [devel] I: freetype2-devel-2.1.9-alt1 is broken?
  2004-10-27 11:02 [devel] I: freetype2-devel-2.1.9-alt1 is broken? Dmitry V. Levin
  2004-10-27 11:26 ` Andrey Orlov
  2004-10-27 12:40 ` Sergey V Turchin
@ 2004-10-27 13:10 ` Valery V. Inozemtsev
  2004-10-27 13:59 ` Dmitry V. Levin
  3 siblings, 0 replies; 8+ messages in thread
From: Valery V. Inozemtsev @ 2004-10-27 13:10 UTC (permalink / raw)
  To: ALT Devel discussion list

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

В сообщении от 27 Октябрь 2004 15:02 Dmitry V. Levin написал(a):
> Похоже, что новый freetype2-devel сломал сборку реально использующих его

ща починю
-- 
Valery V. Inozemtsev

Powered by ALT Linux Sisyphus (20041021)
ftp://ftp.altlinux.ru/pub/people/shrek/

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

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

* Re: [devel] I: freetype2-devel-2.1.9-alt1 is broken?
  2004-10-27 11:02 [devel] I: freetype2-devel-2.1.9-alt1 is broken? Dmitry V. Levin
                   ` (2 preceding siblings ...)
  2004-10-27 13:10 ` Valery V. Inozemtsev
@ 2004-10-27 13:59 ` Dmitry V. Levin
  2004-10-27 14:07   ` Valery V. Inozemtsev
  3 siblings, 1 reply; 8+ messages in thread
From: Dmitry V. Levin @ 2004-10-27 13:59 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Wed, Oct 27, 2004 at 03:02:52PM +0400, Dmitry V. Levin wrote:
> Похоже, что новый freetype2-devel сломал сборку реально использующих его
> пакетов; перестали собираться нижеперечисленные пакеты:
> avifile-0.738-alt0.6
> bootsplash-3.0.7-alt1
> camlimages-2.11-alt9.1
> clanlib-0.6.5-alt1.3
> gd1-1.8.4-alt7
> gnome-print-0.36-alt6
> python-module-imaging-1.1.4-alt8
> SDL_ttf-2.0.6-alt2.1
> xpdf-3.00-alt2
> 
> Вот, например, лог сборки пакета bootsplash:
[...]
> gcc -Os -Wall -I/usr/include/freetype2   -c -o ttf.o ttf.c
> In file included from ttf.c:13:
> /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
> /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
> /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> /usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
> /usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
> make: *** [ttf.o] Error 1

RTFM (/usr/share/doc/freetype2-2.1.9/docs/CHANGES):
[...]
LATEST CHANGES BETWEEN 2.1.6 and 2.1.5
[...]
  III. MISCELLANEOUS

    - There  is now  a guard  in the  public header  files  to protect
      against inclusion of freetype.h from FreeType 1.

    - Direct inclusion of freetype.h  and other public header files no
      longer works.  You have to use the documented scheme

        #include <ft2build.h>
        #include FT_FREETYPE_H

      to load freetype.h with  a symbolic name.  This protects against
      renaming  of public  header  files (which  shouldn't happen  but
      actually  has, avoiding two  public header  files with  the same
      name).


P.S. Кто так сильно хотел новый freetype2?


-- 
ldv

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

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

* Re: [devel] I: freetype2-devel-2.1.9-alt1 is broken?
  2004-10-27 13:59 ` Dmitry V. Levin
@ 2004-10-27 14:07   ` Valery V. Inozemtsev
  2004-10-27 15:13     ` [devel] I: freetype2-devel-2.1.9-alt1 breaks old packages Dmitry V. Levin
  0 siblings, 1 reply; 8+ messages in thread
From: Valery V. Inozemtsev @ 2004-10-27 14:07 UTC (permalink / raw)
  To: ALT Devel discussion list

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

В сообщении от 27 Октябрь 2004 17:59 Dmitry V. Levin написал(a):
> On Wed, Oct 27, 2004 at 03:02:52PM +0400, Dmitry V. Levin wrote:
> > Похоже, что новый freetype2-devel сломал сборку реально использующих его
> > пакетов; перестали собираться нижеперечисленные пакеты:
> > avifile-0.738-alt0.6
> > bootsplash-3.0.7-alt1
> > camlimages-2.11-alt9.1
> > clanlib-0.6.5-alt1.3
> > gd1-1.8.4-alt7
> > gnome-print-0.36-alt6
> > python-module-imaging-1.1.4-alt8
> > SDL_ttf-2.0.6-alt2.1
> > xpdf-3.00-alt2
> >
> > Вот, например, лог сборки пакета bootsplash:
>
> [...]
>
> > gcc -Os -Wall -I/usr/include/freetype2   -c -o ttf.o ttf.c
> > In file included from ttf.c:13:
> > /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
> > hasn't been included yet!"
> > /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always
> > use macros to include FreeType header files."
> > /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> > /usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include
> > <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " 
> > #include FT_FREETYPE_H" make: *** [ttf.o] Error 1
>
> RTFM (/usr/share/doc/freetype2-2.1.9/docs/CHANGES):
> [...]
> LATEST CHANGES BETWEEN 2.1.6 and 2.1.5
> [...]
>   III. MISCELLANEOUS
>
>     - There  is now  a guard  in the  public header  files  to protect
>       against inclusion of freetype.h from FreeType 1.
>
>     - Direct inclusion of freetype.h  and other public header files no
>       longer works.  You have to use the documented scheme
>
>         #include <ft2build.h>
>         #include FT_FREETYPE_H
>
>       to load freetype.h with  a symbolic name.  This protects against
>       renaming  of public  header  files (which  shouldn't happen  but
>       actually  has, avoiding two  public header  files with  the same
>       name).
>
>
> P.S. Кто так сильно хотел новый freetype2?

не я. можно сделать вот так

--- include/freetype/freetype.h.orig    2004-06-20 00:50:08 +0400
+++ include/freetype/freetype.h 2004-10-27 17:51:32 +0400
@@ -16,15 +16,6 @@
 /***************************************************************************/


-#ifndef FT_FREETYPE_H
-#error "`ft2build.h' hasn't been included yet!"
-#error "Please always use macros to include FreeType header files."
-#error "Example:"
-#error "  #include <ft2build.h>"
-#error "  #include FT_FREETYPE_H"
-#endif
-
-
 #ifndef __FREETYPE_H__
 #define __FREETYPE_H__

но тогда отвалятся те кто заточен под новый freetype

-- 
Valery V. Inozemtsev

Powered by ALT Linux Sisyphus (20041021)
ftp://ftp.altlinux.ru/pub/people/shrek/

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

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

* Re: [devel] I: freetype2-devel-2.1.9-alt1 breaks old packages
  2004-10-27 14:07   ` Valery V. Inozemtsev
@ 2004-10-27 15:13     ` Dmitry V. Levin
  2004-10-27 15:19       ` Valery V. Inozemtsev
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry V. Levin @ 2004-10-27 15:13 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Wed, Oct 27, 2004 at 06:07:14PM +0400, Valery V. Inozemtsev wrote:
> > P.S. Кто так сильно хотел новый freetype2?
> 
> не я. можно сделать вот так

Не надо так делать.  Раз уж обновили freetype2, надо довести это
обновление до конца.


-- 
ldv

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

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

* Re: [devel] I: freetype2-devel-2.1.9-alt1 breaks old packages
  2004-10-27 15:13     ` [devel] I: freetype2-devel-2.1.9-alt1 breaks old packages Dmitry V. Levin
@ 2004-10-27 15:19       ` Valery V. Inozemtsev
  0 siblings, 0 replies; 8+ messages in thread
From: Valery V. Inozemtsev @ 2004-10-27 15:19 UTC (permalink / raw)
  To: ALT Devel discussion list

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

> > > P.S. Кто так сильно хотел новый freetype2?
> >
> > не я. можно сделать вот так
>
> Не надо так делать.  Раз уж обновили freetype2, надо довести это
> обновление до конца.

надо, так надо. когда нибудь все равно пришлось бы это делать

-- 
Valery V. Inozemtsev

Powered by ALT Linux Sisyphus (20041021)
ftp://ftp.altlinux.ru/pub/people/shrek/

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

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

end of thread, other threads:[~2004-10-27 15:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-27 11:02 [devel] I: freetype2-devel-2.1.9-alt1 is broken? Dmitry V. Levin
2004-10-27 11:26 ` Andrey Orlov
2004-10-27 12:40 ` Sergey V Turchin
2004-10-27 13:10 ` Valery V. Inozemtsev
2004-10-27 13:59 ` Dmitry V. Levin
2004-10-27 14:07   ` Valery V. Inozemtsev
2004-10-27 15:13     ` [devel] I: freetype2-devel-2.1.9-alt1 breaks old packages Dmitry V. Levin
2004-10-27 15:19       ` Valery V. Inozemtsev

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