Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370981 - net-misc/curl-7.21.4: Makefile:243: *** missing separator. Stop.
Summary: net-misc/curl-7.21.4: Makefile:243: *** missing separator. Stop.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 07:17 UTC by Quasimodo
Modified: 2011-06-20 04:40 UTC (History)
0 users

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


Attachments
build.log (build.log,33.21 KB, text/plain)
2011-06-10 07:17 UTC, Quasimodo
Details
emerge --info (emerge.info,5.33 KB, text/plain)
2011-06-10 07:18 UTC, Quasimodo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quasimodo 2011-06-10 07:17:10 UTC
Can't compile curl on 3 of 4 of my systems (2 amd64, 2 x86).

Reproducible: Always
Comment 1 Quasimodo 2011-06-10 07:17:49 UTC
Created attachment 276467 [details]
build.log
Comment 2 Quasimodo 2011-06-10 07:18:37 UTC
Created attachment 276469 [details]
emerge --info
Comment 3 Quasimodo 2011-06-10 07:22:27 UTC
I have already done

- emerge -auvDN world
- revdep-rebuild
- lafilefixer --justfixit
- emerge -ev make
- perl-cleaner --reallyall
- python-updater

I have no clue what's going on, but I'm not the only one with that problem (see forum http://forums.gentoo.org/viewtopic-p-6716863.html).
Comment 4 Quasimodo 2011-06-10 07:39:00 UTC
Now I've found that the autocreated makefiles differ.

On the system, which is compiling curl, the makefile is missing the problematic line. This line containts PACKAGE_COPYRIGHT contact wraped around in 3 lines, which is not allowed.

Why does the creation of the Makefiles differ? What causes this behaviour?
Comment 5 Uldis Kalniņš 2011-06-13 17:38:52 UTC
Forum post about this: 

http://forums.gentoo.org/viewtopic-t-880851.html
Comment 6 Steven Peckins 2011-06-13 19:57:27 UTC
Like Quasimodo said the problem is the PACKAGE_COPYRIGHT is wrapped without escaping the newlines.  As a workaround you can add this sed command to the src_configure() function immediately after the "econf ${myconf}" line:

sed -i '/^PACKAGE_COPYRIGHT/{N;N;s/\n/\\\n/g;p;d}' $(find ${WORKDIR} -name Makefile)

It will escape the newlines on the broken part of the Makefiles.  Worked for me.
Comment 7 Quasimodo 2011-06-20 04:40:00 UTC
The problem was caused by a defective aclocal m4 macro installed by sys-libs/libnih-1.0.1. Upgrading to sys-libs/libnih-1.0.3 replaces the macro with a working one.