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

Bug 565144

Summary: media-gfx/exif and media-gfx/gphoto2 : configure fails to find popt on sys-libs/uclibc
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gnome, hydrapolic
Priority: Normal Keywords: NeedPatch
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 570544    
Attachments: emerge --info output
build.log for media-gfx/exif
config.log for media-gfx/exif
build.log for media-gfx/gphoto2
config.log for media-gfx/gphoto2

Description René Rhéaume 2015-11-08 15:38:22 UTC
Both packages have the same problem: on uclibc, configure does not find popt even when it is installed on system.

You must do POPT_CFLAGS="-I/usr/include" POPT_LIBS="-lpopt" econf ...
to get sucessfully configure the package. Then, the build can continue as usual.

It is similar to bug #474562 but note I passed different values to the environement variables, compared to that bug. A uclibc system is not multilib however. 

Also, popt now provides a pkgconfig file. Maybe the proper fix is to modify configure to look for popt through pkgconfig.

Reproducible: Always

Steps to Reproduce:
1. emerge media-gfx/exif media-gfx/gphoto2
2.
3.
Actual Results:  
econf failed

Expected Results:  
media-gfx/exif and media-gfx/gphoto2 installed on system
Comment 1 Tomáš Mózes 2015-11-08 20:36:20 UTC
Please provide the complete build log and the output of emerge --info.
Comment 2 René Rhéaume 2015-11-09 12:29:22 UTC
Created attachment 416360 [details]
emerge --info output
Comment 3 René Rhéaume 2015-11-09 12:30:57 UTC
Created attachment 416364 [details]
build.log for media-gfx/exif
Comment 4 René Rhéaume 2015-11-09 12:33:51 UTC
Created attachment 416366 [details]
config.log for media-gfx/exif
Comment 5 René Rhéaume 2015-11-09 12:36:31 UTC
Created attachment 416368 [details]
build.log for media-gfx/gphoto2
Comment 6 René Rhéaume 2015-11-09 12:37:29 UTC
Created attachment 416370 [details]
config.log for media-gfx/gphoto2
Comment 7 Anthony Basile gentoo-dev 2018-10-14 12:27:25 UTC
sys-libs/uclibc has been removed from the tree, replaced by sys-libs/uclibc-ng.  if this is still a problem on uclibc-ng, please open a new bug.