bugAVR Downloader/UploaDEr - Bugs: bug #15536, avrdude-5.1 compilation fails on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15536: avrdude-5.1 compilation fails on Gentoo/amd64

Submitted by:  None
Submitted on:  Thu 26 Jan 2006 01:24:14 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  Joerg Wunsch <joerg_wunsch> Originator Name:  Lukas Sandström
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Fri 18 Aug 2006 08:12:55 PM UTC, comment #2:

This turned out to be a bugfeature of automake.

While they document that several static files are going to be
added to the distribution archive when present (which IMHO is
a misfeature), in addition, several generated files like the
.c and .h files generated out of .l and .y sources are getting
added without that being documented.

So I had to add a dist-hook to Makefile.am that explicitly
drops these files from the distribution, so the target machine
is now forced to regenerate these using their own versions of
lex and yacc.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Thu 26 Jan 2006 07:41:23 PM UTC, comment #1:

lexer.c is a generated file, from lexer.l. Thus, there is
no CVS file for it, so we cannot patch it that way.

I'm a bit surprised this file even makes it into the source
distribution, but that's the way "make distcheck" created
the tarball. I rather suspect a bug in the autoconf/automake
configuration files used in avrdude.

As a workaround, I suggest you remove lexer.c, config_gram.c,
and config_gram.h locally before starting the build, so the
make process will recreate them using your local lex and yacc.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Thu 26 Jan 2006 01:24:14 PM UTC, original submission:

The problem is that __unused is #defined as "" at line 11 in lexer.c.

The __unused symbol is later used in <sys/stat.h> in

/usr/include/gentoo-multilib/amd64/sys/stat.h

It builds with the attached patch, but I'm not sure it's correct.

Anonymous

 

Attached Files
file #2132:  avrdude-5.1.patch added by None (628B - text/x-patch - A quick fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-18 joerg_wunsch StatusConfirmed => Fixed
    Assigned toNone => joerg_wunsch
    Open/ClosedOpen => Closed
2006-01-26 joerg_wunsch StatusNone => Confirmed
2006-01-26 None Attached File- => Added avrdude-5.1.patch, #3314
    Carbon-Copy- => Added avrdude --AT-- luksan --DOT-- cjb --DOT-- net

Back to the top


Powered by Savane 3.3