After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 160244 - Long filenames are not correctly distributed.
Long filenames are not correctly distributed.
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: build
2.5
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-12-02 19:07 UTC by Roger Leigh
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to select newer tar format (1.99 KB, patch)
2004-12-02 19:09 UTC, Roger Leigh
none Details | Review

Description Roger Leigh 2004-12-02 19:07:48 UTC
Because GNU automake uses the v7 tar format, there is a maximum pathname length
of 99 characters.  Filenames longer than this get the pathname truncated and
placed in the root directory of the tarfile.

Automake 1.9.3 allows one to select a newer tar format.  The attached patch
illustrates how to implement this.
Comment 1 Roger Leigh 2004-12-02 19:09:22 UTC
Created attachment 34413 [details] [review]
Patch to select newer tar format

Note that you will need to depend on Autoconf 2.59, and so AC_PREREQ in
configure.in will also need updating.
Comment 2 Murray Cumming 2004-12-03 08:24:04 UTC
Excellent. I was trying to find a way to adapt our configure.in for this. But
can you explain why you needed to use this pushdef() thing instead of a simple
assignement?

Also, please patch the ChangeLog in future.
Comment 3 Roger Leigh 2004-12-03 19:15:02 UTC
The pushdef/popdef stuff is so that you can define the version number correctly.
I don't believe you can use shell variables prior to AC_INIT, which means you
can't use a shell variable as an argument to AC_INIT.  From the Autoconf manual:

> Every configure script must call AC_INIT before doing anything else.

> It is preferable that the arguments of AC_INIT be static, i.e., there should
> not be any shell computation, but they can be computed by M4.

So we obey this restriction my defining the version number with m4 rather than
shell.


Regards,
Roger
Comment 4 Murray Cumming 2004-12-04 14:57:24 UTC
Thanks. Applied to HEAD. Hopefully we can simplify this in future.
Comment 5 Murray Cumming 2004-12-16 22:38:20 UTC
Applied to gtkmm-2-4 branch.