Bug 115096 - [NEW PORT] emulators/fuse-utils: Utilities from the Free Unix Spectrum Emulator
Summary: [NEW PORT] emulators/fuse-utils: Utilities from the Free Unix Spectrum Emulator
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 21:00 UTC by Rene Ladan
Modified: 2009-03-31 19:30 UTC (History)
0 users

See Also:


Attachments
fuse-utils-0.8.0.1.shar (2.86 KB, text/plain)
2007-07-31 21:00 UTC, Rene Ladan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan 2007-07-31 21:00:06 UTC
fuse-utils is an utility package for handling ZX Spectrum files.  It can be
used to list and convert tape, hard disk, and snapshot files.

Author:	Philip Kendall <philip-fuse@shadowmagic.org.uk>
WWW:	http://fuse-emulator.sourceforge.net/

-- 
Rene Ladan
<r.c.ladan@gmail.com>

Generated with FreeBSD Port Tools 0.77
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-08-20 17:02:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2007-08-22 14:00:14 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to pool.
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-06 13:10:39 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-06 13:11:35 UTC
State Changed
From-To: closed->open

wrong one closed
Comment 5 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-06 13:38:50 UTC
State Changed
From-To: open->feedback

I get this: 

checking for gcry_check_version in -lgcrypt... yes 
checking libspectrum.h usability... yes 
checking libspectrum.h presence... yes 
checking for libspectrum.h... yes 
checking whether lots of warnings requested... no 


cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -Wall -o rzxcheck rzxcheck.o keys.o utils.o  -L/usr/local/lib /usr/local/lib/libspectrum.so -lm -lbz2 -lz /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib 
rzxcheck.o(.text+0x128): In function `main': 
: undefined reference to `libspectrum_verify_signature' 
rzxcheck.o(.text+0x171): In function `main': 
: undefined reference to `libspectrum_signature_free' 
rzxcheck.o(.text+0x214): In function `main': 
: undefined reference to `libspectrum_signature_free' 
rzxcheck.o(.text+0x24f): In function `main': 
: undefined reference to `libspectrum_signature_free' 

Any suggestions? 


Comment 6 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-06 13:38:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->edwin

I hope to be able to answer this
Comment 7 Rene Ladan 2007-09-08 22:16:36 UTC
edwin@FreeBSD.org schreef:
> Synopsis: [NEW PORT] emulators/fuse-utils: Utilities from the Free Unix Spectrum Emulator
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: edwin
> State-Changed-When: Thu Sep 6 12:38:50 UTC 2007
> State-Changed-Why: 
> I get this:
> 
> checking for gcry_check_version in -lgcrypt... yes
> checking libspectrum.h usability... yes
> checking libspectrum.h presence... yes
> checking for libspectrum.h... yes
> checking whether lots of warnings requested... no
> 
> 
> cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -Wall -o rzxcheck rzxcheck.o keys.o utils.o  -L/usr/local/lib /usr/local/lib/libspectrum.so -lm -lbz2 -lz /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> rzxcheck.o(.text+0x128): In function `main':
> : undefined reference to `libspectrum_verify_signature'
> rzxcheck.o(.text+0x171): In function `main':
> : undefined reference to `libspectrum_signature_free'
> rzxcheck.o(.text+0x214): In function `main':
> : undefined reference to `libspectrum_signature_free'
> rzxcheck.o(.text+0x24f): In function `main':
> : undefined reference to `libspectrum_signature_free'
> 
> Any suggestions?
>
On my i386 box, the successful compilation looks like this:

checking for gcry_check_version in -lgcrypt... yes
checking libspectrum.h usability... yes
checking libspectrum.h presence... yes
checking for libspectrum.h... yes
checking whether lots of warnings requested... no


if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include     -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -MT rzxcheck.o -MD -MP -MF ".deps/rzxcheck.Tpo" -c -o rzxcheck.o rzxcheck.c;  then mv -f ".deps/rzxcheck.Tpo" ".deps/rzxcheck.Po"; else rm -f ".deps/rzxcheck.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include     -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -MT keys.o -MD -MP -MF ".deps/keys.Tpo" -c -o keys.o keys.c;  then mv -f ".deps/keys.Tpo" ".deps/keys.Po"; else rm -f ".deps/keys.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link cc  -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall   -L/usr/local/lib -L/usr/local/lib -o rzxcheck  rzxcheck.o keys.o  utils.o -L/usr/local/lib -lspectrum
cc -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -o rzxcheck rzxcheck.o keys.o utils.o  -L/usr/local/lib /usr/local/lib/libspectrum.so -lm -lbz2 -lz /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libglib-2.0.so -licui18n /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib

So it looks like you miss a bunch of libraries:
* /usr/local/lib/libgcrypt.so
* /usr/local/lib/libgpg-error.so
*  -licui18n

Can you check that your libspectrum is compiled against libgcrypt?
This should be the case since the check for -lgcrypt in the configure
step succeeded, and the Makefile of libspectrum automatically
compiles against libgcrypt if it finds it in ${LOCALBASE}/include.

According to the Makefile.am of fuse-utils, rzxcheck is only built when
libgcrypt is found.
> 
> Responsible-Changed-From-To: freebsd-ports-bugs->edwin
> Responsible-Changed-By: edwin
> Responsible-Changed-When: Thu Sep 6 12:38:50 UTC 2007
> Responsible-Changed-Why: 
> I hope to be able to answer this
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=115096
> 

-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001
Comment 8 edwin 2007-09-09 01:47:27 UTC
On Sat, Sep 08, 2007 at 11:16:36PM +0200, Rene Ladan wrote:
> edwin@FreeBSD.org schreef:
> > Synopsis: [NEW PORT] emulators/fuse-utils: Utilities from the Free Unix Spectrum Emulator
> > 
> > State-Changed-From-To: open->feedback
> > State-Changed-By: edwin
> > State-Changed-When: Thu Sep 6 12:38:50 UTC 2007
> > State-Changed-Why: 
> > I get this:
> > 
> > checking for gcry_check_version in -lgcrypt... yes
> > checking libspectrum.h usability... yes
> > checking libspectrum.h presence... yes
> > checking for libspectrum.h... yes
> > checking whether lots of warnings requested... no
> > 
> > 
> > cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -Wall -o rzxcheck rzxcheck.o keys.o utils.o  -L/usr/local/lib /usr/local/lib/libspectrum.so -lm -lbz2 -lz /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> > rzxcheck.o(.text+0x128): In function `main':
> > : undefined reference to `libspectrum_verify_signature'
> > rzxcheck.o(.text+0x171): In function `main':
> > : undefined reference to `libspectrum_signature_free'
> > rzxcheck.o(.text+0x214): In function `main':
> > : undefined reference to `libspectrum_signature_free'
> > rzxcheck.o(.text+0x24f): In function `main':
> > : undefined reference to `libspectrum_signature_free'
> > 
> > Any suggestions?
> >
> On my i386 box, the successful compilation looks like this:
> 
> checking for gcry_check_version in -lgcrypt... yes
> checking libspectrum.h usability... yes
> checking libspectrum.h presence... yes
> checking for libspectrum.h... yes
> checking whether lots of warnings requested... no
> 
> 
> if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include     -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -MT rzxcheck.o -MD -MP -MF ".deps/rzxcheck.Tpo" -c -o rzxcheck.o rzxcheck.c;  then mv -f ".deps/rzxcheck.Tpo" ".deps/rzxcheck.Po"; else rm -f ".deps/rzxcheck.Tpo"; exit 1; fi
> if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include     -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -MT keys.o -MD -MP -MF ".deps/keys.Tpo" -c -o keys.o keys.c;  then mv -f ".deps/keys.Tpo" ".deps/keys.Po"; else rm -f ".deps/keys.Tpo"; exit 1; fi
> /bin/sh ./libtool --tag=CC --mode=link cc  -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall   -L/usr/local/lib -L/usr/local/lib -o rzxcheck  rzxcheck.o keys.o  utils.o -L/usr/local/lib -lspectrum
> cc -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -o rzxcheck rzxcheck.o keys.o utils.o  -L/usr/local/lib /usr/local/lib/libspectrum.so -lm -lbz2 -lz /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libglib-2.0.so -licui18n /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> 
> So it looks like you miss a bunch of libraries:
> * /usr/local/lib/libgcrypt.so
> * /usr/local/lib/libgpg-error.so
> *  -licui18n
> 
> Can you check that your libspectrum is compiled against libgcrypt?
> This should be the case since the check for -lgcrypt in the configure
> step succeeded, and the Makefile of libspectrum automatically
> compiles against libgcrypt if it finds it in ${LOCALBASE}/include.

It is not, since by default emulators/libspectrum comes without
libgcrypt:

	OPTIONS=        GLIB "Use GLib" on \
			GCRYPT "Use libgcrypt" off

Maybe we can change the default behaviour of libspectrum to enable
gcrypt support?

Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
Comment 9 Rene Ladan 2007-09-09 08:22:35 UTC
Edwin Groothuis schreef:
> On Sat, Sep 08, 2007 at 11:16:36PM +0200, Rene Ladan wrote:
>> edwin@FreeBSD.org schreef:
>>> Synopsis: [NEW PORT] emulators/fuse-utils: Utilities from the Free Unix Spectrum Emulator
>>>
>>> State-Changed-From-To: open->feedback
>>> State-Changed-By: edwin
>>> State-Changed-When: Thu Sep 6 12:38:50 UTC 2007
>>> State-Changed-Why: 
>>> I get this:
>>>
>>> checking for gcry_check_version in -lgcrypt... yes
>>> checking libspectrum.h usability... yes
>>> checking libspectrum.h presence... yes
>>> checking for libspectrum.h... yes
>>> checking whether lots of warnings requested... no
>>>
>>>
>>> cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -Wall -o rzxcheck rzxcheck.o keys.o utils.o  -L/usr/local/lib /usr/local/lib/libspectrum.so -lm -lbz2 -lz /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
>>> rzxcheck.o(.text+0x128): In function `main':
>>> : undefined reference to `libspectrum_verify_signature'
>>> rzxcheck.o(.text+0x171): In function `main':
>>> : undefined reference to `libspectrum_signature_free'
>>> rzxcheck.o(.text+0x214): In function `main':
>>> : undefined reference to `libspectrum_signature_free'
>>> rzxcheck.o(.text+0x24f): In function `main':
>>> : undefined reference to `libspectrum_signature_free'
>>>
>>> Any suggestions?
>>>
>> On my i386 box, the successful compilation looks like this:
>>
>> checking for gcry_check_version in -lgcrypt... yes
>> checking libspectrum.h usability... yes
>> checking libspectrum.h presence... yes
>> checking for libspectrum.h... yes
>> checking whether lots of warnings requested... no
>>
>>
>> if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include     -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -MT rzxcheck.o -MD -MP -MF ".deps/rzxcheck.Tpo" -c -o rzxcheck.o rzxcheck.c;  then mv -f ".deps/rzxcheck.Tpo" ".deps/rzxcheck.Po"; else rm -f ".deps/rzxcheck.Tpo"; exit 1; fi
>> if cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include     -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -MT keys.o -MD -MP -MF ".deps/keys.Tpo" -c -o keys.o keys.c;  then mv -f ".deps/keys.Tpo" ".deps/keys.Po"; else rm -f ".deps/keys.Tpo"; exit 1; fi
>> /bin/sh ./libtool --tag=CC --mode=link cc  -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall   -L/usr/local/lib -L/usr/local/lib -o rzxcheck  rzxcheck.o keys.o  utils.o -L/usr/local/lib -lspectrum
>> cc -O2 -pipe -fno-strict-aliasing -fno-tree-vrp -march=prescott -I/usr/local/include -Wall -o rzxcheck rzxcheck.o keys.o utils.o  -L/usr/local/lib /usr/local/lib/libspectrum.so -lm -lbz2 -lz /usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so /usr/local/lib/libglib-2.0.so -licui18n /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
>>
>> So it looks like you miss a bunch of libraries:
>> * /usr/local/lib/libgcrypt.so
>> * /usr/local/lib/libgpg-error.so
>> *  -licui18n
>>
>> Can you check that your libspectrum is compiled against libgcrypt?
>> This should be the case since the check for -lgcrypt in the configure
>> step succeeded, and the Makefile of libspectrum automatically
>> compiles against libgcrypt if it finds it in ${LOCALBASE}/include.
> 
> It is not, since by default emulators/libspectrum comes without
> libgcrypt:
> 
> 	OPTIONS=        GLIB "Use GLib" on \
> 			GCRYPT "Use libgcrypt" off
> 
Correct, but further on in the Makefile there is:

.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h)
LIB_DEPENDS+=   gcrypt.13:${PORTSDIR}/security/libgcrypt
.endif

and your test for libgcrypt succeeded in the configure step of fuse-utils,
so you either had it pre-installed or (unlikely :) )you added libgcrypt
manually in between the installation of libspectrum and fuse-utils.

> Maybe we can change the default behaviour of libspectrum to enable
> gcrypt support?
>
OK with me.

> Edwin

Regards,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001
Comment 10 Rene Ladan 2008-02-11 21:50:17 UTC
I've made a shar archive for version 0.9.0 of this port available at ftp://rene-ladan.nl/pub/freebsd/fuse-utils-0.9.0.shar
(3291 bytes, MD5 = 5e9cc2cf072ec8d8a03742894db60f9a)

This file is checked with 'portlint -A' and a build/install test.

libgcrypt is now installed by default, so the above issue should be solved.

Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)
Comment 11 Rene Ladan 2008-02-11 22:20:02 UTC
The following reply was made to PR ports/115096; it has been noted by GNATS.

From: Rene Ladan <r.c.ladan@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/115096: [NEW PORT] emulators/fuse-utils: Utilities from
 the Free Unix Spectrum Emulator
Date: Mon, 11 Feb 2008 22:50:17 +0100

 I've made a shar archive for version 0.9.0 of this port available at ftp://rene-ladan.nl/pub/freebsd/fuse-utils-0.9.0.shar
 (3291 bytes, MD5 = 5e9cc2cf072ec8d8a03742894db60f9a)
 
 This file is checked with 'portlint -A' and a build/install test.
 
 libgcrypt is now installed by default, so the above issue should be solved.
 
 Rene
 -- 
 http://www.rene-ladan.nl/
 
 GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)
Comment 12 Rene Ladan 2008-03-04 22:06:14 UTC
I've updated the shar for the libgcrypt update, the new MD5 is 11e43933b53844a005b00f36bd640cbc

Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)
Comment 13 Rene Ladan 2008-03-04 22:10:05 UTC
The following reply was made to PR ports/115096; it has been noted by GNATS.

From: Rene Ladan <r.c.ladan@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/115096: [NEW PORT] emulators/fuse-utils: Utilities from
 the Free Unix Spectrum Emulator
Date: Tue, 04 Mar 2008 23:06:14 +0100

 I've updated the shar for the libgcrypt update, the new MD5 is 11e43933b53844a005b00f36bd640cbc
 
 Rene
 -- 
 http://www.rene-ladan.nl/
 
 GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)
Comment 14 Rene Ladan 2008-04-13 19:49:58 UTC
I've cleaned up the Makefile:

* remove no-op USE_GETOPT_LONG
* implicitly depend on libgcrypt, libgpg-error, gettext, glib, and iconv via libspectrum
* don't pull in ICU

Shar: ftp://rene-ladan.nl/pub/freebsd/fuse-utils-0.9.0.shar
Size: 2955
MD5 : 49ae243dadc3894e45880d618ef4761c

Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)
Comment 15 Rene Ladan freebsd_committer freebsd_triage 2009-01-12 18:49:24 UTC
Version 0.10.0.1 is now available at
ftp://rene-ladan.nl/pub/freebsd/fuse-utils-0.10.0.1.shar
Comment 16 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-26 16:00:05 UTC
State Changed
From-To: feedback->open

Submitter is now a committer 


Comment 17 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-26 16:00:05 UTC
Responsible Changed
From-To: edwin->rene

Submitter is now a committer
Comment 18 dfilter service freebsd_committer freebsd_triage 2009-03-31 19:23:56 UTC
rene        2009-03-31 18:23:45 UTC

  FreeBSD ports repository (doc committer)

  Modified files:
    emulators            Makefile 
  Added files:
    emulators/fuse-utils Makefile distinfo pkg-descr pkg-plist 
  Log:
  fuse-utils is an utility package for handling ZX Spectrum files.  It can be
  used to list and convert tape, hard disk, snapshot, and audio files.
  
  WWW:    http://fuse-emulator.sourceforge.net/
  
  PR:             ports/115096
  Submitted by:   rene
  Approved by:    pav
  
  Revision  Changes    Path
  1.271     +1 -0      ports/emulators/Makefile
  1.1       +44 -0     ports/emulators/fuse-utils/Makefile (new)
  1.1       +3 -0      ports/emulators/fuse-utils/distinfo (new)
  1.1       +5 -0      ports/emulators/fuse-utils/pkg-descr (new)
  1.1       +18 -0     ports/emulators/fuse-utils/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 19 Rene Ladan freebsd_committer freebsd_triage 2009-03-31 19:24:45 UTC
State Changed
From-To: open->closed

committed