Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57165 - emerge imlib2 fails
Summary: emerge imlib2 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: imlib2-1.1.0hater 57284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-15 05:23 UTC by Hubert Mercier (RETIRED)
Modified: 2004-07-16 11:49 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
One line patch on ebuild. (imlib2.patch,316 bytes, patch)
2004-07-15 07:18 UTC, Karol Wojtaszek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Mercier (RETIRED) gentoo-dev 2004-07-15 05:23:23 UTC
As a dependancy of freevo, emerge imlib2 gives me the following output :



alculating dependencies ...done!
>>> emerge (1 of 1) media-libs/imlib2-1.1.0 to /
>>> md5 src_uri ;-) imlib2-1.1.0.tar.gz
>>> Unpacking source...
>>> Unpacking imlib2-1.1.0.tar.gz to /var/tmp/portage/imlib2-1.1.0/work
nls
/usr/sbin/ebuild.sh: line 26: cd: /var/tmp/portage/imlib2-1.1.0/work/imlib2: No such file or directory
 * Applying 1.1.0-gcc-3.4.patch...

 * Failed Patch: 1.1.0-gcc-3.4.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/imlib2-1.1.0/temp/1.1.0-gcc-3.4.patch-19484.out


!!! ERROR: media-libs/imlib2-1.1.0 failed.
!!! Function epatch, Line 322, Exitcode 0
!!! Failed Patch: 1.1.0-gcc-3.4.patch!





Content of /var/tmp/portage/imlib2-1.1.0/temp/1.1.0-gcc-3.4.patch-19484.out :

***** 1.1.0-gcc-3.4.patch *****

===============================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/media-libs/imlib2/files/1.1.0-gcc-3.4.patch

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rgbadraw.c.orig        2004-04-27 03:41:29.878995752 -0400
|+++ src/rgbadraw.c     2004-04-27 03:41:32.294628520 -0400
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===============================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/media-libs/imlib2/files/1.1.0-gcc-3.4.patch

===============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rgbadraw.c.orig        2004-04-27 03:41:29.878995752 -0400
|+++ src/rgbadraw.c     2004-04-27 03:41:32.294628520 -0400
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===============================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/media-libs/imlib2/files/1.1.0-gcc-3.4.patch

===============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rgbadraw.c.orig        2004-04-27 03:41:29.878995752 -0400
|+++ src/rgbadraw.c     2004-04-27 03:41:32.294628520 -0400
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===============================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/media-libs/imlib2/files/1.1.0-gcc-3.4.patch

===============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rgbadraw.c.orig        2004-04-27 03:41:29.878995752 -0400
|+++ src/rgbadraw.c     2004-04-27 03:41:32.294628520 -0400
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===============================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/media-libs/imlib2/files/1.1.0-gcc-3.4.patch

===============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/rgbadraw.c.orig        2004-04-27 03:41:29.878995752 -0400
|+++ src/rgbadraw.c     2004-04-27 03:41:32.294628520 -0400
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored




Reproducible: Always
Steps to Reproduce:
1. emerge imlib2
2.
3.

Actual Results:  
nothing, that's the problem ^^.

Expected Results:  
It should compile imlib2
Comment 1 Karol Wojtaszek (RETIRED) gentoo-dev 2004-07-15 07:18:14 UTC
Created attachment 35480 [details, diff]
One line patch on ebuild.
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2004-07-15 07:20:37 UTC
Please test above patch. It should work.
Comment 3 SpanKY gentoo-dev 2004-07-15 07:44:34 UTC
yes, the S=${WORKDIR}/${P} line used to be in there ... it was removed for me ;)

agriffis: i have the enlightenment eclass setup so that the default $S is set to ${WORKDIR}/${PN} since the eclass is *mostly* for cvs builds ... in the case of releases, i have to reset $S back to the original value
Comment 4 SpanKY gentoo-dev 2004-07-15 14:10:46 UTC
*** Bug 57222 has been marked as a duplicate of this bug. ***
Comment 5 Karol Wojtaszek (RETIRED) gentoo-dev 2004-07-16 11:49:41 UTC
*** Bug 57284 has been marked as a duplicate of this bug. ***