From arekm at maven.pl Sun Dec 4 19:43:04 2016 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Sun, 4 Dec 2016 19:43:04 +0100 Subject: Did anyone notice when storing files as #/NAME get broken? Message-ID: <201612041943.04713.arekm@maven.pl> Did anyone notice when storing files as #/NAME get broken? For example: pastebin-cl/pastebin-cl.spec:Source0: https://github.com/tupton/pastebin-cl/zipball/0.6#/%{name}-%{version}.zip $ ../builder -g pastebin-cl.spec 570e386a218361ea23f2aaf80ca2e027117fcdf1 M pastebin-cl.spec Already on 'master' Your branch is up-to-date with 'origin/master'. Already up-to-date. pget: Access failed: 404 Not Found (/distfiles/by-md5/d/3/d3f770fa869b5da72624c356cc0a63da/0.6) pget: Access failed: 404 Not Found (/distfiles/Attic/by-md5/d/3/d3f770fa869b5da72624c356cc0a63da/0.6) [arekm at ixion-pld pastebin-cl]$ ls -al total 836 drwx------ 3 arekm users 67 Dec 4 19:41 . drwx------ 20155 arekm users 552960 Dec 4 00:00 .. -rw------- 1 arekm users 44136 Dec 4 19:41 0.6 drwx------ 8 arekm users 4096 Dec 4 19:41 .git -rw------- 1 arekm users 11 Dec 4 19:40 .gitignore -rw------- 1 arekm users 879 Dec 4 19:40 pastebin-cl.spec it got stored as 0.6 instead of %{name}-%{version}.zip -- Arkadiusz Mi?kiewicz, arekm / ( maven.pl | pld-linux.org ) From glen at pld-linux.org Sun Dec 4 19:49:09 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Sun, 4 Dec 2016 20:49:09 +0200 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <201612041943.04713.arekm@maven.pl> References: <201612041943.04713.arekm@maven.pl> Message-ID: <58446525.3090309@pld-linux.org> On 04.12.2016 20:43, Arkadiusz Mi?kiewicz wrote: > Did anyone notice when storing files as #/NAME get broken? > > For example: > > pastebin-cl/pastebin-cl.spec:Source0:https://github.com/tupton/pastebin-cl/zipball/0.6#/%{name}-%{version}.zip rpm5 treats # as comment on that line ...and we have had rpm5 for over 4 years already! so, file fetched by distfiles will be named 0.6 in your example. so if you dot want to let distfiles fetch another copy, omit everything and including the hash character on that url. -- glen From arekm at maven.pl Sun Dec 4 19:50:58 2016 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Sun, 4 Dec 2016 19:50:58 +0100 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <201612041943.04713.arekm@maven.pl> References: <201612041943.04713.arekm@maven.pl> Message-ID: <201612041950.58722.arekm@maven.pl> On Sunday 04 of December 2016, Arkadiusz Mi?kiewicz wrote: > Did anyone notice when storing files as #/NAME get broken? [...] Some rpm change? On AC (since don't have any older Th rpm around): $ rpm-specdump rpm/packages/pastebin-cl/pastebin-cl.spec |grep SOURCE s SOURCEURL0 https://github.com/tupton/pastebin-cl/zipball/0.6#/pastebin- cl-0.6.zip On Th: $ rpm-specdump rpm/packages/pastebin-cl/pastebin-cl.spec |grep SOURCE s SOURCEURL0 https://github.com/tupton/pastebin-cl/zipball/0.6 -- Arkadiusz Mi?kiewicz, arekm / ( maven.pl | pld-linux.org ) From arekm at maven.pl Sun Dec 4 19:53:34 2016 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Sun, 4 Dec 2016 19:53:34 +0100 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <58446525.3090309@pld-linux.org> References: <201612041943.04713.arekm@maven.pl> <58446525.3090309@pld-linux.org> Message-ID: <201612041953.35406.arekm@maven.pl> On Sunday 04 of December 2016, Elan Ruusam?e wrote: > On 04.12.2016 20:43, Arkadiusz Mi?kiewicz wrote: > > Did anyone notice when storing files as #/NAME get broken? > > > > For example: > > > > pastebin-cl/pastebin-cl.spec:Source0:https://github.com/tupton/pastebin-c > > l/zipball/0.6#/%{name}-%{version}.zip > > rpm5 treats # as comment on that line > > ...and we have had rpm5 for over 4 years already! Doh! Tons of broken specs then. > so, file fetched by distfiles will be named 0.6 in your example. > > so if you dot want to let distfiles fetch another copy, omit everything > and including the hash character on that url. The problem is like this: http://pkgs.fedoraproject.org/cgit/rpms/kicad.git/plain/kicad.spec Over 70 sources in one spec, each needing custom name. -- Arkadiusz Mi?kiewicz, arekm / ( maven.pl | pld-linux.org ) From n3npq at me.com Sun Dec 4 21:48:03 2016 From: n3npq at me.com (Jeffrey Johnson) Date: Sun, 04 Dec 2016 15:48:03 -0500 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <201612041950.58722.arekm@maven.pl> References: <201612041943.04713.arekm@maven.pl> <201612041950.58722.arekm@maven.pl> Message-ID: > On Dec 4, 2016, at 1:50 PM, Arkadiusz Mi?kiewicz wrote: > > Some rpm change? > Not an expansion change in rpm AFAIK: rpm expands macros everywhere, in comments, within quoted strings, everywhere since forever. But perhaps a problem with precedence, since rpm build does map Name: and Version: into macros when parsed. Disable all macro definitions in rpmspec if you want to disable all expansions fixes some problems Add %dump wherever to verify what macros are defined at that point while parsing. 73 de Jeff From glen at pld-linux.org Sun Dec 4 22:23:41 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Sun, 4 Dec 2016 23:23:41 +0200 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <201612041953.35406.arekm@maven.pl> References: <201612041943.04713.arekm@maven.pl> <58446525.3090309@pld-linux.org> <201612041953.35406.arekm@maven.pl> Message-ID: <5844895D.6040305@pld-linux.org> On 04.12.2016 20:53, Arkadiusz Mi?kiewicz wrote: > On Sunday 04 of December 2016, Elan Ruusam?e wrote: >> On 04.12.2016 20:43, Arkadiusz Mi?kiewicz wrote: >>> Did anyone notice when storing files as #/NAME get broken? >>> >>> For example: >>> >>> pastebin-cl/pastebin-cl.spec:Source0:https://github.com/tupton/pastebin-c >>> l/zipball/0.6#/%{name}-%{version}.zip >> rpm5 treats # as comment on that line >> >> ...and we have had rpm5 for over 4 years already! > Doh! Tons of broken specs then. not really, they have been "fixed" over time already. i can't find any match as of now $ grep -rF Source ~/all-specs> ~/spec-sources.txt $ cat ~/spec-sources.txt|grep -E '^(Source|Patch).*#' >> so, file fetched by distfiles will be named 0.6 in your example. >> >> so if you dot want to let distfiles fetch another copy, omit everything >> and including the hash character on that url. > The problem is like this: > http://pkgs.fedoraproject.org/cgit/rpms/kicad.git/plain/kicad.spec > > Over 70 sources in one spec, each needing custom name. Source4: https://github.com/KiCad/Air_Coils_SML_NEOSID.pretty/archive/%{version}.tar.gz#/Air_Coils_SML_NEOSID.pretty-%{version}.tar.gz -> Source4: https://github.com/KiCad/Air_Coils_SML_NEOSID.pretty/archive/%{version}.tar.gz?/Air_Coils_SML_NEOSID.pretty-%{version}.tar.gz you really don't pay attention what is happening in pld git repository -- glen From glen at pld-linux.org Sun Dec 4 22:27:48 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Sun, 4 Dec 2016 23:27:48 +0200 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <5844895D.6040305@pld-linux.org> References: <201612041943.04713.arekm@maven.pl> <58446525.3090309@pld-linux.org> <201612041953.35406.arekm@maven.pl> <5844895D.6040305@pld-linux.org> Message-ID: <58448A54.8020407@pld-linux.org> On 04.12.2016 23:23, Elan Ruusam?e wrote: > > > i can't find any match as of now > > $ grep -rF Source ~/all-specs> ~/spec-sources.txt > $ cat ~/spec-sources.txt|grep -E '^(Source|Patch).*#' not sure where my grep went wrong. here's better one with some results. and they can be fixed with changing '#/' to '?/' or '&/' $ time grep -r -E '^(Source|Patch).*:.*#' ~/all-specs/ /home/users/glen/all-specs/adobe-flash-standalone.spec:9:Source0: http://download.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz#/%{name}-%{version}.tgz /home/users/glen/all-specs/airvideo.spec:17:Source2: http://inmethod.com/air-video/download/linux/alpha6/AirVideoServerLinux.jar#/avs-alpha6.jar /home/users/glen/all-specs/apache-mod_xslt2.spec:13:Source0: https://github.com/ccontavalli/mod-xslt/tarball/v1.4.1#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/cacti-plugin-configmanager.spec:12:Source0: http://forums.cacti.net/download/file.php?id=21891#/%{plugin}-%{version}.zip /home/users/glen/all-specs/cacti-plugin-pollperf.spec:11:Source0: http://forums.cacti.net/download/file.php?id=4956#/%{plugin}.zip /home/users/glen/all-specs/cacti-template-apache.spec:8:Source0: http://forums.cacti.net/download/file.php?id=301#/apachestats-0.4.zip /home/users/glen/all-specs/cacti-template-apache.spec:10:Source1: http://forums.cacti.net/download/file.php?id=7674#/ss_apache_stats-wget.zip /home/users/glen/all-specs/cacti-template-apache.spec:12:Source2: http://forums.cacti.net/download/file.php?id=7534#/SS_Apache_Stats-curl.zip /home/users/glen/all-specs/cacti-template-mail_statistics.spec:9:Source0: http://forums.cacti.net/download/file.php?id=4091#/postfix_mailserver.tar.gz /home/users/glen/all-specs/cacti-template-nagiostats.spec:13:Source0: http://forums.cacti.net/download/file.php?id=18185#/nacti.tar.gz /home/users/glen/all-specs/cloudprint.spec:7:Source0: https://github.com/armooo/cloudprint/tarball/master#/%{name}.tgz /home/users/glen/all-specs/cvsclone.spec:6:Source0: http://repo.or.cz/w/cvsclone.git/snapshot/558950ab442bc0551c8c16f8d3d6bc972818a81d.tar.gz#/%{name}.tgz /home/users/glen/all-specs/dokuwiki-plugin-datatemplate.spec:10:Source0: https://github.com/ccl/dokuwiki-plugin-datatemplate/tarball/master#/%{plugin}-%{version}.tgz /home/users/glen/all-specs/dokuwiki-plugin-ditaa.spec:10:Source0: http://github.com/splitbrain/%{name}/tarball/master#/%{plugin}.zip /home/users/glen/all-specs/dokuwiki-plugin-dw2pdf.spec:10:Source0: http://github.com/splitbrain/dokuwiki-plugin-%{plugin}/tarball/master#/%{plugin}-%{version}.tgz /home/users/glen/all-specs/dokuwiki-plugin-graphviz.spec:8:Source0: http://github.com/splitbrain/dokuwiki-plugin-%{plugin}/zipball/master#/%{plugin}-%{version}.zip /home/users/glen/all-specs/dokuwiki-plugin-javadoc.spec:8:Source0: http://www.doolin-guif.net/wiki/lib/exe/fetch.php?media=plugin:plugin-%{plugin}-1.0.0.zip#/%{plugin}.zip /home/users/glen/all-specs/dokuwiki-plugin-odt.spec:10:Source0: http://gitorious.org/dokuwiki-odt/dokuwiki-odt/archive-tarball/master#/%{name}-%{version}.tgz /home/users/glen/all-specs/dokuwiki-plugin-pagemoveng.spec:9:Source0: https://github.com/dokufreaks/plugin-%{plugin}/tarball/master#/%{plugin}.tgz /home/users/glen/all-specs/dokuwiki-plugin-redirect.spec:10:Source0: http://github.com/splitbrain/dokuwiki-plugin-%{plugin}/tarball/master#/%{plugin}-%{version}.tgz /home/users/glen/all-specs/dokuwiki-plugin-revlink.spec:8:Source0: http://www.dokuwiki.org/_export/code/plugin:revlink?codeblock=0#/syntax.php /home/users/glen/all-specs/dokuwiki-plugin-wrap.spec:11:Source0: http://www.dokuwiki.org/_media/plugin:dokuwiki_plugin_wrap_latest.zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/dokuwiki-plugin-yql.spec:10:Source0: http://github.com/Michitux/dokuwiki-plugin-yql/tarball/master#/%{plugin}.tgz /home/users/glen/all-specs/etherpad-lite.spec:8:Source0: https://github.com/Pita/etherpad-lite/tarball/1.0#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/flashcache.spec:19:Source0: https://github.com/facebook/flashcache/tarball/1.0#/%{name}-%{version}.tgz /home/users/glen/all-specs/foo2zjs.spec:8:Source0: http://foo2zjs.rkkda.com/foo2zjs.tar.gz#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/gstreamer-sh-mobile.spec:10:Source0: https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=GStreamer&openfile=gst-sh-mobile-%{version}.tar.gz#/gst-sh-mobile-%{version}.tar.gz /home/users/glen/all-specs/hudson.spec:14:Source0: http://hudson-ci.org/download/war/%{version}/%{name}.war#/%{name}-%{version}.war /home/users/glen/all-specs/jquery-colorbox.spec:8:Source0: http://colorpowered.com/colorbox/latest/#/%{name}-%{version}.zip /home/users/glen/all-specs/jquery-custom-radio-checkbox.spec:10:Source0: https://github.com/dciccale/Custom-radio-checkbox/tarball/master#/%{plugin}-%{version}.tgz /home/users/glen/all-specs/jquery-writeCapture.spec:8:Source0: https://github.com/iamnoah/writeCapture/tarball/v%{version}/#/%{plugin}-%{version}.tgz /home/users/glen/all-specs/js-crypto.spec:7:Source0: https://crypto-js.googlecode.com/files/Crypto-JS%20v%{version}.zip#/Crypto-JS_v%{version}.zip /home/users/glen/all-specs/jshint.spec:10:Source0: https://github.com/jshint/jshint/tarball/%{subver}#/%{name}-%{version}.tgz /home/users/glen/all-specs/jsmacro.spec:8:Source0: https://github.com/glensc/jsmacro/tarball/%{version}#/%{name}-%{version}.tgz /home/users/glen/all-specs/python-dokuwikixmlrpc.spec:8:Source0: http://github.com/chimeric/dokuwikixmlrpc/tarball/2010-07-19/#/%{name}.tgz /home/users/glen/all-specs/libshbeu.spec:10:Source0: https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=libshbeu&openfile=%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/libshcodecs.spec:10:Source0: https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=libshcodecs&openfile=%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/libshveu.spec:10:Source0: https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=libshveu&openfile=%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/libuiomux.spec:10:Source0: https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=libuiomux&openfile=%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/nagios-plugin-check_http_header.spec:9:Source0: http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2165&cf_id=24#/%{plugin}.pl /home/users/glen/all-specs/nagios-plugin-check_rrd.spec:9:Source0: http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=489&cf_id=24#/%{plugin}.pl /home/users/glen/all-specs/nagios-plugins-rabbitmq.spec:12:Source0: https://github.com/jamesc/nagios-plugins-rabbitmq/tarball/master#/%{plugin}-%{version}.tar.gz /home/users/glen/all-specs/nagios-pnsca.spec:11:Source0: http://git.op5.org/git/?p=nagios/pnsca.git;a=snapshot;h=7738b4d59fde56afb68cc78b0f43333ee808157a;sf=tgz#/pnsca.tgz /home/users/glen/all-specs/pastebin-cl.spec:8:Source0: https://github.com/tupton/pastebin-cl/zipball/0.6#/%{name}-%{version}.zip /home/users/glen/all-specs/php-embedly.spec:10:Source0: https://github.com/embedly/embedly-php/tarball/v0.3.0#/%{plugin}-%{version}.tgz /home/users/glen/all-specs/php-phing-task-smushit.spec:9:Source0: https://github.com/glensc/phing-task-smushit/tarball/master#/%{name}.tgz /home/users/glen/all-specs/php-predis.spec:19:Source0: http://github.com/nrk/predis/tarball/v%{version}-PHP5.2#/%{modname}-%{version}.tgz /home/users/glen/all-specs/php-smushit.spec:10:Source0: https://github.com/davgothic/SmushIt/tarball/master#/%{name}-%{version}.tgz /home/users/glen/all-specs/pygmalion.spec:10:Source0: http://downloads.sourceforge.net/pygmalion3d/%7EPygmalion-%{version}.tar.gz#/%{name}-%{version}.tar.gz /home/users/glen/all-specs/qwebirc.spec:13:Source0: https://bitbucket.org/slug/qwebirc/get/stable.tar.bz2#/%{name}-stable.tar.bz2 /home/users/glen/all-specs/system-config-firewall.spec:11:Patch0: %{name}-1.2.27-rhbz#717985.patch /home/users/glen/all-specs/trac-plugin-accountldap.spec:9:Source0: http://trac-hacks.org/changeset/latest/accountldapplugin?old_path=/&filename=accountldapplugin&format=zip#/%{plugin}.zip /home/users/glen/all-specs/trac-plugin-blockdiag.spec:9:Source0: http://trac-hacks.org/changeset/latest/tracblockdiagplugin?old_path=/&filename=blockdiagplugin&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-componentdependency.spec:9:Source0: http://trac-hacks.org/changeset/latest/componentdependencyplugin?old_path=/&filename=%{plugin}-%{version}&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-diavisview.spec:9:Source0: http://trac-hacks.org/changeset/latest/diavisviewplugin?old_path=/&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-graphviz.spec:9:Source0: http://trac-hacks.org/changeset/latest/graphvizplugin/0.11-%{version}?old_path=/&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-hours.spec:9:Source0: http://trac-hacks.org/changeset/latest/trachoursplugin?old_path=/&filename=trachoursplugin&format=zip#/trachoursplugin.zip /home/users/glen/all-specs/trac-plugin-keywordsuggest.spec:9:Source0: http://trac-hacks.org/changeset/latest/keywordsuggestplugin?old_path=/&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-paste.spec:9:Source0: http://trac-hacks.org/changeset/latest/tracpasteplugin?old_path=/&format=zip#/trac%{plugin}plugin.zip /home/users/glen/all-specs/trac-plugin-reposearch.spec:9:Source0: http://trac-hacks.org/changeset/latest/reposearchplugin?old_path=/&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-sqlhelper.spec:9:Source0: http://trac-hacks.org/changeset/latest/tracsqlhelperscript?old_path=/&filename=%{plugin}-%{version}&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-stractistics.spec:9:Source0: http://trac-hacks.org/changeset/latest/stractisticsplugin?old_path=/&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-ticketchange.spec:9:Source0: http://trac-hacks.org/changeset/latest/ticketchangeplugin?old_path=/&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-ticketsidebarprovider.spec:9:Source0: http://trac-hacks.org/changeset/latest/ticketsidebarproviderplugin?old_path=/&filename=%{plugin}-%{version}&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-wikirename.spec:9:Source0: http://trac-hacks.org/changeset/latest/wikirenameplugin?old_path=/&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-wysiwyg.spec:9:Source0: http://trac-hacks.org/changeset/latest/tracwysiwygplugin?old_path=/&filename=%{plugin}-%{version}&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/trac-plugin-xmlrpc.spec:9:Source0: http://trac-hacks.org/changeset/latest/xmlrpcplugin?old_path=/&filename=xmlrpcplugin&format=zip#/%{plugin}-%{version}.zip /home/users/glen/all-specs/vim-plugin-gist.spec:7:Source0: http://www.vim.org/scripts/download_script.php?src_id=13427#/gist-%{version}.vim /home/users/glen/all-specs/vim-plugin-nerdtree.spec:8:Source0: http://www.vim.org/scripts/download_script.php?src_id=11834#/%{plugin}.zip /home/users/glen/all-specs/vim-syntax-ael.spec:8:Source0: http://www.vim.org/scripts/download_script.php?src_id=12203#/%{syntax}.vim /home/users/glen/all-specs/wordpress-plugin-meta-tag-manager.spec:11:Source0: http://execve.pl/PLD/meta-tag-manager.zip#/meta-tag-manager-%{version}.zip real 0m3,050s user 0m0,183s sys 0m0,180s -- glen From glen at pld-linux.org Mon Dec 5 18:37:33 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Mon, 5 Dec 2016 19:37:33 +0200 Subject: [packages/ccache] updated to 3.3.3, get rid of all those empty configuration variables In-Reply-To: <4ef49b8ae3e36c74c82975b193d6c508f8e08983_refs_heads_master@pld-linux.org> References: <00ce6227c9491e4fc6889351d4b8299a3243891a_refs_heads_master@pld-linux.org> <4ef49b8ae3e36c74c82975b193d6c508f8e08983_refs_heads_master@pld-linux.org> Message-ID: <5845A5DD.2040508@pld-linux.org> On 05.12.2016 14:19, gotar wrote: > commit 4ef49b8ae3e36c74c82975b193d6c508f8e08983 > Author: Tomasz Pala > Date: Mon Dec 5 13:17:45 2016 +0100 > > updated to 3.3.3, get rid of all those empty configuration variables > > env.d is not a place for storing all available environment variables, > especially when we do not provide some nice 'just-uncomment' values for > them. One can get a list from documentation ...and use /etc/ccache.conf > > ccache.spec | 13 ++----------- ... > > -for X in CCACHE_DIR CCACHE_TEMPDIR CCACHE_LOGFILE CCACHE_PATH CCACHE_CC CCACHE_PREFIX \ > - CCACHE_DISABLE CCACHE_READONLY CCACHE_CPP2 CCACHE_NOSTATS CCACHE_NLEVELS \ > - CCACHE_HARDLINK CCACHE_RECACHE CCACHE_UMASK CCACHE_HASHDIR CCACHE_UNIFY \ > - CCACHE_EXTENSION CCACHE_NOHASH_SIZE_MTIME > -do > - echo "#${X}=\"\"" > $RPM_BUILD_ROOT/etc/env.d/${X} > -done > - i guess those were before ccache supported config file. but i see that currently we do not package any /etc/ccache.conf, would be nice to package it, at least to get file owned by package and proper permissions. also due the fact rpm overwrites new config files [1], [2] and there's no (current) upstream interest to resolve this, it's important to add the %config %noreplace as early as possible, even if it's just empty file. [1] http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-June/024927.html [2] http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-August/025097.html -- glen From qboosh at pld-linux.org Mon Dec 5 21:38:54 2016 From: qboosh at pld-linux.org (Jakub Bogusz) Date: Mon, 5 Dec 2016 21:38:54 +0100 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <58448A54.8020407@pld-linux.org> References: <201612041943.04713.arekm@maven.pl> <58446525.3090309@pld-linux.org> <201612041953.35406.arekm@maven.pl> <5844895D.6040305@pld-linux.org> <58448A54.8020407@pld-linux.org> Message-ID: <20161205203854.GA5966@mail> On Sun, Dec 04, 2016 at 11:27:48PM +0200, Elan Ruusam?e wrote: > On 04.12.2016 23:23, Elan Ruusam?e wrote: > > > > > >i can't find any match as of now > > > >$ grep -rF Source ~/all-specs> ~/spec-sources.txt > >$ cat ~/spec-sources.txt|grep -E '^(Source|Patch).*#' > > not sure where my grep went wrong. here's better one with some results. > and they can be fixed with changing '#/' to '?/' or '&/' Unfortunately it's not the same - with ?/ and &/ the additional part is sent to the server and, depending on server software and configuration, may cause the download request to be refused. -- Jakub Bogusz http://qboosh.pl/ From qboosh at pld-linux.org Mon Dec 5 22:00:17 2016 From: qboosh at pld-linux.org (Jakub Bogusz) Date: Mon, 5 Dec 2016 22:00:17 +0100 Subject: [packages/lighttpd] run aclocal before libtoolize In-Reply-To: References: <209cde40615c281bd35b145e77c1033a542064ee_refs_heads_master@pld-linux.org> Message-ID: <20161205210017.GB5966@mail> On Mon, Dec 05, 2016 at 05:42:36PM +0100, glen wrote: > commit cd9299ee20af5b9cb976648512e97da7ff417ad7 > Author: Elan Ruusam?e > Date: Mon Dec 5 18:41:07 2016 +0200 > > run aclocal before libtoolize > > + libtoolize --copy --force > You should update your `aclocal.m4' by running aclocal. What version of libtool is it? Looks like some pre-2.0. Recent libtools update macros in macro dir, so running aclocal makes sense after running libtoolize. It didn't also hurt older libtools. -- Jakub Bogusz http://qboosh.pl/ From glen at pld-linux.org Mon Dec 5 22:51:33 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Mon, 5 Dec 2016 23:51:33 +0200 Subject: [packages/lighttpd] run aclocal before libtoolize In-Reply-To: <20161205210017.GB5966@mail> References: <209cde40615c281bd35b145e77c1033a542064ee_refs_heads_master@pld-linux.org> <20161205210017.GB5966@mail> Message-ID: <5845E165.3090201@pld-linux.org> On 05.12.2016 23:00, Jakub Bogusz wrote: > On Mon, Dec 05, 2016 at 05:42:36PM +0100, glen wrote: >> commit cd9299ee20af5b9cb976648512e97da7ff417ad7 >> Author: Elan Ruusam?e >> Date: Mon Dec 5 18:41:07 2016 +0200 >> >> run aclocal before libtoolize >> >> + libtoolize --copy --force >> You should update your `aclocal.m4' by running aclocal. > What version of libtool is it? Looks like some pre-2.0. > > Recent libtools update macros in macro dir, so running aclocal makes > sense after running libtoolize. It didn't also hurt older libtools. yes. it was pld ac you can revert it if needed. it did not hurt just i'm never sure whih is the right order of those tools. -- glen From glen at pld-linux.org Mon Dec 5 22:53:18 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Mon, 5 Dec 2016 23:53:18 +0200 Subject: Did anyone notice when storing files as #/NAME get broken? In-Reply-To: <20161205203854.GA5966@mail> References: <201612041943.04713.arekm@maven.pl> <58446525.3090309@pld-linux.org> <201612041953.35406.arekm@maven.pl> <5844895D.6040305@pld-linux.org> <58448A54.8020407@pld-linux.org> <20161205203854.GA5966@mail> Message-ID: <5845E1CE.2080004@pld-linux.org> On 05.12.2016 22:38, Jakub Bogusz wrote: > On Sun, Dec 04, 2016 at 11:27:48PM +0200, Elan Ruusam?e wrote: >> On 04.12.2016 23:23, Elan Ruusam?e wrote: >>> >>> i can't find any match as of now >>> >>> $ grep -rF Source ~/all-specs> ~/spec-sources.txt >>> $ cat ~/spec-sources.txt|grep -E '^(Source|Patch).*#' >> not sure where my grep went wrong. here's better one with some results. >> and they can be fixed with changing '#/' to '?/' or '&/' > Unfortunately it's not the same - with ?/ and &/ the additional part is > sent to the server and, depending on server software and configuration, > may cause the download request to be refused. yes. it is not identical, but usually remote servers just ignore the unknown HTTP GET parameters. variations can include: &_=/filename-version.tar.gz in case they fail with empty "key" in GET parameter. -- glen From baggins at pld-linux.org Wed Dec 7 08:41:26 2016 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Wed, 7 Dec 2016 08:41:26 +0100 Subject: [packages/kernel] - rel2; add CVE-2016-8655 fix (local root if having access to AF_PACKET) In-Reply-To: References: <4a5a8dc62bcac9e1f5874033da5c9b7f062241da_refs_heads_master@pld-linux.org> Message-ID: <20161207074126.GA7966@home> On Tue, 06 Dec 2016, arekm wrote: > commit ad2822a33896b3aba1092aa80969c8ac6665142b > Author: Arkadiusz Mi?kiewicz > Date: Tue Dec 6 09:05:33 2016 +0100 > > - rel2; add CVE-2016-8655 fix (local root if having access to AF_PACKET) > > kernel-small_fixes.patch | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ > kernel.spec | 2 +- > 2 files changed, 93 insertions(+), 1 deletion(-) > --- [...] What about older kernels (3.18, 4.1)? -- Jan R?korajski | PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ From arekm at maven.pl Wed Dec 7 10:50:22 2016 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Wed, 7 Dec 2016 10:50:22 +0100 Subject: [packages/kernel] - rel2; add CVE-2016-8655 fix (local root if having access to AF_PACKET) In-Reply-To: <20161207074126.GA7966@home> References: <4a5a8dc62bcac9e1f5874033da5c9b7f062241da_refs_heads_master@pld-linux.org> <20161207074126.GA7966@home> Message-ID: <201612071050.22541.arekm@maven.pl> On Wednesday 07 of December 2016, Jan R?korajski wrote: > On Tue, 06 Dec 2016, arekm wrote: > > commit ad2822a33896b3aba1092aa80969c8ac6665142b > > Author: Arkadiusz Mi?kiewicz > > Date: Tue Dec 6 09:05:33 2016 +0100 > > > > - rel2; add CVE-2016-8655 fix (local root if having access to > > AF_PACKET) > > > > kernel-small_fixes.patch | 92 > > ++++++++++++++++++++++++++++++++++++++++++++++++ kernel.spec > > | 2 +- > > 2 files changed, 93 insertions(+), 1 deletion(-) > > > > --- > > [...] > > What about older kernels (3.18, 4.1)? All 3.10+ are affected AFAIK. -- Arkadiusz Mi?kiewicz, arekm / ( maven.pl | pld-linux.org ) From baggins at pld-linux.org Sun Dec 11 09:39:17 2016 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Sun, 11 Dec 2016 09:39:17 +0100 Subject: Xorg drivers removal (old nvidia, fglrx) Message-ID: <20161211083917.GA11923@home> Hi, The following Xorg drivers will be removed from Th: xorg-driver-video-fglrx - not updated for two consecutive X server ABI changes xorg-driver-video-nvidia-legacy-304xx - no update for new X server ABI xorg-driver-video-nvidia-legacy-340xx - no update for new X server ABI xorg-driver-input-acecad - unmaintained, does not build with new X server -- Jan R?korajski | PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ From glen at pld-linux.org Sun Dec 11 12:40:44 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Sun, 11 Dec 2016 13:40:44 +0200 Subject: Xorg drivers removal (old nvidia, fglrx) In-Reply-To: <20161211083917.GA11923@home> References: <20161211083917.GA11923@home> Message-ID: <584D3B3C.7070200@pld-linux.org> On 11.12.2016 10:39, Jan R?korajski wrote: > xorg-driver-video-nvidia-legacy-304xx - no update for new X server ABI how this supposed to work? stay forever for old xorg-server? switch to nouveau driver? something else? -- glen From baggins at pld-linux.org Sun Dec 11 12:51:00 2016 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Sun, 11 Dec 2016 12:51:00 +0100 Subject: Xorg drivers removal (old nvidia, fglrx) In-Reply-To: <584D3B3C.7070200@pld-linux.org> References: <20161211083917.GA11923@home> <584D3B3C.7070200@pld-linux.org> Message-ID: <20161211115100.GB11923@home> On Sun, 11 Dec 2016, Elan Ruusam?e wrote: > On 11.12.2016 10:39, Jan R?korajski wrote: > > xorg-driver-video-nvidia-legacy-304xx - no update for new X server ABI > > how this supposed to work? stay forever for old xorg-server? switch to > nouveau driver? something else? I can only tell you how I coped with fglrx, I stayed with old xserver and then I switched to ati driver. You can probably as well use nouveau for old Nvidia cards if vendor does not care to update legacy driver. -- Jan R?korajski | PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ From glen at pld-linux.org Mon Dec 12 12:40:54 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Mon, 12 Dec 2016 13:40:54 +0200 Subject: mysql/percona/maria... In-Reply-To: <58145CFB.9050405@pld-linux.org> References: <58145CFB.9050405@pld-linux.org> Message-ID: <584E8CC6.7050702@pld-linux.org> On 29.10.2016 11:25, Elan Ruusam?e wrote: > > > mysql 5.6 -> 5.7 MAY NOT be upgraded automatically. if someone used > features from percona-server 5.6 that are now not present in > mysql-community version in mysql.spec 5.7 their systems would be BROKEN. > > some idea: rename mysql.spec to mysql-community.spec ? some other idea: package server portion as "mysql-server" package (from mysql.spec) and omit "mysql" package, that should prevent automatic updates. this is probably easiest to implement. -- glen From baggins at pld-linux.org Mon Dec 12 20:26:29 2016 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Mon, 12 Dec 2016 20:26:29 +0100 Subject: Kernel packages for 3.18 only dropped (e1000e, open-vm-tools) Message-ID: <20161212192629.GC11923@home> Time to say goodbye to two more kernel driver packages. Those were build only for 3.18 kernel line. Very old open-vm-tools is too broken to be fixed and new version does not need all that cruft. e1000e has code paths unfixable for 32 bit arch on 3.18. -- Jan R?korajski | PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ From baggins at pld-linux.org Thu Dec 15 07:40:34 2016 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Thu, 15 Dec 2016 07:40:34 +0100 Subject: Xorg drivers removal (old nvidia, fglrx) In-Reply-To: <20161211083917.GA11923@home> References: <20161211083917.GA11923@home> Message-ID: <20161215064034.GD11923@home> On Sun, 11 Dec 2016, Jan R?korajski wrote: > > Hi, > The following Xorg drivers will be removed from Th: > > xorg-driver-video-fglrx - not updated for two consecutive X server ABI changes > > xorg-driver-video-nvidia-legacy-304xx - no update for new X server ABI > xorg-driver-video-nvidia-legacy-340xx - no update for new X server ABI > > xorg-driver-input-acecad - unmaintained, does not build with new X server As it looks that Nvidia got their act together and released updated legacy drivers, we will have 304xx and 340xx modules back in Th. -- Jan R?korajski | PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ From glen at pld-linux.org Thu Dec 15 09:42:08 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Thu, 15 Dec 2016 10:42:08 +0200 Subject: Xorg drivers removal (old nvidia, fglrx) In-Reply-To: <20161215064034.GD11923@home> References: <20161211083917.GA11923@home> <20161215064034.GD11923@home> Message-ID: <58525760.3010205@pld-linux.org> On 15.12.2016 08:40, Jan R?korajski wrote: > As it looks that Nvidia got their act together and released updated > legacy drivers, we will have 304xx and 340xx modules back in Th. :big-thumbs-up-skin-tone6: -- glen From baggins at pld-linux.org Sat Dec 17 12:33:13 2016 From: baggins at pld-linux.org (Jan =?utf-8?Q?R=C4=99korajski?=) Date: Sat, 17 Dec 2016 12:33:13 +0100 Subject: OK: binutils.spec crossmingw32-binutils.spec crossmingw64-binutils.spec In-Reply-To: References: Message-ID: <20161217113312.GG11923@home> On Fri, 16 Dec 2016, PLD th-src builder wrote: > Request by: qboosh at pld-linux.org > > binutils.spec (HEAD): OK > crossmingw32-binutils.spec (HEAD): OK > crossmingw64-binutils.spec (HEAD): OK If you really want to have recent crossmingw64-binutils in Th then please take care of its dependencies and fix crossmingw64-headers and crossmingw64-gcc. -- Jan R?korajski | PLD/Linux SysAdm | bagginspld-linux.org | http://www.pld-linux.org/ From arekm at maven.pl Sat Dec 17 13:05:22 2016 From: arekm at maven.pl (Arkadiusz =?utf-8?q?Mi=C5=9Bkiewicz?=) Date: Sat, 17 Dec 2016 13:05:22 +0100 Subject: Do we have any imq users? Message-ID: <201612171305.22668.arekm@maven.pl> Q: Is anyone here using imq from our kernels? P: Czy kto? u?ytkuje imq z naszych kerneli? Asking because if not then would happily drop it from kernels. (and new users could use ifb instead) -- Arkadiusz Mi?kiewicz, arekm / ( maven.pl | pld-linux.org ) From glen at pld-linux.org Sun Dec 18 19:29:04 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Sun, 18 Dec 2016 20:29:04 +0200 Subject: [packages/systemd/systemd-221] - fix build with lz4 headers in /usr/include/lz4; release 19 In-Reply-To: <80f36520d9f8a803695b4fd5dce7a1247b3048ba_refs_heads_systemd-221@pld-linux.org> References: <032d03fab7b5a40ab0c0660ef569a30f5f08c051_refs_heads_systemd-221@pld-linux.org> <80f36520d9f8a803695b4fd5dce7a1247b3048ba_refs_heads_systemd-221@pld-linux.org> Message-ID: <5856D570.8080707@pld-linux.org> On 18.12.2016 13:00, qboosh wrote: > > +CPPFLAGS="%{rpmcppflags} -I/usr/include/lz4" please use pkgconfig, do not hardcode! -- glen From glen at pld-linux.org Mon Dec 26 22:02:09 2016 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Mon, 26 Dec 2016 23:02:09 +0200 Subject: how disable %pretrans scripts? Message-ID: <58618551.1040902@pld-linux.org> rpm has --notriggers, --noscripts but neither of them cover disabling %pretrans if no commandline option, is there way to turn it off without rebuilding rpm? -- glen From n3npq at me.com Mon Dec 26 22:17:51 2016 From: n3npq at me.com (Jeffrey Johnson) Date: Mon, 26 Dec 2016 16:17:51 -0500 Subject: how disable %pretrans scripts? In-Reply-To: <58618551.1040902@pld-linux.org> References: <58618551.1040902@pld-linux.org> Message-ID: <825E7A01-8AE8-4B4E-912D-E6255AED4087@me.com> > On Dec 26, 2016, at 4:02 PM, Elan Ruusam?e wrote: > > rpm has --notriggers, ?noscripts > Yes. > but neither of them cover disabling %pretrans > Yes (arguably preserving ancient rpm legacy option behavior). (aside) Changing the define in rpmts.h #define _noTransTriggers \ ( RPMTRANS_FLAG_NOTRIGGERPREIN | \ RPMTRANS_FLAG_NOTRIGGERIN | \ RPMTRANS_FLAG_NOTRIGGERUN | \ RPMTRANS_FLAG_NOTRIGGERPOSTUN \ ) will change what ?notriggers disables. You can also uncomment this in li8b/poptI.c #ifdef NOTYET /* XXX multiple identical options forces popt callback. */ { "noscripts", '\0', POPT_BIT_SET, &rpmIArgs.transFlags, (_noTransScripts|_noTransTriggers), N_("do not execute package scriptlet(s)"), NULL }, #else { "noscripts", '\0', 0, NULL, RPMCLI_POPT_NOSCRIPTS, N_("do not execute package scriptlet(s)"), NULL }, #endif *shrug* > if no commandline option, There is ?nopretrans. > is there way to turn it off without rebuilding rpm? > There are POPT aliases in /etc/popt if you simply MUST avoid rebuilding rpm. 73 de Jeff k > -- > glen > > _______________________________________________ > pld-devel-en mailing list > pld-devel-en at lists.pld-linux.org > http://lists.pld-linux.org/mailman/listinfo/pld-devel-en