Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444084 - sys-devel/m4-1.4.16 does hardcoded AR calls
Summary: sys-devel/m4-1.4.16 does hardcoded AR calls
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2012-11-20 19:04 UTC by Denis M. (Phr33d0m)
Modified: 2021-07-25 17:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

m4-1.4.16-ar.patch (m4-1.4.16-ar.patch,786 bytes, patch)
2013-06-15 20:51 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff
m4-1.4.16.patch (m4-1.4.16.patch,497 bytes, patch)
2013-06-15 20:52 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis M. (Phr33d0m) 2012-11-20 19:04:32 UTC
$ ▶ ./ /var/tmp/portage/logs/sys-devel\:m4-1.4.16\:20121120-130229.log 
>>> sys-devel/m4-1.4.16: ISSUES FOUND
> Hardcoded calls:
ar cru libm4.a gl_avltree_oset.o c-ctype.o c-stack.o clean-temp.o close-hook.o execute.o exitfail.o fatal-signal.o fd-safer-flag.o dup-safer-flag.o freadahead.o freading.o gl_linkedhash_list.o gl_list.o localcharset.o lock.o malloca.o memchr2.o gl_oset.o pipe2.o pipe2-safer.o printf-frexp.o printf-frexpl.o progname.o spawn-pipe.o threadlib.o tls.o tmpdir.o verror.o version-etc.o version-etc-fsf.o wait-process.o xalloc-die.o gl_xlist.o xmalloca.o gl_xoset.o xprintf.o xstrndup.o xvasprintf.o xasprintf.o asnprintf.o asprintf.o basename.o basename-lgpl.o cloexec.o close-stream.o closein.o closeout.o dirname.o dirname-lgpl.o dup-safer.o dup2.o fcntl.o fd-safer.o fflush.o filenamecat.o filenamecat-lgpl.o fopen-safer.o fpurge.o fseeko.o isnanl.o mkstemp-safer.o pipe-safer.o printf-args.o printf-parse.o quotearg.o stripslash.o strstr.o tempname.o vasnprintf.o vasprintf.o xmalloc.o

Reproducible: Always
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-06-15 20:51:47 UTC
Created attachment 351040 [details, diff]

This patch fixes the issue. please review.
Comment 2 Michael Mair-Keimberger (iamnr3) 2013-06-15 20:52:25 UTC
Created attachment 351042 [details, diff]

patch against latest ebuild
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2013-10-20 21:25:02 UTC
The ebuild for m4 goes to great lengths to avoid depending on autotools, but you introduce a hard dependency on it here. This would cause a circular dependency.
Comment 4 Michael Mair-Keimberger (iamnr3) 2021-07-25 08:17:18 UTC

I think this bug can be closed. Latest version of m4 (1.4.19) doesn't call AR directly anymore.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-25 17:27:40 UTC
(In reply to Michael Mair-Keimberger (iamnr3) from comment #4)
> Hi,
> I think this bug can be closed. Latest version of m4 (1.4.19) doesn't call
> AR directly anymore.