Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 411143

Summary: =media-libs/freetype-2.4.9-r1 - rmdir: failed to remove `.../image//usr/include/freetype2/freetype/internal': No such file or directory
Product: Gentoo Linux Reporter: Maurizio Camisaschi (amd64 AT) <k01>
Component: New packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED WONTFIX    
Severity: minor CC: ssuominen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maurizio Camisaschi (amd64 AT) 2012-04-07 13:47:02 UTC
rm -f /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/freetype/cache/*
rmdir /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/freetype/cache
rm -f /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/freetype/internal/*
rmdir /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/freetype/internal
rmdir: failed to remove `/var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/freetype/internal': No such file or directory
make: [install] Error 1 (ignored)


please provide to drop also unnecessary .la files, /usr/lib64/libfreetype.la is installed even with USE flag static-libs not enabled.
Comment 1 Agostino Sarubbo gentoo-dev 2012-04-07 13:54:38 UTC
It is confirmed also in 2.4.9
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2012-04-07 15:16:48 UTC
(In reply to comment #0)
> rm -f
> /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/
> freetype/cache/*
> rmdir
> /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/
> freetype/cache
> rm -f
> /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/
> freetype/internal/*
> rmdir
> /var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/
> freetype/internal
> rmdir: failed to remove
> `/var/tmp/portage/media-libs/freetype-2.4.9-r1/image//usr/include/freetype2/
> freetype/internal': No such file or directory
> make: [install] Error 1 (ignored)

Doesn't look to be anything we do.  File a bug upstream.

> please provide to drop also unnecessary .la files, /usr/lib64/libfreetype.la
> is installed even with USE flag static-libs not enabled.

I honestly don't care.  I ripped out the static-libs stuff on purpose.  See bug #392099.

When base-system can agree on how exactly static-libs is supposed to work, let me know.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-04-07 19:37:21 UTC
(In reply to comment #2)
> When base-system can agree on how exactly static-libs is supposed to work,
> let me know.

freetype2.pc has working Libs.private: line so get libraries for static linking with `pkg-config --static --libs freetype2` for example.
when this condition gets met, the libtool archive is useless and harmless too since they cause overlinking through dependency_libs='-lfoo' in reverse dependencies.

see,

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freetype/freetype-2.4.9-r1.ebuild?r1=1.1&r2=1.2
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-04-07 19:46:20 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > When base-system can agree on how exactly static-libs is supposed to work,
> > let me know.
> 
> freetype2.pc has working Libs.private: line so get libraries for static

s/so//

> linking with `pkg-config --static --libs freetype2` for example.
> when this condition gets met, the libtool archive is useless and harmless

s/harmless/harmful/

sorry about typing errors, it's late.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2012-04-07 20:03:10 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > When base-system can agree on how exactly static-libs is supposed to work,
> > let me know.
> 
> freetype2.pc has working Libs.private: line so get libraries for static
> linking with `pkg-config --static --libs freetype2` for example.
> when this condition gets met, the libtool archive is useless and harmless
> too since they cause overlinking through dependency_libs='-lfoo' in reverse
> dependencies.
> 
> see,
> 
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freetype/freetype-
> 2.4.9-r1.ebuild?r1=1.1&r2=1.2

Thanks.
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2012-04-08 03:05:33 UTC
Sorry, I was in a foul mood this morning.  If you can identify the cause behind the error message I will send it upstream.  Thanks.
Comment 7 Ben de Groot (RETIRED) gentoo-dev 2013-10-07 09:33:12 UTC
This version is no longer in the tree. Please re-open if this problem appears in current versions.