m3ulcb build fail with weston 1.11.0-r0 configure

Description

I am seeing this break with my clean build of m3ulcb.

>configure: error: PAM support is explicitly requested, but libpam couldn't be found

 

Environment

Latest master branch, with m3ulcb target.  

Activity

Tadao Tanikawa 
August 25, 2017 at 11:12 AM

Found root cause. Weston for m3ulcb depends some libraries around GStreamer to enable gst-record.

 Weston with gst-record requires ibgstreamer-1.0, libgobject-2.0, libglib-2.0 and libgstapp-1.0 as additional.
But there is no definition to resolve these dependencies in meta-agl or meta-agl-demo.

libgstreamer-1.0 belongs to the package gstreamer-1.0.
libgobject-2.0 and libglib-2.0 belong to the package glib-2.0.
libgstapp-1.0 belongs to the package gstreamer1.0-plugins-base.

The recipe of package gstreamer-1.0 requires glib-2.0 (libgobject-2.0 and libglib-2.0).
The recipe of package gstreamer1.0-plugins-base requires gstreamer-1.0

Therefore, it is necessary to append gstreamer1.0-plugins-base to DEPENDS of weston.

 

 

 

Tadao Tanikawa 
August 25, 2017 at 6:26 AM

I could reproduce this when 1st trying to build at completely new environment which is built up from scratch using ubuntu16.04 docker container.

It looks like something depends on host environment because for qemux86-64(corei7) configure could find libpam for pam_open_session but for m3ulcb(aarch64) couldn't  on the same host.

On success, 

checking for library containing pam_open_session... -lpam

On failure,

checking for library containing pam_open_session... no
configure: error: PAM support is explicitly requested, but libpam couldn't be found

 

 

Takashi Matsuzawa 
July 30, 2017 at 3:34 AM

I cannot reproduce this anymore with my clean builds, both with master and dab branches.

Maybe was just my local configuration, or by recent fixes in the branches.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Components

Affects versions

Priority

Created July 28, 2017 at 12:31 PM
Updated October 10, 2017 at 3:46 PM
Resolved September 21, 2017 at 9:50 AM