Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737540 - net-ftp/pure-ftpd-1.0.49-r2 fails to configure: syntax error near unexpected token `-fPIC,'
Summary: net-ftp/pure-ftpd-1.0.49-r2 fails to configure: syntax error near unexpected ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-17 06:12 UTC by Agostino Sarubbo
Modified: 2020-08-30 01:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,10.34 KB, text/plain)
2020-08-17 06:12 UTC, Agostino Sarubbo
Details
1-autoconf.out (1-autoconf.out,322 bytes, text/plain)
2020-08-17 06:12 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,24.58 KB, text/plain)
2020-08-17 06:12 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-17 06:12:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-ftp/pure-ftpd-1.0.49-r2 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-17 06:12:36 UTC
Created attachment 655010 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-08-17 06:12:38 UTC
Created attachment 655012 [details]
1-autoconf.out

1-autoconf.out
Comment 3 Agostino Sarubbo gentoo-dev 2020-08-17 06:12:39 UTC
Created attachment 655014 [details]
1-config.log

1-config.log
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-20 16:36:54 UTC
I cannot reproduce, error looks weird:

> ./configure: line 5926: syntax error near unexpected token `-fPIC,'
> ./configure: line 5926: `AX_CHECK_COMPILE_FLAG(-fPIC,'
Comment 5 François MATHIAS 2020-08-29 14:36:11 UTC
Same issue with a fresh install on a VM on ProxmoxVE.
amd64
sys-libs/glibc:           2.31-r6::gentoo
Comment 6 François MATHIAS 2020-08-29 20:39:52 UTC
I found the solution:

the package sys-devel/autoconf-archive was missing.

This package contains the ax_check_compile_flag.m4 file that was missing.
Comment 7 Larry the Git Cow gentoo-dev 2020-08-30 01:45:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670afcfbba08b44bb3a285557c9bfa63e3cc8788

commit 670afcfbba08b44bb3a285557c9bfa63e3cc8788
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-30 01:45:00 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-30 01:45:00 +0000

    net-ftp/pure-ftpd: building requires sys-devel/autoconf-archive
    
    Closes: https://bugs.gentoo.org/737540
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-ftp/pure-ftpd/pure-ftpd-1.0.49-r2.ebuild | 2 ++
 net-ftp/pure-ftpd/pure-ftpd-9999.ebuild      | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)