Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 435044

Summary: bootstrap-prefix.txt fails on comilation of portage/app-editors/nano-2.3.1-r2
Product: Gentoo/Alt Reporter: Jake <jstevenson131>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Severity: normal CC: jstevenson131
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: OS X   
Package list:
Runtime testing required: ---
Attachments: log file

Description Jake 2012-09-14 16:38:19 UTC
Created attachment 323784 [details]
log file

bootstrap-prefix.txt fails with error 

color.c:31:19: error: magic.h: No such file or directory

The fix should be easy, the include and link directories just need to be updated.

The makefile doesn't specify the includes correctly because magic.h is in $prefix/usr/include/ 

if I fix this by hand it further wants to link to the magic library, so the linking must be corrected as well with -L$prefix/usr/lib

If i fix both of those correctly I can compile nano-2.3.1 by hand, but  bootstrap-prefix.txt still tries to recompile it using the original (broken) makefiles
Comment 1 Fabian Groffen gentoo-dev 2012-09-29 12:49:57 UTC
It seems your flags are missing.  Did you run the interactive installer?
Comment 2 Jake 2012-10-01 14:08:25 UTC
I eventually got it to work by setting environment variables CFLAGS and LDFLAGS and running the bootstrapper in manual mode.

I originally had done bootstrapping in automatic (interactive?) mode.  I don't think the directions specify setting any flags or environment variables.