DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default gettext-dependent and gmake-dependent ports won't compile on openbsd 5.1 current

Hi everyNerd !

Today I installed OpenBSD 5.1 current on a spare disk .. without problems .. until I started compiling some ports ..

it seems that gettext-dependent and gmake-dependent ports won't compile ..
I ftped to distfiles directory on the official website and found many gettext versions (tar.gz amd .gem) ..

Any suggestions ?
Thank you in advance !
Reply With Quote
  #2   (View Single Post)  
Old 1st February 2012
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 581
Thanked 9 Times in 9 Posts
Default

Unless you pass compile options, edit the Makefile or use a slightly newer version of ports you will compile exactly the same binary that you can download. The advantage of the precompiled binaries is that the developers tweak the ports until everything compiles and then upload the packages to the ftp servers. I suspect your version of ports has some issue that the OBSD maintainers will fix in a couple of days to a week. If you can sort out the compile problems the maintainers would not mind it if you submitted the compile logs that define the error and they would also appreciate knowing if and how you fixed the problem.

What you posted does not have enough information for anyone to help you unless they took time out of their day and installed current and began to compile the same ports using the same ports code.

My main suggestion would be for you to use the current binary packages to try new software. If you want to learn about compiling software and specifically compiling OpenBSD ports there is a section in the FAQ that would be worth reading
Reply With Quote
  #3   (View Single Post)  
Old 1st February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

thanks for your reply Shep !
I am fully aware that prebuild packages are safer .. but going current has always been a tempting experience to me as a newb ..
I'd be thankful is you could paraphrase your helpful reply into examples :
practically How can I :
* edit a makefile ?
* submit a compile log ?
a how-to example would help much ..
I downloaded the latest snapshots and stricly did a {make install clean} for all ports ..
I am currently on 5.0 stable disk ..
tomorrow I'm changing disks and putting the error logs here ..
I remember all errors were related to gmake and gettext as both couldn't compile ..
Reply With Quote
  #4   (View Single Post)  
Old 1st February 2012
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 581
Thanked 9 Times in 9 Posts
Default

Here is an example of a submitted compile.log with an error
http://marc.info/?l=openbsd-ports&m=132201147610603 I do not have a current example as I usually
Code:
distclean
my builds to save disk space and usually my only build are the MS web fonts.
Reply With Quote
  #5   (View Single Post)  
Old 1st February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,634
Thanked 214 Times in 189 Posts
Default

Quote:
am fully aware that prebuild packages are safer
I think perhaps you misunderstood what I wrote in http://www.daemonforums.org/showpost...29&postcount=2 so I will elaborate:

There is no difference between a package you build from the ports tree and a pre-built package you obtain from your nearby mirror. They will have been built with the same toolchain on the same architecture.

Snapshot packages are built from time to time for the convenience of -current users. Because these will not always be in sync, -current users are expected to be able to resolve sync issues themselves.

------

We don't know enough about your problem to give you any specific "how to" help. You should realize, through careful reading of FAQ 15 (and especially FAQ 15.4.1) that dependent libraries must be kept in sync. Changes in /usr/lib and changes in /usr/local/lib for dependent ports WILL require rebuilding of the port of interest or ports from its dependency chain, from time to time.

It is your responsibility, if you wish to be a -current user to learn how to properly build ports. Along with careful reading of FAQ 15, ports(7), and bsd.port.mk(5), you will find the logging of console output very helpful to determine the root cause of any build failure. You will find the script(1) command helpful, along with the col(1) command's -b option.
Reply With Quote
  #6   (View Single Post)  
Old 1st February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Jggimi !
I am considering your informative post ..
Much Thanks
Reply With Quote
  #7   (View Single Post)  
Old 1st February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,634
Thanked 214 Times in 189 Posts
Default

@daemonfowl, since you are attempting to build the entire ports tree, along with whatever errors you might be having now .... you will have conflicts between installed packages and packages you are trying to build and install. There are any number of packages that intentionally have conflicts, and install files with the exact same file names -- and pkg_add(8) will not install where there are conflicts. As an example I'm familiar with, you cannot have both x11/xfce4/notification-daemon-xfce and x11/xfce4/xfce4-notifyd installed at the same time. You will find you cannot have two flavors of the same package installed at the same time, yet both might be needed as dependencies for different ports downstream.

This means that your attempt to "make install clean" from the ports top level directory will never succeed.

Now that I've provided you with some additional information -- can you determine, on your own, what make target you should use in order to bulk build the entire tree? And, are there any environment variables that might also be helpful to you?

I am attempting to teach you how to fish, rather than placing a plate of seafood in front of you.
Reply With Quote
  #8   (View Single Post)  
Old 1st February 2012
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 318
Thanked 9 Times in 9 Posts
Default

To the OP: try this:

echo "FETCH_PACKAGES=Yes" >> /etc/mk.conf && cd /usr/ports && make package clean

That may very well accomplish what you are trying to accomplish. =)
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
  #9   (View Single Post)  
Old 1st February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks Jgimmi ! Thanks Rocket357 !
I appreciate the help ..
before going on , I need to tell you that I didn't move from an installed stable OpenBSD to current .. but downloaded an OpenBSD.5.1 snapshot iso , installed it , and started compiling ports ..
well , I'll apply what you suggested and see ..
Reply With Quote
Old 1st February 2012
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 318
Thanked 9 Times in 9 Posts
Default

Blarg! Sorry, Jggimi...I stepped all over your toes there without even realizing it.

Sigh...my bad.

I will read posts in their entirety before replying.
I will read posts in their entirety before replying.
I will read posts in their entirety before replying.
I will read....
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
Old 1st February 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,876
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
...I need to tell you that I didn't move from an installed stable OpenBSD to current .. but downloaded an OpenBSD.5.1 snapshot iso , installed it , and started compiling ports ..
You should also divulge what steps were taken in downloading the ports tree. As stated in Section 15.3.2, mixing versions of the ports tree is not supported.
Reply With Quote
Old 1st February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Ocicat ! thanks for reminding ..
I did not mix ports , I downloaded and used ports from snapshots directory ..
luckily I installed links as dillo.firefox and opera could not compile ..
I tried Rocket365's suggestion which resulted in a successful update of some packages but ended up in this error message :
Error : Libraries in packing-lists in the ports tree and libraries from installed packages don't match

is there a way to copy the whole message from xterm to links page on here ?
Reply With Quote
Old 1st February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,634
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by daemonfowl View Post
is there a way to copy the whole message from xterm to links page on here ?
Here's a step-by-step "How to":
  1. Use script(1), which I mentioned above. Run your build.
  2. Exit script and filter the typescript output with col(1), which I mentioned above, to produce a readable and editable log.
  3. Edit the log with your favorite $EDITOR. Show what working directory you were in and your make command. Be sure to show your applicable environment variables from mk.conf or from your shell if not used inline on your make command. Show only the first fatal error and its messages which appears in the log. You may delete what comes before and what comes after.
Builds produce lots and lots of output. We're interested in which port *first* failed to build, so your edited log should show which port was building. We are interested in the fatal error, which shows why it failed to build. And we are uninterested in anything after that, which may go on for hundreds of lines of output, depending on the depth of the dependency chain the build was in at the time of the first failure.

Last edited by jggimi; 1st February 2012 at 08:49 PM. Reason: comments after step 3 added
Reply With Quote
Old 1st February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thank you ! I'll proceed ..
before that , I tried installing snownews but :
Code:
 
===>  Looking for snownews-1.5.12p0.tgz in $PKG_PATH - not found
*** Error code 1

Stop in /usr/ports/www/snownews (line 1663 of /usr/ports/infrastructure/mk/bsd.port.mk).
===>  Checking files for snownews-1.5.12p0
`/usr/ports/distfiles/snownews-1.5.12.tar.gz' is up to date.
>> (SHA256) snownews-1.5.12.tar.gz: OK
===> snownews-1.5.12p0 depends on: gettext->=0.10.38 -> gettext-0.18.1p1
===> snownews-1.5.12p0 depends on: gmake-* - not found
===>  Verifying install for gmake-* in devel/gmake
===>  Looking for gmake-3.82.tgz in $PKG_PATH - not found
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1663 of /usr/ports/infrastructure/mk/bsd.port.mk).
`/usr/ports/pobj/gmake-3.82/fake-i386/.fake_done' is up to date.
===>  Building package for gmake-3.82
Create /usr/ports/packages/i386/all/gmake-3.82.tgz
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/be/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/da/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/de/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/es/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/fi/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/fr/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ga/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/gl/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/he/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/hr/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/id/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/it/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ja/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ko/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/lt/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/nl/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/pl/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/pt_BR/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ru/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/sv/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/tr/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/uk/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/vi/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/zh_CN/LC_MESSAGES/make.mo does not exist
Fatal error: can't continue
 at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1248
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2214 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1689 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/snownews (line 1855 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/snownews (line 2256 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/snownews (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/snownews (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/snownews (line 2214 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/snownews (line 1689 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/www/snownews (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
Reply With Quote
Old 1st February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,634
Thanked 214 Times in 189 Posts
Default

Thank you for that excerpt, @daemonfowl. I believe this particular problem is a bad WORKOBJDIR structure for gmake. The fake target, used for package building, is shown as complete. But the directory structure containing the fake install is missing or damaged.

I assume that there was an earlier problem that went unnoticed and uncorrected by you.

The "fix" for this is to:

cd /usr/ports/devel/gmake
make clean install

There is a and what is in the
Reply With Quote
Old 1st February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks Man ! I must admit I still can't successfully use col for the task .. so I just extend the xterm screen on fvwm andd select eveything -in two halves- then vi output and paste to output then copy all with y D and shift insert on
Code:
 here
.. a newb stupid way .. lol

here is what happened after making installing gmake :
Code:
AGES/make.mo does not exist
Fatal error: can't continue
 at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1248
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2214 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1689 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
$ 
yank something first
Reply With Quote
Old 2nd February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,634
Thanked 214 Times in 189 Posts
Default

Sorry, but that is unhelpful, since the error is both a fragment and apparently a secondary error, and not the root cause.

Try "col -b < typescript > readable.file"
Reply With Quote
Old 2nd February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Jgimmy , the apology is mine and I posted a chunk .. and I thank you for bearing my newb-woes and Qs ..
so how about this :

Code:
$ cd /usr/ports/devel/gmake
$ sudo make install
===>  Looking for gmake-3.82.tgz in $PKG_PATH - not found
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1663 of /usr/ports/infrastructure/mk/bsd.port.mk).
`/usr/ports/pobj/gmake-3.82/fake-i386/.fake_done' is up to date.
===>  Building package for gmake-3.82
Create /usr/ports/packages/i386/all/gmake-3.82.tgz
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/be/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/da/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/de/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/es/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/fi/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/fr/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ga/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/gl/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/he/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/hr/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/id/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/it/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ja/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ko/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/lt/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/nl/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/pl/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/pt_BR/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ru/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/sv/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/tr/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/uk/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/vi/LC_MESSAGES/make.mo does not exist
Error: /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/zh_CN/LC_MESSAGES/make.mo does not exist
Fatal error: can't continue
 at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1248
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2214 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1689 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
$
Reply With Quote
Old 2nd February 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,634
Thanked 214 Times in 189 Posts
Default

This log does not show a "make clean" as I had recommended.
The "make clean install" I had recommended executes a "make clean" before it executes a "make install".

If you did not clean the WORKOBJDIR, you will continue to have errors. I think you need to do more reading, and more studying, and become comfortable with building individual ports and their dependencies before you attempt to build more than seven thousand ports at once. You need to learn to take steps before you run a marathon.

The "make clean install" I had recommended executes a "make clean" before it executes a "make install".

---

You are attempting to build gmake, which gets built very early in any bulk build sequence, since so many ports are built with the Gnu toolchain. How many packages did you build and successfully install, so far? 10? 20? 45? If 45, you have only 7300 more builds to go.

FAQ 15.1, Introduction says:
Quote:
IMPORTANT NOTE: The ports tree is meant for advanced users. Everyone is encouraged to use the pre-compiled binary packages. Do NOT ask beginner questions on the mailing lists like "How can I get the ports tree working?". If you have questions about the ports tree, it is assumed that you have read the manual pages and this FAQ, and that you are able to work with it....
FAQ 15.4.6, Packages or Ports, says:
Quote:
In general, you are highly advised to use packages over building an application from ports. The OpenBSD ports team considers packages to be the goal of their porting work, not the ports themselves.

Building a complex application from source is not trivial. Not only must the application be compiled, but the tools used to build it must be built as well. Unfortunately, OpenBSD, the tools, and the application are all evolving, and often, getting all the pieces working together is a challenge. Once everything works, a revision in any of the pieces the next day could render it broken. Every six months, as a new release of OpenBSD is made, an effort is made to test the building of every port on every platform, but during the development cycle it is likely that some ports will break.
Reply With Quote
Old 2nd February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Jggimi !
sorry for the inconvenience ..
here is the output of a make clean install ..
beginning :
Code:
Script started on Thu Feb  2 21:47:13 2012
$ cd /usr/ports/devel/gmake
$ sudo make clean install
===>  Cleaning for gmake-3.82
===>  Looking for gmake-3.82.tgz in $PKG_PATH - not found
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1663 of /usr/ports/infrastructure/mk/bsd.port.mk).
===>  Checking files for gmake-3.82
`/usr/ports/distfiles/make-3.82.tar.gz' is up to date.
>> (SHA256) make-3.82.tar.gz: OK
===> gmake-3.82 depends on: gettext->=0.10.38 -> gettext-0.18.1p1
===> gmake-3.82 depends on: libiconv-* -> libiconv-1.14
===>  Verifying specs: c intl>=5 iconv>=6 c intl>=5 iconv>=6
===>  found c.61.0 intl.6.0 iconv.6.0
===>  Extracting for gmake-3.82
===>  Patching for gmake-3.82
===>  Configuring for gmake-3.82
Using /usr/ports/pobj/gmake-3.82/config.site (generated)
configure: WARNING: unrecognized options: --disable-silent-rules
then :

Code:
===>  Building for gmake-3.82
make  all-recursive
Making all in glob
cc -DHAVE_CONFIG_H -I. -I/usr/ports/pobj/gmake-3.82/make-3.82/glob -I..    -I/usr/local/include  -O2 -pipe -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o /usr/ports/pobj
/gmake-3.82/make-3.82/glob/glob.c
and :
Code:
===>  Faking installation for gmake-3.82
Making install in glob
Making install in config
Making install in po
if test "make" = "gettext-tools"; then  /bin/sh /usr/ports/pobj/gmake-3.82/make-3.82/config/mkinstalldirs /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/gettext/po;  f
or file in Makefile.in.in remove-potcdate.sin  quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do  install -c -o ro
ot -g bin -m 444 /usr/ports/pobj/gmake-3.82/make-3.82/po/$file  /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/gettext/po/$file;  done;    for file in Makevars; do  rm
 -f /usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/gettext/po/$file;       done;  else  : ;  fi
Making install in doc
test -z "/usr/local/info" || mkdir -p "/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/info"
 install -c -o root -g bin -m 444 /usr/ports/pobj/gmake-3.82/make-3.82/doc/make.info /usr/ports/pobj/gmake-3.82/make-3.82/doc/make.info-1 /usr/ports/pobj/gmake-3.82/make-3.8
2/doc/make.info-2 '/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/info'
 install-info --info-dir='/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/info' '/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/info/make.info'
test -z "/usr/local/bin" || mkdir -p "/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/bin"
  install -c -s -o root -g bin -m 555 make '/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/bin/./gmake'
test -z "/usr/local/man/man1" || mkdir -p "/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/man/man1"
 install -c -o root -g bin -m 444 '/usr/ports/pobj/gmake-3.82/make-3.82/make.1' '/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/man/man1/gmake.1'
===>  Building package for gmake-3.82
Create /usr/ports/packages/i386/all/gmake-3.82.tgz
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/be/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/da/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/de/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/es/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/fi/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/fr/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ga/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/gl/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/he/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/hr/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/id/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/it/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ja/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ko/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/lt/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/nl/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/pl/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/pt_BR/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/ru/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/sv/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/tr/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/uk/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/vi/LC_MESSAGES/make.mo does not exist
KError:m/usr/ports/pobj/gmake-3.82/fake-i386/usr/local/share/locale/zh_CN/LC_MESSAGES/make.mo does not exist
Fatal error: can't continue
 at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1248
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1671 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2214 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 1689 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gmake (line 2197 of /usr/ports/infrastructure/mk/bsd.port.mk).
$ exit

Script done on Thu Feb  2 21:48:55 2012
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
Enlightenment e17 on OpenBSD (Question about current ports) uptonm OpenBSD Packages and Ports 2 17th June 2009 09:12 PM
How to get 'make' to accept all defaults for dependent packages Xeon FreeBSD Ports and Packages 1 12th February 2009 01:54 AM
Compile ports in parallel? MetalHead FreeBSD Ports and Packages 9 9th October 2008 11:37 PM
Patch and compile bind94 on FreeBSD ports collection dylan912 FreeBSD Ports and Packages 2 4th July 2008 12:23 PM
remove kde and kde dependent apps ccc FreeBSD Installation and Upgrading 2 12th May 2008 02:11 PM


All times are GMT. The time now is 08:55 AM.


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