|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
[Solved] Ports don't build
Hi Folks,
I'm having problems installing ports, and the weird thing is that it seems to happen with any port (I've been trying to install firefox, but upgrading other packages yields the same results). Here an example from trying to build firefox (highlighting is mine): Code:
# portmaster www/firefox ===>>> Port directory: /usr/ports/www/firefox ===>>> Gathering distinfo list for installed ports ===>>> Launching 'make checksum' for www/firefox in background ===>>> Gathering dependency list for www/firefox from ports ===>>> Launching child to update printproto-1.0.4 to printproto-1.0.5 www/firefox >> printproto-1.0.4 ===>>> Port directory: /usr/ports/x11/printproto ===>>> Launching 'make checksum' for x11/printproto in background ===>>> Gathering dependency list for x11/printproto from ports ===>>> No dependencies for x11/printproto ===>>> Continuing initial dependency check for www/firefox ===>>> Initial dependency check complete for www/firefox ===>>> The following actions will be taken if you choose to proceed: Install www/firefox Upgrade printproto-1.0.4 to printproto-1.0.5 ===>>> Proceed? y/n [y] ===>>> Starting build for www/firefox <<<=== ===>>> Starting check for build dependencies ===>>> Gathering dependency list for www/firefox from ports ===>>> Launching child to update printproto-1.0.4 to printproto-1.0.5 www/firefox >> printproto-1.0.4 ===>>> Port directory: /usr/ports/x11/printproto ===>>> Starting check for build dependencies ===>>> Gathering dependency list for x11/printproto from ports ===>>> No dependencies for x11/printproto ===> Cleaning for printproto-1.0.5 ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Extracting for printproto-1.0.5 => SHA256 Checksum OK for xorg/proto/printproto-1.0.5.tar.bz2. ===> Patching for printproto-1.0.5 ===> Configuring for printproto-1.0.5 Syntax error: "(" unexpected (expecting "then") *** Error code 2 Stop in /usr/ports/x11/printproto. ===>>> make failed for x11/printproto ===>>> Aborting update ===>>> Update for printproto-1.0.4 failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> www/firefox x11/printproto Does anyone else have the same problem or even know a fix? PS: I'm pretty new to FreeBSD, so please forgive my ignorance should I have displayed it Last edited by Brainfsck; 20th September 2011 at 05:58 PM. Reason: problem was solved (only changed the title) |
|
|||
I had been experimenting with parallel builds, but commented it out, so now it says the following:
Code:
# cat /etc/make.conf CFLAGS+=-Os -fno-strict-aliasing -pipe" CXXFLAGS+=-Os -fno-strict-aliasing -pipe" #CPUTYPE=native #FORCE_MAKE_JOBS=yes # These I know to be unsafe #UNSAFE_PORTS =audio/libsndfile #UNSAFE_PORTS+=audio/nas #UNSAFE_PORTS+=audio/xfce4-mixer #UNSAFE_PORTS+=devel/doxygen #UNSAFE_PORTS+=devel/gperf #UNSAFE_PORTS+=devel/libthai #UNSAFE_PORTS+=devel/nasm #UNSAFE_PORTS+=devel/pth #UNSAFE_PORTS+=devel/dbus-qt4 #UNSAFE_PORTS+=editors/vim #UNSAFE_PORTS+=games/falconseye #UNSAFE_PORTS+=graphics/libart_lgpl #UNSAFE_PORTS+=lang/lua50 #UNSAFE_PORTS+=lang/ocaml #UNSAFE_PORTS+=misc/e2fsprogs-libuuid #UNSAFE_PORTS+=net-mgmt/net-snmp #UNSAFE_PORTS+=print/ghostscript8 #UNSAFE_PORTS+=security/libgpg-error #UNSAFE_PORTS+=security/nss #UNSAFE_PORTS+=textproc/xerces-c2 #UNSAFE_PORTS+=www/lynx #UNSAFE_PORTS+=x11-clocks/kdetoys3 # Apply disabling make jobs #.for port in ${UNSAFE_PORTS} #.if !empty(.CURDIR:M*/${port}) #DISABLE_MAKE_JOBS=yes #.endif #.endfor # added by use.perl 2011-09-14 12:04:30 PERL_VERSION=5.12.4 |
|
|||
Hm, something interesting happened...
I rebuilt my system (release, not STABLE or even CURRENT) (yes, I'm tinkering a lot ), and now I don't get the error I used to get... At least right now firefox is building (and even with both CPUs, although I didn't explicity ask for that). BTW: does anyone know how to change the title to indicate this issue has been solved (at least kind of)? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lisp can't build %.el | Mr-Biscuit | Programming | 3 | 29th January 2011 06:46 PM |
kdepim not build ? | marduk | NetBSD Installation and Upgrading | 0 | 3rd September 2010 06:15 PM |
FreeBSD Complete ports thaw after ports freeze for 7.3 Release | J65nko | News | 0 | 24th March 2010 11:46 PM |
Broken ports in /usr/ports/x11 | DNAeon | FreeBSD Ports and Packages | 3 | 5th July 2009 08:20 PM |
Do you build your own computers? | JMJ_coder | Off-Topic | 28 | 28th July 2008 03:04 AM |