LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-18-2013, 02:08 PM   #1
Xenphor
Member
 
Registered: Aug 2011
Posts: 54

Rep: Reputation: Disabled
new 9.1 install, errors building libpci port for chromium port


I have a newly installed freebsd system and have only added x11 and the nvidia drivers. I can get into X so naturally I want a web browser such as chromium. Unfortunately, I'm not able to build the chromium port because of errors building libpci (I think). Here's the output:

Code:
/usr/include/runetype.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
/usr/include/runetype.h: In function '__getCurrentRuneLocale':
/usr/include/runetype.h:96: error: '_ThreadRuneLocale' undeclared (first use in this function)
/usr/include/runetype.h:96: error: (Each undeclared identifier is reported only once
/usr/include/runetype.h:96: error: for each function it appears in.)
init.c: In function 'pci_generic_error':
init.c:97: warning: implicit declaration of function 'exit'
init.c:97: warning: incompatible implicit declaration of built-in function 'exit'

gmake[1[]: *** [init.o] Error 1
In file included from access.c:10:
/usr/include/stdlib.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gmake[1]:
/usr/include/stdlib.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gmake[1]:
gmake[1]: *** [dump.o] Error 1
gmake[1]: *** [access.o] Error 1
gmake[1]: Leaving directory '/usr/ports/devel/libpci/work/pciutils-3.2.0/lib'
gmake: ***[lib/libpci.a] Error 2

Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=YES and rebuild before reporting the failure to the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/devel/libpci.
*** [lib-depends] Error code 1

Stop in /usr/ports/www/chromium.
*** [install] Error code 1.

You'll have to excuse me because I typed it out by hand. I also got the latest kernel source from svn when building nvidia. I made sure to update my ports and check for errors before I built anything.

Last edited by Xenphor; 08-18-2013 at 02:11 PM.
 
Old 08-21-2013, 11:19 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Did you try rebuilding the port with MAKE_JOBS_UNSAFE=yes as the output suggests?

Code:
# make MAKE_JOBS_UNSAFE=yes install clean
 
Old 08-21-2013, 06:10 PM   #3
Xenphor
Member
 
Registered: Aug 2011
Posts: 54

Original Poster
Rep: Reputation: Disabled
Yes I did.

I actually just decided to reinstall using binaries but apparently the servers are offline? I guess I'll try a different browser next time.
 
Old 08-22-2013, 04:20 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
That's odd... try

Code:
# pkg_add -rv chromium
Post the output
 
Old 08-24-2013, 02:29 PM   #5
Xenphor
Member
 
Registered: Aug 2011
Posts: 54

Original Poster
Rep: Reputation: Disabled
I don't have bsd on the drive just right now but I was using the pkgng tool which was supposed to replace the pkg_add I thought. According to the wiki:

Quote:
As a consequence of the security incident on 11th November 2012, for the time being pre-compiled packages for pkgng are not available from any official FreeBSD repository. The test repository pkgbeta.freebsd.org contains only a copy of pkg-1.0.X.txz in order to facilitate the bootstrap procedure for enabling pkgng on a new system. Availability of the new official pkg build cluster has been set back, as resources have instead been devoted to cleaning up after the compromise, and the distributed package building software is being heavily revised for improved security.

Target dates for when service may be resumed have not been released. In the mean time, pkgng users are advised to investigate tools such as poudriere or tinderbox.
So I'm not sure what to do. I would prefer using ports because I'm not sure if mixing the tree with binaries would be good.

Last edited by Xenphor; 08-24-2013 at 02:35 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] IPtables : ssh port forwarding one port to another port issue routers Linux - Networking 7 08-07-2018 08:41 AM
Tomcat6 stops listening on port 80 when i change from port 8080 to port 80 trongthect Linux - Server 1 07-27-2012 05:41 PM
How to get Serial Port Errors DEF. Programming 3 04-14-2009 06:51 AM
Redirecting errors to Serial Port paragkalra Linux - Newbie 4 12-05-2007 03:23 AM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 06:06 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration