Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 16:00:45 +0200
From:      Jakob Breivik Grimstveit <jakob@grimstveit.no>
To:        Xavier Humbert <xavier@groumpf.org>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: net/librsync does not build
Message-ID:  <CAFVH1KXR7oR80FO4tPJYv3Bc5xNCKzkCKKmN50iQL0V%2BAQjvmQ@mail.gmail.com>
In-Reply-To: <fb37e659-07d2-8539-6d5b-040f1b2d7aca@groumpf.org>
References:  <fb37e659-07d2-8539-6d5b-040f1b2d7aca@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I seem to have the same problem - did you find a solution?



--
Vyrdsam helsing,
    Jakob Breivik Grimstveit | +47 482 98 152
    http://grimstveit.no/jakob


tor. 23. apr. 2020 kl. 18:54 skrev Xavier Humbert <xavier@groumpf.org>:

> Hi,
>
> net/librsync apparently can't find libpopt :
>
> > [root@numenor librsync]# MAKE_JOBS_UNSAFE=yes make
> > ===>  Building for librsync-2.3.0
> > [1/1] : && /usr/bin/cc -O2 -pipe -g -march=core2 -fstack-protector-strong
> >   -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2
> >   -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong
> >   CMakeFiles/rdiff.dir/src/rdiff.c.o
> CMakeFiles/rdiff.dir/src/isprefix.c.o
> >   -o rdiff  -Wl,-rpath,/usr/ports/net/librsync/work/.build:
> >   librsync.so.2.3.0  -lpopt && :
> > FAILED: rdiff
> > : && /usr/bin/cc -O2 -pipe -g -march=core2  -fstack-protector-strong
> >   -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2
> >   -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong
> >   CMakeFiles/rdiff.dir/src/rdiff.c.o
> CMakeFiles/rdiff.dir/src/isprefix.c.o
> >   -o rdiff  -Wl,-rpath,/usr/ports/net/librsync/work/.build:
> >   librsync.so.2.3.0  -lpopt && :
> > ld: error: unable to find library -lpopt
> > cc: error: linker command failed with exit code 1 (use -v to see
> > invocation)
> > ninja: build stopped: subcommand failed.
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/ports/net/librsync
> >
> However :
>
> > [root@numenor librsync]# ll /usr/local/lib/libpopt.*
> > -rw-r--r--  1 root  wheel  73960 Apr 19 02:58 /usr/local/lib/libpopt.a
> > lrwxr-xr-x  1 root  wheel     16 Apr 19 02:58
> > /usr/local/lib/libpopt.so@ -> libpopt.so.0.0.0
> > lrwxr-xr-x  1 root  wheel     16 Apr 19 02:58
> > /usr/local/lib/libpopt.so.0@ -> libpopt.so.0.0.0
> > -rwxr-xr-x  1 root  wheel  56832 Apr 19 02:58
> > /usr/local/lib/libpopt.so.0.0.0*
> What is the problem ?
>
> Thxs
>
> Regards
>
> Xavier
>
> --
> Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFVH1KXR7oR80FO4tPJYv3Bc5xNCKzkCKKmN50iQL0V%2BAQjvmQ>