Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
autoreconf advice
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Barry Warsaw  
View profile  
 More options Dec 3 2010, 5:02 pm
From: Barry Warsaw <ba...@ubuntu.com>
Date: Fri, 3 Dec 2010 17:02:54 -0500
Local: Fri, Dec 3 2010 5:02 pm
Subject: autoreconf advice

I've been working on fixing an ftbfs for graphviz on natty:

    https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/683182

The fundamental problem is that there are some hard-coded assumptions about
what Python versions are available, and those only go up to Python 2.6 (and
only to Python 2.5 in some file).  While tedious and time consuming to track
down, I did manage to find all those spots and add Python 2.7 support.  This
*should* only touch

    configure.ac
    debian/libgv-python.install
    tcklpkg/Makefile.am
    tclpkg/gv/Makefile.am

but of course the various autobuild artifacts need updating as well.  At first
I took a minimalist approach, running autoconf and automake manually, but then
I got failures because of aclocal.m4/libtool version mismatches.  I tried
regenerating just aclocal.m4 and libltdl/aclocal.m4 but could not completely
eliminate the libtool errors.  The build complained that libtool was at 2.2.6b
(the version in maverick, my development machine, and natty, my schroots), but
that aclocal.m4 wanted 2.2.6, even though I'd regenerated both aclocal.m4
files I could find.

So I bit the bullet and ran autoreconf.  I'd avoided it earlier because it
touches about 100 files and I know how insane it is to try to review diffs
that modify a ton of generated files.  Note however that all these generated
files are in the source package (and under bzr version control in the source
branches).

The good news is that with my changes and an autoreconf, the package builds.

So I'm looking for recommendations as to the best (or maybe least horrible)
way of dealing with this.  Do I just close my eyes, stick my fingers in my
ears and submit changes with the autoreconf regenerated files?

When I submit the patches upstream, I'll likely narrow it down to just the .ac
and .am file changes (and the .install change to Debian).  Then upstream can
do whatever autoreconf they want.  But for now, how should this be handled in
Ubuntu and Debian?

Cheers,
-Barry

  signature.asc
< 1K Download

--
ubuntu-devel mailing list
ubuntu-de...@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chow Loong Jin  
View profile  
 More options Dec 3 2010, 5:08 pm
From: Chow Loong Jin <hyper...@gmail.com>
Date: Sat, 04 Dec 2010 06:08:03 +0800
Local: Fri, Dec 3 2010 5:08 pm
Subject: Re: autoreconf advice

On Saturday 04,December,2010 06:02 AM, Barry Warsaw wrote:

These days there's dh --with=autoreconf, and for CDBS users,
/usr/share/cdbs/1/rules/autoreconf.mk, which handle all the autoreconf stuff and
cleanup after without needing to commit a huge autoreconf patch into debian/patches.

Just build-depend on dh-autoreconf, and add the required stuff to debian/rules
and you should be done.

--
Kind regards,
Loong Jin

  signature.asc
< 1K Download

--
ubuntu-devel mailing list
ubuntu-de...@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barry Warsaw  
View profile  
 More options Dec 3 2010, 5:21 pm
From: Barry Warsaw <ba...@ubuntu.com>
Date: Fri, 3 Dec 2010 17:21:01 -0500
Local: Fri, Dec 3 2010 5:21 pm
Subject: Re: autoreconf advice

On Dec 04, 2010, at 06:08 AM, Chow Loong Jin wrote:

>These days there's dh --with=autoreconf, and for CDBS users,
>/usr/share/cdbs/1/rules/autoreconf.mk, which handle all the autoreconf stuff and
>cleanup after without needing to commit a huge autoreconf patch into debian/patches.

>Just build-depend on dh-autoreconf, and add the required stuff to debian/rules
>and you should be done.

Nice.  Thanks, I'll give that a try.

-Barry

  signature.asc
< 1K Download

--
ubuntu-devel mailing list
ubuntu-de...@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Barry Warsaw  
View profile  
 More options Dec 4 2010, 9:59 am
From: Barry Warsaw <ba...@ubuntu.com>
Date: Sat, 4 Dec 2010 09:59:23 -0500
Local: Sat, Dec 4 2010 9:59 am
Subject: Re: autoreconf advice

On Dec 04, 2010, at 06:08 AM, Chow Loong Jin wrote:

>These days there's dh --with=autoreconf, and for CDBS users,
>/usr/share/cdbs/1/rules/autoreconf.mk, which handle all the autoreconf stuff and
>cleanup after without needing to commit a huge autoreconf patch into debian/patches.

>Just build-depend on dh-autoreconf, and add the required stuff to debian/rules
>and you should be done.

Just to follow up.  I ended up solving this by calling

    dh_autoreconf autoreconf --

directly right before the configure call.  The reason for being explicit is
that the -f -i options dh_autoreconf uses by default broke the build.

Thanks for the clue!
-Barry

  signature.asc
< 1K Download

--
ubuntu-devel mailing list
ubuntu-de...@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »