DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th September 2011
Brainfsck Brainfsck is offline
New User
 
Join Date: Aug 2011
Location: Germany
Posts: 8
Thanked 0 Times in 0 Posts
Default [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
As said previously, I get this error message for seemingly every port I try to build. At first I assumed a broken port, but this has been like this for a few days or so (yes, I've used portsnap to sync my tree).

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)
Reply With Quote
  #2   (View Single Post)  
Old 20th September 2011
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

Do you have anything in /etc/make.conf?
Reply With Quote
  #3   (View Single Post)  
Old 20th September 2011
Brainfsck Brainfsck is offline
New User
 
Join Date: Aug 2011
Location: Germany
Posts: 8
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
Do you have anything in /etc/make.conf?
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
Reply With Quote
  #4   (View Single Post)  
Old 20th September 2011
Brainfsck Brainfsck is offline
New User
 
Join Date: Aug 2011
Location: Germany
Posts: 8
Thanked 0 Times in 0 Posts
Smile

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)?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 11:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick