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 26th January 2015
spiderpig spiderpig is offline
Port Guard
 
Join Date: May 2008
Posts: 29
Default building graphics/imlib2?

Hey guys!

I decided to upgrade to current yesterday and built a number of ports including Firefox and LibreOffice. They all built successfullly, so I assume my tree and technique are correct. Yet when I build graphics/feh, it fails. The error message I'm seeing is when the underlying graphics/imlib2 is being built--
Code:
$ make install
===>  Checking files for feh-2.12
`/usr/ports/distfiles/feh-2.12.tar.bz2' is up to date.
>> (SHA256) feh-2.12.tar.bz2: OK
===> feh-2.12 depends on: imlib2-* - not found
===>  Verifying install for imlib2-* in graphics/imlib2
`/usr/ports/pobj/imlib2-1.4.2/fake-i386/.fake_done' is up to date.
===>  Building package for imlib2-1.4.2p3
Create /usr/ports/packages/i386/all/imlib2-1.4.2p3.tgz
checksumming|************************************************************************************                                                                                              | 47%
Error: /usr/ports/pobj/imlib2-1.4.2/fake-i386/usr/local/lib/imlib2/loaders/id3.la does not exist
Error: /usr/ports/pobj/imlib2-1.4.2/fake-i386/usr/local/lib/imlib2/loaders/id3.so does not exist
Fatal error: can't continue
 at /usr/libdata/perl5/OpenBSD/PkgCreate.pm line 1535.
*** Error 1 in /usr/ports/graphics/imlib2 (/usr/ports/infrastructure/mk/bsd.port.mk:1944 '/usr/ports/packages/i386/all/imlib2-1.4.2p3.tgz')
*** Error 1 in /usr/ports/graphics/imlib2 (/usr/ports/infrastructure/mk/bsd.port.mk:2493 '_internal-package')
*** Error 1 in /usr/ports/graphics/imlib2 (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'package')
*** Error 1 in /usr/ports/graphics/imlib2 (/usr/ports/infrastructure/mk/bsd.port.mk:1957 '/var/db/pkg/imlib2-1.4.2p3/+CONTENTS')
*** Error 1 in /usr/ports/graphics/imlib2 (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'install')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2100 '/usr/ports/pobj/feh-2.12/.dep-graphics-imlib2')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2556 '/usr/ports/pobj/feh-2.12/.extract_done')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1940 '/usr/ports/packages/i386/all/feh-2.12.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2493 '_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1957 '/var/db/pkg/feh-2.12/+CONTENTS')
*** Error 1 in /usr/ports/graphics/feh (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'install')
/usr/ports/graphics/feh $
id3.so and id3.la don't appear in the directories where they are expected. When I manually searched for them, I find them elsewhere:
Code:
$ sudo find /usr/ports/pobj -name 'id3.la' -print
/usr/ports/pobj/imlib2-1.4.2/build-i386/src/modules/loaders/.libs/id3.la
/usr/ports/pobj/imlib2-1.4.2/build-i386/src/modules/loaders/id3.la
/loaders/.libs/id3.la /usr/ports/pobj/imlib2-1.4.2/fake-i386/usr/local/lib/imlib2/loaders                                                                      
$
So, I blindly copied them to the directories shown in the error message, and graphics/feh then builds to completion.

When I searched through the CVSWeb interface:

http://cvsweb.openbsd.org/cgi-bin/cv...aphics/imlib2/

I didn't see any changes made in the last day, but maybe I am not looking far enough.

I don't understand where I should look to find where these files' locations are specified incorrectly, so I can't intelligently communicate this on the ports@ mailing list yet. Any clues for the clueless?

Thanks!
Reply With Quote
  #2   (View Single Post)  
Old 26th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Your problem was an improper fake directory structure. The root cause is not readily apparent from the information provided, and from a brief look at CVS logs for graphics/imlib2 and audio/libid3tag.

You might be better off using snapshot packages. At this time in the development cycle as we head for -release, its more than a convenience and an elimination of local build errors. It helps resolve any resulting packaging errors for the entire community.
Reply With Quote
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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2D Graphics acceleration in X virtuvoos OpenBSD General 10 18th October 2013 02:40 PM
Intel graphics tolstoi NetBSD General 5 20th February 2013 08:10 AM
Good graphics card for FreeBSD? Sunnz FreeBSD General 12 4th May 2009 01:44 PM
Wine + Flash graphics problems m8rsh FreeBSD General 0 25th November 2008 10:12 PM
nwn failed to initialize graphics maxrussell FreeBSD General 8 22nd November 2008 08:52 PM


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


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