Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633636 - sys-devel/gcc (any version) fix_libtool_files.sh syntax error
Summary: sys-devel/gcc (any version) fix_libtool_files.sh syntax error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-06 17:02 UTC by Reuben Martin
Modified: 2017-10-06 18:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Martin 2017-10-06 17:02:09 UTC
After rebuilding gcc, I noticed the little script that updates libtool related stuff failing:

/usr/sbin/fix_libtool_files.sh: line 68: syntax error: unexpected end of file

ran diff against working file on another machine:
=====
2c2
< # Copyright 1999-2017 Gentoo Foundation
---
> # Copyright 1999-2014 Gentoo Foundation
42d41
< if [ ${EUID:-0} -ne 0   -a   "${EPREFIX}" == '' ] ; then
=====

File was changed adding "if" statement without matching "fi"

Reproducible: Always
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-10-06 18:45:51 UTC
My fault & already fixed. 

If you dont want to re-emerge gcc, just delete the line above the inserted one ("if [ ${EUID:-0} -ne 0 ] ; then").