|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Problem with building base
Hey,
building latest base from the git mirror gives me the this: Quote:
Any hints on what's wrong here? I've build both kernel and base successfully in the past always following release(8) to the word. |
|
|||
Quote:
My suggestion would be to follow the information in the release(8) manpage,& Section 5 of the official FAQ. |
|
|||
I am now using CVS, kernel builds fine as usual but base now fails at this (late in the process):
Quote:
|
|
||||
Since the failure is building Perl, I'll guess that your build system is older than the 5 February 2017 update to Perl 5.24.1. A later snapshot will get you past this flag day change.
See the Following -current FAQ for more details. Last edited by jggimi; 11th March 2017 at 03:03 PM. Reason: typos, added link. |
|
|||
This error did indeed not occur prior to that change. Upgrading to/via latest snapshot (bsd*, base*, comp* sets installed) still doesn't fix building:
Quote:
|
|
|||
To add to jggimi's correct response, whenever mirror sources are changed, delete everything obtained at any previous site. The file timestamps will likely not be synchronized. Deleting everything simplifies the problem solving most likely needed later.
|
|
|||
That's what I already did in the first place: Wiped /usr/src and fetched it through {src,sys}.tar.gz and CVS again.
|
|
|||
Quote:
https://www.openbsd.org/faq/current.html Quote:
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
|
|||
Using the latest snapshot as ever for building sources, but still:
Code:
$ what /bsd /bsd OpenBSD 6.1-beta (GENERIC.MP) #1: Mon Mar 13 01:23:27 CET 2017 $ cd /usr $ ls -ld src drwxrwxr-x 2 kle wsrc 512 Mar 13 13:04 src/ $ cvs -Qz6 -d${CVSROOT} co -P src $ cd src $ su -m Password: # { make -s obj && make -s build; } 1>/dev/null [warnings...] The *exact same* iconv.h error from my initial post occurs Last edited by kl3; 13th March 2017 at 12:59 PM. Reason: Typofix |
|
||||
Is there anything in /etc/mk.conf ?
All I can think of is something in your environment that is non-standard, such as building in parallel mode. If it's empty, I'm out of ideas. While "-s" is non-standard, it shouldn't cause an issue. |
|
|||
/etc/mk.conf does not exist.
Code:
$ make -pC/usr/src | sed /^$/q #global variables: .CURDIR = /usr/src .MAKE = make .MAKEFLAGS = -p .OBJDIR = /usr/src .TARGETS = all AFLAGS = ${DEBUG} AR = ar ARFLAGS = r AS = as BINGRP = bin BINMODE = 555 BINOWN = root BSDOBJDIR = /usr/obj BSDSRCDIR = /usr/src BSD_OWN_MK = Done BUILDUSER = build CC = cc CDIAGFLAGS = -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -Wdeclaration-after-statement CFLAGS = -O2 ${PIPE} ${DEBUG} CLANG_ARCH = aarch64 COMPILE.F = ${FC} ${FFLAGS} ${CPPFLAGS} -c COMPILE.S = ${CC} ${AFLAGS} ${CPPFLAGS} -c COMPILE.c = ${CC} ${CFLAGS} ${CPPFLAGS} -c COMPILE.cc = ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c COMPILE.f = ${FC} ${FFLAGS} -c COMPILE.p = ${PC} ${PFLAGS} ${CPPFLAGS} -c COMPILE.r = ${FC} ${FFLAGS} ${RFLAGS} -c COMPILE.s = ${CC} ${AFLAGS} -c COMPILER_VERSION = gcc4 CPP = cpp CPPFLAGS = CROSS_TARGETS = cross-env cross-dirs cross-obj cross-includes cross-binutils cross-gcc cross-tools cross-lib cross-bin cross-etc-root-var cross-depend cross-clean cross-cleandir CTAGS = /usr/bin/ctags CXX = c++ CXXFLAGS = -O2 ${PIPE} ${DEBUG} DEFAULT_PIE_DEF = -DPIE_DEFAULT=1 DIRMODE = 755 DOCDIR = /usr/share/doc DOCGRP = bin DOCMODE = ${NONBINMODE} DOCOWN = root FC = f77 FFLAGS = -O2 GCC3_ARCH = m88k GNUSYSTEM_AUX_DIR = ${BSDSRCDIR}/share/gnu HOSTCC = cc INSTALL = install INSTALL_COPY = -c INSTALL_STRIP = -s LD = ld LDFLAGS = ${DEBUG} LEX = lex LEX.l = ${LEX} ${LFLAGS} LFLAGS = LIBDIR = /usr/lib LIBGRP = ${BINGRP} LIBMODE = ${NONBINMODE} LIBOWN = ${BINOWN} LINK.F = ${FC} ${FFLAGS} ${CPPFLAGS} ${LDFLAGS} LINK.S = ${CC} ${AFLAGS} ${CPPFLAGS} ${LDFLAGS} LINK.c = ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} LINK.cc = ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} LINK.f = ${FC} ${FFLAGS} ${LDFLAGS} LINK.p = ${PC} ${PFLAGS} ${CPPFLAGS} ${LDFLAGS} LINK.r = ${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS} LINK.s = ${CC} ${AFLAGS} ${LDFLAGS} LOCALEDIR = /usr/share/locale LOCALEGRP = wheel LOCALEMODE = ${NONBINMODE} LOCALEOWN = root LORDER = lorder MACHINE = amd64 MACHINE_ARCH = amd64 MACHINE_CPU = amd64 MAKE = make MAKEFILE = Makefile MAKEFILE_LIST = /usr/share/mk/sys.mk Makefile /usr/share/mk/bsd.own.mk /usr/share/mk/bsd.subdir.mk MANDIR = /usr/share/man/man MANGRP = bin MANMODE = ${NONBINMODE} MANOWN = root MFLAGS = -p NONBINMODE = 444 NOPIE_FLAGS = -fno-pie NOPIE_LDFLAGS = -nopie OSMAJOR = 6 OSMINOR = 1 OSREV = $(OSMAJOR).$(OSMINOR) OSrev = $(OSMAJOR)$(OSMINOR) PC = pc PFLAGS = PICFLAG = -fpic PIE_ARCH = alpha amd64 arm hppa i386 mips64 mips64el powerpc sh sparc64 PIE_DEFAULT = ${DEFAULT_PIE_DEF} PIPE = -pipe RANLIB = ranlib RFLAGS = SHAREDIR = /usr/share SHAREGRP = bin SHAREMODE = ${NONBINMODE} SHAREOWN = root SHELL = /bin/sh SKEY = yes SKIPDIR = STATIC = -static ${STATICPIE} STATICPIE = -pie STATICPIE_ARCH = alpha amd64 arm hppa i386 mips64 mips64el powerpc sh sparc64 SUBDIR = lib include bin libexec sbin usr.bin usr.sbin share games gnu sys WARNINGS = no WOBJGROUP = wobj WOBJUMASK = 007 YACC = yacc YACC.y = ${YACC} ${YFLAGS} YFLAGS = -d YP = yes unix = We run OpenBSD. |
|
||||
Thank you. Nothing jumps out at me. If others here do not see something I have missed, you might start a thread on the misc@ mailing list to see if a much broader audience -- including about half of the developers -- have any recommendations.
|
Tags |
base source compile |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ftp.fr.openbsd.org not available by base ftp | shep | OpenBSD Installation and Upgrading | 2 | 6th July 2015 04:38 PM |
OpenBSD nginx is going into base | ocicat | News | 1 | 23rd September 2011 08:23 AM |
problem building fluxbox on NetBSD 5.1 with modular X.org | Brainfsck | NetBSD Package System (pkgsrc) | 5 | 24th August 2011 04:59 PM |
OBSD 4.6 Installed - Problem building Kernel for -current | IronForge | OpenBSD Installation and Upgrading | 11 | 10th November 2009 09:34 PM |
Problem Building Openoffice-3 | Alphalutra1 | FreeBSD Ports and Packages | 1 | 1st May 2009 04:22 AM |