Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jun 2014 18:05:35 +0200
From:      olli hauer <ohauer@gmx.de>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Subject:   Re: How are ports built now
Message-ID:  <539489CF.3070003@gmx.de>
In-Reply-To: <BC88D0CCB9E6BF97D053661F@Pauls-MacBook-Pro.local>
References:  <FF2053FA1B75B463D14C7152@Pauls-MacBook-Pro.local> <20140607202241.GA59544@spectrum.skysmurf.nl> <F15EFF113780A8A629B44407@Pauls-MacBook-Pro.local> <53938114.9060303@gmx.de> <BC88D0CCB9E6BF97D053661F@Pauls-MacBook-Pro.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-06-08 17:20, Paul Schmehl wrote:
> --On June 7, 2014 at 11:16:04 PM +0200 olli hauer <ohauer@gmx.de> wrote:
> 
>> On 2014-06-07 22:40, Paul Schmehl wrote:
>>> --On June 7, 2014 at 10:22:41 PM +0200 "A.J. 'Fonz' van Werven"
>>> <freebsd@skysmurf.nl> wrote:
>>>
>>>> Paul Schmehl wrote:
>>>>
>>>>> Recently I upgraded two servers to 8.4 and implemented the pkgng
>>>>> system.
>>>> [snip]
>>>>> Is portmaster not the appropriate method for updating ports with pkgng?
>>>>
>>>> It depends whether you're talking about *building* packages from the
>>>> ports tree or installing binary packages.
>>>>
>>>> As for building from ports, Portmaster doesn't care whether you're using
>>>> the new PNGNG or the old pkg_* tools.
>>>>
>>>
>>> Thanks.  That's good to know.
>>>
>>>>> Now, when I run portmaster -ad, it seems to keep reinstalling the same
>>>>> ports over and over again.
>>>>
>>>> That's strange. Perhaps PKGNG hasn't been initialised properly on your
>>>> system(s), that's all I can think of at the moment. Did you use pkg2ng?
>>>>
>>>
>>> I'm pretty sure I did, but I ran it again.  I noticed several errors
>>> which I will have to investigate.
>>>
>>
>> Do you see which port is looping?
>> Perhaps a port was moved / renamed / removed and portmaster therfore is
>> looping around
>>
>> Sadly I cannot help more since I used all the years tinderbox / poudriere
>> to build packages.
>>
> 
> I've been working on this for two days now, so the parameters have changed a bit.  But here's an example of what prompted my question:
> 
> This is the result of portmaster -ad
> 
> ===>>> All >> (18)
> 
> ===>>> The following actions will be taken if you choose to proceed:
>     Upgrade en-freebsd-doc-43251,1 to en-freebsd-doc-44807,1
>     Install textproc/docproj
>     Install print/ghostscript9
>     Upgrade pkgconf-0.9.5 to pkgconf-0.9.6
>     Upgrade lcms2-2.6_1 to lcms2-2.6_2
>     Install textproc/docbook-xml
>     Install textproc/docbook-sgml
>     Install www/mod_authnz_external22
> 
> ===>>> Proceed? y/n [y] n
> 
> This is the result of pkg upgrade -n
> 
> # pkg upgrade -n
> Updating repository catalogue
> Upgrades have been requested for the following 150 packages:
> 
>     Installing xf86vidmodeproto: 2.3.1
>     Installing damageproto: 1.2.1
>     Installing dri2proto: 2.8
>     Installing pciids: 20140526
>     Installing randrproto: 1.4.0
>     Installing perl5: 5.16.3_10
>     Installing db48: 4.8.30.0
>     Reinstalling autoconf-2.69 (direct dependency changed)
>     Reinstalling automake-1.14 (direct dependency changed)
>     Reinstalling bootstrap-openjdk-r351880 (needed shared library changed)
>     Reinstalling curl-7.37.0 (options changed)
>     Reinstalling dejavu-2.34_3 (options changed)
>     Upgrading en-freebsd-doc: 43251,1 -> 44807,1
>     Reinstalling gettext-0.18.3.1_1 (options changed)
>     Reinstalling igor-1.431 (direct dependency changed)
>     Reinstalling ja-font-ipa-00303_1 (direct dependency changed)
>     Reinstalling libgcrypt-1.5.3_2 (direct dependency changed)
>     Reinstalling libwmf-nox11-0.2.8.4_11 (direct dependency changed)
>     Reinstalling libxcb-1.10_2 (direct dependency changed)
>     Reinstalling libxslt-1.1.28_3 (direct dependency changed)
>     Reinstalling mcrypt-2.6.8_1 (direct dependency changed)
>     Reinstalling mkfontdir-1.0.7 (direct dependency changed)
>     Reinstalling mysqltuner-1.3.0 (direct dependency changed)
>     Reinstalling neon29-0.29.6_6 (direct dependency changed)
>     Reinstalling p5-Carp-Clan-6.04 (direct dependency changed)
>     Reinstalling p5-Locale-gettext-1.05_3 (direct dependency changed)
>     Reinstalling p5-XML-Parser-2.41_1 (direct dependency changed)
>     Reinstalling p5-type1inst-0.6.1_5 (options changed)
>     Reinstalling perl5.14-5.14.4_7 (options changed)
>     Reinstalling php5-5.4.29 (options changed)
>     Reinstalling php5-bz2-5.4.29 (direct dependency changed)
>     Reinstalling php5-ctype-5.4.29 (direct dependency changed)
>     Reinstalling php5-curl-5.4.29 (direct dependency changed)
>     Reinstalling php5-dom-5.4.29 (direct dependency changed)
>     Reinstalling php5-filter-5.4.29 (direct dependency changed)
>     Reinstalling php5-hash-5.4.29 (direct dependency changed)
>     Reinstalling php5-iconv-5.4.29 (direct dependency changed)
>     Reinstalling php5-json-5.4.29 (direct dependency changed)
>     Reinstalling php5-mbstring-5.4.29 (direct dependency changed)
>     Reinstalling php5-mssql-5.4.29 (direct dependency changed)
>     Reinstalling php5-mysql-5.4.29 (direct dependency changed)
>     Reinstalling php5-openssl-5.4.29 (direct dependency changed)
>     Reinstalling php5-pdo-5.4.29 (direct dependency changed)
>     Reinstalling php5-phar-5.4.29 (direct dependency changed)
>     Reinstalling php5-posix-5.4.29 (direct dependency changed)
>     Reinstalling php5-session-5.4.29 (direct dependency changed)
>     Reinstalling php5-simplexml-5.4.29 (direct dependency changed)
>     Reinstalling php5-tokenizer-5.4.29 (direct dependency changed)
>     Reinstalling php5-xml-5.4.29 (direct dependency changed)
>     Reinstalling php5-xmlreader-5.4.29 (direct dependency changed)
>     Reinstalling php5-xmlrpc-5.4.29 (direct dependency changed)
>     Reinstalling php5-xmlwriter-5.4.29 (direct dependency changed)
>     Reinstalling php5-zip-5.4.29 (direct dependency changed)
>     Reinstalling php5-zlib-5.4.29 (direct dependency changed)
>     Reinstalling popt-1.16 (options changed)
>     Reinstalling portmaster-3.17.5 (options changed)
>     Installing ruby: 1.9.3.484_2,1
>     Reinstalling python27-2.7.6_4 (direct dependency changed)
>     Installing py27-setuptools27: 2.0.1
>     Reinstalling rsync-3.1.0_3 (options changed)
>     Reinstalling ruby19-bdb-0.6.6_3 (direct dependency changed)
>     Reinstalling ruby19-date2-4.0.19 (direct dependency changed)
>     Reinstalling screen-4.2.1_1 (options changed)
>     Reinstalling sqlite3-3.8.4.3 (options changed)
>     Reinstalling texi2html-5.0_1,1 (direct dependency changed)
>     Reinstalling ttf2pt1-3.4.4_6 (direct dependency changed)
>     Reinstalling xmlcatmgr-2.2 (options changed)
>     Reinstalling zh-ttf2pt1-3.4.0 (direct dependency changed)
>     Reinstalling zh-ttfm-0.9.5_5 (direct dependency changed)
>     Reinstalling zip-3.0 (options changed)
>     Reinstalling GentiumPlus-1.510_1 (options changed)
>     Installing libpciaccess: 0.13.2_2
>     Reinstalling Lohit-20130612 (direct dependency changed)
>     Reinstalling OpenSP-1.5.2_2 (options changed)
>     Reinstalling bison-2.7.1,1 (options changed)
>     Installing docbook-xml: 5.0_2
>     Installing docbook-sgml: 4.5_1
>     Reinstalling gdbm-1.11 (direct dependency changed)
>     Reinstalling glib-2.36.3_3 (direct dependency changed)
>     Reinstalling help2man-1.43.3_1 (direct dependency changed)
>     Reinstalling libX11-1.6.2_2,1 (direct dependency changed)
>     Reinstalling libXext-1.3.2_2,1 (direct dependency changed)
>     Reinstalling libXfixes-5.0.1_2 (direct dependency changed)
>     Reinstalling libXi-1.7.2_2,1 (direct dependency changed)
>     Reinstalling libXp-1.0.2_2,1 (direct dependency changed)
>     Reinstalling libXrender-0.9.8_2 (direct dependency changed)
>     Reinstalling libXt-1.1.4_2,1 (direct dependency changed)
>     Reinstalling libXtst-1.2.2_2 (direct dependency changed)
>     Reinstalling librsync-0.9.7_3 (direct dependency changed)
>     Reinstalling openjade-1.3.3p1_2 (direct dependency changed)
>     Reinstalling p5-Bit-Vector-7.3 (direct dependency changed)
>     Reinstalling p5-Date-Calc-6.3 (direct dependency changed)
>     Reinstalling pflogsumm-1.1.5,1 (options changed)
>     Reinstalling php5-pdo_sqlite-5.4.29 (direct dependency changed)
>     Reinstalling php5-sqlite3-5.4.29 (direct dependency changed)
>     Reinstalling portupgrade-2.4.12_1,2 (direct dependency changed)
>     Reinstalling python2-2_2 (direct dependency changed)
>     Reinstalling rdiff-backup-1.2.8_1,1 (direct dependency changed)
>     Reinstalling xcb-proto-1.10_1 (direct dependency changed)
>     Reinstalling zh-arphicttf-2.11_3 (direct dependency changed)
>     Installing libXxf86vm: 1.1.3_2
>     Installing libXdamage: 1.1.4_2
>     Installing libdrm: 2.4.17_1
>     Installing libXrandr: 1.4.2_2
>     Reinstalling apr-1.5.1.1.5.3 (direct dependency changed)
>     Reinstalling docbook-1.5 (direct dependency changed)
>     Reinstalling docbook-xsl-1.76.1_2 (options changed)
>     Reinstalling docbook-xsl-ns-1.78.1_4 (direct dependency changed)
>     Reinstalling gamin-0.1.10_7 (direct dependency changed)
>     Reinstalling libXft-2.3.1_2 (direct dependency changed)
>     Reinstalling libXmu-1.1.2_2,1 (direct dependency changed)
>     Reinstalling libXpm-3.5.11_2 (direct dependency changed)
>     Reinstalling php5-extensions-1.7 (options changed)
>     Installing serf: 1.3.5
>     Installing libGL: 7.6.1_4
>     Reinstalling apache22-2.2.27_2 (options changed)
>     Reinstalling libXaw-1.0.12_2,2 (direct dependency changed)
>     Reinstalling mod_php5-5.4.29,1 (options changed)
>     Reinstalling open-motif-2.3.4_1 (direct dependency changed)
>     Reinstalling openjdk6-b31_3,1 (direct dependency changed)
>     Reinstalling subversion-1.8.9 (options changed)
>     Reinstalling suphp-0.7.2_1 (direct dependency changed)
>     Reinstalling t1lib-5.1.2_2,1 (direct dependency changed)
>     Installing libGLU: 9.0.0
>     Installing freeglut: 2.8.1_2
>     Reinstalling ap22-mod_security-2.7.7_2 (direct dependency changed)
>     Reinstalling apache-ant-1.9.3 (direct dependency changed)
>     Reinstalling fop-1.1 (options changed)
>     Reinstalling php5-gd-5.4.29 (direct dependency changed)
>     Reinstalling tiff-4.0.3_2 (options changed)
>     Reinstalling webp-0.4.0 (direct dependency changed)
>     Reinstalling cups-image-1.7.2 (direct dependency changed)
>     Reinstalling lcms2-2.6_1 (options changed)
>     Reinstalling libgd-2.1.0_3,1 (direct dependency changed)
>     Reinstalling links-2.8,1 (options changed)
>     Reinstalling netpbm-10.35.92 (direct dependency changed)
>     Reinstalling scr2png-1.2_6 (direct dependency changed)
>     Reinstalling webalizer-geoip-2.23.8 (direct dependency changed)
>     Installing ghostscript9: 9.06_6
>     Reinstalling ghostscript9-nox11-9.06_6 (direct dependency changed)
>     Reinstalling peps-2.0_5 (options changed)
>     Reinstalling teTeX-base-3.0_25 (direct dependency changed)
>     Reinstalling ImageMagick-nox11-6.8.0.7_9,1 (options changed)
>     Reinstalling cm-super-0.3.4_4 (direct dependency changed)
>     Reinstalling dvipdfmx-20110311 (direct dependency changed)
>     Reinstalling dvipsk-tetex-5.95a_7 (direct dependency changed)
>     Reinstalling freetype-tools-1.3.1_9 (direct dependency changed)
>     Reinstalling jadetex-3.13_8 (direct dependency changed)
>     Reinstalling latex-cjk-4.8.2_6 (options changed)
>     Reinstalling teTeX-3.0_7 (direct dependency changed)
> 
> The upgrade will require 426 MB more space
> 
> 373 MB to be downloaded
> 
> Clearly portmaster and pkg upgrade disagree on what work needs to be done.
> 
> I have this in my /etc/make.conf file:
> 
> DISABLE_VULNERABILITIES=yes
> FORCE_PKG_REGISTER=yes
> WITH_PKG=yes
> 
> The first two lines are temporary while I attempt to get ports back to the condition they were in before the OS upgrade to 8.4
> 
> I have run pkg2ng and it has completed successfully.
> 
> This is a production website, so I'm a little leery about running pkg upgrade and getting a critical package with the wrong options.  I've always compiled everything from scratch; kernel, base and ports.  Getting binary packages that someone else built makes me nervous, especially on this server.
> 
> (And for the smart asses in the crowd, no, I don't have a dev server to test it on.)
> 

On possible issue between `pkg upgrade' and portmaster with an current ports tree is that some of the ports where updated between last wednesday and now.
E.g pkgconf and the freebsd docs where updated after the last package build.

Is it possible that portmaster builds with NO_PORTDOCS or DOCS=off or similar?


The port mail/pflogsumm has as only OPTIONS_DEFINE=DOCS, but `pkg upgrade' complains about changed options
>     Reinstalling pflogsumm-1.1.5,1 (options changed)

DOCS on/off could be a possible explanation for all the '(options changed)' updates.

The (direct dependency change) is possible a follow up for a changed OPTION, but I'm not sure here

-- 
Regards,
olli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539489CF.3070003>