In the meantime, until I find a cleaner solution, I've copied Debian
Lenny's version of pkg.m4 (the one I use) into aclocal/ which overrides
the system scripts.

Please give the latest git tree a try, and let me know if this fixes
the issue for you.

Thanks,
- Chris


On Fri, Jan 21, 2011 at 02:03:26PM -0500, Chris Frey wrote:
> Thanks for those files.  That really helped.
> 
> I believe I found the issue... it is a change in pkg-config's pkg.m4
> file, which sets PKG_CONFIG_PATH as a "precious" variable.  This means
> that configure tracks this variable, and saves the original environment
> value early in the script.  So when I override it, it is ignored, and
> the cached value is used instead.
> 
> I'm not sure how I'm going to fix this, yet.  There doesn't appear to
> be an easy way to override this value.
> 
> Does anyone know how to override precious cached variables in autoconf?
> This would be very helpful.
> 
> Thanks,
> - Chris
> 
> 
> 
> On Fri, Jan 21, 2011 at 09:35:48AM +0000, Phill Watkins wrote:
> > This directory contains a everything from the point the script fails:
> > 
> > http://people.salixos.org/pwatk/packages/testing/xap/barry/src/barry/
> > 
> > You can find my build script (SLKBUILD) and log two directories above.
> > 
> > -Phill
> > 
> > -------- Original Message --------
> > Subject: Re: [Barry-devel] Opensync-plugin and GUI build failure.
> > From: Chris Frey <cdf...@foursquare.net>
> > To: Barry project development discussion <barry-devel@lists.sourceforge.net>
> > Date: 20/01/11 22:22
> > >Can you please send me the configure script that is generated on your
> > >system?
> > >
> > >Thanks,
> > >- Chris
> > >
> > >
> > >
> > >On Wed, Jan 19, 2011 at 11:11:58PM +0000, Phill Watkins wrote:
> > >   
> > >>I just tested with an updated git source but I still have the same
> > >>issue. If I export the same variable from my build script prior to
> > >>running configure everything builds fine again. It's really strange.
> > >>
> > >>-Phill
> > >>
> > >>-------- Original Message --------
> > >>Subject: Re: [Barry-devel] Opensync-plugin and GUI build failure.
> > >>From: Chris Frey<cdf...@foursquare.net>
> > >>To: Barry project development 
> > >>discussion<barry-devel@lists.sourceforge.net>
> > >>Date: 17/01/11 23:04
> > >>     
> > >>>Hi Phill,
> > >>>
> > >>>That's interesting output... comparing that with the output I see on my
> > >>>machine, it almost looks like autoconf's configure is now sending
> > >>>PKG_CONFIG_PATH on the sub-directory configure command line, instead
> > >>>of relying on the environment.
> > >>>
> > >>>Please give the latest git tree a try.  I've changed the order of
> > >>>subdirectory handling, and set PKG_CONFIG_PATH first.  This might be
> > >>>the fix we're looking for.
> > >>>
> > >>>Thanks for your continued testing.  I think after this bug is fixed
> > >>>(and maybe Nathanael Noblet's permissions issues on Fedora 14), we're
> > >>>ready for an official 0.17 release.
> > >>>
> > >>>- Chris
> > >>>
> > >>>
> > >>>On Sat, Jan 15, 2011 at 05:10:28PM +0000, Phill Watkins wrote:
> > >>>
> > >>>       
> > >>>>Sorry, I thought you wanted to know if the commands were being executed!
> > >>>>
> > >>>>Here is the new patch and build log:
> > >>>>http://people.salixos.org/pwatk/packages/testing/xap/barry/pkg_config_path.diff
> > >>>>http://people.salixos.org/pwatk/packages/testing/xap/barry/build-barry-20110108-x86_64-1pw.log
> > >>>>
> > >>>>Line 312 of the log shows the PKG_CONFIG_PATH has been exported
> > >>>>correctly but line 333 shows it isn't being observed up by the gui
> > >>>>configure script.
> > >>>>
> > >>>>-Phill
> > >>>>
> > >>>>-------- Original Message --------
> > >>>>Subject: Re: [Barry-devel] Opensync-plugin and GUI build failure.
> > >>>>From: Chris Frey<cdf...@foursquare.net>
> > >>>>To: Barry project development
> > >>>>discussion<barry-devel@lists.sourceforge.net>
> > >>>>Date: 11/01/11 21:24
> > >>>>
> > >>>>         
> > >>>>>Hi Phill,
> > >>>>>
> > >>>>>According to the build log, it looks like it is applying the 
> > >>>>>configure.ac
> > >>>>>patch after running buildgen.sh, which will skip the debug output.
> > >>>>>
> > >>>>>Also, your patch...
> > >>>>>
> > >>>>>--- configure.ac       2011-01-08 20:54:42.000000000 +0000
> > >>>>>+++ configure.ac.new   2011-01-10 19:15:09.130065107 +0000
> > >>>>>@@ -305,6 +305,9 @@
> > >>>>>       export TREE_BUILD_CXXFLAGS="-I`pwd`"
> > >>>>>       export TREE_BUILD_LDFLAGS="-L`pwd`/src"
> > >>>>>       export PKG_CONFIG_PATH="`pwd`:$PKG_CONFIG_PATH"
> > >>>>>+      echo 'export TREE_BUILD_CXXFLAGS="-I`pwd`"'
> > >>>>>+      echo 'export TREE_BUILD_LDFLAGS="-L`pwd`/src"'
> > >>>>>+      echo 'export PKG_CONFIG_PATH="`pwd`:$PKG_CONFIG_PATH"'
> > >>>>>  fi
> > >>>>>
> > >>>>>  AC_OUTPUT
> > >>>>>
> > >>>>>
> > >>>>>... outputs the commands... it's probably easier to see what the
> > >>>>>variables actually hold:
> > >>>>>
> > >>>>>+       echo "TREE_BUILD_CXXFLAGS is $TREE_BUILD_CXXFLAGS"
> > >>>>>+       echo "TREE_BUILD_LDFLAGS is $TREE_BUILD_LDFLAGS"
> > >>>>>+       echo "PKG_CONFIG_PATH is $PKG_CONFIG_PATH"
> > >>>>>
> > >>>>>- Chris
> > >>>>>
> > >>>>>
> > >>>>>On Mon, Jan 10, 2011 at 10:25:26PM +0000, Phill Watkins wrote:
> > >>>>>
> > >>>>>
> > >>>>>           
> > >>>>>>The build log and and diff can be found here:
> > >>>>>>http://people.salixos.org/pwatk/packages/testing/xap/barry/
> > >>>>>>
> > >>>>>>I can obviously workaround this by adding the PKG_CONFIG_PATH to my
> > >>>>>>build script (see comment in SLKBUILD) but this still doesn't fix the
> > >>>>>>issue with configure.ac.
> > >>>>>>
> > >>>>>>- Phill
> > >>>>>>
> > >>>>>>-------- Original Message --------
> > >>>>>>Subject: Re: [Barry-devel] Opensync-plugin and GUI build failure.
> > >>>>>>From: Chris Frey<cdf...@foursquare.net>
> > >>>>>>To: Barry project development
> > >>>>>>discussion<barry-devel@lists.sourceforge.net>
> > >>>>>>Date: 07/01/11 20:06
> > >>>>>>
> > >>>>>>
> > >>>>>>             
> > >>>>>>>Would you be willing to debug this a little farther?
> > >>>>>>>Try echoing the environment variables in that last if statement
> > >>>>>>>in the configure.ac file, just to make sure nothing is getting
> > >>>>>>>missed along the way.
> > >>>>>>>
> > >>>>>>>- Chris
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>On Fri, Jan 07, 2011 at 09:51:58AM +0000,ubem...@ymail.com  wrote:
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>               
> > >>>>>>>>I'm packaging barry for Salix which is basically an extension (not
> > >>>>>>>>really
> > >>>>>>>>a fork) of Slackware so autoconf, automake, pkg-config, and libtool
> > >>>>>>>>are
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>                 
> > >>>>>>>>from Slackware. I've tried building this checkout against 13.1 and
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>               
> > >>>>>>>>-current with the same outcome.
> > >>>>>>>>
> > >>>>>>>>I agree, it's strange. I can't see why it doesn't work from 
> > >>>>>>>>configure,
> > >>>>>>>>especially since I haven't experienced this problem with previous
> > >>>>>>>>versions.
> > >>>>>>>>
> > >>>>>>>>- Phill
> > >>>>>>>>
> > >>>>>>>>Sent using BlackBerry? from Orange
> > >>>>>>>>
> > >>>>>>>>-----Original Message-----
> > >>>>>>>>From: Chris Frey<cdf...@foursquare.net>
> > >>>>>>>>Date: Thu, 6 Jan 2011 21:30:18
> > >>>>>>>>To: Barry project development
> > >>>>>>>>discussion<barry-devel@lists.sourceforge.net>
> > >>>>>>>>Reply-To: Barry project development discussion
> > >>>>>>>>    <barry-devel@lists.sourceforge.net>
> > >>>>>>>>Subject: Re: [Barry-devel] Opensync-plugin and GUI build failure.
> > >>>>>>>>
> > >>>>>>>>Still odd. :-)  So far, in my experience, setting it in the 
> > >>>>>>>>configure
> > >>>>>>>>script is enough.
> > >>>>>>>>
> > >>>>>>>>What versions of autoconf, automake, pkg-config, and libtool are you
> > >>>>>>>>using?
> > >>>>>>>>
> > >>>>>>>>Thanks,
> > >>>>>>>>- Chris
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>On Fri, Jan 07, 2011 at 01:40:48AM +0000,ubem...@ymail.com  wrote:
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>                 
> > >>>>>>>>>Exporting the PKG_CONFIG_PATH (same as line 20064 in the configure
> > >>>>>>>>>script) before running configure  seams to have solved the problem.
> > >>>>>>>>>
> > >>>>>>>>>Thanks.
> > >>>>>>>>>
> > >>>>>>>>>Sent using BlackBerry? from Orange
> > >>>>>>>>>
> > >>>>>>>>>-----Original Message-----
> > >>>>>>>>>From: Chris Frey<cdf...@foursquare.net>
> > >>>>>>>>>Date: Thu, 6 Jan 2011 20:10:52
> > >>>>>>>>>To:<barry-devel@lists.sourceforge.net>
> > >>>>>>>>>Reply-To: Barry project development discussion
> > >>>>>>>>>   <barry-devel@lists.sourceforge.net>
> > >>>>>>>>>Subject: Re: [Barry-devel] Opensync-plugin and GUI build failure.
> > >>>>>>>>>
> > >>>>>>>>>Moved conversation back to the list...
> > >>>>>>>>>
> > >>>>>>>>>I tried building here using your configure line from the script, 
> > >>>>>>>>>and
> > >>>>>>>>>it
> > >>>>>>>>>worked fine.
> > >>>>>>>>>
> > >>>>>>>>>Do you have all necessary dependencies?  If you run pkg-config
> > >>>>>>>>>--list-all
> > >>>>>>>>>at the point of the error, what do you see?  If you set
> > >>>>>>>>>PKG_CONFIG_PATH
> > >>>>>>>>>according to how it is set in configure, do you see the barry
> > >>>>>>>>>libraries?
> > >>>>>>>>>
> > >>>>>>>>>- Chris
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>On Fri, Jan 07, 2011 at 12:55:11AM +0000,ubem...@ymail.com  wrote:
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>                   
> > >>>>>>>>>>My package build script can be found
> > >>>>>>>>>>here:http://people.salixos.org/pwatk/packages/testing/xap/barry/SLKBUILD
> > >>>>>>>>>>
> > >>>>>>>>>>- Phill
> > >>>>>>>>>>
> > >>>>>>>>>>------Original Message------
> > >>>>>>>>>>From: Chris Frey
> > >>>>>>>>>>To:ubem...@ymail.com
> > >>>>>>>>>>To: Barry project development discussion
> > >>>>>>>>>>Subject: Re: Opensync-plugin and GUI build failure.
> > >>>>>>>>>>Sent: 7 Jan 2011 00:13
> > >>>>>>>>>>
> > >>>>>>>>>>On Fri, Jan 07, 2011 at 12:04:25AM +0000,ubem...@ymail.com  wrote:
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>                     
> > >>>>>>>>>>>The opensync-plugin and gui fail to compile from a current git
> > >>>>>>>>>>>checkout using --enable-gui and --enable-opensync-plugin.
> > >>>>>>>>>>>
> > >>>>>>>>>>>The errors I receive are due to missing libraries, libbarry0 and
> > >>>>>>>>>>>libbarrysync0.
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>>                       
> > >>>>>>>>>>That's strange, since I use this configuration for testing all the
> > >>>>>>>>>>time.
> > >>>>>>>>>>Could you post the command you are using to build and configure?
> > >>>>>>>>>>
> > >>>>>>>>>>- Chris
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>Sent using BlackBerry? from Orange
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>>                     
> > >>>>>>>>>------------------------------------------------------------------------------
> > >>>>>>>>>Gaining the trust of online customers is vital for the success of 
> > >>>>>>>>>any
> > >>>>>>>>>company
> > >>>>>>>>>that requires sensitive data to be transmitted over the Web.   
> > >>>>>>>>>Learn
> > >>>>>>>>>how
> > >>>>>>>>>to
> > >>>>>>>>>best implement a security strategy that keeps consumers' 
> > >>>>>>>>>information
> > >>>>>>>>>secure
> > >>>>>>>>>and instills the confidence they need to proceed with transactions.
> > >>>>>>>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>>>>>>_______________________________________________
> > >>>>>>>>>Barry-devel mailing list
> > >>>>>>>>>Barry-devel@lists.sourceforge.net
> > >>>>>>>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>>>>>>------------------------------------------------------------------------------
> > >>>>>>>>>Gaining the trust of online customers is vital for the success of 
> > >>>>>>>>>any
> > >>>>>>>>>company
> > >>>>>>>>>that requires sensitive data to be transmitted over the Web.   
> > >>>>>>>>>Learn
> > >>>>>>>>>how
> > >>>>>>>>>to
> > >>>>>>>>>best implement a security strategy that keeps consumers' 
> > >>>>>>>>>information
> > >>>>>>>>>secure
> > >>>>>>>>>and instills the confidence they need to proceed with transactions.
> > >>>>>>>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>>>>>>_______________________________________________
> > >>>>>>>>>Barry-devel mailing list
> > >>>>>>>>>Barry-devel@lists.sourceforge.net
> > >>>>>>>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>                   
> > >>>>>>>>------------------------------------------------------------------------------
> > >>>>>>>>Gaining the trust of online customers is vital for the success of 
> > >>>>>>>>any
> > >>>>>>>>company
> > >>>>>>>>that requires sensitive data to be transmitted over the Web.   Learn
> > >>>>>>>>how
> > >>>>>>>>to
> > >>>>>>>>best implement a security strategy that keeps consumers' information
> > >>>>>>>>secure
> > >>>>>>>>and instills the confidence they need to proceed with transactions.
> > >>>>>>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>>>>>_______________________________________________
> > >>>>>>>>Barry-devel mailing list
> > >>>>>>>>Barry-devel@lists.sourceforge.net
> > >>>>>>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>>>>>------------------------------------------------------------------------------
> > >>>>>>>>Gaining the trust of online customers is vital for the success of 
> > >>>>>>>>any
> > >>>>>>>>company
> > >>>>>>>>that requires sensitive data to be transmitted over the Web.   Learn
> > >>>>>>>>how
> > >>>>>>>>to
> > >>>>>>>>best implement a security strategy that keeps consumers' information
> > >>>>>>>>secure
> > >>>>>>>>and instills the confidence they need to proceed with transactions.
> > >>>>>>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>>>>>_______________________________________________
> > >>>>>>>>Barry-devel mailing list
> > >>>>>>>>Barry-devel@lists.sourceforge.net
> > >>>>>>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>                 
> > >>>>>>>------------------------------------------------------------------------------
> > >>>>>>>Gaining the trust of online customers is vital for the success of any
> > >>>>>>>company
> > >>>>>>>that requires sensitive data to be transmitted over the Web.   Learn
> > >>>>>>>how
> > >>>>>>>to
> > >>>>>>>best implement a security strategy that keeps consumers' information
> > >>>>>>>secure
> > >>>>>>>and instills the confidence they need to proceed with transactions.
> > >>>>>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>>>>_______________________________________________
> > >>>>>>>Barry-devel mailing list
> > >>>>>>>Barry-devel@lists.sourceforge.net
> > >>>>>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>               
> > >>>>>>
> > >>>>>>             
> > >>>>>
> > >>>>>           
> > >>>>>>------------------------------------------------------------------------------
> > >>>>>>Gaining the trust of online customers is vital for the success of any
> > >>>>>>company
> > >>>>>>that requires sensitive data to be transmitted over the Web.   Learn 
> > >>>>>>how
> > >>>>>>to
> > >>>>>>best implement a security strategy that keeps consumers' information
> > >>>>>>secure
> > >>>>>>and instills the confidence they need to proceed with transactions.
> > >>>>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>>>_______________________________________________
> > >>>>>>Barry-devel mailing list
> > >>>>>>Barry-devel@lists.sourceforge.net
> > >>>>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>>>
> > >>>>>>
> > >>>>>>             
> > >>>>>------------------------------------------------------------------------------
> > >>>>>Protect Your Site and Customers from Malware Attacks
> > >>>>>Learn about various malware tactics and how to avoid them. Understand
> > >>>>>malware threats, the impact they can have on your business, and how you
> > >>>>>can protect your company and customers by using code signing.
> > >>>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>>_______________________________________________
> > >>>>>Barry-devel mailing list
> > >>>>>Barry-devel@lists.sourceforge.net
> > >>>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>>
> > >>>>>
> > >>>>>           
> > >>>>
> > >>>>         
> > >>>
> > >>>       
> > >>>>------------------------------------------------------------------------------
> > >>>>Protect Your Site and Customers from Malware Attacks
> > >>>>Learn about various malware tactics and how to avoid them. Understand
> > >>>>malware threats, the impact they can have on your business, and how you
> > >>>>can protect your company and customers by using code signing.
> > >>>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>>_______________________________________________
> > >>>>Barry-devel mailing list
> > >>>>Barry-devel@lists.sourceforge.net
> > >>>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>>
> > >>>>         
> > >>>------------------------------------------------------------------------------
> > >>>Protect Your Site and Customers from Malware Attacks
> > >>>Learn about various malware tactics and how to avoid them. Understand
> > >>>malware threats, the impact they can have on your business, and how you
> > >>>can protect your company and customers by using code signing.
> > >>>http://p.sf.net/sfu/oracle-sfdevnl
> > >>>_______________________________________________
> > >>>Barry-devel mailing list
> > >>>Barry-devel@lists.sourceforge.net
> > >>>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>>
> > >>>       
> > >>     
> > >   
> > >>------------------------------------------------------------------------------
> > >>Protect Your Site and Customers from Malware Attacks
> > >>Learn about various malware tactics and how to avoid them. Understand
> > >>malware threats, the impact they can have on your business, and how you
> > >>can protect your company and customers by using code signing.
> > >>http://p.sf.net/sfu/oracle-sfdevnl
> > >>_______________________________________________
> > >>Barry-devel mailing list
> > >>Barry-devel@lists.sourceforge.net
> > >>https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >>     
> > >
> > >------------------------------------------------------------------------------
> > >Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > >Finally, a world-class log management solution at an even better 
> > >price-free!
> > >Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > >February 28th, so secure your free ArcSight Logger TODAY!
> > >http://p.sf.net/sfu/arcsight-sfd2d
> > >_______________________________________________
> > >Barry-devel mailing list
> > >Barry-devel@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/barry-devel
> > >   
> > 
> 
> > ------------------------------------------------------------------------------
> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > Finally, a world-class log management solution at an even better price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> > February 28th, so secure your free ArcSight Logger TODAY! 
> > http://p.sf.net/sfu/arcsight-sfd2d
> > _______________________________________________
> > Barry-devel mailing list
> > Barry-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/barry-devel
> 
> 
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
> February 28th, so secure your free ArcSight Logger TODAY! 
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to