Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


Search this Thread
Old 08-18-2013, 03:08 PM   #1
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:

/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 03:11 PM.
Old 08-21-2013, 12:19 PM   #2
Senior Member
Registered: Apr 2005
Posts: 1,384

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

# make MAKE_JOBS_UNSAFE=yes install clean
Old 08-21-2013, 07:10 PM   #3
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, 05:20 AM   #4
Senior Member
Registered: Apr 2005
Posts: 1,384

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

# pkg_add -rv chromium
Post the output
Old 08-24-2013, 03:29 PM   #5
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:

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 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 03:35 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 5 07-24-2013 01:20 AM
Tomcat6 stops listening on port 80 when i change from port 8080 to port 80 trongthect Linux - Server 1 07-27-2012 06:41 PM
How to get Serial Port Errors DEF. Programming 3 04-14-2009 07:51 AM
Redirecting errors to Serial Port paragkalra Linux - Newbie 4 12-05-2007 04:23 AM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 07:06 PM

All times are GMT -5. The time now is 07:04 PM.

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