Re: How to get pkg to recognize local repository?
from Franco Fichtner: # pkg repo /mnt/usr/packages Would that put meta.txz and other stuff in /usr/packages ? I could do that either by nfs (with /mnt) or directly on that computer (without /mnt). But I have all the old stuff I no longer want, would not run because of shared libraries out of sync: 223 packages I didn't show. How to delete? Or more generally, how to delete old packages in /usr/packages/All in a reasonable time? Midnight Commander, which I recently installed on NetBSD but have not yet used? > 17.07.2017 08:10, Thomas Mueller пиÑеÑ: > > How do I get pkg to recognize a local repository > It is documented at PKG-REPOSITORY(5) . [1] > > What is the proper URL or format for a file name/directory? Is it > > necessary to precede with URL: or what do I have to do to make it look like > > a repository? > It is mentioned at [1]: the scheme is documented at FETCH(3) . > HTH > WBR, Boris Samorodov (bsam) This looks like it might help, but PKG-REPOSITORY and FETCH have to be lower-case, won't work with capital letters. Excerpt from Adam Weinberger: > myfirstrepo: { > url: file:///path/to/first/repo, > priority: 99 > }, > mysecondrepo: { > url: file:///path/to/second/repo, > priority: 98 > } I suppose priority 99 would take priority over priority 98? In normal English usage, first priority or priority one is higher than priority two. Do you need the comma after the closing brace after myfirstrepo? I suppose myfirst repo and mysecondrepo are both in the same .conf file? Tom ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FreeBSD Port: nvidia-driver-375.66
On Monday, 17 July 2017 at 15:58:05 -0700, David P. Discher wrote: > There is a new version of the nvidia driver on there site as of may 9th ??? > > Version: 381.22 > Release Date: 2017.5.9 > > This Added support for GeForce GT 1030 ??? which I???d imagine > others may start trying to use like myself. This older driver > doesn???t work at all with the 1030. While you're doing it, please look at pkg-message. It seems that now you need to kldload nvidia-modeset, and not nvidia. The current message is obscure and possibly incorrect for supported chip sets. I'll send you a suggested update if you like. Greg -- Sent from my desktop computer. Finger g...@freebsd.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA signature.asc Description: PGP signature
Re: CMAKE_AUTOMOC doesn't work
Yuriwrites: > On 07/17/2017 15:18, Jan Beich wrote: > >> Do you mean something like the following? >> >>Generating MOC compilation qtox_autogen/moc_compilation.cpp >>[...] >>Generating MOC source qtox_static_autogen/44CYS2DDJC/moc_openal.cpp > > > On linux it prints "Automatic moc for target", like here: > https://gist.github.com/sudden6/06359e7c88ed55652cecc80edcbf01a0 > > In the FreeBSD port it doesn't. USES=cmake switched to ninja by default, so autogen output isn't going to be exactly the same as with GNU make. https://svnweb.freebsd.org/changeset/ports/444324 ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
FreeBSD Port: nvidia-driver-375.66
There is a new version of the nvidia driver on there site as of may 9th … Version: 381.22 Release Date: 2017.5.9 This Added support for GeForce GT 1030 … which I’d imagine others may start trying to use like myself. This older driver doesn’t work at all with the 1030. -- David P. Discher • d...@ixsystems.com Director, Information Technology iXsystems, Inc. Office: 408.943.4100 x150 Mobile: 408.368.3725 signature.asc Description: Message signed with OpenPGP
Re: CMAKE_AUTOMOC doesn't work
On 07/17/2017 15:18, Jan Beich wrote: Do you mean something like the following? Generating MOC compilation qtox_autogen/moc_compilation.cpp [...] Generating MOC source qtox_static_autogen/44CYS2DDJC/moc_openal.cpp On linux it prints "Automatic moc for target", like here: https://gist.github.com/sudden6/06359e7c88ed55652cecc80edcbf01a0 In the FreeBSD port it doesn't. Yuri ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: CMAKE_AUTOMOC doesn't work
Yuriwrites: > On 07/17/2017 14:21, Jan Beich wrote: > >> Can you show the error log? IIRC, CMake cannot build Qt-based projects >> without QMake installed and automoc isn't invoked for Qt5. >> >> I maintain a few Qt5 ports that build via USES=cmake. For one, >> citra-qt5, ppsspp-qt5, rpcs3 have set(CMAKE_AUTOMOC ON). > > > Adding USE_QT5+=qmake_build doesn't help. > > It doesn't |print "||Automatic moc for target". It doesn't call 'moc', > in the end link fails with undefined symbols corresponding to Qt5 > signals. Files moc_*.* are missing. Do you mean something like the following? Generating MOC compilation qtox_autogen/moc_compilation.cpp [...] Generating MOC source qtox_static_autogen/44CYS2DDJC/moc_openal.cpp diff: http://sprunge.us/YCJg log: http://sprunge.us/MFSb ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: CMAKE_AUTOMOC doesn't work
On 07/17/2017 14:21, Jan Beich wrote: Can you show the error log? IIRC, CMake cannot build Qt-based projects without QMake installed and automoc isn't invoked for Qt5. I maintain a few Qt5 ports that build via USES=cmake. For one, citra-qt5, ppsspp-qt5, rpcs3 have set(CMAKE_AUTOMOC ON). Adding USE_QT5+=qmake_build doesn't help. It doesn't |print "||Automatic moc for target". It doesn't call 'moc', in the end link fails with undefined symbols corresponding to Qt5 signals. Files moc_*.* are missing. | | | |Yuri | ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: CMAKE_AUTOMOC doesn't work
On 07/17/2017 13:59, Jan Beich wrote: Did you try USE_QT5=qmake_build ? They got rid of qmake, they use only cmake. Apparently, cmake+CMAKE_AUTOMOC without qmake works on linux. Yuri ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: CMAKE_AUTOMOC doesn't work
Yuriwrites: > net-im/qTox fails to build. It uses Qt5, has set(CMAKE_AUTOMOC ON) in > CMakeFiles.txt but moc isn't called. > > On Linux there is a separate automoc package. > > FreeBSD has automoc4, but not automoc5. > > Shouldn't there be automoc5? What might be wrong? > > > USE_QT5=core gui network xml opengl sql sql-sqlite3_run > widgets svg \ > concurrent buildtools_build linguisttools_build Did you try USE_QT5=qmake_build ? ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
CMAKE_AUTOMOC doesn't work
net-im/qTox fails to build. It uses Qt5, has set(CMAKE_AUTOMOC ON) in CMakeFiles.txt but moc isn't called. On Linux there is a separate automoc package. FreeBSD has automoc4, but not automoc5. Shouldn't there be automoc5? What might be wrong? USE_QT5=core gui network xml opengl sql sql-sqlite3_run widgets svg \ concurrent buildtools_build linguisttools_build Yuri ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: How to get pkg to recognize local repository?
> On 17 Jul, 2017, at 11:13, Patrick Powellwrote: > > On 07/16/17 22:21, Matthias Apitz wrote: >> El día lunes, julio 17, 2017 a las 05:10:06a. m. +, Thomas Mueller >> escribió: >> >>> How do I get pkg to recognize a local repository such as >>> /mnt/usr/packages/All, or does pkg only recognize remote repositories? >>> >>> ... >> I use: >> >> $ ls -l /usr/local/etc/pkg/repos/*.conf >> -rw-r--r-- 1 root wheel 35 12 mar. 11:05 >> /usr/local/etc/pkg/repos/FreeBSD.conf >> -rw-r--r-- 1 root wheel 96 12 mar. 11:05 >> /usr/local/etc/pkg/repos/myrepo.conf >> $ cat /usr/local/etc/pkg/repos/FreeBSD.conf >> FreeBSD: { enabled: no } >> >> $ cat /usr/local/etc/pkg/repos/myrepo.conf >> >> FreeBSD: { >> url: "file:///usr/local/PKGDIR.20170304", >> enabled: true, >> } >> >> HIH >> >> matthias > > Just out of curiosity (and because I might want to do this) how can you > specify two (or more) repositories > and have them searched in some order. For example, you might have a local > respository with some > ports/packages that you are currently debugging/fixing. You want pkg to > search the local respository > first and then if it does not find the packages to use the default (remote) > repository. myfirstrepo: { url: file:///path/to/first/repo, priority: 99 }, mysecondrepo: { url: file:///path/to/second/repo, priority: 98 } # Adam -- Adam Weinberger ad...@adamw.org https://www.adamw.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: How to get pkg to recognize local repository?
Hi! > Just out of curiosity (and because I might want to do this) how can you > specify two (or more) repositories > and have them searched in some order. Probably by having two or more config files for repos in /usr/local/etc/pkg/repos/ I don't know how to have preferences in there. -- p...@opsec.eu+49 171 3101372 3 years to go ! ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: How to get pkg to recognize local repository?
On 07/16/17 22:21, Matthias Apitz wrote: El día lunes, julio 17, 2017 a las 05:10:06a. m. +, Thomas Mueller escribió: How do I get pkg to recognize a local repository such as /mnt/usr/packages/All, or does pkg only recognize remote repositories? ... I use: $ ls -l /usr/local/etc/pkg/repos/*.conf -rw-r--r-- 1 root wheel 35 12 mar. 11:05 /usr/local/etc/pkg/repos/FreeBSD.conf -rw-r--r-- 1 root wheel 96 12 mar. 11:05 /usr/local/etc/pkg/repos/myrepo.conf $ cat /usr/local/etc/pkg/repos/FreeBSD.conf FreeBSD: { enabled: no } $ cat /usr/local/etc/pkg/repos/myrepo.conf FreeBSD: { url: "file:///usr/local/PKGDIR.20170304", enabled: true, } HIH matthias Just out of curiosity (and because I might want to do this) how can you specify two (or more) repositories and have them searched in some order. For example, you might have a local respository with some ports/packages that you are currently debugging/fixing. You want pkg to search the local respository first and then if it does not find the packages to use the default (remote) repository. -- Patrick Powell Astart Technologies papow...@astart.com1530 Jamacha Rd, Suite X Network and System San Diego, CA 92019 Consulting Cell 858-518-7581 FAX 858-751-2435 Web: papowell at astart dot com ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: devel/gcc-arm-embedded fails package validation with synth
On 15.07.2017 08:54, Jonathan Chen wrote: > In particular, the LIB_DEPENDS entry "libelf.so:devel/libelf" is > causing the confusion. On my 11-STABLE/amd64 host, this is included in > the base system (/usr/lib/libelf.so); but since it is listed in > LIB_DEPENDS, synth gets confused as to why the package dependancies > haven't been built. Is the libelf.so entry required for supported > FreeBSD systems? I need to check this! Thank you. -- // Lev Serebryakov signature.asc Description: OpenPGP digital signature
Re: Firefox/GTK3 issue and reinstalling dependent ports
On 16/07/2017 20:54, Grzegorz Junka wrote: On 16/07/2017 13:35, Kurt Jaeger wrote: Hi! Hmm, I found this: pkg clean -a cleans the cache and pkg install -R -f firefox should force a reinstallation of the package and all dependencies. Well, indeed, as you posted already, it does not 8-( I didn't try pkg clean -a before pkg install -R -f firefox before but just tried it now and indeed - doesn't work. Perhaps what you seek is: pkg info -d firefox | xargs -L 1 pkg install -f Also try editing your local config file .config/gtk-3.0/settings.ini For example mine is currently: [Settings] gtk-application-prefer-dark-theme = false gtk-theme-name = Adwaita gtk-fallback-icon-theme = Default gtk-icon-theme-name = Adwaita dark gtk-font-name = DejaVu Sans 10 See https://developer.gnome.org/gtk3/stable/GtkSettings.html You'll need to ensure any icons and fonts are installed gtk3-widget-factory, installed with gtk3, is a great testing/visualisation tool Regards, Alan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Anybody knows how to patch tarballs that bazel extracts?
> Bazel (devel/bazel) based projects tend to fetch tarballs directly. > WORKSPACE can be patched to change the fetch URL to one in > /usr/ports/distfiles. However, what to do when the contents of tarballs > need to be patched? Unfortunately, there is no real good bazel way to do this. It was discussed serveral times to add a patch option to the new_http_archive rule, but unfortunately, it was never implemented. Such discussion is best done at bazel-...@googlegroups.com. If you want to solve the problem within bazel, you can, of course, always write a skylark-rule that, given a tar ball, unpacks it, applies the patches, and repacks it. Fortunately, for the ports tree, we have a better way to solve the problem. The ports infrastructure allows to extract all the relevant tar balls into separate directories under ${WRKDIR}, and also patch them there. Then, you can patch WORKSPACE to point to a new_local_repository rather than a new_http_archive. However, even with that approach, you should be aware that you're embedding the relevant dependencies rather than using them from ${LOCALBASE}. So, in the long run, it might be desirable to patch the relevant targets in the BUILD files using those external resources to point to ${LOCALBASE}. Maybe, one could even lobby for a new_local_library WORKSPACE rule at bazel-...@googlegroups.com. But that's all long-term perspective... Best, Klaus ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: How to get pkg to recognize local repository?
> On 17. Jul 2017, at 8:44 AM, Thomas Muellerwrote: > > What meta files? There is a metamail-2.7_11.txz, but I don't think that's > what you meant. The files digests.txz, meta.txz and packagesite.txz, like this... https://pkg.opnsense.org/FreeBSD:11:amd64/17.1/latest/ > > On the drive I was trying to install from, > ls -l /mnt/usr/packages shows > > total 12 > drwxr-xr-x 2 root wheel 7680 Jun 12 07:34 All > drwxr-xr-x 2 root wheel 512 Jun 12 04:41 Latest # pkg repo /mnt/usr/packages Cheers, Franco ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: How to get pkg to recognize local repository?
> > On 17. Jul 2017, at 7:10 AM, Thomas Muellerwrote: > > pkg-static: Ignoring bad configuration entry in > > /usr/local/etc/pkg/repos/mytemprepo.conf: "file:///mnt/usr/packages/All" > > pkg-static: Warning: Major OS version upgrade detected. Running > > "pkg-static install -f pkg" recommended > > No active remote repositories configured. > You want to point to file:///mnt/usr/packages instead, it should work given > the repository meta files are in there. > Cheers, > Franco What meta files? There is a metamail-2.7_11.txz, but I don't think that's what you meant. On the drive I was trying to install from, ls -l /mnt/usr/packages shows total 12 drwxr-xr-x 2 root wheel 7680 Jun 12 07:34 All drwxr-xr-x 2 root wheel 512 Jun 12 04:41 Latest Latest just contains lrwxr-xr-x 1 root wheel 21 Jun 12 04:41 pkg.txz -> ../All/pkg-1.10.1.txz while ls -rtl /mnt/usr/packages/All shows no meta files. ls -l /mnt/var/synth/live_packages shows total 20 drwxr-xr-x 2 root wheel 512 Jul 2 06:39 All drwxr-xr-x 2 root wheel 512 Jul 2 06:04 Latest -rw-r--r-- 1 root wheel 588 Jul 2 06:25 digests.txz -rw-r--r-- 1 root wheel 264 Jul 2 06:25 meta.txz -rw-r--r-- 1 root wheel 1880 Jul 2 06:25 packagesite.txz and ls -l /mnt/var/synth/live_packages/All shows total 3200 -rw-r--r-- 1 root wheel98876 Jul 2 06:04 ccache-3.3.4_3.txz -rw-r--r-- 1 root wheel 5312 Jul 2 06:04 indexinfo-0.2.6.txz -rw-r--r-- 1 root wheel16392 Jul 2 06:39 libsigsegv-2.11.txz -rw-r--r-- 1 root wheel 2984472 Jul 2 06:04 pkg-1.10.1.txz -rw-r--r-- 1 root wheel53000 Jul 2 06:39 pkgconf-1.3.7,1.txz -rw-r--r-- 1 root wheel42548 Jul 2 06:04 portmaster-3.17.10.txz That is not all that is installed; "synth upgrade-system" only succeeded on a few packages before crashing (system crash and reboot, I tried a second time with same crash). ls -rtl /mnt/usr/packages/All shows (not including old deleted packages): -rw-r--r-- 1 root wheel 2985132 Jun 12 04:41 pkg-1.10.1.txz -rw-r--r-- 1 root wheel 42552 Jun 12 04:41 portmaster-3.17.10.txz -rw-r--r-- 1 root wheel616476 Jun 12 04:46 libiconv-1.14_10.txz -rw-r--r-- 1 root wheel 504 Jun 12 05:08 gettext-0.19.8.1.txz -rw-r--r-- 1 root wheel 98916 Jun 12 06:02 ccache-3.3.4_3.txz -rw-r--r-- 1 root wheel 5312 Jun 12 06:02 indexinfo-0.2.6.txz -rw-r--r-- 1 root wheel152516 Jun 12 06:02 gettext-runtime-0.19.8.1_1.txz -rw-r--r-- 1 root wheel 2329976 Jun 12 06:04 gettext-tools-0.19.8.1.txz -rw-r--r-- 1 root wheel388288 Jun 12 06:04 gmake-4.2.1_1.txz -rw-r--r-- 1 root wheel 52988 Jun 12 06:04 pkgconf-1.3.7,1.txz -rw-r--r-- 1 root wheel 1485748 Jun 12 06:05 ncurses-6.0_3.txz -rw-r--r-- 1 root wheel 16372 Jun 12 06:05 libsigsegv-2.11.txz -rw-r--r-- 1 root wheel 1436 Jun 12 06:09 perl5-5.26.0.txz -rw-r--r-- 1 root wheel 16844 Jun 12 06:09 p5-Locale-gettext-1.07.txz -rw-r--r-- 1 root wheel139420 Jun 12 06:10 help2man-1.47.4.txz -rw-r--r-- 1 root wheel 1248316 Jun 12 06:10 texinfo-6.3_2,1.txz -rw-r--r-- 1 root wheel209540 Jun 12 06:11 m4-1.4.18,1.txz -rw-r--r-- 1 root wheel515372 Jun 12 06:11 bison-3.0.4,1.txz -rw-r--r-- 1 root wheel475256 Jun 12 06:13 gmp-6.1.2.txz -rw-r--r-- 1 root wheel371092 Jun 12 06:14 mpfr-3.1.5_1.txz -rw-r--r-- 1 root wheel 20079120 Jun 12 06:25 binutils-2.28,1.txz -rw-r--r-- 1 root wheel 75100 Jun 12 06:25 mpc-1.0.3.txz -rw-r--r-- 1 root wheel 32102776 Jun 12 07:33 gcc6-aux-20170202_1.txz -rw-r--r-- 1 root wheel385796 Jun 12 07:34 adacurses-20150808_4.txz -rw-r--r-- 1 root wheel 21744 Jun 12 07:34 ini_file_manager-03_2.txz -rw-r--r-- 1 root wheel666432 Jun 12 07:34 synth-1.69.txz But how would I get those packages copied/installed and see if synth works better on the other computer? from Matthias Apitz: I use: > $ ls -l /usr/local/etc/pkg/repos/*.conf > -rw-r--r-- 1 root wheel 35 12 mar. 11:05 > /usr/local/etc/pkg/repos/FreeBSD.conf > -rw-r--r-- 1 root wheel 96 12 mar. 11:05 > /usr/local/etc/pkg/repos/myrepo.conf > $ cat /usr/local/etc/pkg/repos/FreeBSD.conf > FreeBSD: { enabled: no } > $ cat /usr/local/etc/pkg/repos/myrepo.conf > FreeBSD: { > url: "file:///usr/local/PKGDIR.20170304", > enabled: true, } > HIH > matthias What is /usr/local/PKGDIR.20170304 , how do you get a file by that name? ls -l /mnt/usr/local shows total 104 drwxr-xr-x 2 root wheel 16896 Jun 12 07:34 bin drwxr-xr-x 10 root wheel 1024 Jul 2 06:01 etc drwxr-xr-x 6 root wheel512 Jun 12 07:32 gcc6-aux drwxr-xr-x 9 root wheel 2560 Jun 12 07:34 include drwxr-xr-x 2 root wheel 1024 Jun 12 06:25 info drwxr-xr-x 19 root wheel 32256 Jun 12 07:34 lib drwxr-xr-x 5 root wheel512 Jun 12 06:09 libdata drwxr-xr-x 4 root wheel 1536 Jun 12 07:34 libexec drwxr-xr-x 3 root wheel512 Jun 12 05:39