Skip to contentSkip to conversation

opie-freetype issue

DISCUSSION Leon Zhang 3 participants 6 messages Sep 18, 2006 1 message not in the archive

lore
Share & tools
lore

Leon Zhang

author
#0 lore raw

Dear all.

hey, I am trying to fix the bug about opie-freetype. I found that the
current package can't install anything into "tmp/work/armv5te-linux/opie- freetype-1.2.2-r0/install/". So, I write a patch which add "do_install" function to install something into the directory. Here is the patch,

============================================================
--- packages/opie-freetype/opie-freetype.inc
a267aa16819e3160b8aca21e71fbf96494a2af34
+++ packages/opie-freetype/opie-freetype.inc
13950b3a59934d606aa73d29d0cd21b9e03137f5
@@ -11,4 +11,11 @@ inherit opie

inherit opie

+
+do_install () {

+       install -d ${D}${palmtopdir}/bin/
+       install -d ${D}${palmtopdir}/lib/
+       oe_libinstall -so libfreetypefactory ${D}${palmtopdir}/lib

+}
+
EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/freetype2"

------------------------------------------------------------------------

and then, i tried to rebuild the *opie-freetype*.:

------------------------------------------------------------------------

leon@build-server:~/oe/test.dev$ bitbake opie-freetype -c rebuild
NOTE: Using cache in '/home/leon/oe/test.dev/tmp/cache'
NOTE: Handling BitBake files: / (3987/3987) [100 %]
NOTE: Parsing finished. 3847 cached, 0 parsed, 140 skipped, 0 masked.

NOTE: build 200609181513: started

OE Build Configuration:

BB_VERSION     = "1.6.1"
OE_REVISION    = "ddfe4434adf5911bc0607ac50123d539b22ff997"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux"
MACHINE        = "paraphone-xscale"
DISTRO         = "paraphone-gen"

DISTRO_VERSION = ".dev-snapshot-20060918"
TARGET_FPU = "soft"

NOTE: package opie-freetype-1.2.2: started
NOTE: package opie-freetype-1.2.2-r0: task do_rebuild: started
NOTE: package opie-freetype-1.2.2-r0: task do_clean: started
NOTE: removing /home/leon/oe/test.dev/tmp/work/armv5te-linux/opie- freetype-1.2.2-r0
NOTE: removing /home/leon/oe/test.dev/tmp/stamps/armv5te-linux/opie- freetype-1.2.2-r0.*
NOTE: package opie-freetype-1.2.2-r0: task do_clean: completed
NOTE: package opie-freetype-1.2.2-r0: task do_fetch: started
NOTE: package opie-freetype-1.2.2-r0: task do_fetch: completed
NOTE: package opie-freetype-1.2.2-r0: task do_unpack: started
NOTE: Unpacking /home/leon/sources/opie.freetype_anoncvs.handhelds.org_v1_2_2_.tar.gz to /home/leon/oe/test.dev/tmp/work/armv5te-linux/opie-freetype-1.2.2-r0/
NOTE: package opie-freetype-1.2.2-r0: task do_unpack: completed
NOTE: package opie-freetype-1.2.2-r0: task do_patch: started
NOTE: package opie-freetype-1.2.2-r0: task do_patch: completed
NOTE: package opie-freetype-1.2.2-r0: task do_configure: started
NOTE: package opie-freetype-1.2.2-r0: task do_configure: completed
NOTE: package opie-freetype-1.2.2-r0: task do_compile: started
NOTE: package opie-freetype-1.2.2-r0: task do_compile: completed
NOTE: package opie-freetype-1.2.2-r0: task do_install: started
NOTE: package opie-freetype-1.2.2-r0: task do_install: completed
NOTE: package opie-freetype-1.2.2-r0: task do_package: started
NOTE: Not creating empty archive for opie-freetype-dbg-1.2.2-r0 Packaged contents of opie-freetype into /home/leon/oe/test.dev/tmp/deploy/ipk/libfreetypefactory1_1.2.2-r0_armv5te.ipk
NOTE: Not creating empty archive for opie-freetype-doc-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-dev-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-locale-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-dbg-1.2.2-r0 ./
./opt/
./opt/QtPalmtop/
./opt/QtPalmtop/bin/
./opt/QtPalmtop/lib/
./opt/QtPalmtop/lib/libfreetypefactory.so ./opt/QtPalmtop/lib/libfreetypefactory.so.1 ./opt/QtPalmtop/lib/libfreetypefactory.so.1.0 ./opt/QtPalmtop/lib/libfreetypefactory.so.1.0.1 ./opt/QtPalmtop/lib/.debug/ ./opt/QtPalmtop/lib/.debug/libfreetypefactory.so.1.0.1
NOTE: Not creating empty archive for opie-freetype-doc-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-dev-1.2.2-r0
NOTE: Not creating empty archive for opie-freetype-locale-1.2.2-r0
NOTE: package opie-freetype-1.2.2-r0: task do_package: completed
NOTE: package opie-freetype-1.2.2-r0: task do_opie_install: started
NOTE: Section='Fontfactories', bindir='/plugins/fontfactories', desktopdir='None', name='freetypefactory', type='plugin'
NOTE: package opie-freetype-1.2.2-r0: task do_opie_install: completed
NOTE: package opie-freetype-1.2.2-r0: task do_populate_staging: started
NOTE: package opie-freetype-1.2.2-r0: task do_populate_staging: completed
NOTE: package opie-freetype-1.2.2-r0: task do_build: started
NOTE: package opie-freetype-1.2.2-r0: task do_build: completed
NOTE: package opie-freetype-1.2.2-r0: task do_rebuild: completed
NOTE: package opie-freetype-1.2.2: completed
NOTE: build 200609181513: completed
Build statistics:
Attempted builds: 1
leon@build-server:~/oe/test.dev$

Hmm, I don't know why, it pakcaged contents into *libfreetypefactory* instead of *opie-freetype*. So, why ?

#1 lore raw
Quoted 4 lines · Leon Zhang

hey, I am trying to fix the bug about opie-freetype. I found that the current package can't install anything into "tmp/work/armv5te-linux/ opie- freetype-1.2.2-r0/install/". So, I write a patch which add "do_install" function to install something into the directory.

pushed in eea65847cfef3a7ff53e70dcfed248b5ad86b7fb

Quoted 2 lines

Hmm, I don't know why, it pakcaged contents into *libfreetypefactory* instead of *opie-freetype*. So, why ?

debian.bbclass renaming - I disabled it.

Signature · 5 lines
JID: hrw-jabber.org
Sharp Zaurus C-760 (OZ 3.5.x)
OpenEmbedded/OpenZaurus/OPIE developer

                    If it happens, it must be possible.
author
#2 lore raw

2006/9/18, Marcin Juszkiewicz <[email protected]>:

Quoted 10 lines

Dnia poniedzia&#65533;ek, 18 wrze&#65533;nia 2006 09:15, Leon Zhang napisa&#65533;:

Quoted 4 lines

hey, I am trying to fix the bug about opie-freetype. I found that the current package can't install anything into "tmp/work/armv5te-linux/ opie- freetype-1.2.2-r0/install/". So, I write a patch which add "do_install" function to install something into the directory.

pushed in eea65847cfef3a7ff53e70dcfed248b5ad86b7fb

Hey. did you review this patch clearly ? the line "+ install -d
${D}${palmtopdir}/bin/" is useless, So, please remove it.

Quoted 17 lines

Hmm, I don't know why, it pakcaged contents into *libfreetypefactory*

Quoted 1 line

instead of *opie-freetype*. So, why ?

debian.bbclass renaming - I disabled it.

--
JID: hrw-jabber.org
Sharp Zaurus C-760 (OZ 3.5.x)
OpenEmbedded/OpenZaurus/OPIE developer

If it happens, it must be possible.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Leon Zhang

Am Montag, den 18.09.2006, 15:15 +0800 schrieb Leon Zhang:

Quoted 1 line

hey, I am trying to fix the bug about opie-freetype.

Which bug are we talking about?

Quoted 4 lines

I found that the
current package can't install anything into "tmp/work/armv5te-linux/opie- freetype-1.2.2-r0/install/". So, I write a patch which add "do_install" function to install something into the directory. Here is the patch,

That's redundant. Opie installs plugins during the opie_install task as per opie.bbclass.

Signature · 3 lines
Regards,

Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de
author
#4 lore raw

2006/9/18, Michael 'Mickey' Lauer <[email protected]>:

Quoted 5 lines

Am Montag, den 18.09.2006, 15:15 +0800 schrieb Leon Zhang:

Quoted 1 line

hey, I am trying to fix the bug about opie-freetype.

Which bug are we talking about?

Yesterday, I build opie-image failed. I got a dependency error. and I *did* get nonthing in tmp/work/armv5te-linux/opie-freetype-1.2.2-r0/install/*. So, I wrote the patch above. and if you check the irc log yesterday, you would get more details talks about it.

Quoted 8 lines

I found that the

Quoted 1 line

current package can't install anything into

"tmp/work/armv5te-linux/opie-

Quoted 2 lines

freetype-1.2.2-r0/install/". So, I write a patch which add "do_install" function to install something into the directory. Here is the patch,

That's redundant. Opie installs plugins during the opie_install task as per opie.bbclass.

Well, is there better patch for this ?

--

Quoted 11 lines

Regards,

Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#6 lore raw

2006/9/18, Michael 'Mickey' Lauer <[email protected]>:

Quoted 15 lines

Am Montag, den 18.09.2006, 17:03 +0800 schrieb Leon Zhang:

Quoted 10 lines

2006/9/18, Michael 'Mickey' Lauer <[email protected] :

Quoted 5 lines

Am Montag, den 18.09.2006, 15:15 +0800 schrieb Leon Zhang:

Quoted 1 line

hey, I am trying to fix the bug about opie-freetype.

Which bug are we talking about?

Yesterday, I build opie-image failed. I got a dependency error. and I

*did*

Quoted 1 line

get nonthing in tmp/work/armv5te-linux/opie-freetype-1.2.2-r0/install/*.

So,

Quoted 8 lines
Quoted 1 line

I wrote the patch above. and if you check the irc log yesterday, you

would

Quoted 1 line

get more details talks about it.

Missing dependencies is a different problem -- which can't be fixed by adding additional files within do_install. I'm afraid your distribution
configuration is bogus.

Hmm, I don't thinks so. I am sure my configuration is correct. and that is a *bug* indeed. Well, Please read

http://www.openembedded.org/viewmtn/diff.psp?id1=eea65847cfef3a7ff53e70dcfed248b5ad86b7fb&id2=b130be4ae6b3151966b2c1336b7712bfd28c58ac&fname=classes/opie.bbclass
for more information.

Quoted 30 lines
Quoted 4 lines

I found that the

Quoted 3 lines
Quoted 1 line

current package can't install anything into

"tmp/work/armv5te-linux/opie-

Quoted 1 line

freetype-1.2.2-r0/install/". So, I write a patch which add

"do_install"

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

function to install something into the directory. Here is the patch,

That's redundant. Opie installs plugins during the opie_install task

as

Quoted 3 lines
Quoted 1 line

per opie.bbclass.

Well, is there better patch for this ?

There is no need for a patch since this package used to work for years. If it doesn't nowadays, then there is something going wrong elsewhere.

Marcin, please revert this patch.

--
Regards,

Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel